summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/libcpp/Makefile
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2007-05-19 04:25:59 +0000
committerAlexander Kabaev <kan@FreeBSD.org>2007-05-19 04:25:59 +0000
commitafb57df680a4b620d54eac30728eca95e51fc0e3 (patch)
treec672216e954c97dc45e1ed2b7fc903556dfde7b5 /gnu/usr.bin/cc/libcpp/Makefile
parent25a362d725586cc4e90a63cea065de53c14230ae (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/cc/libcpp/Makefile')
-rw-r--r--gnu/usr.bin/cc/libcpp/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/libcpp/Makefile b/gnu/usr.bin/cc/libcpp/Makefile
new file mode 100644
index 000000000000..23bc26e2a228
--- /dev/null
+++ b/gnu/usr.bin/cc/libcpp/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+# Use our headers in preference to ones from ../cc_tools.
+CFLAGS+= -I${.CURDIR} -I.
+
+.include "../Makefile.inc"
+
+.PATH: ${GCCLIB}/libcpp
+
+LIB= cpp
+SRCS= localedir.h
+SRCS+= charset.c directives.c errors.c expr.c files.c \
+ identifiers.c init.c lex.c line-map.c macro.c mkdeps.c \
+ pch.c symtab.c traditional.c
+INTERNALLIB=
+WARNS?= 1
+
+localedir.h: Makefile
+ echo '#define LOCALEDIR "/usr/share/locale"' > localedir.h
+SRCS+= localedir.h
+CLEANFILES+= localedir.h
+
+.include <bsd.lib.mk>