1 # @(#)Makefile 5.16 (Berkeley) 4/26/91 2 # 3 # $Id: Makefile,v 1.2 1993/03/22 08:04:00 cgd Exp $ 4 5 PROG= routed 6 SRCS= af.c if.c input.c main.c output.c startup.c tables.c timer.c \ 7 trace.c inet.c 8 MAN8= routed.0 9 SUBDIR= query trace 10 DPADD= ${LIBUTIL} ${LIBCOMPAT} 11 LDADD= -lutil 12 13 .include <bsd.prog.mk> 14 15 .if (${MACHINE} == "vax") 16 # The following can be deleted where not appropriate to use the kernel's 17 # inline code expansions. 18 INLINE= /sys/vax/inline/obj/inline 19 C2= /usr/libexec/c2 20 .c.o: 21 ${CC} -S ${CFLAGS} ${.CURDIR}/${.PREFIX}.c 22 @${C2} ${.PREFIX}.s | ${INLINE} | ${AS} -o ${.PREFIX}.o 23 @rm -f ${.PREFIX}.s 24 .endif 25