diff options
Diffstat (limited to 'tools/darwin/depends/distutilscross/Makefile')
-rw-r--r-- | tools/darwin/depends/distutilscross/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/darwin/depends/distutilscross/Makefile b/tools/darwin/depends/distutilscross/Makefile new file mode 100644 index 0000000000..63527081ee --- /dev/null +++ b/tools/darwin/depends/distutilscross/Makefile @@ -0,0 +1,32 @@ +include ../Makefile.include + +# lib name, version +APPNAME=distutilscross +VERSION=0.1 +SOURCE=$(APPNAME)-$(VERSION) +ARCHIVE=$(SOURCE).tar.gz + +# configuration settings +export PATH:=$(TOOLCHAIN)/bin:$(PATH) + +APP=$(SOURCE)/bin/$(APPNAME) +APPBIN=$(TOOLCHAIN)/bin/$(APPNAME) + +all: $(APPBIN) + +$(TARBALLS_LOCATION)/$(ARCHIVE): + $(RETRIEVE_TOOL) $(RETRIEVE_TOOL_FLAGS) $(BASE_URL)/$(ARCHIVE) + +$(SOURCE): $(TARBALLS_LOCATION)/$(ARCHIVE) + rm -rf $(SOURCE) + $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + echo $(SOURCE) > .gitignore + +$(APPBIN): $(SOURCE) + cd $(SOURCE); $(TOOLCHAIN)/bin/python setup.py install --prefix=$(TOOLCHAIN) + +clean: + rm -rf $(SOURCE) + +distclean:: + rm -rf $(SOURCE) |