diff options
author | Alan McGovern <alan.mcgovern@gmail.com> | 2012-05-04 03:56:48 +0400 |
---|---|---|
committer | Alan McGovern <alan.mcgovern@gmail.com> | 2012-06-26 18:24:09 +0400 |
commit | 3824e16bb8e31f0351ccd0bfe3de0f986c1eb38f (patch) | |
tree | 94107bc55fe5e5705e34c7bd97f21cedeaaaa899 /extras/MonoDevelop.MonoMac | |
parent | 16268f290ed1084ab45d3403bfff00e9b7bad7bc (diff) |
[Build] Change the build system to use xbuild instead of makefiles""
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 |