blob: 89100019ee37b377595fd83714b97bdaca871049 [file] [log] [blame]
Daniel Dunbar3ede8d02009-03-02 19:59:07 +00001##===- 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##===----------------------------------------------------------------------===##
9LEVEL = ../../../..
10
11TOOLNAME = clang-driver
Douglas Gregora393e9e2009-03-16 23:06:59 +000012CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
Daniel Dunbar3ede8d02009-03-02 19:59:07 +000013CXXFLAGS = -fno-rtti
14
Daniel Dunbar073777f2009-03-24 03:00:12 +000015# This tool has no plugins, optimize startup time.
16TOOL_NO_EXPORTS = 1
17
Daniel Dunbar4ad4b3e2009-03-12 08:55:43 +000018# FIXME: It is unfortunate we need to pull in the bitcode reader and
19# writer just to get the serializer stuff used by clangBasic.
20LINK_COMPONENTS := system support bitreader bitwriter
Daniel Dunbar510d7322009-03-18 02:11:26 +000021USEDLIBS = clangDriver.a clangBasic.a
Daniel Dunbar3ede8d02009-03-02 19:59:07 +000022
Daniel Dunbar3ede8d02009-03-02 19:59:07 +000023include $(LEVEL)/Makefile.common