use NOSHARE variable to skip 'share' directory, useful for shared installations

or for faster make of executables.
This commit is contained in:
Adam David 1996-11-01 19:03:33 +00:00
parent d919888163
commit 32ec48a5bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19320

View File

@ -1,5 +1,5 @@
# #
# $Id: Makefile,v 1.107 1996/10/14 12:58:47 peter Exp $ # $Id: Makefile,v 1.108 1996/10/25 14:22:50 bde Exp $
# #
# Make command line options: # Make command line options:
# -DCLOBBER will remove /usr/include # -DCLOBBER will remove /usr/include
@ -15,6 +15,7 @@
# -DNOPROFILE do not build profiled libraries # -DNOPROFILE do not build profiled libraries
# -DNOSECURE do not go into secure subdir # -DNOSECURE do not go into secure subdir
# -DNOGAMES do not go into games subdir # -DNOGAMES do not go into games subdir
# -DNOSHARE do not go into share subdir
# #
# The intended user-driven targets are: # The intended user-driven targets are:
@ -59,7 +60,7 @@ SUBDIR+= libexec
.if exists(sbin) .if exists(sbin)
SUBDIR+= sbin SUBDIR+= sbin
.endif .endif
.if exists(share) .if exists(share) && !defined(NOSHARE)
SUBDIR+= share SUBDIR+= share
.endif .endif
.if exists(sys) .if exists(sys)