summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-09-21 22:02:26 +0000
committersam <sam@FreeBSD.org>2008-09-21 22:02:26 +0000
commit9c3d2ffcdff40754b2207eb84c1ff0843e225c71 (patch)
tree6d0176f734c952569004dea8a4d84a092ced5821 /lib/Makefile
parent89ba9c24eeac9215b911c9d51e34a31bac0315de (diff)
downloadFreeBSD-src-9c3d2ffcdff40754b2207eb84c1ff0843e225c71.zip
FreeBSD-src-9c3d2ffcdff40754b2207eb84c1ff0843e225c71.tar.gz
add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile66
1 files changed, 42 insertions, 24 deletions
diff --git a/lib/Makefile b/lib/Makefile
index fd1ea0b..1b5ba44 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -27,17 +27,17 @@
# Otherwise, the SUBDIR list should be in alphabetical order.
SUBDIR= ${_csu} libc libbsm libcom_err libcrypt libelf libkvm msun libmd \
- ncurses libnetgraph libradius librpcsvc libsbuf libtacplus libutil \
- ${_libypclnt} libalias libarchive ${_libatm} \
- libbegemot ${_libbluetooth} libbsnmp libbz2 \
+ ncurses ${_libnetgraph} libradius librpcsvc libsbuf \
+ libtacplus libutil ${_libypclnt} libalias libarchive ${_libatm} \
+ libbegemot ${_libbluetooth} ${_libbsnmp} libbz2 \
libcalendar libcam libcompat libdevinfo libdevstat libdisk \
libdwarf libedit libexpat libfetch libftpio libgeom ${_libgpib} \
${_libgssapi} ${_librpcsec_gss} libipsec \
${_libipx} libkiconv libmagic libmemstat ${_libmilter} ${_libmp} \
${_libncp} ${_libngatm} libopie libpam libpcap \
- libpmc libproc librt ${_libsdp} ${_libsm} ${_libsmb} \
+ ${_libpmc} libproc librt ${_libsdp} ${_libsm} ${_libsmb} \
${_libsmdb} \
- ${_libsmutil} libstand libtelnet ${_libthr} libthread_db libufs \
+ ${_libsmutil} libstand ${_libtelnet} ${_libthr} libthread_db libufs \
libugidfw ${_libusbhid} ${_libvgl} libwrap liby libz ${_bind}
.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-elf)
@@ -48,6 +48,8 @@ _csu=csu/${MACHINE_ARCH}
_csu=csu
.endif
+# NB: keep these sorted by MK_* knobs
+
.if ${MK_ATM} != "no"
_libngatm= libngatm
.endif
@@ -61,6 +63,14 @@ _libbluetooth= libbluetooth
_libsdp= libsdp
.endif
+.if ${MK_BSNMP} != "no"
+_libbsnmp= libbsnmp
+.endif
+
+.if ${MK_GPIB} != "no"
+_libgpib= libgpib
+.endif
+
.if ${MK_GSSAPI} != "no"
_libgssapi= libgssapi
_librpcsec_gss= librpcsec_gss
@@ -70,6 +80,18 @@ _librpcsec_gss= librpcsec_gss
_libipx= libipx
.endif
+.if ${MK_LIBTHR} != "no"
+_libthr= libthr
+.endif
+
+.if ${MK_NETGRAPH} != "no"
+_libnetgraph= libnetgraph
+.endif
+
+.if ${MK_NIS} != "no"
+_libypclnt= libypclnt
+.endif
+
.if ${MACHINE_ARCH} == "i386"
.if ${MK_NCP} != "no"
_libncp= libncp
@@ -82,17 +104,6 @@ _libvgl= libvgl
_libsmb= libsmb
.endif
-.if ${MK_SENDMAIL} != "no"
-_libmilter= libmilter
-_libsm= libsm
-_libsmdb= libsmdb
-_libsmutil= libsmutil
-.endif
-
-.if ${MK_OPENSSL} != "no"
-_libmp= libmp
-.endif
-
.if ${MACHINE_ARCH} == "amd64"
.if ${MK_NCP} != "no"
_libncp= libncp
@@ -104,20 +115,27 @@ _libsmb= libsmb
_libsmb= libsmb
.endif
-.if ${MK_LIBTHR} != "no"
-_libthr= libthr
+.if ${MK_OPENSSL} != "no"
+_libmp= libmp
.endif
-.if ${MK_USB} != "no"
-_libusbhid= libusbhid
+.if ${MK_PMC} != "no"
+_libpmc= libpmc
.endif
-.if ${MK_NIS} != "no"
-_libypclnt= libypclnt
+.if ${MK_SENDMAIL} != "no"
+_libmilter= libmilter
+_libsm= libsm
+_libsmdb= libsmdb
+_libsmutil= libsmutil
.endif
-.if ${MK_GPIB} != "no"
-_libgpib= libgpib
+.if ${MK_TELNET} != "no"
+_libtelnet= libtelnet
+.endif
+
+.if ${MK_USB} != "no"
+_libusbhid= libusbhid
.endif
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud