1 # $NetBSD: Makefile,v 1.3 2014/05/31 22:55:17 mrg Exp $
5 # For ../Makefile.inc and bsd.own.mk
10 SRCS
= diagnostic.c pretty-print.c intl.c input.c version.c
12 # XXX make sure this doesn't have more than it needs
13 CPPFLAGS
+= -I
${GCCARCH} -I
${BACKENDOBJ} -I. \
14 ${G_ALL_CFLAGS
:M-D
*} ${G_INCLUDES
:M-I
*:N-I.
*} \
16 -DDEFAULT_TARGET_VERSION
=\"${G_version}\" \
17 -DDEFAULT_TARGET_MACHINE
=\"${MACHINE_GNU_PLATFORM}\" \
18 -DCONFIGURE_SPECS
="\"\""
25 COPTS.diagnostic.c
= -Wno-stack-protector
26 COPTS.intl.c
= -Wno-stack-protector
28 ${SRCS}: ${GCCARCH}/defs.mk
32 # Force using C++ for this