NetBSD/tools/compat/defs.mk.in
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00

12 lines
308 B
Makefile

# $NetBSD: defs.mk.in,v 1.4 2002/01/31 22:43:48 tv Exp $
COMPATOBJ:= ${.PARSEDIR}
HOSTEXEEXT= @EXEEXT@
HOST_CPPFLAGS+= -I${COMPATOBJ} -I${COMPATOBJ}/include \
-I${.CURDIR}/../compat -DHAVE_CONFIG_H \
-D_FILE_OFFSET_BITS=64
DPADD+= ${COMPATOBJ}/libnbcompat.a
LDADD+= -L${COMPATOBJ} -lnbcompat @LIBS@