mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
f188178a2f
Move the code from 'llvmc/driver' into a new CompilerDriver library, and change the build system accordingly. Makes it easier for projects using LLVM to build their own llvmc-based drivers. Tested with objdir != srcdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65821 91177308-0d34-0410-b5e6-96231b3b80d8
23 lines
610 B
Makefile
23 lines
610 B
Makefile
##===- tools/llvmc/driver/Makefile -------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open
|
|
# Source License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LEVEL = ../../..
|
|
|
|
TOOLNAME = $(LLVMC_BASED_DRIVER_NAME)
|
|
USEDLIBS = CompilerDriver
|
|
|
|
ifneq ($(LLVMC_BUILTIN_PLUGINS),)
|
|
USEDLIBS += $(patsubst %,plugin_llvmc_%,$(LLVMC_BUILTIN_PLUGINS))
|
|
endif
|
|
|
|
LINK_COMPONENTS = support system
|
|
REQUIRES_EH := 1
|
|
|
|
include $(LEVEL)/Makefile.common
|