[llvm-commits] CVS: llvm-stacker/tools/stkrc/Makefile

Reid Spencer reid at x10sys.com
Sun Feb 4 14:25:47 PST 2007



Changes in directory llvm-stacker/tools/stkrc:

Makefile updated: 1.12 -> 1.13
---
Log message:

Make Stacker makefiles more compliant with LLVM standards. 
Fix linkage problems after libLLVMTransforms.a was removed.


---
Diffs of the changes:  (+17 -14)

 Makefile |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)


Index: llvm-stacker/tools/stkrc/Makefile
diff -u llvm-stacker/tools/stkrc/Makefile:1.12 llvm-stacker/tools/stkrc/Makefile:1.13
--- llvm-stacker/tools/stkrc/Makefile:1.12	Thu Jul  6 19:20:39 2006
+++ llvm-stacker/tools/stkrc/Makefile	Sun Feb  4 16:25:16 2007
@@ -1,22 +1,29 @@
-##===- projects/Stacker/lib/stkrc/Makefile -----------------*- Makefile -*-===##
-
+#===-- projects/llvm-stacker/tools/stkrc/Makefile -----------*- Makefile -*-===#
 #
-# Indicate where we are relative to the top of the source tree.
+#                     The LLVM Compiler Infrastructure
 #
+# This file was developed by Reid Spencer and is distributed under the 
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+# 
+#===------------------------------------------------------------------------===#
+
+# Indicate where we are relative to the top of the source tree.
 LEVEL=../..
 
-#
 # Give the name of a library.  This will build a dynamic version.
-#
 TOOLNAME = stkrc
-LLVMLIBS = LLVMAsmParser.a LLVMBCWriter.a LLVMipo.a LLVMScalarOpts.a \
-	  LLVMTransforms.a LLVMTransformUtils.a LLVMipa.a LLVMAnalysis.a \
-	  LLVMTarget.a LLVMCore.a LLVMSupport.a LLVMbzip2.a LLVMSystem.a 
+
+# Define the link components
+USEDLIBS=stkr_compiler 
+LINK_COMPONENTS = asmparser bcwriter ipo scalaropts \
+		  transformutils ipa analysis target $(TARGETS_TO_BUILD) core
+
+# Define our configuration files
 CONFIG_FILES = st
 EXTRA_DIST = st
-USEDLIBS=stkr_compiler 
-REQUIRES_EH := 1
 
+# We need exception handling
+REQUIRES_EH := 1
 
 ifdef PARSE_DEBUG
 CPPFLAGS = -DPARSE_DEBUG=1
@@ -26,8 +33,4 @@
 CPPFLAGS += -DFLEX_DEBUG=1
 endif
 
-#
-# Include Makefile.common so we know what to do.
-#
 include $(LEVEL)/Makefile.common
-






More information about the llvm-commits mailing list