[llvm-commits] [llvm] r108919 - /llvm/trunk/tools/edis/Makefile

Chris Lattner sabre at nondot.org
Tue Jul 20 13:33:59 PDT 2010


Author: lattner
Date: Tue Jul 20 15:33:59 2010
New Revision: 108919

URL: http://llvm.org/viewvc/llvm-project?rev=108919&view=rev
Log:
this logic is handled by tools/makefile.

Modified:
    llvm/trunk/tools/edis/Makefile

Modified: llvm/trunk/tools/edis/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/edis/Makefile?rev=108919&r1=108918&r2=108919&view=diff
==============================================================================
--- llvm/trunk/tools/edis/Makefile (original)
+++ llvm/trunk/tools/edis/Makefile Tue Jul 20 15:33:59 2010
@@ -9,6 +9,8 @@
 
 LEVEL = ../..
 LIBRARYNAME = EnhancedDisassembly
+LINK_LIBS_IN_SHARED = 1
+SHARED_LIBRARY = 1
 
 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/EnhancedDisassembly.exports
 
@@ -17,15 +19,6 @@
 # early so we can set up LINK_COMPONENTS before including Makefile.rules
 include $(LEVEL)/Makefile.config
 
-ifeq ($(ENABLE_PIC),1)
-  ifneq ($(DISABLE_EDIS),1)
-    ifneq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW))
-	LINK_LIBS_IN_SHARED = 1
-	SHARED_LIBRARY = 1
-    endif
-  endif
-endif
-
 LINK_COMPONENTS := $(TARGETS_TO_BUILD) mcdisassembler x86asmprinter x86disassembler
 
 include $(LEVEL)/Makefile.common





More information about the llvm-commits mailing list