xref: /freebsd/lib/Makefile (revision d3065f15ebeea1aa2c75a408af880f30ea972615)
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 \
14d3065f15SPeter Wemm	libf2c libfakegnumalloc libftpio libipx \
159ee337daSBruce Evans	libkvm libmd libmytinfo libncurses libpcap libresolv librpcsvc \
16d3065f15SPeter Wemm	libscsi libskey libss libtcl libtermcap libutil libxpg4 liby libz
17d3065f15SPeter Wemm
18f547de18SMark Murray
19e6af2dc8SAndrey A. Chernov.if !exists(../secure) || defined(NOSECURE) || defined(NOCRYPT)
20e6af2dc8SAndrey A. ChernovSUBDIR+= libcrypt
21e6af2dc8SAndrey A. Chernov.else
22e6af2dc8SAndrey A. ChernovSUBDIR+= ../secure/lib/libcrypt
237c2f56ccSJoerg Wunsch.if defined(RELEASEDIR)
247c2f56ccSJoerg Wunsch# releases do need both libraries
257c2f56ccSJoerg WunschSUBDIR+= libcrypt
267c2f56ccSJoerg Wunsch.endif
27e6af2dc8SAndrey A. Chernov.endif
28e6af2dc8SAndrey A. Chernov
29f547de18SMark Murray.if !exists(../secure) || defined(NOSECURE)
30f547de18SMark MurraySUBDIR+= libtelnet
31153193f3SAndrey A. Chernov.else
32eb5bc2e7SJoerg Wunsch.if defined(RELEASEDIR)
33eb5bc2e7SJoerg Wunsch# releases do need both libraries
34eb5bc2e7SJoerg WunschSUBDIR+= libtelnet
35eb5bc2e7SJoerg Wunsch.endif
36153193f3SAndrey A. ChernovSUBDIR+= ../secure/lib/libtelnet
37f547de18SMark Murray.endif
38f06e7c2eSPaul Richards
3972b799a9SPoul-Henning Kamp.if defined(WANT_CSRG_LIBM)
40b6059979SJordan K. HubbardSUBDIR+= libm
41b6059979SJordan K. Hubbard.else
42b6059979SJordan K. HubbardSUBDIR+= msun
43b6059979SJordan K. Hubbard.endif
44b6059979SJordan K. Hubbard
4558f0484fSRodney W. Grimes.include <bsd.subdir.mk>
46