summaryrefslogtreecommitdiff
path: root/packaging/SGI
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2001-08-21 23:56:04 +0000
committerHerb Lewis <herb@samba.org>2001-08-21 23:56:04 +0000
commitf8d0031ad221f879ad1046963458ae781b868a28 (patch)
tree1c5a3209851b3ae575a37d855cafaabcd3d33ea7 /packaging/SGI
parentdd5378522539b913e140dd58f72b5eca1d61360a (diff)
downloadsamba-f8d0031ad221f879ad1046963458ae781b868a28.tar.gz
samba-f8d0031ad221f879ad1046963458ae781b868a28.tar.bz2
samba-f8d0031ad221f879ad1046963458ae781b868a28.zip
sync with 2.2 branch
(This used to be commit feb9bf86723bce7dd1e81250b92191c370228a45)
Diffstat (limited to 'packaging/SGI')
-rwxr-xr-xpackaging/SGI/mkrelease.sh33
1 files changed, 13 insertions, 20 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh
index 6eab242de8..ef07a2e2d4 100755
--- a/packaging/SGI/mkrelease.sh
+++ b/packaging/SGI/mkrelease.sh
@@ -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";