diff options
| author | mrg <mrg@NetBSD.org> | 2006-05-10 22:48:11 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2006-05-10 22:48:11 +0000 |
| commit | ef37f7a6792c012ec1841382d231cf3f2f89c445 (patch) | |
| tree | 340331d558827b4ae8f9e88adc2a4b0ae40d49e2 /gnu/usr.bin/gcc4/libcpp/Makefile | |
| parent | 12d9aaea8c898d65084f6ff309b2ff3a9d83b9f2 (diff) | |
add the build framework for in-tree GCC4 programs, and the mknative
output for i386, sparc64 and powerpc.
Diffstat (limited to 'gnu/usr.bin/gcc4/libcpp/Makefile')
| -rw-r--r-- | gnu/usr.bin/gcc4/libcpp/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
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 <bsd.lib.mk> + +${OBJS}: ${G_LIBCPP_DEPS} + +.PATH: ${DIST}/libcpp +# ${DIST}/gcc |
