7c04fe4aca4606ff38901fee9109c71ed166f691
[oota-llvm.git] / tools / llvmc2 / driver / Makefile
1 ##===- tools/llvmc2/src/Makefile ---------------------------*- Makefile -*-===##
2 #
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open
6 # Source License. See LICENSE.TXT for details.
7 #
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../../..
11 TOOLNAME = $(DRIVER_NAME)
12 LINK_COMPONENTS = support system
13 REQUIRES_EH := 1
14
15 ifneq ($(BUILTIN_PLUGINS),)
16 USEDLIBS = $(patsubst %,LLVMC%,$(BUILTIN_PLUGINS))
17 endif
18
19 include $(LEVEL)/Makefile.common