xref: /original-bsd/sbin/routed/Makefile (revision 410efcb1)
1#	@(#)Makefile	5.17 (Berkeley) 04/27/93
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
8DPADD=	${LIBCOMPAT}
9LDADD=	-lcompat
10
11.include <bsd.prog.mk>
12
13.if (${MACHINE} == "vax")
14# The following can be deleted where not appropriate to use the kernel's
15# inline code expansions.
16INLINE=	/sys/vax/inline/obj/inline
17C2=	/usr/libexec/c2
18.c.o:
19	${CC} -S ${CFLAGS} ${.CURDIR}/${.PREFIX}.c
20	@${C2} ${.PREFIX}.s | ${INLINE} | ${AS} -o ${.PREFIX}.o
21	@rm -f ${.PREFIX}.s
22.endif
23