michael@0: rem This Source Code Form is subject to the terms of the Mozilla Public michael@0: rem License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: rem file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: /* Equivalent to sign.sh for OS/2 */ michael@0: PARSE ARG dist objdir os_target nspr_lib_dir therest michael@0: dist=forwardtoback(dist); michael@0: objdir=forwardtoback(objdir); michael@0: nspr_lib_dir=forwardtoback(nspr_lib_dir); michael@0: 'echo 'dist michael@0: 'echo 'objdir michael@0: 'echo 'nspr_lib_dir michael@0: 'set BEGINLIBPATH='dist'\lib;'nspr_lib_dir';'dist'\bin;%BEGINLIBPATH%' michael@0: 'set LIBPATHSTRICT=T' michael@0: objdir'\shlibsign -v -i 'therest michael@0: exit michael@0: michael@0: forwardtoback: procedure michael@0: arg pathname michael@0: parse var pathname pathname'/'rest michael@0: do while (rest <> "") michael@0: pathname = pathname'\'rest michael@0: parse var pathname pathname'/'rest michael@0: end michael@0: return pathname