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.
25 lines
483 B
Makefile
25 lines
483 B
Makefile
# $NetBSD: Makefile,v 1.3 2011/06/29 02:01:37 mrg Exp $
|
|
|
|
LIBISPRIVATE= yes
|
|
|
|
LIB= cpp
|
|
|
|
SRCS= ${G_libcpp_a_OBJS:.o=.c}
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} \
|
|
-I${GCCARCH} -I${BACKENDOBJ} -I. \
|
|
${G_INCLUDES:M-I*:N-I.*} \
|
|
-DPREFIX=\"/usr\"
|
|
|
|
.include <bsd.lib.mk>
|
|
COPTS+= -Wno-stack-protector
|
|
|
|
${OBJS}: ${G_LIBCPP_DEPS}
|
|
|
|
.PATH: ${DIST}/libcpp
|
|
# ${DIST}/gcc
|
|
|
|
localedir.h:
|
|
echo '#define LOCALEDIR "/usr/share/locale"' > ${.TARGET}
|
|
|
|
init.d init.o: localedir.h
|