diff options
author | Alan McGovern <alan.mcgovern@gmail.com> | 2012-06-27 02:28:24 +0400 |
---|---|---|
committer | Alan McGovern <alan.mcgovern@gmail.com> | 2012-06-27 02:29:34 +0400 |
commit | 7b7eceec9fd19663540be9fba8b90eae99585538 (patch) | |
tree | 4b862f98c513676a2582b413ec5b74942ae44f5f /extras/MonoDevelop.MonoMac | |
parent | aea26c16d94490c95f4e61329c137b82a4abfe77 (diff) |
[Build] Change the build system to use xbuild instead of makefiles (again)
The build 'regression' was a problem in some makefiles. It was fixed in
aea26c16d94490c95f4e61329c137b82a4abfe77
Diffstat (limited to 'extras/MonoDevelop.MonoMac')
-rw-r--r-- | extras/MonoDevelop.MonoMac/Makefile | 30 | ||||
-rwxr-xr-x | extras/MonoDevelop.MonoMac/configure | 71 |
2 files changed, 0 insertions, 101 deletions
diff --git a/extras/MonoDevelop.MonoMac/Makefile b/extras/MonoDevelop.MonoMac/Makefile deleted file mode 100644 index e1999463eb..0000000000 --- a/extras/MonoDevelop.MonoMac/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -include config.make -installdir = "$(prefix)/lib/monodevelop/AddIns/MonoDevelop.MonoMac" -conf=Debug -SLN=MonoDevelop.MonoMac.sln -VERBOSITY=normal -XBUILD_ARGS=/verbosity:$(VERBOSITY) /nologo - -srcdir_abs=$(shell pwd) -LOCAL_CONFIG=$(srcdir_abs)/../../local-config - -ifeq ($(strip $(wildcard "${LOCAL_CONFIG}/monodevelop.pc")),) - XBUILD=PKG_CONFIG_PATH="${LOCAL_CONFIG}:${PKG_CONFIG_PATH}" xbuild $(XBUILD_ARGS) -else - XBUILD=xbuild $(XBUILD_ARGS) -endif - -all: - echo "`pwd`/../../local-config" - $(XBUILD) $(SLN) /property:Configuration=$(conf) - -clean: - $(XBUILD) $(SLN) /property:Configuration=$(conf) /t:Clean - rm -rf build/* - -install: all - mkdir -p $(installdir) - cp -r ./build/* $(installdir) - -uninstall: - rm -rf "$(installdir)" diff --git a/extras/MonoDevelop.MonoMac/configure b/extras/MonoDevelop.MonoMac/configure deleted file mode 100755 index 048fbcfc27..0000000000 --- a/extras/MonoDevelop.MonoMac/configure +++ /dev/null @@ -1,71 +0,0 @@ -#!/usr/bin/env bash -prefix=/usr/local -common_packages=" mono-addins;0.3 monodevelop;3.1.0 monodevelop-core-addins;2.7" - -usage () -{ - echo "Usage : configure [OPTION]... [--config=CONFIG]" - echo - echo "Options:" - echo " --prefix=PREFIX install architecture-independent files in PREFIX" - echo " [/usr/local]" - echo -} -check_package () -{ - name=`echo $1 | cut -d\; -f1` - version=`echo $1 | cut -d\; -f2` - - echo -n "Checking for package '$name'.." | tee -a config.log - pkg-config --atleast-version=$version $name - if [ $? -ne 0 ]; then - echo " ERROR: Package named '$name' >= $version not found." | tee -a config.log - echo "Try adjusting your PKG_CONFIG_PATH environment variable." | tee -a config.log - return 1 - fi - echo " found." | tee -a config.log -} - -check_required_packages () -{ - echo "Looking for required packages" | tee config.log - var=required_packages_$config - for pkg in $common_packages ${!var}; do - check_package $pkg - retval=$? - [ $retval -ne 0 ] && return $retval - done - return 0 -} - -while test x$1 != x; do - case $1 in - --prefix=*) - prefix=`echo $1 | sed 's/--prefix=//'` - ;; - --prefix) - shift - prefix=$1 - ;; - --help) - usage - exit - ;; - *) - echo Unknown argument $1 >&2 - usage - exit 1 - ;; - esac - shift -done - -check_required_packages -[ $? -eq 1 ] && exit 1 - -echo "prefix=$prefix" > config.make - -echo -echo "$PACKAGE has been configured with " -echo " prefix = $prefix" -echo |