diff options
| -rw-r--r-- | etc/Makefile | 10 | ||||
| -rw-r--r-- | etc/defaults/make.conf | 1 | ||||
| -rw-r--r-- | share/Makefile | 6 | ||||
| -rw-r--r-- | share/man/man5/make.conf.5 | 3 | ||||
| -rw-r--r-- | usr.sbin/Makefile | 4 |
5 files changed, 20 insertions, 4 deletions
diff --git a/etc/Makefile b/etc/Makefile index 6fbe7c30d2cf..2d0da719ece2 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -13,7 +13,7 @@ BIN1= amd.map apmd.conf auth.conf \ motd modems networks newsyslog.conf \ pam.conf phones printcap profile protocols \ rc rc.atm rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6 \ - rc.isdn rc.network rc.network6 rc.pccard rc.serial rc.shutdown \ + rc.network rc.network6 rc.pccard rc.serial rc.shutdown \ rc.syscons rc.sysctl remote rpc security services shells syslog.conf \ usbd.conf \ etc.${MACHINE_ARCH}/disktab \ @@ -23,6 +23,10 @@ BIN1= amd.map apmd.conf auth.conf \ ${.CURDIR}/../usr.bin/mail/misc/mail.rc \ ${.CURDIR}/../usr.bin/locate/locate/locate.rc +.if !defined(NO_I4B) +BIN1+= rc.isdn +.endif + .if exists(${.CURDIR}/../crypto) && !defined(NO_OPENSSH) SSH= ${.CURDIR}/../crypto/openssh/ssh_config \ ${.CURDIR}/../crypto/openssh/sshd_config \ @@ -75,10 +79,12 @@ distribution: ( cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall ); \ ( cd ${.CURDIR}/../share/termcap; ${MAKE} etc-termcap ); \ ( cd ${.CURDIR}/../usr.sbin/rmt; ${MAKE} etc-rmt ); \ - ( cd ${.CURDIR}/isdn; ${MAKE} install ); \ pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd; \ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local MAKEDEV ${DESTDIR}/dev ) +.if !defined(NO_I4B) + ( cd ${.CURDIR}/isdn; ${MAKE} install ) +.endif .if !defined(NO_SENDMAIL) ( cd ${.CURDIR}/sendmail; ${MAKE} distribution ); .endif diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf index 685fc7f8446c..63b11ce18405 100644 --- a/etc/defaults/make.conf +++ b/etc/defaults/make.conf @@ -85,6 +85,7 @@ BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ #NO_CVS= true # do not build CVS #NO_BIND= true # do not build BIND #NO_FORTRAN= true # do not build g77 and related libraries +#NO_I4B= true # do not build isdn4bsd package #NO_LPR= true # do not build lpr and related programs #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector #NO_MODULES= true # do not build modules with the kernel diff --git a/share/Makefile b/share/Makefile index 30a7eaa21e76..212e58854c32 100644 --- a/share/Makefile +++ b/share/Makefile @@ -3,13 +3,17 @@ # Do not include `info' in the SUBDIR list, it is handled separately. -SUBDIR= colldef dict examples isdn man me misc mk mklocale skel \ +SUBDIR= colldef dict examples man me misc mk mklocale skel \ syscons tabset termcap timedef zoneinfo .if !defined(NO_SHAREDOCS) SUBDIR+= doc .endif +.if !defined(NO_I4B) +SUBDIR+= isdn +.endif + .if !defined(NO_SENDMAIL) SUBDIR+= sendmail .endif diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5 index ab12b5886576..4a5df2c8ed30 100644 --- a/share/man/man5/make.conf.5 +++ b/share/man/man5/make.conf.5 @@ -357,6 +357,9 @@ Set to not build BIND. Set to not build .Xr g77 1 and related libraries. +.It Va NO_I4B +.Pq Vt bool +Set to not build isdn4bsd package. .It Va NO_LPR .Pq Vt bool Set to not build diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile index 6c50298d160e..09d1b7cb12d3 100644 --- a/usr.sbin/Makefile +++ b/usr.sbin/Makefile @@ -152,7 +152,6 @@ SUBDIR+=elf2exe SUBDIR+=apm \ apmd \ btxld \ - i4b \ kgmon \ kgzip \ lptcontrol \ @@ -165,6 +164,9 @@ SUBDIR+=apm \ stallion \ wicontrol \ wlconfig +.if !defined(NO_I4B) +SUBDIR+=i4b +.endif .endif .if ${MACHINE} == "i386" |
