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