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.
33 lines
908 B
Makefile
33 lines
908 B
Makefile
# $NetBSD: Makefile,v 1.5 2011/07/01 01:21:38 mrg Exp $
|
|
|
|
SUBDIR= backward ext bits debug decimal parallel tr1 tr1_impl
|
|
#SUBDIR+= pb_assoc
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk"
|
|
|
|
.cc: # disable .cc->NULL transform
|
|
|
|
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
|
|
GNUHOSTDIST= ${DIST}
|
|
|
|
# libsupc++
|
|
INCS= exception new typeinfo cxxabi.h cxxabi-forced.h
|
|
INCS+= exception_defines.h initializer_list exception_ptr.h
|
|
INCS+= nested_exception.h
|
|
|
|
# others
|
|
INCS+= cerrno
|
|
INCS+= ${G_std_headers} ${G_c_base_headers}
|
|
INCS+= ${G_c_compatibility_headers_extra}
|
|
INCSDIR= /usr/include/g++
|
|
|
|
.PATH: ${DIST}/libstdc++-v3 ${DIST}/libstdc++-v3/libsupc++
|
|
.PATH: ${DIST}/libstdc++-v3/include/c_compatibility
|
|
.PATH: ${DIST}/libstdc++-v3/include/c_global
|
|
.PATH: ${DIST}/libstdc++-v3/include/std
|
|
|
|
# Get default targets including <bsd.inc.mk>.
|
|
.include <bsd.prog.mk>
|
|
.include <bsd.subdir.mk>
|