Module Name: src
Committed By: plunky
Date: Wed Feb 3 22:07:50 UTC 2010
Modified Files:
src/external/bsd/pcc/libexec: Makefile
src/external/bsd/pcc/usr.bin: Makefile
Log Message:
following the documentation in mk.conf(5) and share/mk/bsd.README,
and prior art with the MKGCC and MKGCCCMDS build options, only build
and install the pcc commands (pcc, cpp & ccom) when MKPCCCMDS != no
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/pcc/libexec/Makefile
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/pcc/usr.bin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/pcc/libexec/Makefile
diff -u src/external/bsd/pcc/libexec/Makefile:1.2 src/external/bsd/pcc/libexec/Makefile:1.3
--- src/external/bsd/pcc/libexec/Makefile:1.2 Wed Jan 20 11:45:55 2010
+++ src/external/bsd/pcc/libexec/Makefile Wed Feb 3 22:07:50 2010
@@ -1,5 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2010/01/20 11:45:55 plunky Exp $
+# $NetBSD: Makefile,v 1.3 2010/02/03 22:07:50 plunky Exp $
-SUBDIR= ccom cpp
+.include <bsd.own.mk>
+
+.if (${MKPCCCMDS} != "no")
+SUBDIR+= ccom cpp
+.endif
.include <bsd.subdir.mk>
Index: src/external/bsd/pcc/usr.bin/Makefile
diff -u src/external/bsd/pcc/usr.bin/Makefile:1.1 src/external/bsd/pcc/usr.bin/Makefile:1.2
--- src/external/bsd/pcc/usr.bin/Makefile:1.1 Sun Aug 24 05:47:05 2008
+++ src/external/bsd/pcc/usr.bin/Makefile Wed Feb 3 22:07:50 2010
@@ -1,5 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2008/08/24 05:47:05 gmcgarry Exp $
+# $NetBSD: Makefile,v 1.2 2010/02/03 22:07:50 plunky Exp $
-SUBDIR= pcc
+.include <bsd.own.mk>
+
+.if (${MKPCCCMDS} != "no")
+SUBDIR+= pcc
+.endif
.include <bsd.subdir.mk>