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:
parent
1e35da6145
commit
ccfce0bbae
22
lib/replace/autogen-waf.sh
Executable file
22
lib/replace/autogen-waf.sh
Executable 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
22
lib/talloc/autogen-waf.sh
Executable 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
22
lib/tdb/autogen-waf.sh
Executable 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
22
lib/tevent/autogen-waf.sh
Executable 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
22
source4/lib/ldb/autogen-waf.sh
Executable 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"
|
Loading…
x
Reference in New Issue
Block a user