summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fifolog
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 16:57:27 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 16:57:27 +0000
commita191ba5195ecb988c5e5c3b13fc364bde87bd41c (patch)
tree41890d809d5cd369a149d9fe8cd22b45310c700a /usr.sbin/fifolog
parenta755ca9f3133785c8638591a5f79e27878062707 (diff)
downloadFreeBSD-src-a191ba5195ecb988c5e5c3b13fc364bde87bd41c.zip
FreeBSD-src-a191ba5195ecb988c5e5c3b13fc364bde87bd41c.tar.gz
Convert usr.sbin to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.sbin/fifolog')
-rw-r--r--usr.sbin/fifolog/Makefile.inc8
-rw-r--r--usr.sbin/fifolog/fifolog_create/Makefile3
-rw-r--r--usr.sbin/fifolog/fifolog_reader/Makefile3
-rw-r--r--usr.sbin/fifolog/fifolog_writer/Makefile3
4 files changed, 3 insertions, 14 deletions
diff --git a/usr.sbin/fifolog/Makefile.inc b/usr.sbin/fifolog/Makefile.inc
deleted file mode 100644
index 5ec27dd..0000000
--- a/usr.sbin/fifolog/Makefile.inc
+++ /dev/null
@@ -1,8 +0,0 @@
-# $FreeBSD$
-
-LIBFIFOLOG= ${.OBJDIR}/../lib/libfifolog.a
-
-#LINT= flint
-#LINTFLAGS= ${.CURDIR}/../flint.lnt -I/usr/include
-
-.include "../Makefile.inc"
diff --git a/usr.sbin/fifolog/fifolog_create/Makefile b/usr.sbin/fifolog/fifolog_create/Makefile
index 8b59b25..4a83b5b 100644
--- a/usr.sbin/fifolog/fifolog_create/Makefile
+++ b/usr.sbin/fifolog/fifolog_create/Makefile
@@ -4,8 +4,7 @@ PROG= fifolog_create
CFLAGS+= -I${.CURDIR}/../lib
-DPADD= ${LIBFIFOLOG} ${LIBUTIL}
-LDADD= ${LIBFIFOLOG} -lutil
+LIBADD= util fifolog
MAN= fifolog.1
MLINKS= fifolog.1 fifolog_create.1 \
diff --git a/usr.sbin/fifolog/fifolog_reader/Makefile b/usr.sbin/fifolog/fifolog_reader/Makefile
index 50575a9..19ce281 100644
--- a/usr.sbin/fifolog/fifolog_reader/Makefile
+++ b/usr.sbin/fifolog/fifolog_reader/Makefile
@@ -6,8 +6,7 @@ CFLAGS+= -I${.CURDIR}/../lib
MAN=
-DPADD= ${LIBFIFOLOG} ${LIBZ}
-LDADD= ${LIBFIFOLOG} -lz
+LIBADD= z fifolog
regress:
./${PROG} /tmp/fifolog.0
diff --git a/usr.sbin/fifolog/fifolog_writer/Makefile b/usr.sbin/fifolog/fifolog_writer/Makefile
index 9806ec7..3e5e6cc 100644
--- a/usr.sbin/fifolog/fifolog_writer/Makefile
+++ b/usr.sbin/fifolog/fifolog_writer/Makefile
@@ -6,8 +6,7 @@ CFLAGS+= -I${.CURDIR}/../lib
MAN=
-DPADD= ${LIBFIFOLOG} ${LIBZ}
-LDADD= ${LIBFIFOLOG} -lz
+LIBADD= z fifolog
regress:
date | ./${PROG} -z 0 /tmp/fifolog.0
OpenPOWER on IntegriCloud