NetBSD/regress/lib/libc/Makefile
he f9e944d1a0 While the intention of picking up the target's include files was fine,
those files are not available in certain phases in the build process,
notably the "obj" phase, so unconditionally decend into siginfo during
that pass.  This should make read-only source trees build again when
cross-compiling for a target supporting siginfo on a host not supporting
siginfo.
2003-10-23 21:59:35 +00:00

24 lines
705 B
Makefile

# $NetBSD: Makefile,v 1.39 2003/10/23 21:59:35 he Exp $
SUBDIR+= _setjmp atexit basename clone convfp db dirname div divrem \
gen getaddrinfo hsearch int_fmtio locale md5sha popen regex rpc \
setjmp sigsetjmp stdio stdlib string sys time
.if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000")
SUBDIR+= ieeefp
.endif
.if (${MACHINE_ARCH} != "vax")
SUBDIR+= ldexp
.endif
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
.if make(obj) || (${HAVE_SIGINFO} == "yes")
SUBDIR+= siginfo
.endif
.if exists(arch/${MACHINE_ARCH})
SUBDIR+= arch/${MACHINE_ARCH}
.endif
.include <bsd.subdir.mk>