2004-06-21 02:20:14 +04:00
|
|
|
# $NetBSD: defs.mk.in,v 1.9 2004/06/20 22:20:15 jmc Exp $
|
2001-12-12 00:17:56 +03:00
|
|
|
|
2002-01-29 13:20:28 +03:00
|
|
|
COMPATOBJ:= ${.PARSEDIR}
|
2002-01-21 23:04:36 +03:00
|
|
|
HOSTEXEEXT= @EXEEXT@
|
2002-01-29 13:20:28 +03:00
|
|
|
|
2002-09-15 20:46:23 +04:00
|
|
|
HOST_BSHELL= @BSHELL@
|
|
|
|
|
2003-03-13 08:15:49 +03:00
|
|
|
BUILD_OSTYPE!= uname -s
|
|
|
|
|
|
|
|
# Disable use of pre-compiled headers on Darwin.
|
|
|
|
.if ${BUILD_OSTYPE} == "Darwin"
|
|
|
|
HOST_CPPFLAGS+= -no-cpp-precomp
|
|
|
|
.endif
|
|
|
|
|
2002-01-29 13:20:28 +03:00
|
|
|
HOST_CPPFLAGS+= -I${COMPATOBJ} -I${COMPATOBJ}/include \
|
2003-10-27 03:12:41 +03:00
|
|
|
-I${.CURDIR}/../compat -DHAVE_NBTOOL_CONFIG_H=1 \
|
2004-06-21 02:20:14 +04:00
|
|
|
-D_FILE_OFFSET_BITS=64
|
2002-01-29 13:20:28 +03:00
|
|
|
|
|
|
|
DPADD+= ${COMPATOBJ}/libnbcompat.a
|
|
|
|
LDADD+= -L${COMPATOBJ} -lnbcompat @LIBS@
|