summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
blob: 082de4241f002a579229144b5eb1d0def3b077b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#	$Id$
#	@(#)Makefile	8.1 (Berkeley) 6/4/93

.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${BINFORMAT})
SUBDIR=csu/${MACHINE_ARCH}-${BINFORMAT}
.elif exists(${.CURDIR}/csu/${MACHINE_ARCH})
SUBDIR=csu/${MACHINE_ARCH}
.endif

# XXX MISSING:		libplot
SUBDIR+=libalias libc libcalendar libcompat libcom_err libcurses \
	libedit libf2c libftpio libgnumalloc libipx libmd libmytinfo \
	libncurses libopie libpcap libresolv librpcsvc \
	libskey libss libtermcap libutil libxpg4 liby libz
	
.if !defined(NOLIBC_R)
SUBDIR+= libc_r
.endif

.if ${MACHINE_ARCH} == "i386"
SUBDIR+=libdisk libkvm libscsi libvgl

.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
	exists(${.CURDIR}/../usr.bin/tclsh) && exists (${.CURDIR}/libtcl)
SUBDIR+=libtcl
.endif
.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 defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
# releases do need both libraries
SUBDIR+= libtelnet
.endif

.if defined(WANT_CSRG_LIBM)
SUBDIR+= libm
.else
SUBDIR+= msun
.endif

SUBDIR+= compat

.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud