Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/pcc make p++ optional, on MKCXX
details: https://anonhg.NetBSD.org/src/rev/a720d06881f6
branches: trunk
changeset: 330871:a720d06881f6
user: plunky <plunky%NetBSD.org@localhost>
date: Thu Jul 24 20:55:45 2014 +0000
description:
make p++ optional, on MKCXX
diffstat:
external/bsd/pcc/libexec/Makefile | 8 ++++++--
external/bsd/pcc/usr.bin/pcc/Makefile | 6 +++++-
2 files changed, 11 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 2ceb4d88f839 -r a720d06881f6 external/bsd/pcc/libexec/Makefile
--- a/external/bsd/pcc/libexec/Makefile Thu Jul 24 20:31:01 2014 +0000
+++ b/external/bsd/pcc/libexec/Makefile Thu Jul 24 20:55:45 2014 +0000
@@ -1,7 +1,11 @@
-# $NetBSD: Makefile,v 1.7 2014/07/24 20:20:49 plunky Exp $
+# $NetBSD: Makefile,v 1.8 2014/07/24 20:55:45 plunky Exp $
.include <bsd.own.mk>
-SUBDIR= mkext .WAIT ccom cpp cxxcom
+SUBDIR= mkext .WAIT ccom cpp
+
+.if ${MKCXX} != "no"
+SUBDIR+= cxxcom
+.endif
.include <bsd.subdir.mk>
diff -r 2ceb4d88f839 -r a720d06881f6 external/bsd/pcc/usr.bin/pcc/Makefile
--- a/external/bsd/pcc/usr.bin/pcc/Makefile Thu Jul 24 20:31:01 2014 +0000
+++ b/external/bsd/pcc/usr.bin/pcc/Makefile Thu Jul 24 20:55:45 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2014/07/24 20:20:49 plunky Exp $
+# $NetBSD: Makefile,v 1.10 2014/07/24 20:55:45 plunky Exp $
WARNS?= 2
@@ -29,6 +29,10 @@
-e "s,Xr cpp,Xr pcpp," \
${.ALLSRC} > ${.TARGET}
+.if ${MKCXX} != "no"
+SYMLINKS+= ${BINDIR}/pcc /usr/bin/p++
+.endif
+
CLEANFILES+= pcc.1
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index