
This brings our tree to NetBSD 7.0, as found on -current on the 10-10-2015. This updates: - LLVM to 3.6.1 - GCC to GCC 5.1 - Replace minix/commands/zdump with usr.bin/zdump - external/bsd/libelf has moved to /external/bsd/elftoolchain/ - Import ctwm - Drop sprintf from libminc Change-Id: I149836ac18e9326be9353958bab9b266efb056f0
32 lines
711 B
Makefile
32 lines
711 B
Makefile
# $NetBSD: Makefile,v 1.5 2014/05/31 22:55:17 mrg Exp $
|
|
|
|
PROG= gplusplus
|
|
PROGNAME= g++
|
|
SRCS= ${G_GXX_OBJS:.o=.c}
|
|
|
|
NOMAN= # Linked to gcc.1
|
|
.include <bsd.own.mk>
|
|
|
|
CPPFLAGS+= -I${BACKENDOBJ}
|
|
# XXX
|
|
CPPFLAGS+= -DCONFIGURE_SPECS="\"\"" \
|
|
-DDEFAULT_TARGET_VERSION=\"${G_version}\" \
|
|
-DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\"
|
|
|
|
.if defined(__MINIX) && ${HAVE_LLVM:Uno} == "no"
|
|
LINKS+= ${BINDIR}/g++ ${BINDIR}/c++
|
|
.endif # defined(__MINIX) && ${HAVE_LLVM:Uno} == "no"
|
|
|
|
.if !defined(__MINIX)
|
|
LDADD+= -lintl
|
|
DPADD+= ${LIBINTL}
|
|
.endif # !defined(__MINIX)
|
|
|
|
.include "../Makefile.frontend"
|
|
|
|
${SRCS}: ${GCCARCH}/defs.mk
|
|
|
|
COPTS.gcc.c= -Wno-stack-protector
|
|
|
|
.PATH: ${DIST}/gcc/cp ${DIST}/gcc ${DIST}/gcc/cp
|