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
This commit is contained in:
plunky 2010-02-03 22:07:50 +00:00
parent bd99595db9
commit 69337406ec
2 changed files with 12 additions and 4 deletions

View File

@ -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>

View File

@ -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>