216 Commits

Author SHA1 Message Date
wchang0222%aol.com
05bc079d70 Bugzilla bug 244231: white space changes to conform to NSS's coding style.
Modified Files:
	WIN954.0.mk WINCE3.0.mk WINNT3.51.mk WINNT4.0.mk WINNT5.0.mk
	WINNT5.1.mk


git-svn-id: svn://10.0.0.236/trunk@161369 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 00:33:40 +00:00
wchang0222%aol.com
da6750c10b Bugzilla bug 244231: added new make variable MOZ_DEBUG_SYMBOLS which
generates debug symbols for optimized builds in PDB files.  Also took the
opportunity to remove -DEBUGTYPE:CV, which is the default and will be
removed in MSVC .NET 2005.  The patch is contributed by Brian Ryner of IBM
<bryner@brianryner.com>. r=wtc.
Modified Files:
	WIN32.mk WIN954.0.mk WINCE3.0.mk WINNT3.51.mk WINNT4.0.mk
	WINNT5.0.mk WINNT5.1.mk


git-svn-id: svn://10.0.0.236/trunk@161364 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-26 23:47:10 +00:00
jpierre%netscape.com
8d80ceac80 Fix for 240784 - FIPS doesn't work on OS/2 . r=mkaply,wtc
git-svn-id: svn://10.0.0.236/trunk@156224 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-11 04:01:28 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wchang0222%aol.com
102166fe3a Bugzilla bug 172651: added a necessary test for MinGW gcc in rules.mk.
Do not install 'nsinstall' to avoid overwriting Mozilla's 'nsinstall'.
r=cls.
Modified Files:
	rules.mk nsinstall/Makefile


git-svn-id: svn://10.0.0.236/trunk@154171 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-23 00:54:36 +00:00
wchang0222%aol.com
6d2175af2b It is not necessary to define _THREAD_SAFE when using pthreads on OpenBSD.
(See Bugzilla bug 236599 comment 41).


git-svn-id: svn://10.0.0.236/trunk@153858 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 02:26:25 +00:00
wchang0222%aol.com
e268b24b01 Bugzilla bug 233048: 1. Support doing 64-bit Solaris SPARC builds using
gcc.  2. Enable all.sh to work with gcc-compiled NSS tests which require
setting LD_LIBRARY_PATH to point to the directory where libgcc.so resides.
The patch is contributed by Vladim¡r Marek <Vladimir.Marek@printsoft.cz>.
r=wtc,nelsonb.
Modified Files: coreconf/SunOS5.mk nss/tests/common/init.sh


git-svn-id: svn://10.0.0.236/trunk@152744 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-13 02:47:53 +00:00
wchang0222%aol.com
52a30d3a68 Bugzilla bug 232742: support Linux/AMD64. The patch is contributed by
Henrik Lynggaard Hansen <admin@mozillatranslator.org>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@152635 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:31:22 +00:00
wchang0222%aol.com
e14efd79e1 Bugzilla bug 231018: use AIX.mk for all AIX versions. Removed the
AIXm.n.mk files.  Removed support for AIX 3.2, 4.1, and 4.2.  Removed
unused make variable EXPORT_RULES.  Removed unused macro define -DAIX4_3.
The patch is contributed by Philip K. Warren <pkw@us.ibm.com>. r=wtc.
Modified Files:
	AIX.mk config.mk
Removed Files:
	AIX3.2.mk AIX4.1.mk AIX4.2.mk AIX4.3.mk AIX5.1.mk AIX5.2.mk


git-svn-id: svn://10.0.0.236/trunk@151924 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 23:55:38 +00:00
nelsonb%netscape.com
d17fa8d67b Add /FIXED:NO argument to linker command line for EXEs. Purify
requires this to precisely instrument EXEs.  r=wtc


git-svn-id: svn://10.0.0.236/trunk@150098 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-06 06:34:20 +00:00
wchang0222%aol.com
455d832c79 Bugzilla bug 226470: removed -qarch=com, which is the default for the
compiler.  r=pkw@us.ibm.com.


git-svn-id: svn://10.0.0.236/trunk@149685 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-24 19:45:18 +00:00
wchang0222%aol.com
291ab4f083 Bugzilla bug 226470: use a C compiler rather than a C++ compiler to compile
C code.  The patch is contributed by Philip K. Warren <pkw@us.ibm.com>.


git-svn-id: svn://10.0.0.236/trunk@149627 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-22 06:45:50 +00:00
wchang0222%aol.com
82c3ca13e1 Bugzilla bug 224707: added Linux HPPA support. The patch came from the
Debian Mozilla package (maintainer is Takuo KITAME <kitame@debian.org>).


git-svn-id: svn://10.0.0.236/trunk@149385 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 00:10:16 +00:00
wchang0222%aol.com
c2eafc0543 Bugzilla bug 225259: link NSS dynamic shared libraries with the
-headerpad_max_install_names option. r=ccarlen, sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@149225 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 01:59:22 +00:00
wtc%netscape.com
533e52797f Bugzilla bug 124958: added support for pthreads on OpenBSD. The patch is
contributed by Mats Palmgren <mats.palmgren@bredband.net>. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@146966 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 20:50:50 +00:00
wtc%netscape.com
1c26524352 When calling windres, use a temp file to work around resource issues.
Bugzilla bug #213281. The patch is contributed by cls@seawood.org. r=wtc


git-svn-id: svn://10.0.0.236/trunk@146912 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-15 20:34:55 +00:00
wtc%netscape.com
7d72508a46 Bugzilla bug 215581: build with GCC 3.2.2 for OS/2. The patch is
contributed by Javier Pedemonte <pedemont@us.ibm.com>.  r=jpierre.


git-svn-id: svn://10.0.0.236/trunk@146795 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 20:29:51 +00:00
wtc%netscape.com
438d7c66e0 Bugzilla bug 214824: use -no-cpp-precomp instead of -traditional-cpp, which
has changed to mean a different thing (the standard GCC meaning, rather
than Apple's earlier hacks).  The patch is contributed by Brian Ryner
<bryner@brianryner.com>.


git-svn-id: svn://10.0.0.236/trunk@146792 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 18:41:22 +00:00
wtc%netscape.com
68f5f712fa Bugzilla bug 217504: 1. Do not use -lsvld on recent AIX releases.
2. Specify the standard AIX libpath, otherwise the directories we pass to
the -L linker flags get added to the libpath.  3. Support building on AIX
5.2.  The patch is contributed by Philip K. Warren <pkw@us.ibm.com>. r=wtc.
Modified Files: AIX.mk AIX4.2.mk AIX4.3.mk AIX5.1.mk
Added Files: AIX5.2.mk


git-svn-id: svn://10.0.0.236/trunk@146402 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-28 00:15:43 +00:00
wtc%netscape.com
0d9b1bbf83 Bugzilla bug 213192: take the first two components of $(OS_RELEASE) the
right way.  The basename function that we were using only works when
$(OS_RELEASE) has exactly three components.  The patch is contributed by
Ed Catmur <ed@catmur.co.uk>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@145040 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 23:40:51 +00:00
wtc%netscape.com
fbc33fde7e Bugzilla bug 211350: support IRIX Alpha releases, whose 'uname -r' output
contains "-ALPHA...".


git-svn-id: svn://10.0.0.236/trunk@145026 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 18:51:08 +00:00
wtc%netscape.com
7df2542e5b Bugzilla bug 212797: added Linux2.6.mk so that we can build on Linux 2.6
kernels.


git-svn-id: svn://10.0.0.236/trunk@144982 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 21:21:50 +00:00
wtc%netscape.com
ed5695a69e Re-enabled the fix for bug 208177.
git-svn-id: svn://10.0.0.236/trunk@144567 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 18:11:24 +00:00
wtc%netscape.com
2690f6e3c9 Temporarily disabled the fix for bug 208177 so that we can debug bug
167825.


git-svn-id: svn://10.0.0.236/trunk@143288 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-04 14:49:13 +00:00
wtc%netscape.com
50ec4e66ab Bug 208177: Our HP-UX build machine has a strange problem. If a 64-bit
PA-RISC executable calls getcwd() in a network-mounted directory, it fails
with ENOENT.  Since nsinstall calls getcwd(), this breaks our 64-bit HP-UX
nightly builds.  We worked around this problem by building nsinstall as a
32-bit PA-RISC executable for 64-bit PA-RISC builds.  This checkin added a
new make variable INTERNAL_TOOLS which can be set in makefiles whose target
is a tool used only during the build.  Such a tool can be built differently
from NSS proper as long as the tool runs on the build machine.
Modified Files: HP-UXB.11.mk nsinstall/Makefile


git-svn-id: svn://10.0.0.236/trunk@143256 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-03 23:14:03 +00:00
bishakhabanerjee%netscape.com
0c745bb131 coreconf needs HP-UXB.11.22.mk to build on new HP box - bug 177984
git-svn-id: svn://10.0.0.236/trunk@142725 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 22:08:37 +00:00
kirk.erickson%sun.com
85ef25d622 Shifted from -xO3 to -xO4 optimization under Solaris.
Resolves bug 204093.


git-svn-id: svn://10.0.0.236/trunk@142507 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 19:12:10 +00:00
wtc%netscape.com
493dc7a766 Bug 204681: fixed build failure with MKS Toolkit on Windows XP. Handle
the more general 0x pattern instead of just 00 in the output of "uname -v".


git-svn-id: svn://10.0.0.236/trunk@142179 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-07 00:27:37 +00:00
wtc%netscape.com
ec406abd53 Bug 203988: add build support for Linux/mips (such as Sony PlayStation 2
Linux).  The patch is contributed by Paul Pietromonaco
<ppietro@users.playstation2-linux.com>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@141985 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 00:29:40 +00:00
wtc%netscape.com
092632215f Broke a long line.
git-svn-id: svn://10.0.0.236/trunk@141529 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 21:33:16 +00:00
wtc%netscape.com
1f14081002 Bug 134113: use "lib" as the prefix for static and import libraries in the
Win32 gcc (MinGW) build.  The patch is contributed by Chris Seawood
<cls@seawood.org>.


git-svn-id: svn://10.0.0.236/trunk@141528 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 21:03:55 +00:00
wtc%netscape.com
c8c128b326 Bug 134113: make NSS build on Win32 using GCC (MinGW). The patch
(attachment 121068) is contributed by Chris Seawood (cls@seawood.org).


git-svn-id: svn://10.0.0.236/trunk@141471 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 04:23:37 +00:00
jpierre%netscape.com
b0fea5d3fe Fix for 202058 - Compile source files wit absolute pathnames to ease debugging on Win32 & OS/2
git-svn-id: svn://10.0.0.236/trunk@141284 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 01:59:34 +00:00
wtc%netscape.com
8f09580ad7 Bug 201555: enable stripping of EXEs on OS/2 with gcc. The LIBPATHSTRICT
change in sign.cmd is so that you can run a VACPP build when gcc is
building (otherwise shlibsign loads the wrong DLLs).  The patch is
contributed by IBM.
Modified Files:
	coreconf/OS2.mk nss/cmd/shlibsign/sign.cmd


git-svn-id: svn://10.0.0.236/trunk@141158 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 04:08:09 +00:00
wtc%netscape.com
b8f4f5817a Backed out the previous checkin, which broke our NT nightly build. It seems
that USE_CYGWIN is set (to some strange value) under MKS shell.


git-svn-id: svn://10.0.0.236/trunk@140640 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 14:48:00 +00:00
jpierre%netscape.com
1c60b9130f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@140632 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 07:59:40 +00:00
nelsonb%netscape.com
851b4888ef Fix bug 95138. Make debug .EXE files with debug symbols.
git-svn-id: svn://10.0.0.236/trunk@140553 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:27:23 +00:00
jpierre%netscape.com
fdc3dd41d6 Backout change that broke Sun's build - requires gmake 3.79
git-svn-id: svn://10.0.0.236/trunk@140427 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-28 20:07:30 +00:00
jpierre%netscape.com
34b0ecdfee Fix for bug 105271 - compile source files with full pathnames on Windows & OS/2 to help debugging. r=wtc
git-svn-id: svn://10.0.0.236/trunk@140419 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-28 02:35:39 +00:00
wtc%netscape.com
ad60ccb5b5 Bug 195797: support building NSS with GCC 3.x on OS/2. The patch is
contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified Files:
	security/coreconf/OS2.mk security/coreconf/rules.mk
	security/nss/cmd/shlibsign/sign.cmd


git-svn-id: svn://10.0.0.236/trunk@140388 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 15:40:54 +00:00
wtc%netscape.com
cd468dfb31 Bug 199134: fixed build failures on FreeBSD. We need to specify -pthread
when linking an executable (already doing that when linking a shared lib),
and we need to use the -rpath-link flag to help the linker find the
shared libraries that we indirectly link with.  r=cls.
Modified Files: coreconf/FreeBSD.mk nss/cmd/platlibs.mk


git-svn-id: svn://10.0.0.236/trunk@140370 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 01:17:28 +00:00
wtc%netscape.com
4551001755 Bug 194083: use qcc instead of gcc. The patch is contributed by
amardare@qnx.com.


git-svn-id: svn://10.0.0.236/trunk@140266 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 19:32:36 +00:00
wtc%netscape.com
c52593b29b Bugzilla 198481: when using cc to build a 64-bit SPARC shared library, we
need to specify -xarch=v9.


git-svn-id: svn://10.0.0.236/trunk@139903 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 04:45:37 +00:00
wtc%netscape.com
758e85dd87 Bugzilla 198481: fixed all build problems with gcc on Solaris.
1. Removed the workarounds we put in before -- hardcoding LD to
/usr/ccs/bin/ld and passing the -B/usr/ccs/bin/ flag to gcc.
2. Use the compiler, $(CC), to build shared libraries.
3. If gcc is used, determine whether gcc uses GNU ld or Solaris
ld and set the new make variable GCC_USE_GNU_LD accordingly.
Modified Files:
	coreconf/SunOS5.mk nss/cmd/platlibs.mk nss/lib/freebl/Makefile


git-svn-id: svn://10.0.0.236/trunk@139898 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 03:31:00 +00:00
kirk.erickson%sun.com
45c67b7f19 Shifted optimization level on Solaris to -xO3 (bug 122974).
git-svn-id: svn://10.0.0.236/trunk@139240 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 01:18:31 +00:00
wtc%netscape.com
6166f01207 Bug 190537: build OS/2 DLLs using the map files to control symbol export.
The patch is contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified files: coreconf/OS2.mk coreconf/rules.mk nss/lib/ckfw/nssck.api


git-svn-id: svn://10.0.0.236/trunk@138405 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 01:40:04 +00:00
wtc%netscape.com
8f4de19ff9 Bug 134967: handle spaces and hyphens in $(USERNAME). Convert them to
underscores.  r=seawood@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@137856 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-15 20:39:01 +00:00
wtc%netscape.com
fbd5f2edec Bug 107976: allow CC to be overridden (with the full pathname of the C
compiler) on the make command line.
Modified files: AIX.mk ruleset.mk


git-svn-id: svn://10.0.0.236/trunk@137644 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 01:15:36 +00:00
wtc%netscape.com
07ffbd04b9 Set the default compiler to cc.
git-svn-id: svn://10.0.0.236/trunk@137526 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-07 06:57:57 +00:00
wtc%netscape.com
4c41c0bb8e Bug 188441: compile with -D_USE_BIG_FDS on HP-UX. This ensures that fd_set
is large enough for 60,000 file descriptors.


git-svn-id: svn://10.0.0.236/trunk@137470 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 04:43:03 +00:00