]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - gnu/usr.bin/cc/libcpp/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / gnu / usr.bin / cc / libcpp / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 # Use our headers in preference to ones from ../cc_tools.
6 CFLAGS+=        -I${.CURDIR} -I.
7
8 .include "../Makefile.inc"
9
10 .PATH: ${GCCLIB}/libcpp
11
12 LIB=    cpp
13 SRCS=   localedir.h
14 SRCS+=  charset.c directives.c errors.c expr.c files.c \
15         identifiers.c init.c lex.c line-map.c macro.c mkdeps.c \
16         pch.c symtab.c traditional.c
17 INTERNALLIB=
18 WARNS?= 1
19
20 localedir.h:    Makefile
21         echo    '#define LOCALEDIR "/usr/share/locale"' > localedir.h
22 SRCS+=          localedir.h
23 CLEANFILES+=    localedir.h
24
25 .include <bsd.lib.mk>