24 lines
607 B
Makefile
24 lines
607 B
Makefile
# from: @(#)Makefile 8.1 (Berkeley) 6/19/93
|
|
# $Id: Makefile,v 1.11 1994/12/22 10:48:37 cgd Exp $
|
|
|
|
PROG= routed
|
|
SRCS= af.c if.c input.c main.c output.c startup.c tables.c timer.c \
|
|
trace.c inet.c
|
|
MAN= routed.8
|
|
#SUBDIR= query trace
|
|
DPADD= ${LIBCOMPAT}
|
|
LDADD= -lcompat
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.if (${MACHINE} == "vax")
|
|
# The following can be deleted where not appropriate to use the kernel's
|
|
# inline code expansions.
|
|
INLINE= /sys/vax/inline/obj/inline
|
|
C2= /usr/libexec/c2
|
|
.c.o:
|
|
${CC} -S ${CFLAGS} ${.CURDIR}/${.PREFIX}.c
|
|
@${C2} ${.PREFIX}.s | ${INLINE} | ${AS} -o ${.PREFIX}.o
|
|
@rm -f ${.PREFIX}.s
|
|
.endif
|