NetBSD/regress/lib/libc/Makefile

34 lines
952 B
Makefile

# $NetBSD: Makefile,v 1.58 2009/11/25 09:30:04 uebayasi Exp $
SUBDIR+= _setjmp atexit basename citrus clone context convfp db dirname \
div divrem gen gdtoa getaddrinfo hsearch inet int_fmtio locale md5sha \
nsdispatch popen pty randomid regex rpc servent setjmp sigsetjmp \
stdio stdlib string strptime sys time
.include <bsd.own.mk>
.include <bsd.sys.mk>
.if defined(USE_SSP) && (${USE_SSP} == "yes")
SUBDIR+= ssp
.endif
.if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000")
SUBDIR+= ieeefp
.endif
.if (${MACHINE_ARCH} != "vax")
SUBDIR+= ldexp
.endif
.if !make(obj) && !make(cleandir)
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
.endif
.if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes")
SUBDIR+= siginfo
.endif
.if exists(arch/${MACHINE_ARCH})
SUBDIR+= arch/${MACHINE_ARCH}
.endif
.include <bsd.subdir.mk>