freebsd-nq/lib/Makefile
Peter Wemm ff2edf0cf8 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.
1997-04-12 07:06:08 +00:00

55 lines
1.2 KiB
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/4/93
.if ${MACHINE} == "tahoe"
SUBDIR=csu/tahoe.pcc
.elif ${MACHINE} == "vax"
SUBDIR=csu/vax.pcc
.else
SUBDIR=csu/${MACHINE}
.endif
# XXX MISSING: libplot
SUBDIR+=libc libcompat libcom_err libcurses libdisk libedit \
libf2c libftpio libgnumalloc libipx libkvm libmd libmytinfo \
libncurses libopie libpcap libresolv librpcsvc \
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
SUBDIR+= ../secure/lib/libcrypt
.if defined(RELEASEDIR)
# releases do need both libraries
SUBDIR+= libcrypt
.endif
.endif
.if !exists(${.CURDIR}/../eBones) || defined(NOSECURE) || !defined(MAKE_EBONES)
SUBDIR+= libtelnet
.else
.if defined(RELEASEDIR)
# releases do need both libraries
SUBDIR+= libtelnet
.endif
SUBDIR+= ../eBones/lib/libtelnet
.endif
.if defined(WANT_CSRG_LIBM)
SUBDIR+= libm
.else
SUBDIR+= msun
.endif
SUBDIR+= compat
.include <bsd.subdir.mk>