2008-05-03 18:48:30 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 2008/05/03 14:48:31 lukem Exp $
|
2006-05-15 20:31:37 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2008-05-03 18:48:30 +04:00
|
|
|
LIBISPRIVATE= yes
|
2006-05-15 20:31:37 +04:00
|
|
|
|
2006-05-29 23:18:56 +04:00
|
|
|
LIB= iberty
|
2006-05-15 20:31:37 +04:00
|
|
|
|
2006-05-29 23:18:56 +04:00
|
|
|
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
|
2006-05-15 20:31:37 +04:00
|
|
|
|
2006-05-29 23:18:56 +04:00
|
|
|
DIST= ${NETBSDSRCDIR}/gnu/dist/gdb6
|
2006-05-15 20:31:37 +04:00
|
|
|
|
2006-05-29 23:18:56 +04:00
|
|
|
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
|
|
|
|
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
|
2006-05-15 20:31:37 +04:00
|
|
|
|
2006-05-29 23:18:56 +04:00
|
|
|
CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/arch/${MACHINE_ARCH} \
|
|
|
|
-I${DIST}/include
|
2006-05-15 20:31:37 +04:00
|
|
|
|
2006-11-10 20:36:08 +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
|
|
|
|
|
2006-05-15 20:31:37 +04:00
|
|
|
.PATH: ${DIST}/libiberty
|
2006-05-29 23:18:56 +04:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|