1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

sync with 2.2 branch

This commit is contained in:
Herb Lewis 0001-01-01 00:00:00 +00:00
parent e4a57fb456
commit feb9bf8672

View File

@ -2,9 +2,7 @@
# This file goes through all the necessary steps to build a release package.
# syntax:
# mkrelease.sh [5] [clean] [targets ....]
#
# You may specify 5 to build for IRIX 5.3
# mkrelease.sh [clean]
#
# You can specify clean to do a make clean before building. Make clean
# will also run configure and generate the required Makefile.
@ -24,21 +22,6 @@ fi
if [ "$1" = "clean" ]; then
doclean=$1
shift
elif [ "$1" = "5" ]; then
SGI_ABI=-32
ISA=""
shift
fi
# check again in case they put the args in the wrong order
if [ "$1" = "clean" ]; then
doclean=$1
shift
elif [ "$1" = "5" ]; then
SGI_ABI=-32
ISA=""
shift
fi
export SGI_ABI ISA CC
@ -67,7 +50,7 @@ fi
cd ../../source
if [ "$doclean" = "clean" ]; then
echo Create SGI specific Makefile
./configure --prefix=/usr/samba --mandir=/usr/share/catman --with-acl-support --with-smbwrapper
./configure --prefix=/usr/samba --sbindir='${exec_prefix}/bin' --mandir=/usr/share/catman --with-acl-support --with-smbwrapper
errstat=$?
if [ $errstat -ne 0 ]; then
echo "Error $errstat creating Makefile\n";
@ -80,7 +63,17 @@ fi
#
echo Making binaries
make "CFLAGS=-O -g3" $*
make clean
make "CFLAGS=-O -g3 -D WITH_PROFILE" CHECK bin/smbd bin/nmbd
errstat=$?
if [ $errstat -ne 0 ]; then
echo "Error $errstat building profile sources\n";
exit $errstat;
fi
mv bin/smbd bin/smbd.profile
mv bin/nmbd bin/nmbd.profile
make clean
make "CFLAGS=-O -g3" all
errstat=$?
if [ $errstat -ne 0 ]; then
echo "Error $errstat building sources\n";