2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2013/08/22 16:03:30 matt Exp $
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
SUBDIR= backward ext bits debug decimal parallel tr1 tr1_impl
|
|
|
|
#SUBDIR+= pb_assoc
|
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
.include <bsd.init.mk>
|
2012-06-06 15:06:52 +02:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
.include "${.CURDIR}/../arch/${GCC_MACHINE_ARCH}/defs.mk"
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
.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>
|