summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fifolog
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
committersjg <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
commit65145fa4c81da358fcbc3b650156dab705dfa34e (patch)
tree55c065b6730aaac2afb6c29933ee6ec5fa4c4249 /usr.sbin/fifolog
parent60ff4eb0dff94a04d75d0d52a3957aaaf5f8c693 (diff)
parente6b664c390af88d4a87208bc042ce503da664c3b (diff)
downloadFreeBSD-src-65145fa4c81da358fcbc3b650156dab705dfa34e.zip
FreeBSD-src-65145fa4c81da358fcbc3b650156dab705dfa34e.tar.gz
Merge sync of head
Diffstat (limited to 'usr.sbin/fifolog')
-rw-r--r--usr.sbin/fifolog/Makefile.inc5
-rw-r--r--usr.sbin/fifolog/fifolog_create/Makefile3
-rw-r--r--usr.sbin/fifolog/fifolog_create/Makefile.depend1
-rw-r--r--usr.sbin/fifolog/fifolog_reader/Makefile3
-rw-r--r--usr.sbin/fifolog/fifolog_writer/Makefile3
-rw-r--r--usr.sbin/fifolog/lib/Makefile.depend1
6 files changed, 5 insertions, 11 deletions
diff --git a/usr.sbin/fifolog/Makefile.inc b/usr.sbin/fifolog/Makefile.inc
index 5ec27dd..265f86d 100644
--- a/usr.sbin/fifolog/Makefile.inc
+++ b/usr.sbin/fifolog/Makefile.inc
@@ -1,8 +1,3 @@
# $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_create/Makefile.depend b/usr.sbin/fifolog/fifolog_create/Makefile.depend
index 793b497..e6e291a 100644
--- a/usr.sbin/fifolog/fifolog_create/Makefile.depend
+++ b/usr.sbin/fifolog/fifolog_create/Makefile.depend
@@ -10,6 +10,7 @@ DIRDEPS = \
lib/libc \
lib/libcompiler_rt \
lib/libutil \
+ lib/libz \
usr.sbin/fifolog/lib \
diff --git a/usr.sbin/fifolog/fifolog_reader/Makefile b/usr.sbin/fifolog/fifolog_reader/Makefile
index 50575a9..ae5f9e7 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= fifolog
regress:
./${PROG} /tmp/fifolog.0
diff --git a/usr.sbin/fifolog/fifolog_writer/Makefile b/usr.sbin/fifolog/fifolog_writer/Makefile
index 9806ec7..7a9316d 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= fifolog
regress:
date | ./${PROG} -z 0 /tmp/fifolog.0
diff --git a/usr.sbin/fifolog/lib/Makefile.depend b/usr.sbin/fifolog/lib/Makefile.depend
index 7a06d24..bcbc78b 100644
--- a/usr.sbin/fifolog/lib/Makefile.depend
+++ b/usr.sbin/fifolog/lib/Makefile.depend
@@ -6,6 +6,7 @@ DIRDEPS = \
include \
include/xlocale \
lib/libz \
+ usr.bin/yacc.host \
.include <dirdeps.mk>
OpenPOWER on IntegriCloud