From ef37f7a6792c012ec1841382d231cf3f2f89c445 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 10 May 2006 22:48:11 +0000 Subject: add the build framework for in-tree GCC4 programs, and the mknative output for i386, sparc64 and powerpc. --- gnu/usr.bin/gcc4/libcpp/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gnu/usr.bin/gcc4/libcpp/Makefile (limited to 'gnu/usr.bin/gcc4/libcpp/Makefile') diff --git a/gnu/usr.bin/gcc4/libcpp/Makefile b/gnu/usr.bin/gcc4/libcpp/Makefile new file mode 100644 index 00000000000..e02c5fb1b55 --- /dev/null +++ b/gnu/usr.bin/gcc4/libcpp/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2006/05/10 22:48:14 mrg Exp $ + +MKPRIVATELIB= yes + +LIB= cpp + +SRCS= ${G_libcpp_a_OBJS:.o=.c} + +CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} \ + -I${GCCARCH} -I${BACKENDOBJ} \ + ${G_INCLUDES:M-I*:N-I.*} \ + -DPREFIX=\"/usr\" + +# XXX gcc332 gets an ICE compiling cppmacro.c with -O2. +#.if ${MACHINE_ARCH} == "ns32k" +#COPTS.cppmacro.c= -O1 +#.endif + +.include + +${OBJS}: ${G_LIBCPP_DEPS} + +.PATH: ${DIST}/libcpp +# ${DIST}/gcc -- cgit