summaryrefslogtreecommitdiffstats
path: root/gnu/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/Makefile')
-rw-r--r--gnu/lib/Makefile8
1 files changed, 5 insertions, 3 deletions
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 <bsd.own.mk>
+
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
OpenPOWER on IntegriCloud