Makefile revision 1.24
1# $NetBSD: Makefile,v 1.24 2010/11/04 23:36:10 pooka Exp $ 2# @(#)Makefile 8.1 (Berkeley) 6/5/93 3 4.include <bsd.own.mk> 5 6PROG= route 7MAN= route.8 8SRCS= route.c show.c keywords.c 9 10.if (${USE_INET6} != "no") 11CPPFLAGS+=-DINET6 12.endif 13 14# The Makefile over in ../../distrib/utils/x_route 15# would like keywords.[ch] to always exist here, so 16# they are now checked in as sources. 17# 18# CPPFLAGS+=-I. 19# CLEANFILES+= keywords.c keywords.h 20# keywords.c keywords.h : keywords.sh 21# ${HOST_SH} keywords.sh 22 23# 24# Compile-time debug flag. If compiled with "make RUMP_ACTION=1", 25# make rump system calls. 26# 27.ifdef RUMP_ACTION 28CPPFLAGS+= -DRUMP_SYS_NETWORKING -DRUMP_SYS_READWRITE -DRUMP_SYS_CLOSE 29CPPFLAGS+= -DRUMP_ACTION -DSMALL -Dsysctl=rump_sys___sysctl 30LDADD+= -lrumpclient 31DBG= -g 32.endif 33 34.include <bsd.prog.mk> 35