Makefile revision 18317
1#	@(#)Makefile	8.1 (Berkeley) 6/19/93
2
3PROG=	routed
4SRCS=	if.c input.c main.c output.c parms.c radix.c rdisc.c table.c trace.c
5MAN8=	routed.0
6SUBDIR=	rtquery
7DPADD=	${LIBCOMPAT}
8LDADD=	-lcompat
9#COPTS=	-g -DDEBUG -Wall
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