NetBSD/gnu/usr.bin/gdb6/libiberty/Makefile
lukem 66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00

27 lines
606 B
Makefile

# $NetBSD: Makefile,v 1.5 2008/05/03 14:48:31 lukem Exp $
.include <bsd.own.mk>
LIBISPRIVATE= yes
LIB= iberty
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
DIST= ${NETBSDSRCDIR}/gnu/dist/gdb6
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
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
.PATH: ${DIST}/libiberty
.include <bsd.lib.mk>