1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-25 14:50:24 +03:00

s4-waf: autogen-waf.sh for the standalone library builds

This commit is contained in:
Andrew Tridgell 2010-04-04 18:31:54 +10:00
parent 1e35da6145
commit ccfce0bbae
5 changed files with 110 additions and 0 deletions

22
lib/replace/autogen-waf.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
echo "Setting up for waf build"
echo "Looking for the buildtools directory"
d="buildtools"
while test \! -d $d; do d="../$d"; done
echo "Found buildtools in $d"
echo "Setting up configure"
rm -f configure
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/configure.waf" > configure
chmod +x configure
echo "Setting up makefile"
# this relies on the fact that make looks for 'makefile' before 'Makefile'
rm -f makefile
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/Makefile.waf" > makefile
echo "done. Now run ./configure or ./configure.developer then make"

22
lib/talloc/autogen-waf.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
echo "Setting up for waf build"
echo "Looking for the buildtools directory"
d="buildtools"
while test \! -d $d; do d="../$d"; done
echo "Found buildtools in $d"
echo "Setting up configure"
rm -f configure
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/configure.waf" > configure
chmod +x configure
echo "Setting up makefile"
# this relies on the fact that make looks for 'makefile' before 'Makefile'
rm -f makefile
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/Makefile.waf" > makefile
echo "done. Now run ./configure or ./configure.developer then make"

22
lib/tdb/autogen-waf.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
echo "Setting up for waf build"
echo "Looking for the buildtools directory"
d="buildtools"
while test \! -d $d; do d="../$d"; done
echo "Found buildtools in $d"
echo "Setting up configure"
rm -f configure
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/configure.waf" > configure
chmod +x configure
echo "Setting up makefile"
# this relies on the fact that make looks for 'makefile' before 'Makefile'
rm -f makefile
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/Makefile.waf" > makefile
echo "done. Now run ./configure or ./configure.developer then make"

22
lib/tevent/autogen-waf.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
echo "Setting up for waf build"
echo "Looking for the buildtools directory"
d="buildtools"
while test \! -d $d; do d="../$d"; done
echo "Found buildtools in $d"
echo "Setting up configure"
rm -f configure
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/configure.waf" > configure
chmod +x configure
echo "Setting up makefile"
# this relies on the fact that make looks for 'makefile' before 'Makefile'
rm -f makefile
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/Makefile.waf" > makefile
echo "done. Now run ./configure or ./configure.developer then make"

22
source4/lib/ldb/autogen-waf.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
echo "Setting up for waf build"
echo "Looking for the buildtools directory"
d="buildtools"
while test \! -d $d; do d="../$d"; done
echo "Found buildtools in $d"
echo "Setting up configure"
rm -f configure
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/configure.waf" > configure
chmod +x configure
echo "Setting up makefile"
# this relies on the fact that make looks for 'makefile' before 'Makefile'
rm -f makefile
sed "s|BUILDTOOLS|$d|g" < "$d/scripts/Makefile.waf" > makefile
echo "done. Now run ./configure or ./configure.developer then make"