Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/pcc following the documentation in mk.conf(5) a...



details:   https://anonhg.NetBSD.org/src/rev/a21e3a4ec870
branches:  trunk
changeset: 751432:a21e3a4ec870
user:      plunky <plunky%NetBSD.org@localhost>
date:      Wed Feb 03 22:07:50 2010 +0000

description:
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

diffstat:

 external/bsd/pcc/libexec/Makefile |  8 ++++++--
 external/bsd/pcc/usr.bin/Makefile |  8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 112b829c3451 -r a21e3a4ec870 external/bsd/pcc/libexec/Makefile
--- a/external/bsd/pcc/libexec/Makefile Wed Feb 03 22:03:56 2010 +0000
+++ b/external/bsd/pcc/libexec/Makefile Wed Feb 03 22:07:50 2010 +0000
@@ -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 $
+
+.include <bsd.own.mk>
 
-SUBDIR=                ccom cpp
+.if (${MKPCCCMDS} != "no")
+SUBDIR+=       ccom cpp
+.endif
 
 .include <bsd.subdir.mk>
diff -r 112b829c3451 -r a21e3a4ec870 external/bsd/pcc/usr.bin/Makefile
--- a/external/bsd/pcc/usr.bin/Makefile Wed Feb 03 22:03:56 2010 +0000
+++ b/external/bsd/pcc/usr.bin/Makefile Wed Feb 03 22:07:50 2010 +0000
@@ -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 $
+
+.include <bsd.own.mk>
 
-SUBDIR=                pcc
+.if (${MKPCCCMDS} != "no")
+SUBDIR+=       pcc
+.endif
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index