Drop main() prototype. Syncs with NetBSD-8
[minix.git] / sbin / route / Makefile
bloba9113e3192dd160fa2a159da60007dfe0dc140ae
1 # $NetBSD: Makefile,v 1.29 2015/09/14 05:12:52 ozaki-r Exp $
2 # @(#)Makefile 8.1 (Berkeley) 6/5/93
4 .include <bsd.own.mk>
6 RUMPPRG=route
7 MAN= route.8
8 SRCS= route.c show.c keywords.c rtutil.c
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
17 .if (${USE_INET6} != "no")
18 CPPFLAGS+=-DINET6
19 .endif
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.
25 # CPPFLAGS+=-I.
26 # CLEANFILES+= keywords.c keywords.h
27 # keywords.c keywords.h : keywords.sh
28 # ${HOST_SH} keywords.sh
30 .include <bsd.prog.mk>