Home | History | Annotate | Line # | Download | only in libc
Makefile revision 1.42
      1 #	$NetBSD: Makefile,v 1.42 2003/12/17 05:36:43 jmc Exp $
      2 
      3 SUBDIR+= _setjmp atexit basename clone convfp db dirname div divrem \
      4 	gen getaddrinfo hsearch int_fmtio locale md5sha popen randomid \
      5 	regex rpc setjmp sigsetjmp stdio stdlib string sys time
      6 
      7 .include <bsd.own.mk>
      8 
      9 .if (${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m68000")
     10 SUBDIR+= ieeefp
     11 .endif
     12 .if (${MACHINE_ARCH} != "vax")
     13 SUBDIR+= ldexp
     14 .endif
     15 
     16 .if !make(obj)
     17 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
     18 .endif
     19 
     20 .if make(obj) || (${HAVE_SIGINFO} == "yes")
     21 SUBDIR+= siginfo
     22 .endif
     23 
     24 .if exists(arch/${MACHINE_ARCH})
     25 SUBDIR+= arch/${MACHINE_ARCH}
     26 .endif
     27 
     28 .include <bsd.subdir.mk>
     29