xref: /freebsd/lib/Makefile (revision ff2edf0cf82cd183a136f12866170fc3affd891f)
158f0484fSRodney W. Grimes#	@(#)Makefile	8.1 (Berkeley) 6/4/93
258f0484fSRodney W. Grimes
358f0484fSRodney W. Grimes.if	${MACHINE} == "tahoe"
4f06e7c2eSPaul RichardsSUBDIR=csu/tahoe.pcc
558f0484fSRodney W. Grimes.elif	${MACHINE} == "vax"
6f06e7c2eSPaul RichardsSUBDIR=csu/vax.pcc
71ece12e5SRodney W. Grimes.else
8f06e7c2eSPaul RichardsSUBDIR=csu/${MACHINE}
958f0484fSRodney W. Grimes.endif
1058f0484fSRodney W. Grimes
113fcee20fSMark Murray# XXX MISSING:		libplot
12d3065f15SPeter WemmSUBDIR+=libc libcompat libcom_err libcurses libdisk libedit \
1300a825f7SPaul Traina	libf2c libftpio libgnumalloc libipx libkvm libmd libmytinfo \
1400a825f7SPaul Traina	libncurses libopie libpcap libresolv librpcsvc \
15ff2edf0cSPeter Wemm	libscsi libskey libss libtermcap libutil libxpg4 liby libz
16f547de18SMark Murray
170f7d6847SJulian Elischer.if defined(WANT_LIBC_R)
180f7d6847SJulian ElischerSUBDIR+= libc_r
190f7d6847SJulian Elischer.endif
200f7d6847SJulian Elischer
21ff2edf0cSPeter Wemm.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \
22ff2edf0cSPeter Wemm	exists(${.CURDIR}/../usr.bin/tclsh) && exists (${.CURDIR}/libtcl)
23ff2edf0cSPeter WemmSUBDIR+=libtcl
24ff2edf0cSPeter Wemm.endif
25ff2edf0cSPeter Wemm
26d4c468e3SPoul-Henning Kamp.if !exists(${.CURDIR}/../secure) || defined(NOSECURE) || defined(NOCRYPT)
27e6af2dc8SAndrey A. ChernovSUBDIR+= libcrypt
28e6af2dc8SAndrey A. Chernov.else
29e6af2dc8SAndrey A. ChernovSUBDIR+= ../secure/lib/libcrypt
307c2f56ccSJoerg Wunsch.if defined(RELEASEDIR)
317c2f56ccSJoerg Wunsch# releases do need both libraries
327c2f56ccSJoerg WunschSUBDIR+= libcrypt
337c2f56ccSJoerg Wunsch.endif
34e6af2dc8SAndrey A. Chernov.endif
35e6af2dc8SAndrey A. Chernov
36c4be7158SAndrey A. Chernov.if !exists(${.CURDIR}/../eBones) || defined(NOSECURE) || !defined(MAKE_EBONES)
37f547de18SMark MurraySUBDIR+= libtelnet
38153193f3SAndrey A. Chernov.else
39eb5bc2e7SJoerg Wunsch.if defined(RELEASEDIR)
40eb5bc2e7SJoerg Wunsch# releases do need both libraries
41eb5bc2e7SJoerg WunschSUBDIR+= libtelnet
42eb5bc2e7SJoerg Wunsch.endif
4358dee85fSMark MurraySUBDIR+= ../eBones/lib/libtelnet
44f547de18SMark Murray.endif
45f06e7c2eSPaul Richards
4672b799a9SPoul-Henning Kamp.if defined(WANT_CSRG_LIBM)
47b6059979SJordan K. HubbardSUBDIR+= libm
48b6059979SJordan K. Hubbard.else
49b6059979SJordan K. HubbardSUBDIR+= msun
50b6059979SJordan K. Hubbard.endif
51b6059979SJordan K. Hubbard
528ff10292SPeter WemmSUBDIR+= compat
538ff10292SPeter Wemm
5458f0484fSRodney W. Grimes.include <bsd.subdir.mk>
55