minix/external/gpl3/gcc/lib/libiberty/Makefile

32 lines
706 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 2013/08/22 00:16:54 matt Exp $
LIBISPRIVATE= yes
.include <bsd.own.mk>
GCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
LIB= iberty
.include "${.CURDIR}/defs.mk"
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
GNUHOSTDIST= ${DIST}
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/${GCC_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
CWARNFLAGS.clang+= -Wno-unused-value
.PATH: ${DIST}/libiberty
.include <bsd.lib.mk>