Makefile revision 1.2
1#	@(#)Makefile	5.16 (Berkeley) 4/26/91
2#
3#	$Id: Makefile,v 1.2 1993/03/22 08:04:00 cgd Exp $
4
5PROG=	routed
6SRCS=	af.c if.c input.c main.c output.c startup.c tables.c timer.c \
7	trace.c inet.c
8MAN8=	routed.0
9SUBDIR=	query trace
10DPADD=	${LIBUTIL} ${LIBCOMPAT}
11LDADD=	-lutil 
12
13.include <bsd.prog.mk>
14
15.if (${MACHINE} == "vax")
16# The following can be deleted where not appropriate to use the kernel's
17# inline code expansions.
18INLINE=	/sys/vax/inline/obj/inline
19C2=	/usr/libexec/c2
20.c.o:
21	${CC} -S ${CFLAGS} ${.CURDIR}/${.PREFIX}.c
22	@${C2} ${.PREFIX}.s | ${INLINE} | ${AS} -o ${.PREFIX}.o
23	@rm -f ${.PREFIX}.s
24.endif
25