zpu: managed to compile program that writes constant to global variable
[llvm/zpu.git] / lib / Transforms / Hello / Makefile
blobf1e31489d3c966bbdabc57ac81807e83e9e5059c
1 ##===- lib/Transforms/Hello/Makefile -----------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
10 LEVEL = ../../..
11 LIBRARYNAME = LLVMHello
12 LOADABLE_MODULE = 1
13 USEDLIBS =
15 # If we don't need RTTI or EH, there's no reason to export anything
16 # from the hello plugin.
17 ifneq ($(REQUIRES_RTTI), 1)
18 ifneq ($(REQUIRES_EH), 1)
19 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/Hello.exports
20 endif
21 endif
23 include $(LEVEL)/Makefile.common