diff options
author | Herb Lewis <herb@samba.org> | 2001-12-21 05:30:31 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-12-21 05:30:31 +0000 |
commit | 0f2385c76bcd1c2782f9b0a080e5c6927a052ac2 (patch) | |
tree | 314befc34ac391067076b6eaf307e8fce8d4c688 | |
parent | 398624e093f7f94346cb59159641825ef9b70ebc (diff) | |
download | samba-0f2385c76bcd1c2782f9b0a080e5c6927a052ac2.tar.gz samba-0f2385c76bcd1c2782f9b0a080e5c6927a052ac2.tar.xz samba-0f2385c76bcd1c2782f9b0a080e5c6927a052ac2.zip |
update packaging script
-rwxr-xr-x | packaging/SGI/mkrelease.sh | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh index 54cb896c82f..4077387a365 100755 --- a/packaging/SGI/mkrelease.sh +++ b/packaging/SGI/mkrelease.sh @@ -51,7 +51,7 @@ fi cd ../../source if [ "$doclean" = "clean" ]; then echo Create SGI specific Makefile - ./configure --prefix=/usr/samba --sbindir='${exec_prefix}/bin' --mandir=/usr/share/catman --with-acl-support --with-quotas --with-smbwrapper + ./configure --prefix=/usr/samba --sbindir=/usr/samba/bin --mandir=/usr/share/catman --with-acl-support --with-quotas --with-smbwrapper errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat creating Makefile\n"; @@ -64,6 +64,7 @@ fi # echo Making binaries +echo "===================== Making Profile versions =======================" make clean make -P "CFLAGS=-O -g3 -D WITH_PROFILE" CHECK bin/smbd bin/nmbd errstat=$? @@ -74,6 +75,7 @@ fi mv bin/smbd bin/smbd.profile mv bin/nmbd bin/nmbd.profile +echo "===================== Making No Quota versions =======================" make clean make -P "CFLAGS=-O -g3 -D QUOTAOBJS=smbd/noquotas.o" CHECK bin/smbd errstat=$? @@ -83,7 +85,21 @@ if [ $errstat -ne 0 ]; then fi mv bin/smbd bin/smbd.noquota -make -P "CFLAGS=-O -g3" all +echo "===================== Making smbwrapper.32.so =======================" +# cannot use -mips3 with 32 bit shared libraries so reset the ISA variable +# just for this object +ISA= +export ISA +make -P "CFLAGS=-O -g3" bin/smbwrapper.32.so +errstat=$? +if [ $errstat -ne 0 ]; then + echo "Error $errstat building sources\n"; + exit $errstat; +fi +ISA=-mips3 +export ISA +echo "===================== Making Regular versions =======================" +make -P "CFLAGS=-O -g3" all nsswitch/libnss_wins.so errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building sources\n"; |