summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-03-17 18:54:44 +0000
commite1fe3dba5ce2826061f6489765be9b4a341736a9 (patch)
tree801e953598fc63a37f62cf997017301675552fe9 /gnu/usr.bin/cc/Makefile
parent23801379f0e7cdddcb057ea05fe79b340a01dbf5 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cc/Makefile')
-rw-r--r--gnu/usr.bin/cc/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile
index d8ea8c26ae286..b1aa973a69874 100644
--- a/gnu/usr.bin/cc/Makefile
+++ b/gnu/usr.bin/cc/Makefile
@@ -1,30 +1,32 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
# The order of some of these are rather important. Some depend on previous
# subdirs.
SUBDIR= cc_tools cc_int cc cc1 include protoize doc
-.if !defined(NO_CPP)
+.if ${MK_CPP} != "no"
SUBDIR+= cpp
.endif
-.if !defined(NO_CXX)
+.if ${MK_CXX} != "no"
SUBDIR+= cc1plus c++ c++filt
-.if !defined(NO_COLLECT2)
+.if ${MK_COLLECT2} != "no"
#SUBDIR+= collect2
.endif
.endif
-.if !defined(NO_OBJC)
+.if ${MK_OBJC} != "no"
SUBDIR+= cc1obj
.endif
-.if !defined(NO_FORTRAN)
+.if ${MK_FORTRAN} != "no"
SUBDIR+= f77 f771 f77doc
.endif
-.if !defined(NO_GCOV)
+.if ${MK_GCOV} != "no"
SUBDIR+= gcov
.endif