25 lines
613 B
Makefile
25 lines
613 B
Makefile
# @(#)Makefile 5.16 (Berkeley) 4/26/91
|
|
#
|
|
# $Id: Makefile,v 1.2 1993/03/22 08:04:00 cgd Exp $
|
|
|
|
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
|