Add NO_BLUETOOTH knob to the build process

Requested by:	phk
Reviewed by:	imp (mentor), ru
This commit is contained in:
Maksim Yevmenkin 2004-01-28 00:42:51 +00:00
parent 254ae03ba3
commit 18d948adb1
6 changed files with 13 additions and 2 deletions

View File

@ -40,7 +40,9 @@ LSUBDIRS= cam/scsi dev/an dev/bktr dev/firewire dev/ic dev/iicbus \
security/mac_lomac security/mac_mls security/mac_partition \
ufs/ffs ufs/ufs
.if !defined(NO_BLUETOOTH)
LSUBSUBDIRS= netgraph/bluetooth/include
.endif
# Define SHARED to indicate whether you want symbolic links to the system
# source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is

View File

@ -70,10 +70,12 @@ _libusbhid= libusbhid
.endif
.if ${MACHINE_ARCH} == "i386"
_compat= compat
.if !defined(NO_BLUETOOTH)
_libbluetooth= libbluetooth
_libncp= libncp
_libsdp= libsdp
.endif
_compat= compat
_libncp= libncp
_libsmb= libsmb
_libvgl= libvgl
.endif

View File

@ -103,6 +103,7 @@
#NO_CVS= true # do not build CVS
#NO_CXX= true # do not build C++ and friends
#NO_BIND= true # do not build BIND
#NO_BLUETOOTH= true # do not build Bluetooth related stuff
#NO_FORTRAN= true # do not build g77 and related libraries
#NO_GDB= true # do not build GDB
#NO_I4B= true # do not build isdn4bsd package

View File

@ -43,7 +43,9 @@ _mppc= mppc
.if ${MACHINE_ARCH} == "i386"
# Things that don't compile on alpha or are aout specific:
.if !defined(NO_BLUETOOTH) || defined(ALL_MODULES)
_bluetooth= bluetooth
.endif
.endif
.include <bsd.subdir.mk>

View File

@ -264,7 +264,9 @@ _usbhidctl= usbhidctl
.endif
.if ${MACHINE_ARCH} == "i386"
.if !defined(NO_BLUETOOTH)
_bluetooth= bluetooth
.endif
_doscmd= doscmd
_ncplist= ncplist
_ncplogin= ncplogin

View File

@ -243,7 +243,9 @@ _acpi= acpi
_apm= apm
_apmd= apmd
_asf= asf
.if !defined(NO_BLUETOOTH)
_bluetooth= bluetooth
.endif
.if ${MACHINE} == "i386"
_boot0cfg= boot0cfg
.endif