Makefile revision 1.60
1#	$NetBSD: Makefile,v 1.60 2010/12/22 23:48:19 pgoyette Exp $
2
3SUBDIR+= _setjmp atexit citrus clone context convfp db \
4	div divrem gen gdtoa getaddrinfo hsearch inet int_fmtio locale md5sha \
5	nsdispatch popen pty randomid regex rpc servent setjmp sigsetjmp \
6	stdlib string strptime sys time
7
8.include <bsd.own.mk>
9.include <bsd.sys.mk>
10
11.if defined(USE_SSP) && (${USE_SSP} == "yes")
12SUBDIR+= ssp
13.endif
14.if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000")
15SUBDIR+= ieeefp
16.endif
17.if (${MACHINE_ARCH} != "vax")
18SUBDIR+= ldexp
19.endif
20
21.if !make(obj) && !make(cleandir)
22HAVE_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
23.endif
24
25.if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes")
26SUBDIR+= siginfo
27.endif
28
29.if exists(arch/${MACHINE_ARCH})
30SUBDIR+= arch/${MACHINE_ARCH}
31.endif
32
33.include <bsd.subdir.mk>
34