summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-04-12 07:06:08 +0000
committerpeter <peter@FreeBSD.org>1997-04-12 07:06:08 +0000
commit83c5ef7b0d509e8ffb3fcce33f055f8eb3ddcd9f (patch)
tree4f468594f8dfd8df1c6e1e02eea14ae7adbc4f63 /lib/Makefile
parent9f048c7bd91d08e637caaca983077db46aee2d2c (diff)
downloadFreeBSD-src-83c5ef7b0d509e8ffb3fcce33f055f8eb3ddcd9f.zip
FreeBSD-src-83c5ef7b0d509e8ffb3fcce33f055f8eb3ddcd9f.tar.gz
Put on my flame proof suit and make libtcl build conditional on
the src/contrib/tcl directory existing, and also have an /etc/make.conf override (NOTCL) to stop building libtcl. This is in similar other things from src/Makefile, eg: NOGAMES, NOLKM, etc. This is so that people can put in a refuse entry in their cvsup files and not fetch the tcl code, and have it not built automatically. I'll do something similar for perl.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 4766798..8fae457 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,6 +1,5 @@
# @(#)Makefile 8.1 (Berkeley) 6/4/93
-
.if ${MACHINE} == "tahoe"
SUBDIR=csu/tahoe.pcc
.elif ${MACHINE} == "vax"
@@ -13,13 +12,17 @@ SUBDIR=csu/${MACHINE}
SUBDIR+=libc libcompat libcom_err libcurses libdisk libedit \
libf2c libftpio libgnumalloc libipx libkvm libmd libmytinfo \
libncurses libopie libpcap libresolv librpcsvc \
- libscsi libskey libss libtcl libtermcap libutil libxpg4 liby libz
+ libscsi libskey libss libtermcap libutil libxpg4 liby libz
-
.if defined(WANT_LIBC_R)
SUBDIR+= libc_r
.endif
+.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
+ exists(${.CURDIR}/../usr.bin/tclsh) && exists (${.CURDIR}/libtcl)
+SUBDIR+=libtcl
+.endif
+
.if !exists(${.CURDIR}/../secure) || defined(NOSECURE) || defined(NOCRYPT)
SUBDIR+= libcrypt
.else
OpenPOWER on IntegriCloud