1994-05-13 12:02:16 +04:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/19/93
|
|
|
|
# $Id: Makefile,v 1.9 1994/05/13 08:04:29 mycroft Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= routed
|
1993-12-30 13:43:58 +03:00
|
|
|
SRCS= af.c if.c input.c main.c output.c startup.c tables.c timer.c \
|
1993-03-21 12:45:37 +03:00
|
|
|
trace.c inet.c
|
|
|
|
MAN8= routed.0
|
1994-05-13 12:02:16 +04:00
|
|
|
SUBDIR= query trace
|
|
|
|
DPADD= ${LIBCOMPAT}
|
|
|
|
LDADD= -lcompat
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.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
|