Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git] / regress / lib / libc / Makefile
blob3f3cc3a9b0fb1abf3ae9ac44149f0425993b79d9
1 # $NetBSD$
3 SUBDIR+= _setjmp atexit basename citrus clone context convfp db dirname \
4 div divrem gen gdtoa getaddrinfo hsearch inet int_fmtio locale md5sha \
5 nsdispatch popen pty randomid regex rpc servent setjmp sigsetjmp \
6 stdio stdlib string strptime sys time
8 .include <bsd.own.mk>
9 .include <bsd.sys.mk>
11 .if defined(USE_SSP) && (${USE_SSP} == "yes")
12 SUBDIR+= ssp
13 .endif
14 .if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000")
15 SUBDIR+= ieeefp
16 .endif
17 .if (${MACHINE_ARCH} != "vax")
18 SUBDIR+= ldexp
19 .endif
21 .if !make(obj) && !make(cleandir)
22 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
23 .endif
25 .if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes")
26 SUBDIR+= siginfo
27 .endif
29 .if exists(arch/${MACHINE_ARCH})
30 SUBDIR+= arch/${MACHINE_ARCH}
31 .endif
33 .include <bsd.subdir.mk>