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.
19 lines
520 B
Makefile
19 lines
520 B
Makefile
# $NetBSD: Makefile,v 1.5 2011/08/09 12:56:41 joerg Exp $
|
|
|
|
PROG= cc1
|
|
SRCS= ${G_C_OBJS:Nlibcpp.a:.o=.c} main.c ${PROG}-checksum.c
|
|
CPPFLAGS+= -DPREFIX=\"/usr\"
|
|
|
|
.include "../Makefile.backend"
|
|
.include "../Makefile.libcpp"
|
|
.include "../Makefile.libdecnumber"
|
|
|
|
# VER_CPPFLAGS from Makefile.inc
|
|
CPPFLAGS.c-cppbuiltin.c= ${VER_CPPFLAGS}
|
|
|
|
COPTS+= -Wno-stack-protector
|
|
|
|
LDADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} -lintl -lz -lm
|
|
DPADD+= ${LIBMPC} ${LIBMPFR} ${LIBGMP} ${LIBINTL} ${LIBZ} ${LIBM}
|
|
|
|
.PATH: ${DIST}/gcc ${G_out_file:H}
|