1 # $NetBSD: Makefile.gcc-tool,v 1.2 2014/05/31 22:55:16 mrg Exp $
4 SRCS= gcc-ar.c file-find.c
7 -DPERSONALITY=\"${GCC_TOOL}\" \
8 -DSTANDARD_EXEC_PREFIX=\"/usr/bin\" \
9 -DSTANDARD_LIBEXEC_PREFIX=\"/usr/lib\" \
10 -DSTANDARD_BINDIR_PREFIX=\"/usr/bin\" \
11 -DTOOLDIR_BASE_PREFIX=\"/usr/bin\" \
12 -DDEFAULT_TARGET_MACHINE=\"\" \
13 -DDEFAULT_TARGET_VERSION=\"\"
15 # Skip these because we don't have them in paths.
16 # -DDEFAULT_TARGET_VERSION=\"${G_version}\"
17 # -DDEFAULT_TARGET_MACHINE=\"{GNU_MACHINE_ARCH}\"
19 # ${SRCS}: ${GCCARCH}/defs.mk
21 CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
26 .include <bsd.prog.mk>
28 # Force using C++ for this
33 .include "../Makefile.common"
34 .include "../Makefile.libcpp"
35 .include "../Makefile.backtrace"
36 .include "../Makefile.libiberty"
37 .include "../Makefile.libdecnumber"
39 COPTS+= -Wno-stack-protector