1 # $NetBSD: defs.mk.in,v 1.10 2011/08/14 20:22:42 apb Exp $
3 COMPATOBJ
:= ${.PARSEDIR
}
8 BUILD_OSTYPE
!= uname
-s
10 # Disable use of pre-compiled headers on Darwin.
11 .if
${BUILD_OSTYPE} == "Darwin"
12 HOST_CPPFLAGS
+= -no-cpp-precomp
15 HOST_CPPFLAGS
+= -I
${COMPATOBJ} -I
${COMPATOBJ}/include \
16 -I
${.CURDIR
}/..
/compat
-DHAVE_NBTOOL_CONFIG_H
=1 \
17 -D_FILE_OFFSET_BITS
=64
19 DPADD
+= ${COMPATOBJ}/libnbcompat.a
20 LDADD
+= -L
${COMPATOBJ} -lnbcompat @LIBS@
22 HAVE_PTHREAD_H
= @HAVE_PTHREAD_H@