]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/driver/Makefile
Update clang to r84119.
[FreeBSD/FreeBSD.git] / tools / driver / Makefile
1 ##===- tools/driver/Makefile -------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../../../..
10
11 TOOLNAME = clang
12 CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
13 CXXFLAGS = -fno-rtti
14
15 # This tool has no plugins, optimize startup time.
16 TOOL_NO_EXPORTS = 1
17
18 # FIXME: It is unfortunate we need to pull in the bitcode reader and
19 # writer just to get the serializer stuff used by clangBasic.
20 LINK_COMPONENTS := system support bitreader bitwriter
21 USEDLIBS = clangDriver.a clangBasic.a
22
23 include $(LEVEL)/Makefile.common
24
25 # Translate make variable to define when building a "production" clang.
26 ifdef CLANG_IS_PRODUCTION
27 CPP.Defines += -DCLANG_IS_PRODUCTION
28 endif
29