From 388e590f951441f619cd32710dc151e0ac810a10 Mon Sep 17 00:00:00 2001 From: ru Date: Fri, 17 Mar 2006 18:54:44 +0000 Subject: 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) --- gnu/lib/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gnu/lib/Makefile') diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile index 0e5b51c..9e1584c 100644 --- a/gnu/lib/Makefile +++ b/gnu/lib/Makefile @@ -1,18 +1,20 @@ # $FreeBSD$ +.include + SUBDIR= csu libgcc libgcov libdialog libregex libreadline # libsupc++ uses libstdc++ headers, although 'make includes' should # have taken care of that already. -.if !defined(NO_CXX) +.if ${MK_CXX} != "no" SUBDIR+= libstdc++ libsupc++ .endif -.if !defined(NO_OBJC) +.if ${MK_OBJC} != "no" SUBDIR+= libobjc .endif -.if !defined(NO_FORTRAN) +.if ${MK_FORTRAN} != "no" SUBDIR+= libg2c .endif -- cgit v1.1