1 ##===- lib/Transforms/Hello/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 ##===----------------------------------------------------------------------===## 9 10 LEVEL = ../../.. 11 LIBRARYNAME = LLVMHello 12 LOADABLE_MODULE = 1 13 USEDLIBS = 14 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 22 23 include $(LEVEL)/Makefile.common 24 25