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