2006-11-09 23:07:14 +03:00
|
|
|
# $NetBSD: Makefile,v 1.10 2006/11/09 20:07:14 christos Exp $
|
2001-12-13 02:09:13 +03:00
|
|
|
|
|
|
|
NOLINT= # defined
|
|
|
|
NOPROFILE= # defined
|
|
|
|
NOPIC= # defined
|
|
|
|
NOLINKLIB= # defined
|
2001-07-18 16:17:15 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
LIB= iberty
|
|
|
|
|
2006-02-03 01:22:14 +03:00
|
|
|
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
2001-07-18 16:17:15 +04:00
|
|
|
|
2006-11-09 23:07:14 +03: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
|
|
|
|
|
2003-12-04 12:29:31 +03:00
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist/binutils
|
2001-07-18 16:17:15 +04:00
|
|
|
|
|
|
|
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
|
|
|
|
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
|
|
|
|
|
2006-02-03 01:22:14 +03:00
|
|
|
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
|
|
|
|
-I${DIST}/include
|
2001-07-18 16:17:15 +04:00
|
|
|
|
|
|
|
.PATH: ${DIST}/libiberty
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|