2008-01-19 07:12:20 +03:00
|
|
|
# $NetBSD: Makefile,v 1.55 2008/01/19 04:12:20 ginsbach Exp $
|
1993-05-28 01:53:15 +04:00
|
|
|
|
2005-03-27 22:48:10 +04:00
|
|
|
SUBDIR+= _setjmp atexit basename citrus clone context convfp db dirname \
|
2008-01-19 07:12:20 +03:00
|
|
|
div divrem gen getaddrinfo hsearch inet int_fmtio locale md5sha \
|
2007-06-01 01:51:48 +04:00
|
|
|
nsdispatch popen pty randomid regex rpc servent setjmp sigsetjmp \
|
2007-06-02 15:09:22 +04:00
|
|
|
stdio stdlib string strptime sys time
|
2003-12-12 01:45:06 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
2007-06-02 15:09:22 +04:00
|
|
|
.include <bsd.sys.mk>
|
2003-12-12 01:45:06 +03:00
|
|
|
|
2007-06-02 15:09:22 +04:00
|
|
|
.if (${HAS_SSP} == "yes")
|
|
|
|
SUBDIR+= ssp
|
|
|
|
.endif
|
2002-04-22 00:22:12 +04:00
|
|
|
.if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000")
|
1995-04-18 23:24:21 +04:00
|
|
|
SUBDIR+= ieeefp
|
|
|
|
.endif
|
1999-08-30 21:03:16 +04:00
|
|
|
.if (${MACHINE_ARCH} != "vax")
|
|
|
|
SUBDIR+= ldexp
|
|
|
|
.endif
|
1993-05-28 01:53:15 +04:00
|
|
|
|
2003-12-31 14:14:25 +03:00
|
|
|
.if !make(obj) && !make(cleandir)
|
2003-10-20 04:07:47 +04:00
|
|
|
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
|
2003-12-17 08:36:43 +03:00
|
|
|
.endif
|
2003-10-05 00:29:52 +04:00
|
|
|
|
2003-12-31 14:14:25 +03:00
|
|
|
.if make(obj) || make(cleandir) || (${HAVE_SIGINFO} == "yes")
|
2003-10-05 00:29:52 +04:00
|
|
|
SUBDIR+= siginfo
|
|
|
|
.endif
|
|
|
|
|
1995-04-24 09:52:15 +04:00
|
|
|
.if exists(arch/${MACHINE_ARCH})
|
|
|
|
SUBDIR+= arch/${MACHINE_ARCH}
|
|
|
|
.endif
|
|
|
|
|
1993-05-28 01:53:15 +04:00
|
|
|
.include <bsd.subdir.mk>
|