build: removed unused build scripts
authorAndrew Tridgell <tridge@samba.org>
Mon, 7 Feb 2011 03:55:18 +0000 (14:55 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 7 Feb 2011 04:03:40 +0000 (15:03 +1100)
each library has its own configure/Makefile now

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

buildtools/scripts/Makefile.waf [deleted file]
buildtools/scripts/autogen-waf.sh [deleted file]
buildtools/scripts/configure.waf [deleted file]

diff --git a/buildtools/scripts/Makefile.waf b/buildtools/scripts/Makefile.waf
deleted file mode 100644 (file)
index 716ab93..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-# simple makefile wrapper to run waf
-
-WAF_BINARY=BUILDTOOLS/bin/waf
-WAF=WAF_MAKE=1 $(WAF_BINARY)
-
-all:
-       $(WAF) build
-
-install:
-       $(WAF) install
-
-uninstall:
-       $(WAF) uninstall
-
-test:
-       $(WAF) test $(TEST_OPTIONS)
-
-help:
-       @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
-       $(WAF) --help
-
-testenv:
-       $(WAF) test --testenv $(TEST_OPTIONS)
-
-quicktest:
-       $(WAF) test --quick $(TEST_OPTIONS)
-
-dist:
-       $(WAF) dist
-
-distcheck:
-       $(WAF) distcheck
-
-clean:
-       $(WAF) clean
-
-distclean:
-       $(WAF) distclean
-
-reconfigure: configure
-       $(WAF) reconfigure
-
-show_waf_options:
-       $(WAF) --help
-
-# some compatibility make targets
-everything: all
-
-testsuite: all
-
-check: test
-
-torture: all
-
-# this should do an install as well, once install is finished
-installcheck: test
-
-etags:
-       $(WAF) etags
-
-ctags:
-       $(WAF) ctags
-
-bin/%:: FORCE
-       $(WAF) --targets=`basename $@`
-FORCE:
-
-configure: autogen-waf.sh BUILDTOOLS/scripts/configure.waf
-       ./autogen-waf.sh
-
-Makefile: autogen-waf.sh configure BUILDTOOLS/scripts/Makefile.waf
-       ./autogen-waf.sh
diff --git a/buildtools/scripts/autogen-waf.sh b/buildtools/scripts/autogen-waf.sh
deleted file mode 100755 (executable)
index 7a6e94c..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-p=`dirname $0`
-
-echo "Setting up for waf build"
-
-echo "Looking for the buildtools directory"
-
-d="buildtools"
-while test \! -d "$p/$d"; do d="../$d"; done
-
-echo "Found buildtools in $p/$d"
-
-echo "Setting up configure"
-rm -f $p/configure $p/include/config*.h*
-sed "s|BUILDTOOLS|$d|g;s|BUILDPATH|$p|g" < "$p/$d/scripts/configure.waf" > $p/configure
-chmod +x $p/configure
-
-echo "Setting up Makefile"
-rm -f $p/makefile $p/Makefile
-sed "s|BUILDTOOLS|$d|g" < "$p/$d/scripts/Makefile.waf" > $p/Makefile
-
-echo "done. Now run $p/configure or $p/configure.developer then make."
-if [ $p != "." ]; then
-       echo "Notice: The build invoke path is not 'source4'! Use make with the parameter"
-       echo "-C <'source4' path>. Example: make -C source4 all"
-fi
diff --git a/buildtools/scripts/configure.waf b/buildtools/scripts/configure.waf
deleted file mode 100755 (executable)
index a7d8d1d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-PREVPATH=`dirname $0`
-
-WAF=BUILDTOOLS/bin/waf
-
-# using JOBS=1 gives maximum compatibility with
-# systems like AIX which have broken threading in python
-JOBS=1
-export JOBS
-
-cd BUILDPATH || exit 1
-$WAF configure "$@" || exit 1
-cd $PREVPATH