1 # $NetBSD: Makefile,v 1.52.6.1 2007/09/03 07:02:26 wrstuden Exp $ 2 3 SUBDIR+= _setjmp atexit basename citrus clone context convfp db dirname \ 4 div divrem gen getaddrinfo hsearch int_fmtio locale md5sha \ 5 nsdispatch popen pty randomid regex rpc servent setjmp sigsetjmp stdio \ 6 stdlib string strptime sys time 7 8 .include <bsd.own.mk> 9 10 .if defined(HAS_SSP) && (${HAS_SSP} == "yes") 11 SUBDIR+= ssp 12 .endif 13 .if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000") 14 SUBDIR+= ieeefp 15 .endif 16 .if (${MACHINE_ARCH} != "vax") 17 SUBDIR+= ldexp 18 .endif 19 20 .if !make(obj) && !make(cleandir) 21 HAVE_SIGINFO != if (echo "\#include <signal.h>" && echo "SA_SIGINFO") | ${CC} -E -I${DESTDIR}/usr/include - | grep -sq 0x0040; then echo yes; else echo no; fi 22 .endif 23 24 .if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes") 25 SUBDIR+= siginfo 26 .endif 27 28 .if exists(arch/${MACHINE_ARCH}) 29 SUBDIR+= arch/${MACHINE_ARCH} 30 .endif 31 32 .include <bsd.subdir.mk> 33