summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/Makefile
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-08-11 18:27:14 +0000
committerbrian <brian@FreeBSD.org>2001-08-11 18:27:14 +0000
commit5317e49dea057db8873a75c25c1a65ef3866dea7 (patch)
treecb415881f253fdaa6250d74c52c131e793b5c77f /usr.sbin/ppp/Makefile
parent284d4841aef1a69a25541e207613ca288db7b777 (diff)
downloadFreeBSD-src-5317e49dea057db8873a75c25c1a65ef3866dea7.zip
FreeBSD-src-5317e49dea057db8873a75c25c1a65ef3866dea7.tar.gz
Preprocess ppp.8.m4 into ppp.8, taking into account any compile time
options used to build ppp. Currently, this is a no-op and only handles LOCALNAT and LOCALRAD cases. This will be used for the upcoming ipv6 changes, and allows a shared man page between OpenBSD and FreeBSD.
Diffstat (limited to 'usr.sbin/ppp/Makefile')
-rw-r--r--usr.sbin/ppp/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile
index ccbe6a6c..74ec0b7 100644
--- a/usr.sbin/ppp/Makefile
+++ b/usr.sbin/ppp/Makefile
@@ -15,10 +15,16 @@ BINMODE=4554
BINOWN= root
.endif
BINGRP= network
+M4FLAGS=
LDADD= -lcrypt -lmd -lutil -lz
DPADD= ${LIBCRYPT} ${LIBMD} ${LIBUTIL} ${LIBZ}
+.SUFFIXES: .8 .8.m4
+
+.8.m4.8:
+ m4 ${M4FLAGS} ${.IMPSRC} >${.TARGET}
+
.if defined(RELEASE_CRUNCH)
CFLAGS+=-DRELEASE_CRUNCH
.endif
OpenPOWER on IntegriCloud