diff options
Diffstat (limited to 'packaging/SGI/mkrelease.sh')
-rwxr-xr-x | packaging/SGI/mkrelease.sh | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh index ef07a2e2d4..a85a64569b 100755 --- a/packaging/SGI/mkrelease.sh +++ b/packaging/SGI/mkrelease.sh @@ -50,7 +50,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-smbwrapper + ./configure --prefix=/usr/samba --sbindir='${exec_prefix}/bin' --mandir=/usr/share/catman --with-acl-support errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat creating Makefile\n"; @@ -64,7 +64,8 @@ fi echo Making binaries make clean -make "CFLAGS=-O -g3 -D WITH_PROFILE" CHECK bin/smbd bin/nmbd +make headers +make -P "CFLAGS=-O -g3 -D WITH_PROFILE" bin/smbd bin/nmbd errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building profile sources\n"; @@ -72,8 +73,17 @@ if [ $errstat -ne 0 ]; then fi mv bin/smbd bin/smbd.profile mv bin/nmbd bin/nmbd.profile + make clean -make "CFLAGS=-O -g3" all +make -P "CFLAGS=-O -g3 -D QUOTAOBJS=smbd/noquotas.o" bin/smbd +errstat=$? +if [ $errstat -ne 0 ]; then + echo "Error $errstat building noquota sources\n"; + exit $errstat; +fi +mv bin/smbd bin/smbd.noquota + +make -P "CFLAGS=-O -g3" all errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building sources\n"; |