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:
parent
bd99595db9
commit
69337406ec
8
external/bsd/pcc/libexec/Makefile
vendored
8
external/bsd/pcc/libexec/Makefile
vendored
@ -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>
|
||||
|
8
external/bsd/pcc/usr.bin/Makefile
vendored
8
external/bsd/pcc/usr.bin/Makefile
vendored
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user