aboutsummaryrefslogtreecommitdiff
path: root/sbin/route/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-07-17 14:05:20 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-07-17 14:05:20 +0000
commit826b6d6978bd2a396c0f04e1c6bb3ba8166988d0 (patch)
treea0c62cbc2f0ac0fc3a3f53ab0c985f2df8afe7f9 /sbin/route/Makefile
parentd06990ae3d25dd297d37715347fd05ecce934300 (diff)
downloadsrc-826b6d6978bd2a396c0f04e1c6bb3ba8166988d0.tar.gz
src-826b6d6978bd2a396c0f04e1c6bb3ba8166988d0.zip
- Add support of MK_INET_SUPPORT=no.
- Fix a bug in sodump() which prevented struct sockaddr_in6 from displaying. - Fix a bug in in fiboptlist_csv() which could cause free() of uninitialized pointer. - Style cleanups: . Add missing "static" keywords. . Use an array of struct sockaddr_storage instead of sockunion for rtmsg. . Use err() and errx() instead of pair of fprintf(stderr, "...") + exit(1). . Use nitems() macro. . Various style(9) fixes.
Notes
Notes: svn path=/head/; revision=253427
Diffstat (limited to 'sbin/route/Makefile')
-rw-r--r--sbin/route/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
index 231c3dad8b3f..569d21af07a0 100644
--- a/sbin/route/Makefile
+++ b/sbin/route/Makefile
@@ -10,11 +10,12 @@ WARNS?= 3
CLEANFILES+=keywords.h
CFLAGS+= -DNS
-
+.if ${MK_INET_SUPPORT} != "no"
+CFLAGS+= -DINET
+.endif
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif
-
CFLAGS+= -I.
keywords.h: keywords