2014-02-17 16:55:07 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2013/08/06 05:35:57 matt Exp $
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
NOLINT= # defined
|
|
|
|
NOPROFILE= # defined
|
|
|
|
NOPIC= # defined
|
|
|
|
NOLINKLIB= # defined
|
|
|
|
NOCLANGERROR= # defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
LIB= iberty
|
|
|
|
|
2014-02-17 16:55:07 +01:00
|
|
|
BINUTILS_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
|
|
|
|
|
|
|
|
.include "${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH}/defs.mk"
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
COPTS.argv.c = -Wno-stack-protector
|
|
|
|
COPTS.cp-demangle.c = -Wno-stack-protector
|
|
|
|
COPTS.make-relative-prefix.c = -Wno-stack-protector
|
|
|
|
COPTS.regex.c = -Wno-stack-protector
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/external/gpl3/binutils/dist
|
|
|
|
|
|
|
|
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
|
|
|
|
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
|
|
|
|
|
2014-02-17 16:55:07 +01:00
|
|
|
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH} \
|
2012-06-06 15:06:52 +02:00
|
|
|
-I${DIST}/include
|
|
|
|
|
|
|
|
.PATH: ${DIST}/libiberty
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|