1 # Despite the source files ending in ".c", the c++ compiler needs to build
2 # everything. We have to roll our own targets to properly support this.
6 .include "../Makefile.inc"
7 .PATH: ${GCCDIR}/libcpp
12 CFLAGS+= -Duchar="unsigned char"
13 GOOD_CONFIG= ${.CURDIR}/../../support-libs/libcpp/config.h
31 # Helper for bootstrapping over iconv() removal of 'const' (c++ issue)
32 .if ${WORLD_VERSION} <= 400301
39 config.h: ${GOOD_CONFIG}
42 beforedepend: localedir.h config.h
43 afterdepend: libcpp.na
45 CLEANFILES= localedir.h config.h
47 .include "../../Makefile.intcxx_lib"