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