226 Commits

Author SHA1 Message Date
wchang0222%aol.com
fb5560d01a Bugzilla bug 93206: allow $(CC) to contain multiple words. coreconf itself
doesn't set CC to be multiple words, but higher-level modules such as PSM
may pass CC to NSS on the gmake command line and $(CC) may contain multiple
words.  r=cls,jpierre.


git-svn-id: svn://10.0.0.236/trunk@165154 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 06:24:18 +00:00
wchang0222%aol.com
372bdd1e57 Bugzilla bug 240784: removed the temporary workaround added in rev. 1.55.
git-svn-id: svn://10.0.0.236/trunk@165046 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-06 00:17:20 +00:00
wchang0222%aol.com
193bed2b08 Removed a comment and the commented-out code it described.
git-svn-id: svn://10.0.0.236/trunk@164974 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 02:42:21 +00:00
wchang0222%aol.com
cdef4dc252 Combined two lines into one.
git-svn-id: svn://10.0.0.236/trunk@164973 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 02:38:30 +00:00
wchang0222%aol.com
3c11bc556c Although we do use the native compilers by default on most platforms, it
is more correct to say "default compiler" than "native compiler" here.


git-svn-id: svn://10.0.0.236/trunk@164972 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 02:37:42 +00:00
wchang0222%aol.com
dc28bf3bd7 ALL_TRASH should be defined with = rather than := because some of its
constituents (e.g., TARGETS) may be redefined after coreconf/config.mk has
been included (e.g., in a local config.mk file).  We do not want to expand
these constituents right when ALL_TRASH is defined.


git-svn-id: svn://10.0.0.236/trunk@164971 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 02:35:43 +00:00
wchang0222%aol.com
bbe14e59a9 Use the $< variable in the rule to build a program from a single object.
git-svn-id: svn://10.0.0.236/trunk@164967 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 01:45:49 +00:00
wchang0222%aol.com
dbc25e4172 Need to pass $(CFLAGS) to $(MKPROG) when building a program from a single
object file.  This rule should be similar to the rule for building
$(PROGRAM).


git-svn-id: svn://10.0.0.236/trunk@164916 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 15:55:05 +00:00
wchang0222%aol.com
87ebbd6474 Bugzilla bug 240784: checked in a temporary workaround for the fix for
bug 240784 that breaks OS/2 tinderbox.  The problem seems to be that OS/2
file system is case insensitive, so nsinstall won't change the file name
of an existing DLL in mozilla/dist/$(OBJDIR)/lib, but gmake is case
sensitive, and gmake can't find a rule to build softokn3.chk from because
the softokn3 DLL in mozilla/dist/$(OBJDIR)/lib doesn't have the right name.


git-svn-id: svn://10.0.0.236/trunk@164098 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-20 17:24:53 +00:00
julien.pierre.bugs%sun.com
a473789f67 Fix for 259003 - port NSS to Solaris AMD64 . r=wtc
git-svn-id: svn://10.0.0.236/trunk@163513 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 02:15:42 +00:00
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