1 # $NetBSD: Makefile,v 1.61 2010/12/23 15:32:03 pgoyette Exp $ 2 3 SUBDIR+= _setjmp atexit citrus clone context convfp db \ 4 divrem gen gdtoa getaddrinfo hsearch inet int_fmtio locale md5sha \ 5 nsdispatch pty randomid regex rpc servent setjmp sigsetjmp \ 6 stdlib string strptime sys time 7 8 .include <bsd.own.mk> 9 .include <bsd.sys.mk> 10 11 .if defined(USE_SSP) && (${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