Makefile revision 1.45
1#	$NetBSD: Makefile,v 1.45 2004/02/28 16:55:05 drochner Exp $
2
3SUBDIR+= _setjmp atexit basename clone context 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")
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