386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sat, 8 Feb 1992 02:04:26 +0000 (18:04 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Sat, 8 Feb 1992 02:04:26 +0000 (18:04 -0800)
Work on file usr/src/sbin/routed/Makefile

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/src/sbin/routed/Makefile [new file with mode: 0644]

diff --git a/usr/src/sbin/routed/Makefile b/usr/src/sbin/routed/Makefile
new file mode 100644 (file)
index 0000000..553b68b
--- /dev/null
@@ -0,0 +1,22 @@
+#      @(#)Makefile    5.16 (Berkeley) 4/26/91
+
+PROG=  routed
+SRCS=  af.c if.c input.c main.c output.c startup.c tables.c timer.c \
+       trace.c inet.c
+MAN8=  routed.0
+SUBDIR=        query trace
+DPADD= ${LIBUTIL} ${LIBCOMPAT}
+LDADD= -lutil 
+
+.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