blob: 5f5ec533dd0dbd39ecc097c9d087d7055e41f164 [file] [log] [blame]
Mikhail Glushenkov113ec352008-11-25 21:38:12 +00001##===- tools/llvmc/driver/Makefile -------------------------*- Makefile -*-===##
Mikhail Glushenkov9d1b6962008-10-03 09:09:34 +00002#
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
10LEVEL = ../../..
Mikhail Glushenkovf1881782009-03-02 09:01:14 +000011
12TOOLNAME = $(LLVMC_BASED_DRIVER_NAME)
Chris Lattner6be92662009-06-16 23:00:42 +000013LLVMLIBS = CompilerDriver.a
Mikhail Glushenkovf1881782009-03-02 09:01:14 +000014
15ifneq ($(LLVMC_BUILTIN_PLUGINS),)
Chris Lattner6be92662009-06-16 23:00:42 +000016USEDLIBS += $(patsubst %,plugin_llvmc_%.a,$(LLVMC_BUILTIN_PLUGINS))
Mikhail Glushenkovf1881782009-03-02 09:01:14 +000017endif
18
Mikhail Glushenkov9d1b6962008-10-03 09:09:34 +000019LINK_COMPONENTS = support system
20REQUIRES_EH := 1
21
Mikhail Glushenkov9d1b6962008-10-03 09:09:34 +000022include $(LEVEL)/Makefile.common