1 # $NetBSD: Makefile,v 1.1 2009/08/18 20:22:05 skrll Exp $
12 BFD_MACHINE_ARCH?
= ${MACHINE_ARCH}
14 .if exists
(${.CURDIR
}/arch
/${BFD_MACHINE_ARCH}/defs.mk
)
15 .
include "${.CURDIR}/arch/${BFD_MACHINE_ARCH}/defs.mk"
17 DIST
= ${NETBSDSRCDIR}/external
/gpl3
/binutils
/dist
22 GCPPFLAGS
= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
23 CPPFLAGS
+= -I
${.CURDIR
}/arch
/${BFD_MACHINE_ARCH} \
24 -I
${.CURDIR
}/..
/libbfd
/arch
/${BFD_MACHINE_ARCH} \
25 -I
${DIST}/include -I. \
26 -I
${DIST}/bfd
${GCPPFLAGS
:M-D
*} \
27 ${GCPPFLAGS
:M-I
*:N-I.
*}
29 GSRCS
= ${G_BFD_MACHINES}
30 SRCS
= ${GSRCS
:.lo
=.c
} ${G_libopcodes_la_SOURCES}
32 .PATH
: ${DIST}/opcodes
37 .
include <bsd.prog.mk
> # do nothing