michael@0: #!/bin/sh michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: michael@0: LD_LIBRARY_PATH=. michael@0: export LD_LIBRARY_PATH michael@0: michael@0: PROG=mozilla-bin michael@0: PLIBS="-L." michael@0: michael@0: TOOL=third michael@0: michael@0: for l in ./*.so components/*.so; do michael@0: PLIBS="$PLIBS -incobj $l" michael@0: done michael@0: michael@0: $ECHO atom $PROG -tool $TOOL -env threads -g -all $PLIBS -toolargs="-leaks all -before NS_ShutdownXPCOM" michael@0: michael@0: cd components && ( michael@0: for f in lib*.so; do michael@0: mv ../$f.$PROG.$TOOL.threads . michael@0: done michael@0: )