Makefile revision 34330
134330Sjb# $Id$ 21573Srgrimes# @(#)Makefile 8.1 (Berkeley) 6/4/93 31573Srgrimes 434330Sjb.if exists(${.CURDIR}/csu/${MACHINE_ARCH}-${BINFORMAT}) 534330SjbSUBDIR=csu/${MACHINE_ARCH}-${BINFORMAT} 634330Sjb.elif exists(${.CURDIR}/csu/${MACHINE_ARCH}) 734330SjbSUBDIR=csu/${MACHINE_ARCH} 81573Srgrimes.endif 91573Srgrimes 1012242Smarkm# XXX MISSING: libplot 1134330SjbSUBDIR+=libalias libc libcalendar libcompat libcom_err libcurses \ 1234330Sjb libedit libf2c libftpio libgnumalloc libipx libmd libmytinfo \ 1322385Spst libncurses libopie libpcap libresolv librpcsvc \ 1434330Sjb libskey libss libtermcap libutil libxpg4 liby libz 1517655Speter 1634330Sjb.if !defined(NOLIBC_R) 1717706SjulianSUBDIR+= libc_r 1817706Sjulian.endif 1917706Sjulian 2034330Sjb.if ${MACHINE_ARCH} == "i386" 2134330SjbSUBDIR+=libdisk libkvm libscsi libvgl 2234330Sjb 2324833Speter.if !defined(NOTCL) && exists (${.CURDIR}/../contrib/tcl) && \ 2424833Speter exists(${.CURDIR}/../usr.bin/tclsh) && exists (${.CURDIR}/libtcl) 2524833SpeterSUBDIR+=libtcl 2624833Speter.endif 2734330Sjb.endif 2824833Speter 2920318Sphk.if !exists(${.CURDIR}/../secure) || defined(NOSECURE) || defined(NOCRYPT) 3011071SacheSUBDIR+= libcrypt 3111071Sache.else 3211071SacheSUBDIR+= ../secure/lib/libcrypt 3313620Sjoerg.if defined(RELEASEDIR) 3413620Sjoerg# releases do need both libraries 3513620SjoergSUBDIR+= libcrypt 3611071Sache.endif 3713620Sjoerg.endif 3811071Sache 3929925Smarkm.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4) 4014077Sjoerg# releases do need both libraries 4114077SjoergSUBDIR+= libtelnet 4214077Sjoerg.endif 439957Smarkm 4432386Sjb.if defined(WANT_CSRG_LIBM) 452119SjkhSUBDIR+= libm 462119Sjkh.else 472119SjkhSUBDIR+= msun 482119Sjkh.endif 492119Sjkh 5020845SpeterSUBDIR+= compat 5120845Speter 521573Srgrimes.include <bsd.subdir.mk> 53