1# $FreeBSD: src/gnu/usr.bin/cc/libcpp/Makefile,v 1.1.8.1 2009/04/15 03:14:26 kensmith Exp $ 2# $OpenBSD: Makefile,v 1.3 2017/06/16 10:25:54 espie Exp $ 3 4# Use our headers in preference to ones from ../cc_tools. 5CFLAGS+= -I${.CURDIR} -I. 6 7.include <bsd.own.mk> 8 9.include "${.CURDIR}/../Makefile.inc" 10 11.PATH: ${GCCLIB}/libcpp 12 13LIB= cpp 14SRCS= localedir.h 15SRCS+= charset.c directives.c errors.c expr.c files.c \ 16 identifiers.c init.c lex.c line-map.c macro.c mkdeps.c \ 17 pch.c symtab.c traditional.c 18 19NOPROFILE= Yes 20NOPIC= Yes 21 22BUILDFIRST = localedir.h 23 24localedir.h: Makefile 25 echo '#define LOCALEDIR "/usr/share/locale"' > localedir.h 26SRCS+= localedir.h 27CLEANFILES+= localedir.h 28 29install: 30 # Nothing here so far... 31 32.include <bsd.lib.mk> 33