1 # $NetBSD: Makefile,v 1.29 2015/09/14 05:12:52 ozaki-r Exp $ 2 # @(#)Makefile 8.1 (Berkeley) 6/5/93 3 4 .include <bsd.own.mk> 5 6 RUMPPRG=route 7 MAN= route.8 8 SRCS= route.c show.c keywords.c rtutil.c 9 10 .PATH: ${.CURDIR}/../../lib/libc/net 11 RUMPSRCS= getaddrinfo.c getifaddrs.c getnameinfo.c 12 RUMPSRCS+= if_indextoname.c if_nametoindex.c 13 .if (${MKRUMP} != "no") 14 CPPFLAGS+= -DRUMP_ACTION 15 .endif 16 17 .if (${USE_INET6} != "no") 18 CPPFLAGS+=-DINET6 19 .endif 20 21 # The Makefile over in ../../distrib/utils/x_route 22 # would like keywords.[ch] to always exist here, so 23 # they are now checked in as sources. 24 # 25 # CPPFLAGS+=-I. 26 # CLEANFILES+= keywords.c keywords.h 27 # keywords.c keywords.h : keywords.sh 28 # ${HOST_SH} keywords.sh 29 30 .include <bsd.prog.mk> 31