xref: /original-bsd/sbin/routed/Makefile (revision 92ab646d)
1#	@(#)Makefile	5.14 (Berkeley) 06/29/90
2
3PROG=	routed
4SRCS=	af.c if.c input.c main.c output.c startup.c tables.c timer.c \
5	trace.c inet.c
6MAN8=	routed.0
7SUBDIR=	query trace
8LDADD=	-lutil
9
10.include <bsd.prog.mk>
11
12.if (${MACHINE} == "vax")
13# The following can be deleted where not appropriate to use the kernel's
14# inline code expansions.
15INLINE=	/sys/vax/inline/inline
16C2=	/usr/libexec/c2
17.c.o:
18	${CC} -S ${CFLAGS} ${.CURDIR}/${.PREFIX}.c
19	@${C2} ${.PREFIX}.s | ${INLINE} | ${AS} -o ${.PREFIX}.o
20	@rm -f ${.PREFIX}.s
21.endif
22