1 # $NetBSD: Makefile,v 1.57 2009/11/25 09:22:36 uebayasi Exp $ 2 3 SUBDIR+= _setjmp atexit basename citrus clone context convfp db dirname \ 4 div divrem gen gdtoa getaddrinfo hsearch inet int_fmtio locale md5sha \ 5 nsdispatch popen pty randomid regex rpc servent setjmp sigsetjmp \ 6 stdio stdlib string strptime sys time 7 8 .include <bsd.own.mk> 9 .include <bsd.sys.mk> 10 11 .if (${USE_SSP} == "yes") 12 SUBDIR+= ssp 13 .endif 14 .if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000") 15 SUBDIR+= ieeefp 16 .endif 17 .if (${MACHINE_ARCH} != "vax") 18 SUBDIR+= ldexp 19 .endif 20 21 .if !make(obj) && !make(cleandir) 22 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 23 .endif 24 25 .if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes") 26 SUBDIR+= siginfo 27 .endif 28 29 .if exists(arch/${MACHINE_ARCH}) 30 SUBDIR+= arch/${MACHINE_ARCH} 31 .endif 32 33 .include <bsd.subdir.mk> 34