2019-10-13 10:28:04 +03:00
|
|
|
# $NetBSD: Makefile,v 1.32 2019/10/13 07:28:13 mrg Exp $
|
1995-03-18 17:54:19 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/5/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2005-01-10 05:58:58 +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
|
2014-11-07 00:29:32 +03:00
|
|
|
SRCS= route.c show.c keywords.c rtutil.c
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2015-04-22 06:07:55 +03:00
|
|
|
.if (${MKRUMP} != "no")
|
|
|
|
CPPFLAGS+= -DRUMP_ACTION
|
2017-10-10 22:30:06 +03:00
|
|
|
LDADD.rump += -lrumpres
|
|
|
|
DPADD.rump += ${LIBRUMPRES}
|
2015-04-22 06:07:55 +03:00
|
|
|
.endif
|
|
|
|
|
2005-01-10 05:58:58 +03:00
|
|
|
.if (${USE_INET6} != "no")
|
1999-07-03 10:26:25 +04:00
|
|
|
CPPFLAGS+=-DINET6
|
2005-01-10 05:58:58 +03:00
|
|
|
.endif
|
1999-07-02 19:29:02 +04:00
|
|
|
|
2017-12-13 20:42:44 +03:00
|
|
|
LDADD+=-lutil
|
|
|
|
DPADD+=${LIBUTIL}
|
|
|
|
|
1996-11-15 22:10:38 +03:00
|
|
|
# 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.
|
1996-11-15 21:01:36 +03:00
|
|
|
# CLEANFILES+= keywords.c keywords.h
|
|
|
|
# keywords.c keywords.h : keywords.sh
|
2003-10-26 10:25:33 +03:00
|
|
|
# ${HOST_SH} keywords.sh
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2019-10-13 10:28:04 +03:00
|
|
|
COPTS.rtutil.c+= ${GCC_NO_FORMAT_TRUNCATION}
|
|
|
|
|
1994-05-14 01:24:15 +04:00
|
|
|
.include <bsd.prog.mk>
|