diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-03-17 18:54:44 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-03-17 18:54:44 +0000 |
commit | e1fe3dba5ce2826061f6489765be9b4a341736a9 (patch) | |
tree | 801e953598fc63a37f62cf997017301675552fe9 /include/Makefile | |
parent | 23801379f0e7cdddcb057ea05fe79b340a01dbf5 (diff) | |
download | src-e1fe3dba5ce2826061f6489765be9b4a341736a9.tar.gz src-e1fe3dba5ce2826061f6489765be9b4a341736a9.zip |
Reimplementation of world/kernel build options. For details, see:
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
Notes
Notes:
svn path=/head/; revision=156813
Diffstat (limited to 'include/Makefile')
-rw-r--r-- | include/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/Makefile b/include/Makefile index 7045dfdfee74..21df1813fb03 100644 --- a/include/Makefile +++ b/include/Makefile @@ -3,6 +3,8 @@ # # Doing a "make install" builds /usr/include. +.include <bsd.own.mk> + CLEANFILES= osreldate.h version vers.c SUBDIR= arpa gssapi protocols rpcsvc rpc INCS= a.out.h ar.h assert.h bitstring.h complex.h cpio.h _ctype.h ctype.h \ @@ -51,15 +53,15 @@ LSUBDIRS= cam/scsi \ security/mac_mls security/mac_partition \ ufs/ffs ufs/ufs -.if !defined(NO_GPIB) +.if ${MK_GPIB} != "no" _dev_ieee488= dev/ieee488 .endif -.if defined(YES_HESIOD) +.if ${MK_HESIOD} != "no" INCS+= hesiod.h .endif -.if !defined(NO_BLUETOOTH) +.if ${MK_BLUETOOTH} != "no" LSUBSUBDIRS= netgraph/bluetooth/include .endif @@ -115,7 +117,7 @@ compat: mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \ -f ${.CURDIR}/../etc/mtree/BSD.include.dist \ -p ${DESTDIR}${INCLUDEDIR} -.if defined(WITH_BIND_LIBS) && !defined(NO_BIND) +.if ${MK_BIND_LIBS} != "no" mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \ -f ${.CURDIR}/../etc/mtree/BIND.include.dist \ -p ${DESTDIR}${INCLUDEDIR} @@ -145,7 +147,7 @@ copies: cd ${.CURDIR}/../sys/contrib/altq/altq; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}${INCLUDEDIR}/altq -.if !defined(NO_IPFILTER) +.if ${MK_IPFILTER} != "no" cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 *.h \ ${DESTDIR}${INCLUDEDIR}/netinet @@ -217,7 +219,7 @@ symlinks: ln -fs ../../../sys/contrib/altq/altq/$$h \ ${DESTDIR}${INCLUDEDIR}/altq; \ done -.if !defined(NO_IPFILTER) +.if ${MK_IPFILTER} != "no" cd ${.CURDIR}/../sys/contrib/ipfilter/netinet; \ for h in *.h; do \ ln -fs ../../../sys/contrib/ipfilter/netinet/$$h \ |