1 # $NetBSD: Makefile,v 1.41 2003/12/11 22:45:06 matt Exp $ 2 3 SUBDIR+= _setjmp atexit basename clone convfp db dirname div divrem \ 4 gen getaddrinfo hsearch int_fmtio locale md5sha popen randomid \ 5 regex rpc setjmp sigsetjmp stdio stdlib string sys time 6 7 .include <bsd.own.mk> 8 9 .if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000") 10 SUBDIR+= ieeefp 11 .endif 12 .if (${MACHINE_ARCH} != "vax") 13 SUBDIR+= ldexp 14 .endif 15 16 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 17 18 .if make(obj) || (${HAVE_SIGINFO} == "yes") 19 SUBDIR+= siginfo 20 .endif 21 22 .if exists(arch/${MACHINE_ARCH}) 23 SUBDIR+= arch/${MACHINE_ARCH} 24 .endif 25 26 .include <bsd.subdir.mk> 27