1 # $NetBSD: Makefile,v 1.1 2003/07/25 16:32:50 mrg Exp $
3 SUBDIR
= backward ext bits debug tr1
8 .
include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk"
10 .
cc: # disable .cc->NULL transform
12 DIST
= ${NETBSDSRCDIR}/gnu
/dist/gcc4
14 INCS
= exception new typeinfo cxxabi.h exception_defines.h
15 INCS
+= ${G_std_headers_rename} ${G_c_base_headers_rename}
16 INCS
+= ${G_c_compatibility_headers_extra}
17 INCSDIR
= /usr
/include/g
++
19 ${G_std_headers_rename}: ${.CURDIR
}/Makefile
20 cp
${DIST}/libstdc
++-v3
/include/std
/std_
${.TARGET
}.h
${.TARGET
}
22 CLEANFILES
+= ${G_std_headers_rename} ${G_c_base_headers_rename}
24 .PATH
: ${DIST}/libstdc
++-v3
${DIST}/libstdc
++-v3
/libsupc
++
26 # Get default targets including <bsd.inc.mk>.
27 .
include <bsd.prog.mk
>
28 .
include <bsd.subdir.mk
>
30 ${G_c_base_headers_rename}: ${.CURDIR
}/Makefile
31 cp
${DIST}/libstdc
++-v3
/include/c_std
/std_
${.TARGET
}.h
${.TARGET
}