NetBSD/sbin/route/Makefile

35 lines
712 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.32 2019/10/13 07:28:13 mrg Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
1993-03-21 12:45:37 +03:00
.include <bsd.own.mk>
2010-12-13 20:39:47 +03:00
RUMPPRG=route
1994-12-22 13:44:04 +03:00
MAN= route.8
SRCS= route.c show.c keywords.c rtutil.c
1993-03-21 12:45:37 +03:00
.if (${MKRUMP} != "no")
CPPFLAGS+= -DRUMP_ACTION
2017-10-10 22:30:06 +03:00
LDADD.rump += -lrumpres
DPADD.rump += ${LIBRUMPRES}
.endif
.if (${USE_INET6} != "no")
1999-07-03 10:26:25 +04:00
CPPFLAGS+=-DINET6
.endif
LDADD+=-lutil
DPADD+=${LIBUTIL}
# The Makefile over in ../../distrib/utils/x_route
# would like keywords.[ch] to always exist here, so
# they are now checked in as sources.
#
1997-10-10 23:47:50 +04:00
# CPPFLAGS+=-I.
# CLEANFILES+= keywords.c keywords.h
# keywords.c keywords.h : keywords.sh
# ${HOST_SH} keywords.sh
1993-03-21 12:45:37 +03:00
COPTS.rtutil.c+= ${GCC_NO_FORMAT_TRUNCATION}
1994-05-14 01:24:15 +04:00
.include <bsd.prog.mk>