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 12974c4211SWolfgang HelbigSUBDIR+=libalias libc libcalendar libcompat libcom_err libcurses libdisk \ 13974c4211SWolfgang Helbig libedit libf2c libftpio libgnumalloc libipx libkvm libmd libmytinfo \ 1400a825f7SPaul Traina libncurses libopie libpcap libresolv librpcsvc \ 15805af840SSøren Schmidt libscsi libskey libss libtermcap libutil libvgl libxpg4 liby libz 16f547de18SMark Murray 17cb6e7ccbSJohn Birrell.if !defined(NOLIBC_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 360e8089efSMark Murray.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4) 37eb5bc2e7SJoerg Wunsch# releases do need both libraries 38eb5bc2e7SJoerg WunschSUBDIR+= libtelnet 39eb5bc2e7SJoerg Wunsch.endif 40f06e7c2eSPaul Richards 4172b799a9SPoul-Henning Kamp.if defined(WANT_CSRG_LIBM) 42b6059979SJordan K. HubbardSUBDIR+= libm 43b6059979SJordan K. Hubbard.else 44b6059979SJordan K. HubbardSUBDIR+= msun 45b6059979SJordan K. Hubbard.endif 46b6059979SJordan K. Hubbard 478ff10292SPeter WemmSUBDIR+= compat 488ff10292SPeter Wemm 4958f0484fSRodney W. Grimes.include <bsd.subdir.mk> 50