NetBSD/gnu/lib/libiberty/Makefile

30 lines
675 B
Makefile

# $NetBSD: Makefile,v 1.10 2006/11/09 20:07:14 christos Exp $
NOLINT= # defined
NOPROFILE= # defined
NOPIC= # defined
NOLINKLIB= # defined
.include <bsd.own.mk>
LIB= iberty
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
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}/gnu/dist/binutils
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
-I${DIST}/include
.PATH: ${DIST}/libiberty
.include <bsd.lib.mk>