3 # invoke with -n as the first argument to get this script to tell
4 # you what it would do without doing anything
8 [ "$1" = "-n" ] && V
=echo
10 CC
="gcc -I/usr/local/include -L/usr/local/lib"
11 CFLAGS
="-O3 -I/usr/local/include -L/usr/local/lib"
13 CXXFLAGS
="-O3 -I/usr/local/include/stl -I/usr/local/include -L/usr/local/lib"
15 MAKE
=/usr
/local
/bin
/make
18 echo "exporting the following shell variables:"
24 echo "CXXFLAGS=$CXXFLAGS"
26 export CC CXX RANLIB MAKE CFLAGS CXXFLAGS
31 echo "cd ../../../source"
32 echo "rm -f mout-1 mout-2 mout-3 mout-4"
33 echo "make all 2>&1 | tee mout-1"
34 echo "make smbfilter smbtorture debug2html 2>&1 | tee mout-2"
35 echo "make bin/smbspool smbwrapper bin/wbinfo 2>&1 | tee mout-3"
36 echo "make masktest locktest locktest2 2>&1 | tee mout-3"
39 rm -f mout-1 mout-2 mout-3 mout-4
40 make all
2>&1 |
tee mout-1
41 make smbfilter smbtorture debug2html
2>&1 |
tee mout-2
42 make bin
/smbspool smbwrapper bin
/wbinfo
2>&1 |
tee mout-3
43 make masktest locktest locktest2
2>&1 |
tee mout-3
47 # nsswitch - no <nss.h>
48 # rpctorture - improper use of client_info struct, dunno