1 # $NetBSD: Makefile,v 1.2 2006/05/29 19:18:56 nathanw Exp $
9 .
include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
11 DIST
= ${NETBSDSRCDIR}/gnu
/dist/gdb6
13 GCPPFLAGS
= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
14 CPPFLAGS
+= -I
${.CURDIR
}/arch
/${MACHINE_ARCH} \
15 -I
${.CURDIR
}/..
/bfd
/arch
/${MACHINE_ARCH} \
16 -I
${DIST}/include -I. \
17 -I
${DIST}/bfd
${GCPPFLAGS
:M-D
*} \
18 ${GCPPFLAGS
:M-I
*:N-I.
*}
20 GSRCS
= ${G_BFD_MACHINES}
21 SRCS
= ${GSRCS
:.lo
=.c
} ${G_libopcodes_la_SOURCES}
23 .PATH
: ${DIST}/opcodes