Makefile revision 1.43
1# $NetBSD: Makefile,v 1.43 2003/12/31 11:14:25 martin Exp $ 2 3SUBDIR+= _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") 10SUBDIR+= ieeefp 11.endif 12.if (${MACHINE_ARCH} != "vax") 13SUBDIR+= ldexp 14.endif 15 16.if !make(obj) && !make(cleandir) 17HAVE_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 18.endif 19 20.if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes") 21SUBDIR+= siginfo 22.endif 23 24.if exists(arch/${MACHINE_ARCH}) 25SUBDIR+= arch/${MACHINE_ARCH} 26.endif 27 28.include <bsd.subdir.mk> 29