aboutsummaryrefslogtreecommitdiff
path: root/share/mk/bsd.lib.mk
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2013-01-17 17:27:10 +0000
committerBrooks Davis <brooks@FreeBSD.org>2013-01-17 17:27:10 +0000
commitafd9b4631f0823bb7d3876b7bea4c525a393d7ed (patch)
treef01f379aed098f3fb906661823e6028dc5aa48d7 /share/mk/bsd.lib.mk
parent3301ff56483ade4c3a40eed271e4c039af2ecba6 (diff)
downloadsrc-afd9b4631f0823bb7d3876b7bea4c525a393d7ed.tar.gz
src-afd9b4631f0823bb7d3876b7bea4c525a393d7ed.zip
Add a new LIBRARIES_ONLY make variable to disable the build and install
of files other than the actual libraries. Use LIBRARIES_ONLY to supress the inclusion of files in the lib32 distribution that are duplicates of files in base. Sponsored by: DARPA, AFRL Reviewed by: emaste
Notes
Notes: svn path=/head/; revision=245561
Diffstat (limited to 'share/mk/bsd.lib.mk')
-rw-r--r--share/mk/bsd.lib.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk
index 1335964f1b42..e39c7a52a066 100644
--- a/share/mk/bsd.lib.mk
+++ b/share/mk/bsd.lib.mk
@@ -331,9 +331,12 @@ _libinstall:
.endif
.endif # !defined(INTERNALLIB)
+.if !defined(LIBRARIES_ONLY)
.include <bsd.nls.mk>
.include <bsd.files.mk>
.include <bsd.incs.mk>
+.endif
+
.include <bsd.links.mk>
.if ${MK_MAN} != "no"
@@ -348,7 +351,7 @@ lint: ${SRCS:M*.c}
${LINT} ${LINTFLAGS} ${CFLAGS:M-[DIU]*} ${.ALLSRC}
.endif
-.if ${MK_MAN} != "no"
+.if ${MK_MAN} != "no" && !defined(LIBRARIES_ONLY)
.include <bsd.man.mk>
.endif