-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8c952e
commit 05cc17c
Showing
21,409 changed files
with
6,988,378 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Makefile | ||
config-defs.h | ||
config.cache | ||
config.log | ||
config.status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
syntax: glob | ||
*~ | ||
*OPT.OBJ/* | ||
*DBG.OBJ/* | ||
*DBG.OBJD/* |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
#! gmake | ||
|
||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
|
||
MOD_DEPTH = . | ||
topsrcdir = @top_srcdir@ | ||
srcdir = @srcdir@ | ||
VPATH = @srcdir@ | ||
|
||
include $(MOD_DEPTH)/config/autoconf.mk | ||
|
||
DIRS = config pr lib | ||
|
||
ifdef MOZILLA_CLIENT | ||
# Make nsinstall use absolute symlinks by default for Mozilla OSX builds | ||
# http://bugzilla.mozilla.org/show_bug.cgi?id=193164 | ||
ifeq ($(OS_ARCH),Darwin) | ||
ifndef NSDISTMODE | ||
NSDISTMODE=absolute_symlink | ||
export NSDISTMODE | ||
endif | ||
endif | ||
endif | ||
|
||
DIST_GARBAGE = config.cache config.log config.status | ||
|
||
all:: config.status export | ||
|
||
include $(topsrcdir)/config/rules.mk | ||
|
||
config.status:: configure | ||
ifeq ($(OS_ARCH),WINNT) | ||
sh $(srcdir)/configure --no-create --no-recursion | ||
else | ||
./config.status --recheck && ./config.status | ||
endif | ||
|
||
# | ||
# The -ll option of zip converts CR LF to LF. | ||
# | ||
ifeq ($(OS_ARCH),WINNT) | ||
ZIP_ASCII_OPT = -ll | ||
endif | ||
|
||
# Delete config/autoconf.mk last because it is included by every makefile. | ||
distclean:: | ||
@echo "cd pr/tests; $(MAKE) $@" | ||
@$(MAKE) -C pr/tests $@ | ||
rm -f config/autoconf.mk | ||
rm -f `cat unallmakefiles` unallmakefiles | ||
|
||
release:: | ||
echo $(BUILD_NUMBER) > $(RELEASE_DIR)/$(BUILD_NUMBER)/version.df | ||
@if test -f imports.df; then \ | ||
echo "cp -f imports.df $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df"; \ | ||
cp -f imports.df $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df; \ | ||
else \ | ||
echo "echo > $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df"; \ | ||
echo > $(RELEASE_DIR)/$(BUILD_NUMBER)/imports.df; \ | ||
fi | ||
cd $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME); \ | ||
rm -rf META-INF; mkdir META-INF; cd META-INF; \ | ||
echo "Manifest-Version: 1.0" > MANIFEST.MF; \ | ||
echo "" >> MANIFEST.MF; \ | ||
cd ..; rm -f mdbinary.jar; zip -r mdbinary.jar META-INF bin lib; \ | ||
rm -rf META-INF; \ | ||
cd include; \ | ||
rm -rf META-INF; mkdir META-INF; cd META-INF; \ | ||
echo "Manifest-Version: 1.0" > MANIFEST.MF; \ | ||
echo "" >> MANIFEST.MF; \ | ||
cd ..; rm -f mdheader.jar; zip $(ZIP_ASCII_OPT) -r mdheader.jar *; \ | ||
rm -rf META-INF | ||
ifeq ($(OS_ARCH),WINNT) | ||
@if test ! -d $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); then \ | ||
rm -rf $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); \ | ||
echo "making directory $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)"; \ | ||
mkdir -p $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); \ | ||
fi | ||
@if test ! -d $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); then \ | ||
rm -rf $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \ | ||
echo "making directory $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME)"; \ | ||
mkdir -p $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \ | ||
fi | ||
else | ||
@if test ! -d $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); then \ | ||
rm -rf $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); \ | ||
echo "making directory $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)"; \ | ||
$(NSINSTALL) -D $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); \ | ||
chmod 775 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); \ | ||
fi | ||
@if test ! -d $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); then \ | ||
rm -rf $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \ | ||
echo "making directory $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME)"; \ | ||
$(NSINSTALL) -D $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \ | ||
chmod 775 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \ | ||
fi | ||
endif | ||
cd $(RELEASE_DIR)/$(BUILD_NUMBER); \ | ||
cp -f version.df imports.df $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER); \ | ||
chmod 664 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/version.df; \ | ||
chmod 664 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/imports.df; \ | ||
cd $(OBJDIR_NAME); \ | ||
cp -f mdbinary.jar $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \ | ||
chmod 664 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME)/mdbinary.jar; \ | ||
cd include; \ | ||
cp -f mdheader.jar $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME); \ | ||
chmod 664 $(MDIST)/$(MOD_NAME)/$(BUILD_NUMBER)/$(RELEASE_OBJDIR_NAME)/mdheader.jar | ||
|
||
package: | ||
@echo "cd pkg; $(MAKE) publish" | ||
$(MAKE) -C pkg publish | ||
|
||
depend: | ||
@echo "NSPR20 has no dependencies. Skipped." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
NSPR/pr/include/md/prosdep.h | ||
NSPR/pr/include/private/pprio.h | ||
NSPR/pr/include/private/primpl.h | ||
NSPR/pr/include/pratom.h | ||
NSPR/pr/include/prbit.h | ||
NSPR/pr/include/prinet.h | ||
NSPR/pr/include/prio.h | ||
NSPR/pr/include/prlong.h | ||
NSPR/pr/include/prtypes.h | ||
NSPR/pr/src/io/prfile.c | ||
NSPR/pr/src/io/prio.c | ||
NSPR/pr/src/io/priometh.c | ||
NSPR/pr/src/io/prlog.c | ||
NSPR/pr/src/io/prmapopt.c | ||
NSPR/pr/src/linking/prlink.c | ||
NSPR/pr/src/md/prosdep.c | ||
NSPR/pr/src/memory/prshma.c | ||
NSPR/pr/src/misc/prdtoa.c | ||
NSPR/pr/src/misc/prnetdb.c | ||
NSPR/pr/src/misc/prsystem.c | ||
NSPR/pr/src/misc/prtime.c | ||
NSPR/pr/src/threads/combined/pruthr.c | ||
NSPR/pr/tests/addrstr.c | ||
NSPR/pr/tests/affinity.c: | ||
NSPR/pr/tests/append.c | ||
NSPR/pr/tests/atomic.c | ||
NSPR/pr/tests/cleanup.c | ||
NSPR/pr/tests/cltsrv.c | ||
NSPR/pr/tests/concur.c | ||
NSPR/pr/tests/cvar.c | ||
NSPR/pr/tests/cvar2.c | ||
NSPR/pr/tests/dtoa.c | ||
NSPR/pr/tests/env.c | ||
NSPR/pr/tests/errcodes.c | ||
NSPR/pr/tests/errset.c | ||
NSPR/pr/tests/exit.c | ||
NSPR/pr/tests/formattm.c | ||
NSPR/pr/tests/gethost.c | ||
NSPR/pr/tests/getproto.c | ||
NSPR/pr/tests/i2l.c | ||
NSPR/pr/tests/initclk.c | ||
NSPR/pr/tests/inrval.c | ||
NSPR/pr/tests/intrio.c | ||
NSPR/pr/tests/intrupt.c | ||
NSPR/pr/tests/io_timeout.c | ||
NSPR/pr/tests/join.c | ||
NSPR/pr/tests/layer.c | ||
NSPR/pr/tests/lazyinit.c | ||
NSPR/pr/tests/lltest.c | ||
NSPR/pr/tests/lock.c | ||
NSPR/pr/tests/many_cv.c | ||
NSPR/pr/tests/monref.c | ||
NSPR/pr/tests/nblayer.c | ||
NSPR/pr/tests/nonblock.c | ||
NSPR/pr/tests/ntoh.c | ||
NSPR/pr/tests/obsints.c | ||
NSPR/pr/tests/parsetm.c | ||
NSPR/pr/tests/poll_er.c | ||
NSPR/pr/tests/poll_nm.c | ||
NSPR/pr/tests/poll_to.c | ||
NSPR/pr/tests/pollable.c | ||
NSPR/pr/tests/priotest.c | ||
NSPR/pr/tests/randseed.c | ||
NSPR/pr/tests/reinit.c | ||
NSPR/pr/tests/rwlockrank.c | ||
NSPR/pr/tests/rwlocktest.c | ||
NSPR/pr/tests/selct_er.c | ||
NSPR/pr/tests/selct_nm.c | ||
NSPR/pr/tests/selct_to.c | ||
NSPR/pr/tests/sem.c | ||
NSPR/pr/tests/server_test.c | ||
NSPR/pr/tests/short_thread.c | ||
NSPR/pr/tests/socket.c | ||
NSPR/pr/tests/sockopt.c | ||
NSPR/pr/tests/sprintf.c | ||
NSPR/pr/tests/stack.c | ||
NSPR/pr/tests/str2addr.c | ||
NSPR/pr/tests/strod.c | ||
NSPR/pr/tests/switch.c | ||
NSPR/pr/tests/system.c | ||
NSPR/pr/tests/testbit.c | ||
NSPR/pr/tests/threads.c | ||
NSPR/pr/tests/timemac.c | ||
NSPR/pr/tests/timetest.c | ||
NSPR/pr/tests/tpd.c | ||
NSPR/pr/tests/udpsrv.c | ||
NSPR/pr/tests/vercheck.c | ||
NSPR/pr/tests/version.c | ||
NSPR/pr/tests/writev.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/perl | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
# ----------------------------------------------------------------- | ||
# | ||
# explode.pl -- Unpack .jar files into bin, lib, include directories | ||
# | ||
# syntax: perl explode.pl | ||
# | ||
# Description: | ||
# explode.pl unpacks the .jar files created by the NSPR build | ||
# procedure. | ||
# | ||
# Suggested use: After copying the platform directories to | ||
# /s/b/c/nspr20/<release>. CD to /s/b/c/nspr20/<release> and | ||
# run explode.pl. This will unpack the jar files into bin, lib, | ||
# include directories. | ||
# | ||
# ----------------------------------------------------------------- | ||
|
||
@dirs = `ls -d *.OBJ*`; | ||
|
||
foreach $dir (@dirs) { | ||
chop($dir); | ||
if (-l $dir) { | ||
print "Skipping symbolic link $dir\n"; | ||
next; | ||
} | ||
print "Unzipping $dir/mdbinary.jar\n"; | ||
system ("unzip", "-o", "$dir/mdbinary.jar", | ||
"-d", "$dir"); | ||
system ("rm", "-rf", "$dir/META-INF"); | ||
mkdir "$dir/include", 0755; | ||
print "Unzipping $dir/mdheader.jar\n"; | ||
system ("unzip", "-o", "-aa", | ||
"$dir/mdheader.jar", | ||
"-d", "$dir/include"); | ||
system ("rm", "-rf", "$dir/include/META-INF"); | ||
} | ||
# --- end explode.pl ---------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/sh | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
# ----------------------------------------------------------------- | ||
# makeTargetDirs.sh -- Create target directories for building NSPR | ||
# | ||
# syntax: makeTargetDirs.sh | ||
# | ||
# Description: | ||
# makeTargetDirs.sh creates a set of directories intended for use | ||
# with NSPR's autoconf based build system. | ||
# | ||
# The enumerated directories are the same as those built for NSPR | ||
# 4.1.1. Adjust as needed. | ||
# | ||
# ----------------------------------------------------------------- | ||
|
||
mkdir AIX4.3_64_DBG.OBJ | ||
mkdir AIX4.3_64_OPT.OBJ | ||
mkdir AIX4.3_DBG.OBJ | ||
mkdir AIX4.3_OPT.OBJ | ||
mkdir HP-UXB.11.00_64_DBG.OBJ | ||
mkdir HP-UXB.11.00_64_OPT.OBJ | ||
mkdir HP-UXB.11.00_DBG.OBJ | ||
mkdir HP-UXB.11.00_OPT.OBJ | ||
mkdir IRIX6.5_n32_PTH_DBG.OBJ | ||
mkdir IRIX6.5_n32_PTH_OPT.OBJ | ||
mkdir Linux2.2_x86_glibc_PTH_DBG.OBJ | ||
mkdir Linux2.2_x86_glibc_PTH_OPT.OBJ | ||
mkdir Linux2.4_x86_glibc_PTH_DBG.OBJ | ||
mkdir Linux2.4_x86_glibc_PTH_OPT.OBJ | ||
mkdir OSF1V4.0D_DBG.OBJ | ||
mkdir OSF1V4.0D_OPT.OBJ | ||
mkdir SunOS5.6_DBG.OBJ | ||
mkdir SunOS5.6_OPT.OBJ | ||
mkdir SunOS5.7_64_DBG.OBJ | ||
mkdir SunOS5.7_64_OPT.OBJ | ||
mkdir WIN954.0_DBG.OBJ | ||
mkdir WIN954.0_DBG.OBJD | ||
mkdir WIN954.0_OPT.OBJ | ||
mkdir WINNT4.0_DBG.OBJ | ||
mkdir WINNT4.0_DBG.OBJD | ||
mkdir WINNT4.0_OPT.OBJ | ||
# --- end makeTargetDirs.sh --------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/sh | ||
# | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
# ----------------------------------------------------------------- | ||
# symlinks.sh -- create links from NSPR builds | ||
# | ||
# syntax: symlinks.sh | ||
# | ||
# Description: | ||
# symlinks.sh creates some symbolic links for NSPR build targets | ||
# that are not actually build, but for which there are NSPR | ||
# binaries suitable for running on the intended target. ... got | ||
# that? | ||
# | ||
# Suggested use: After copying NSPR binaries to | ||
# /s/b/c/nspr20/<platform> run symlinks.sh to create the links | ||
# for all supported platforms. | ||
# | ||
# The symlinks in this script correspond to the NSPR 4.1.1 | ||
# release. Adjust as necessary. | ||
# | ||
# ----------------------------------------------------------------- | ||
|
||
ln -s SunOS5.6_DBG.OBJ SunOS5.7_DBG.OBJ | ||
ln -s SunOS5.6_OPT.OBJ SunOS5.7_OPT.OBJ | ||
|
||
ln -s SunOS5.6_DBG.OBJ SunOS5.8_DBG.OBJ | ||
ln -s SunOS5.6_OPT.OBJ SunOS5.8_OPT.OBJ | ||
|
||
ln -s SunOS5.7_64_DBG.OBJ SunOS5.8_64_DBG.OBJ | ||
ln -s SunOS5.7_64_OPT.OBJ SunOS5.8_64_OPT.OBJ | ||
|
||
ln -s OSF1V4.0D_DBG.OBJ OSF1V5.0_DBG.OBJ | ||
ln -s OSF1V4.0D_OPT.OBJ OSF1V5.0_OPT.OBJ | ||
|
||
ln -s WINNT4.0_DBG.OBJ WINNT5.0_DBG.OBJ | ||
ln -s WINNT4.0_DBG.OBJD WINNT5.0_DBG.OBJD | ||
ln -s WINNT4.0_OPT.OBJ WINNT5.0_OPT.OBJ | ||
# --- end symlinks.sh --------------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The config.guess and config.sub scripts were downloaded from | ||
http://git.savannah.gnu.org/cgit/config.git/tree/config.guess?id=6947a35648e577c2e3a12d5c88d488c6ea94e1c0 | ||
http://git.savannah.gnu.org/cgit/config.git/tree/config.sub?id=6947a35648e577c2e3a12d5c88d488c6ea94e1c0 | ||
|
||
Our private patches are in the patches/ directory. |
Oops, something went wrong.