blob: 1ffae80ab5004e0fc6567a2146bec4ca995cfe97 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $FreeBSD: src/gnu/usr.bin/cc/libcpp/Makefile,v 1.1.8.1 2009/04/15 03:14:26 kensmith Exp $
# $OpenBSD: Makefile,v 1.3 2017/06/16 10:25:54 espie Exp $
# Use our headers in preference to ones from ../cc_tools.
CFLAGS+= -I${.CURDIR} -I.
.include <bsd.own.mk>
.include "${.CURDIR}/../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
NOPROFILE= Yes
NOPIC= Yes
BUILDFIRST = localedir.h
localedir.h: Makefile
echo '#define LOCALEDIR "/usr/share/locale"' > localedir.h
SRCS+= localedir.h
CLEANFILES+= localedir.h
install:
# Nothing here so far...
.include <bsd.lib.mk>
|