diff options
author | Michael Hutchinson <mhutchinson@novell.com> | 2008-10-10 01:02:23 +0400 |
---|---|---|
committer | Michael Hutchinson <mhutchinson@novell.com> | 2008-10-10 01:02:23 +0400 |
commit | efba70a6ff9a739560c1e97015483c324bc6916d (patch) | |
tree | dc15cdcf6bec7496931e4b494688675b6dcf7527 /extras/PyBinding/Makefile | |
parent | cf733c33724c717616dc7da91c127d01b37b5293 (diff) |
* md-newdom/extras/PyBinding/Makefile:
* md-newdom/extras/PyBinding/configure:
* md-newdom/extras/PyBinding/rules.make:
* md-newdom/extras/PyBinding/Makefile.include:
* md-newdom/extras/PyBinding/PyBinding/Makefile:
* md-newdom/extras/PyBinding/PyBinding/PyBinding.mdp:
* md-newdom/extras/PyBinding/PyBinding/gtk-gui/gui.stetic:
* md-newdom/extras/PyBinding/PyBinding/monodevelop-pybinding.pc.in: Add
makefile build system. Set GTK# version to 2.8.
svn path=/trunk/monodevelop/; revision=115386
Diffstat (limited to 'extras/PyBinding/Makefile')
-rw-r--r-- | extras/PyBinding/Makefile | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/extras/PyBinding/Makefile b/extras/PyBinding/Makefile new file mode 100644 index 0000000000..18396363f0 --- /dev/null +++ b/extras/PyBinding/Makefile @@ -0,0 +1,72 @@ + +EXTRA_DIST = rules.make configure Makefile.include + +all: all-recursive + +top_srcdir=. +include $(top_srcdir)/config.make +include $(top_srcdir)/Makefile.include +include $(top_srcdir)/rules.make + +#include $(top_srcdir)/custom-hooks.make + +#Warning: This is an automatically generated file, do not edit! +ifeq ($(CONFIG),DEBUG) + SUBDIRS = PyBinding +endif +ifeq ($(CONFIG),RELEASE) + SUBDIRS = PyBinding +endif + + +CONFIG_MAKE=$(top_srcdir)/config.make + +%-recursive: $(CONFIG_MAKE) + @set . $$MAKEFLAGS; final_exit=:; \ + case $$2 in --unix) shift ;; esac; \ + case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \ + make pre-$*-hook prefix=$(prefix) ; \ + for dir in $(call quote_each,$(SUBDIRS)); do \ + case "$$dir" in \ + .) make $*-local || { final_exit="exit 1"; $$dk; };;\ + *) (cd "$$dir" && make $*) || { final_exit="exit 1"; $$dk; };;\ + esac \ + done; \ + make post-$*-hook prefix=$(prefix) ; \ + $$final_exit + +$(CONFIG_MAKE): + echo "You must run configure first" + exit 1 + +clean: clean-recursive +install: install-recursive +uninstall: uninstall-recursive + +dist: $(CONFIG_MAKE) + rm -rf $(PACKAGE)-$(VERSION) + mkdir $(PACKAGE)-$(VERSION) + make pre-dist-hook distdir=$$distdir + for dir in $(call quote_each,$(SUBDIRS)); do \ + pkgdir=`pwd`/$(PACKAGE)-$(VERSION); \ + mkdir "$$pkgdir/$$dir" || true; \ + case $$dir in \ + .) make dist-local "distdir=$$pkgdir" || exit 1;; \ + *) (cd "$$dir"; make dist-local "distdir=$$pkgdir/$$dir") || exit 1;; \ + esac \ + done + (make dist-local distdir=$(PACKAGE)-$(VERSION)) + make + make post-dist-hook "distsir=$$distdir" + tar czvf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION) + rm -rf $(PACKAGE)-$(VERSION) + @echo "==========================================" + @echo "$(PACKAGE)-$(VERSION) has been packaged > $(PACKAGE)-$(VERSION).tar.gz" + @echo "==========================================" + +distcheck: dist + (mkdir test; cd test; \ + tar xzvf ../$(PACKAGE)-$(VERSION).tar.gz; cd $(PACKAGE)-$(VERSION); \ + ./configure --prefix=$$(cd `pwd`/..; pwd); \ + make && make install && make dist); + rm -rf test |