diff options
Diffstat (limited to 'polly/lib')
| -rw-r--r-- | polly/lib/Makefile | 14 | ||||
| -rw-r--r-- | polly/lib/Transform/Makefile | 16 |
2 files changed, 30 insertions, 0 deletions
diff --git a/polly/lib/Makefile b/polly/lib/Makefile index c84ff8932fe..4e217de2334 100644 --- a/polly/lib/Makefile +++ b/polly/lib/Makefile @@ -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)/.dir $(PROJ_OBJ_DIR)/JSON/$(BuildMode)/.dir 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 diff --git a/polly/lib/Transform/Makefile b/polly/lib/Transform/Makefile new file mode 100644 index 00000000000..397bf460aab --- /dev/null +++ b/polly/lib/Transform/Makefile @@ -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 |

