diff options
author | Herb Lewis <herb@samba.org> | 2002-01-16 17:49:07 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-01-16 17:49:07 +0000 |
commit | 2a5a021b318e79ca3ca8bcb662fa7971b19a0ce0 (patch) | |
tree | 95876c8eb5338d03bad96c7c321f09d3885621e5 /packaging | |
parent | 4cf096af2c2c8a8050e513aee1765e1ab003fcca (diff) | |
download | samba-2a5a021b318e79ca3ca8bcb662fa7971b19a0ce0.tar.gz |
don't include libnss_wins.so as it appears this may be illegal on non GPL OS
add define for DMF_FIX and hide warnings about exrtanious const casts.
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/SGI/idb.pl | 6 | ||||
-rwxr-xr-x | packaging/SGI/mkrelease.sh | 8 |
2 files changed, 5 insertions, 9 deletions
diff --git a/packaging/SGI/idb.pl b/packaging/SGI/idb.pl index 8858702b9ff..8d3b6931078 100755 --- a/packaging/SGI/idb.pl +++ b/packaging/SGI/idb.pl @@ -113,11 +113,7 @@ chdir $curdir; # add my local files to the list of binaries to install @bins = sort byfilename (@sprogs,@progs,@progs1,@progs2,@mprogs,@scripts,@winbind_progs,@winbind_sprogs,("/findsmb","/sambalp","/smbprint")); -# add libnss_wins.so if it was built -if (-e "$SRCDIR/source/nsswitch/libnss_wins.so") { - $libns_wins = "nsswitch/libnss_wins.so"; -} -@nsswitch = sort byfilename (@winbind_lprogs,@winbind_pam_progs,$libns_wins); +@nsswitch = sort byfilename (@winbind_lprogs,@winbind_pam_progs); # get a complete list of all files in the tree chdir "$SRCDIR/"; diff --git a/packaging/SGI/mkrelease.sh b/packaging/SGI/mkrelease.sh index 4077387a365..76aa3d6ee66 100755 --- a/packaging/SGI/mkrelease.sh +++ b/packaging/SGI/mkrelease.sh @@ -66,7 +66,7 @@ echo Making binaries echo "===================== Making Profile versions =======================" make clean -make -P "CFLAGS=-O -g3 -D WITH_PROFILE" CHECK bin/smbd bin/nmbd +make -P "CFLAGS=-O -g3 -woff 1188 -D DMF_FIX -D WITH_PROFILE" CHECK bin/smbd bin/nmbd errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building profile sources\n"; @@ -77,7 +77,7 @@ 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 +make -P "CFLAGS=-O -g3 -woff 1188 -D DMF_FIX -D QUOTAOBJS=smbd/noquotas.o" CHECK bin/smbd errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building noquota sources\n"; @@ -90,7 +90,7 @@ echo "===================== Making smbwrapper.32.so =======================" # just for this object ISA= export ISA -make -P "CFLAGS=-O -g3" bin/smbwrapper.32.so +make -P "CFLAGS=-O -g3 -woff 1188 -D DMF_FIX" bin/smbwrapper.32.so errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building sources\n"; @@ -99,7 +99,7 @@ fi ISA=-mips3 export ISA echo "===================== Making Regular versions =======================" -make -P "CFLAGS=-O -g3" all nsswitch/libnss_wins.so +make -P "CFLAGS=-O -g3 -woff 1188 -D DMF_FIX" all errstat=$? if [ $errstat -ne 0 ]; then echo "Error $errstat building sources\n"; |