Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / gpl3 / binutils / usr.bin / Makefile.inc
blob8722ff44d201731abfa8bbcb1d45846866ac7df2
1 #       $NetBSD: Makefile.inc,v 1.1 2009/08/18 20:22:07 skrll Exp $
3 BINDIR?=        /usr/bin
5 .if !defined(__MAKEFILE_INC_INCLUDED__)
6 __MAKEFILE_INC_INCLUDED__=1
8 .include <bsd.own.mk>
10 GNUHOSTDIST=    ${DIST}
11 GNUCPPFLAGS=    ${G_DEFS} ${G_INCLUDES}
12 CPPFLAGS+=      ${GNUCPPFLAGS:M-D*:N-DLOCALEDIR*} ${GNUCPPFLAGS:M-I*:N-I.*} \
13                 -I${TOP}/${BFDSUBDIR}/libbfd/arch/${MACHINE_ARCH} \
14                 -I${DIST}/include -I${DIST}/bfd -I${DIST}/binutils \
15                 -DLOCALEDIR=\"${LOCALEDIR}\"
16 LDADD+=-lz
17 DPADD+=${LIBZ}
19 .endif # __MAKEFILE_INC_INCLUDED__