2003-04-04 04:25:07 +04:00
|
|
|
# $NetBSD: Makefile.inc,v 1.6 2003/04/04 00:25:07 thorpej Exp $
|
2001-06-18 20:18:30 +04:00
|
|
|
|
2002-09-19 07:09:31 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
TOP= ${NETBSDSRCDIR}/gnu
|
2001-06-18 20:18:30 +04:00
|
|
|
DIST= ${TOP}/dist/toolchain
|
|
|
|
|
|
|
|
GCCARCH= ${.CURDIR}/../arch/${MACHINE_ARCH}
|
|
|
|
|
|
|
|
CPPFLAGS+= -DLOCALEDIR=\"/usr/share/locale\" -DNETBSD_NATIVE
|
2002-02-26 23:56:29 +03:00
|
|
|
HOST_CPPFLAGS+= -I${.CURDIR}/..
|
2001-06-18 20:18:30 +04:00
|
|
|
|
2003-04-04 04:25:07 +04:00
|
|
|
.if ${USETOOLS} == "yes"
|
2003-03-14 06:44:11 +03:00
|
|
|
COMPATOBJDIR!= cd ${NETBSDSRCDIR}/tools/compat && ${PRINTOBJDIR}
|
|
|
|
NBCOMPATLIB= -L${COMPATOBJDIR} -lnbcompat
|
2003-04-04 04:25:07 +04:00
|
|
|
.endif
|
2003-03-14 06:44:11 +03:00
|
|
|
|
2001-06-18 20:18:30 +04:00
|
|
|
.include "${GCCARCH}/defs.mk"
|