[polly] r203868 - [autoconf] Add Transform/ directory

Tobias Grosser tobias at grosser.es
Thu Mar 13 16:37:37 PDT 2014


Author: grosser
Date: Thu Mar 13 18:37:37 2014
New Revision: 203868

URL: http://llvm.org/viewvc/llvm-project?rev=203868&view=rev
Log:
[autoconf] Add Transform/ directory

Contributed-by: Sam Novak <snovak at uwsp.edu>

Added:
    polly/trunk/lib/Transform/Makefile
Modified:
    polly/trunk/lib/Makefile

Modified: polly/trunk/lib/Makefile
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Makefile?rev=203868&r1=203867&r2=203868&view=diff
==============================================================================
--- polly/trunk/lib/Makefile (original)
+++ polly/trunk/lib/Makefile Thu Mar 13 18:37:37 2014
@@ -30,6 +30,9 @@ USEDLIBS += pollysupport.a
 DIRS += JSON
 USEDLIBS += pollyjson.a
 
+DIRS += Transform
+USEDLIBS += pollytransform.a
+
 # TODO: Export symbols for RTTI or EH?
 
 #
@@ -93,3 +96,14 @@ $(LibDir)/libpollyjson.a : $(LibDir)/.di
     fi; \
     ($(MAKE) -C JSON $@ ) || exit 1; \
   fi
+
+$(LibDir)/libpollytransform.a : $(LibDir)/.dir $(PROJ_OBJ_DIR)/Transform/$(BuildMode)/.dir \
+                              $(PROJ_SRC_DIR)/Transform/*
+	$(Verb) if [ -d $(PROJ_SRC_DIR)/Transform ]; then\
+    if ([ ! -f Transform/Makefile ] || \
+        command test Transform/Makefile -ot $(PROJ_SRC_DIR)/Transform/Makefile ); then \
+      $(MKDIR) Transform; \
+      $(CP) $(PROJ_SRC_DIR)/Transform/Makefile Transform/Makefile; \
+    fi; \
+    ($(MAKE) -C Transform $@ ) || exit 1; \
+  fi
\ No newline at end of file

Added: polly/trunk/lib/Transform/Makefile
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/Makefile?rev=203868&view=auto
==============================================================================
--- polly/trunk/lib/Transform/Makefile (added)
+++ polly/trunk/lib/Transform/Makefile Thu Mar 13 18:37:37 2014
@@ -0,0 +1,16 @@
+##===- polly/lib/Support/Makefile ----------------*- Makefile -*-===##
+
+#
+# Indicate where we are relative to the top of the source tree.
+#
+LEVEL=../..
+
+LIBRARYNAME=pollytransform
+BUILD_ARCHIVE = 1
+
+CPP.Flags += $(POLLY_INC)
+
+#
+# Include Makefile.common so we know what to do.
+#
+include $(LEVEL)/Makefile.common





More information about the llvm-commits mailing list