home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / sbin / routed / Makefile < prev    next >
Encoding:
Makefile  |  1991-04-26  |  567 b   |  23 lines

  1. #    @(#)Makefile    5.16 (Berkeley) 4/26/91
  2.  
  3. PROG=    routed
  4. SRCS=    af.c if.c input.c main.c output.c startup.c tables.c timer.c \
  5.     trace.c inet.c
  6. MAN8=    routed.0
  7. SUBDIR=    query trace
  8. DPADD=    ${LIBUTIL} ${LIBCOMPAT}
  9. LDADD=    -lutil -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.
  16. INLINE=    /sys/vax/inline/obj/inline
  17. C2=    /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.