InstCombine: Don't unconditionally preserve 'nsw' when shrinking constants
[oota-llvm.git] / lib / Transforms / Hello / Makefile
index 4e54dec0f9888016e72da397f6d3677aeac224f8..f1e31489d3c966bbdabc57ac81807e83e9e5059c 100644 (file)
@@ -1,14 +1,24 @@
 ##===- lib/Transforms/Hello/Makefile -----------------------*- Makefile -*-===##
-# 
+#
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
-# 
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
 ##===----------------------------------------------------------------------===##
+
 LEVEL = ../../..
-LIBRARYNAME = hello
-SHARED_LIBRARY = 1
+LIBRARYNAME = LLVMHello
+LOADABLE_MODULE = 1
+USEDLIBS =
+
+# If we don't need RTTI or EH, there's no reason to export anything
+# from the hello plugin.
+ifneq ($(REQUIRES_RTTI), 1)
+ifneq ($(REQUIRES_EH), 1)
+EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/Hello.exports
+endif
+endif
 
 include $(LEVEL)/Makefile.common