xref: /freebsd/lib/Makefile (revision 58dee85f34b2d9da462e5f4ddb14c7591613223e)
158f0484fSRodney W. Grimes#	@(#)Makefile	8.1 (Berkeley) 6/4/93
258f0484fSRodney W. Grimes
358f0484fSRodney W. Grimes
458f0484fSRodney W. Grimes.if	${MACHINE} == "tahoe"
5f06e7c2eSPaul RichardsSUBDIR=csu/tahoe.pcc
658f0484fSRodney W. Grimes.elif	${MACHINE} == "vax"
7f06e7c2eSPaul RichardsSUBDIR=csu/vax.pcc
81ece12e5SRodney W. Grimes.else
9f06e7c2eSPaul RichardsSUBDIR=csu/${MACHINE}
1058f0484fSRodney W. Grimes.endif
1158f0484fSRodney W. Grimes
123fcee20fSMark Murray# XXX MISSING:		libplot
13d3065f15SPeter WemmSUBDIR+=libc libcompat libcom_err libcurses libdisk libedit \
1492f8a732SPeter Wemm	libf2c libftpio libgnumalloc libipx \
15583c43dfSPeter Wemm	libkvm libmd libmytinfo libncurses libpcap libresolv librpcsvc \
16d3065f15SPeter Wemm	libscsi libskey libss libtcl libtermcap libutil libxpg4 liby libz
17d3065f15SPeter Wemm
18f547de18SMark Murray
190f7d6847SJulian Elischer.if defined(WANT_LIBC_R)
200f7d6847SJulian ElischerSUBDIR+= libc_r
210f7d6847SJulian Elischer.endif
220f7d6847SJulian Elischer
23e6af2dc8SAndrey A. Chernov.if !exists(../secure) || defined(NOSECURE) || defined(NOCRYPT)
24e6af2dc8SAndrey A. ChernovSUBDIR+= libcrypt
25e6af2dc8SAndrey A. Chernov.else
26e6af2dc8SAndrey A. ChernovSUBDIR+= ../secure/lib/libcrypt
277c2f56ccSJoerg Wunsch.if defined(RELEASEDIR)
287c2f56ccSJoerg Wunsch# releases do need both libraries
297c2f56ccSJoerg WunschSUBDIR+= libcrypt
307c2f56ccSJoerg Wunsch.endif
31e6af2dc8SAndrey A. Chernov.endif
32e6af2dc8SAndrey A. Chernov
3358dee85fSMark Murray.if !exists(../eBones) || defined(NOSECURE)
34f547de18SMark MurraySUBDIR+= libtelnet
35153193f3SAndrey A. Chernov.else
36eb5bc2e7SJoerg Wunsch.if defined(RELEASEDIR)
37eb5bc2e7SJoerg Wunsch# releases do need both libraries
38eb5bc2e7SJoerg WunschSUBDIR+= libtelnet
39eb5bc2e7SJoerg Wunsch.endif
4058dee85fSMark MurraySUBDIR+= ../eBones/lib/libtelnet
41f547de18SMark Murray.endif
42f06e7c2eSPaul Richards
4372b799a9SPoul-Henning Kamp.if defined(WANT_CSRG_LIBM)
44b6059979SJordan K. HubbardSUBDIR+= libm
45b6059979SJordan K. Hubbard.else
46b6059979SJordan K. HubbardSUBDIR+= msun
47b6059979SJordan K. Hubbard.endif
48b6059979SJordan K. Hubbard
4958f0484fSRodney W. Grimes.include <bsd.subdir.mk>
50