18a5822eff
They are used as build tools for cross compilation. This import does not include the full distribution. Rather, it sports a shell script that will download and patch the distribution when compiled from /usr/src/tools (yet to be committed). This part of the source tree is only necessary for cross compilation. It's not used or compiled for native builds.
22 lines
660 B
Makefile
22 lines
660 B
Makefile
# $NetBSD: Makefile,v 1.5 2011/08/09 12:56:42 joerg Exp $
|
|
|
|
PROG= cc1plus
|
|
SRCS= ${G_CXX_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
|
|
|
|
CPPFLAGS+= -I${DIST}/gcc/cp
|
|
CPPFLAGS.prefix.c+= -DPREFIX=\"/usr\"
|
|
|
|
.include "../Makefile.backend"
|
|
.include "../Makefile.libcpp"
|
|
.include "../Makefile.libdecnumber"
|
|
|
|
# VER_CPPFLAGS from Makefile.inc
|
|
CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
|
|
|
|
# YUCK. but see timevar.h:POP_TIMEVAR_AND_RETURN
|
|
CFLAGS+= -Wno-error # not good enough: -Wno-return-type
|
|
|
|
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
|
|
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
|
|
|
|
.PATH: ${DIST}/gcc/cp ${DIST}/gcc ${G_out_file:H}
|