summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setkey
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-07-20 06:20:32 +0000
committerobrien <obrien@FreeBSD.org>2001-07-20 06:20:32 +0000
commit9c97c8f02d579c6988b1d150fd1c0fa8dacf2e87 (patch)
treefb97d8f0fea8f93b6e8bb70b86e003cf5cbc2b79 /usr.sbin/setkey
parentd3d1b151d3f3f67385b5e5adbbafd20527daa156 (diff)
downloadFreeBSD-src-9c97c8f02d579c6988b1d150fd1c0fa8dacf2e87.zip
FreeBSD-src-9c97c8f02d579c6988b1d150fd1c0fa8dacf2e87.tar.gz
Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
Diffstat (limited to 'usr.sbin/setkey')
-rw-r--r--usr.sbin/setkey/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/usr.sbin/setkey/Makefile b/usr.sbin/setkey/Makefile
index 0ce9f77..b66bc46 100644
--- a/usr.sbin/setkey/Makefile
+++ b/usr.sbin/setkey/Makefile
@@ -24,32 +24,35 @@
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
+#
# $FreeBSD$
PROG= setkey
+MAN= setkey.8
SRCS= setkey.c parse.y token.l
-CFLAGS+=-g
+
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../lib/libipsec
+YFLAGS= -d
+
DPADD= ${LIBL} ${LIBY}
LDADD= -ll -ly
-CLEANFILES+= y.tab.c y.tab.h key_test.o keytest
-YFLAGS+=-d
+
+CLEANFILES= y.tab.c y.tab.h key_test.o keytest
# libpfkey.
# ipsec_strerror.c is for avoiding shlib reference to non-exported function.
.PATH: ${.CURDIR}/../../lib/libipsec ${.CURDIR}/../../sys/netkey
SRCS+= pfkey.c pfkey_dump.c key_debug.c ipsec_strerror.c
-CFLAGS+=-I${.CURDIR}/../../lib/libipsec -I${.CURDIR}/../../sys/netkey
+CFLAGS+= -I${.CURDIR}/../../lib/libipsec -I${.CURDIR}/../../sys/netkey
-SRCS+=y.tab.h
+SRCS+= y.tab.h
y.tab.h: parse.y
-CFLAGS+=-DIPSEC_DEBUG -DINET6 -DYY_NO_UNPUT -I.
+CFLAGS+= -DIPSEC_DEBUG -DINET6 -DYY_NO_UNPUT -I.
DPADD+= ${LIBIPSEC}
LDADD+= -lipsec
CLEANFILES+= scriptdump y.tab.h
-SCRIPTS=scriptdump
-MAN= setkey.8
+SCRIPTS= scriptdump
LOCALPREFIX= /usr
OpenPOWER on IntegriCloud