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