xref: /freebsd/lib/Makefile (revision 00a825f736f278a84d9a2e3ad83ee7c4ba41ee8b)
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 \
1400a825f7SPaul Traina	libf2c libftpio libgnumalloc libipx libkvm libmd libmytinfo \
1500a825f7SPaul Traina	libncurses libopie 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
23d4c468e3SPoul-Henning Kamp.if !exists(${.CURDIR}/../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
33c4be7158SAndrey A. Chernov.if !exists(${.CURDIR}/../eBones) || defined(NOSECURE) || !defined(MAKE_EBONES)
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
498ff10292SPeter WemmSUBDIR+= compat
508ff10292SPeter Wemm
5158f0484fSRodney W. Grimes.include <bsd.subdir.mk>
52