diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-11-25 16:57:27 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-11-25 16:57:27 +0000 |
commit | c6db8143eda5c775467145ac73e8ebec47afdd8f (patch) | |
tree | 41890d809d5cd369a149d9fe8cd22b45310c700a /usr.sbin/fifolog | |
parent | c97038fa5a6b253c5f2eb3d09a7a529f8ae86220 (diff) | |
download | src-c6db8143eda5c775467145ac73e8ebec47afdd8f.tar.gz src-c6db8143eda5c775467145ac73e8ebec47afdd8f.zip |
Convert usr.sbin to LIBADD
Reduce overlinking
Notes
Notes:
svn path=/head/; revision=275054
Diffstat (limited to 'usr.sbin/fifolog')
-rw-r--r-- | usr.sbin/fifolog/Makefile.inc | 8 | ||||
-rw-r--r-- | usr.sbin/fifolog/fifolog_create/Makefile | 3 | ||||
-rw-r--r-- | usr.sbin/fifolog/fifolog_reader/Makefile | 3 | ||||
-rw-r--r-- | usr.sbin/fifolog/fifolog_writer/Makefile | 3 |
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 5ec27ddb4247..000000000000 --- 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 8b59b25ed251..4a83b5be96f5 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 50575a9fac18..19ce28144e07 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 9806ec7217c9..3e5e6cc83224 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 |