Commit Graph

275 Commits

Author SHA1 Message Date
wchang0222%aol.com
2c91eed7bd Bugzilla bug 240784: removed the temporary workaround added in rev. 1.55. 2004-11-06 00:17:20 +00:00
wchang0222%aol.com
dcb8ae23fa Removed a comment and the commented-out code it described. 2004-11-05 02:42:21 +00:00
wchang0222%aol.com
955308b53c Combined two lines into one. 2004-11-05 02:38:30 +00:00
wchang0222%aol.com
0b876f7620 Although we do use the native compilers by default on most platforms, it
is more correct to say "default compiler" than "native compiler" here.
2004-11-05 02:37:42 +00:00
wchang0222%aol.com
d524c3c6b7 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.
2004-11-05 02:35:43 +00:00
wchang0222%aol.com
4bf7c4e3fa Use the $< variable in the rule to build a program from a single object. 2004-11-05 01:45:49 +00:00
wchang0222%aol.com
e95834b199 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).
2004-11-04 15:55:05 +00:00
wchang0222%aol.com
da662e60b3 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.
2004-10-20 17:24:53 +00:00
julien.pierre.bugs%sun.com
e6651557ec Fix for 259003 - port NSS to Solaris AMD64 . r=wtc 2004-10-11 02:15:42 +00:00
wchang0222%aol.com
7ff2579a00 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
2004-08-27 00:33:40 +00:00
wchang0222%aol.com
c8d6d27ebc 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
2004-08-26 23:47:10 +00:00
jpierre%netscape.com
df13c3077c Fix for 240784 - FIPS doesn't work on OS/2 . r=mkaply,wtc 2004-05-11 04:01:28 +00:00
gerv%gerv.net
3634d4d94b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
wchang0222%aol.com
f06aa9e47c 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
2004-03-23 00:54:36 +00:00
wchang0222%aol.com
bd1e342f9d It is not necessary to define _THREAD_SAFE when using pthreads on OpenBSD.
(See Bugzilla bug 236599 comment 41).
2004-03-11 02:26:25 +00:00
wchang0222%aol.com
d384e9659d 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
2004-02-13 02:47:53 +00:00
wchang0222%aol.com
02b77934ff Bugzilla bug 232742: support Linux/AMD64. The patch is contributed by
Henrik Lynggaard Hansen <admin@mozillatranslator.org>. r=wtc.
2004-02-11 02:31:22 +00:00
wchang0222%aol.com
6d8fc90771 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
2004-01-27 23:55:38 +00:00
nelsonb%netscape.com
6f425d9730 Add /FIXED:NO argument to linker command line for EXEs. Purify
requires this to precisely instrument EXEs.  r=wtc
2003-12-06 06:34:20 +00:00
wchang0222%aol.com
86e2d2c45d Bugzilla bug 226470: removed -qarch=com, which is the default for the
compiler.  r=pkw@us.ibm.com.
2003-11-24 19:45:18 +00:00
wchang0222%aol.com
034bf93de9 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>.
2003-11-22 06:45:50 +00:00
wchang0222%aol.com
25f92109eb Bugzilla bug 224707: added Linux HPPA support. The patch came from the
Debian Mozilla package (maintainer is Takuo KITAME <kitame@debian.org>).
2003-11-16 00:10:16 +00:00
wchang0222%aol.com
08e3f5e2fa Bugzilla bug 225259: link NSS dynamic shared libraries with the
-headerpad_max_install_names option. r=ccarlen, sr=sfraser.
2003-11-13 01:59:22 +00:00
wtc%netscape.com
faed1206fb Bugzilla bug 124958: added support for pthreads on OpenBSD. The patch is
contributed by Mats Palmgren <mats.palmgren@bredband.net>. r=wtc.
2003-09-16 20:50:50 +00:00
wtc%netscape.com
18f7cab3ff 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
2003-09-15 20:34:55 +00:00
wtc%netscape.com
ce762d3244 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.
2003-09-11 20:29:51 +00:00
wtc%netscape.com
01452fc2bd 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>.
2003-09-11 18:41:22 +00:00
wtc%netscape.com
ba1b555580 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
2003-08-28 00:15:43 +00:00
wtc%netscape.com
bf5f3a80fb 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.
2003-07-21 23:40:51 +00:00
wtc%netscape.com
9675ae3dea Bugzilla bug 211350: support IRIX Alpha releases, whose 'uname -r' output
contains "-ALPHA...".
2003-07-21 18:51:08 +00:00
wtc%netscape.com
59bef8e5ab Bugzilla bug 212797: added Linux2.6.mk so that we can build on Linux 2.6
kernels.
2003-07-19 21:21:50 +00:00
wtc%netscape.com
b290411a4b Re-enabled the fix for bug 208177. 2003-07-08 18:11:24 +00:00
wtc%netscape.com
9223dbd69d Temporarily disabled the fix for bug 208177 so that we can debug bug
167825.
2003-06-04 14:49:13 +00:00
wtc%netscape.com
196f5f2abe 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
2003-06-03 23:14:03 +00:00
bishakhabanerjee%netscape.com
4db86baa01 coreconf needs HP-UXB.11.22.mk to build on new HP box - bug 177984 2003-05-21 22:08:37 +00:00
kirk.erickson%sun.com
33c3d5479c Shifted from -xO3 to -xO4 optimization under Solaris.
Resolves bug 204093.
2003-05-15 19:12:10 +00:00
wtc%netscape.com
6a8405bc5e 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".
2003-05-07 00:27:37 +00:00
wtc%netscape.com
4c6dd71c75 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.
2003-05-01 00:29:40 +00:00
wtc%netscape.com
e50f01e0d2 Broke a long line. 2003-04-21 21:33:16 +00:00
wtc%netscape.com
31d3df7a50 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>.
2003-04-21 21:03:55 +00:00
wtc%netscape.com
213a402f9d Bug 134113: make NSS build on Win32 using GCC (MinGW). The patch
(attachment 121068) is contributed by Chris Seawood (cls@seawood.org).
2003-04-20 04:23:37 +00:00
jpierre%netscape.com
efa7db0342 Fix for 202058 - Compile source files wit absolute pathnames to ease debugging on Win32 & OS/2 2003-04-17 01:59:34 +00:00
wtc%netscape.com
a5b3f9441e 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
2003-04-15 04:08:09 +00:00
wtc%netscape.com
55188b55c0 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.
2003-04-03 14:48:00 +00:00
jpierre%netscape.com
91e682d54f *** empty log message *** 2003-04-03 07:59:40 +00:00
nelsonb%netscape.com
370af382ad Fix bug 95138. Make debug .EXE files with debug symbols. 2003-04-02 04:27:23 +00:00
jpierre%netscape.com
7a30cd125f Backout change that broke Sun's build - requires gmake 3.79 2003-03-28 20:07:30 +00:00
jpierre%netscape.com
9a4460838f Fix for bug 105271 - compile source files with full pathnames on Windows & OS/2 to help debugging. r=wtc 2003-03-28 02:35:39 +00:00
wtc%netscape.com
032e2a412b 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
2003-03-27 15:40:54 +00:00
wtc%netscape.com
3bcaeb4a87 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
2003-03-27 01:17:28 +00:00
wtc%netscape.com
404f8fdaa9 Bug 194083: use qcc instead of gcc. The patch is contributed by
amardare@qnx.com.
2003-03-25 19:32:36 +00:00
wtc%netscape.com
aa67187f10 Bugzilla 198481: when using cc to build a 64-bit SPARC shared library, we
need to specify -xarch=v9.
2003-03-21 04:45:37 +00:00
wtc%netscape.com
47c8a2f084 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
2003-03-21 03:31:00 +00:00
kirk.erickson%sun.com
f8b88eb3bd Shifted optimization level on Solaris to -xO3 (bug 122974). 2003-03-11 01:18:31 +00:00
wtc%netscape.com
3d99d3f6a8 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
2003-02-25 01:40:04 +00:00
wtc%netscape.com
46b5be5b53 Bug 134967: handle spaces and hyphens in $(USERNAME). Convert them to
underscores.  r=seawood@netscape.com.
2003-02-15 20:39:01 +00:00
wtc%netscape.com
ff2fd3be04 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
2003-02-11 01:15:36 +00:00
wtc%netscape.com
8a3913ab4f Set the default compiler to cc. 2003-02-07 06:57:57 +00:00
wtc%netscape.com
eabc27a398 Bug 188441: compile with -D_USE_BIG_FDS on HP-UX. This ensures that fd_set
is large enough for 60,000 file descriptors.
2003-02-06 04:43:03 +00:00
wtc%netscape.com
a6be0bf311 Bug 90010: added support for parisc64. I received this patch from
Christopher Blizzard <blizzard@mozilla.org>.
2003-01-27 22:36:06 +00:00
wtc%netscape.com
e1a72ee085 Bug 90010: added support for Linux for s390 and s390x. The patch is
contributed by Gerhard Tonn <GerhardTonn@swol.de>.
2003-01-23 17:16:32 +00:00
glen.beasley%sun.com
0ba6c54296 solaris pkg support 2003-01-13 19:44:21 +00:00
wtc%netscape.com
79592c0eb3 Bug 180294: moved the OpenVMS build from the POSIX subsystem to native
VMS (GNV).  The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified files: OpenVMS.mk config.mk rules.mk nsinstall/nsinstall.c
2002-12-10 20:27:45 +00:00
wtc%netscape.com
f64d594319 Bug 181913: disable the makefile rule for .s for OS/2 so that .asm files
are used when there are same-named .s files in the same directory.  The
patch is contributed by Javier Pedemonte <pedemont@us.ibm.com>.
2002-12-02 22:57:21 +00:00
wtc%netscape.com
b78a21a145 Bug 182086: on Mac OS X, ranlib needs to be rerun after static libraries
are moved.
2002-11-26 23:05:56 +00:00
wtc%netscape.com
4759c969ee Bug 174143: Removed the obsolete platform.mk file. Do not allow overriding
of PLATFORM by the environment because PLATFORM is a common environment
variable.
2002-10-30 15:50:59 +00:00
wtc%netscape.com
3f0df98640 Bug 91224: Make sure that we use Solaris ld, not GNU ld, to build NSS.
Modified Files:
	coreconf/SunOS5.mk nss/Makefile nss/cmd/platlibs.mk
	nss/lib/freebl/Makefile
2002-09-18 23:25:29 +00:00
wtc%netscape.com
ce39e47a35 Bug 168360: Add support for the MOZ_PROFILE build option. 2002-09-12 23:32:58 +00:00
nicolson%netscape.com
214014721b Fix 158009: enable compression of xpclass*.jar. 2002-09-09 21:54:07 +00:00
nicolson%netscape.com
a53bc3d664 Fix 166721: shared library rule does not handle dependencies correctly. 2002-09-05 01:21:35 +00:00
wtc%netscape.com
18625bdcab Added coreconf config file for Solaris 10 Intel. 2002-08-23 00:33:48 +00:00
nicolson%netscape.com
c397f25253 Don't link to libhpi.so. 2002-08-07 22:53:01 +00:00
bishakhabanerjee%netscape.com
2f5e6fa6d3 Checking in riceman+bmo@mail.rit.edu's patch for bug 133702 2002-07-30 18:36:50 +00:00
wtc%netscape.com
aae4410a4d Bug 150143: use map file to limit exported symbols on Mac OS X. The patch
is contributed by Brian Ryner <bryner@netscape.com>.
Modified files: Darwin.mk rules.mk
2002-06-12 00:21:19 +00:00
wtc%netscape.com
5b50af192d Bugzilla bug 145178: added OpenBSD build support. The patch is contributed
by Christopher Seawood <seawood@netscape.com>.
Modified Files: coreconf/config.mk sslmutex.c sslmutex.h
Added Files: coreconf/OpenBSD.mk
2002-05-18 03:24:17 +00:00
wtc%netscape.com
a1bc754db7 Bugzilla bug 131171: added HP-UX IPF (ia64) support. Portions of the patch
(attachment 84127) were contributed by Jim Dunn <jdunn@netscape.com>.
2002-05-18 00:52:11 +00:00
wtc%netscape.com
b05d855681 Bug 131171: added HP-UX 11.20 support. 2002-05-16 17:35:41 +00:00
wtc%netscape.com
9d9c8c4c56 Bugzilla bug 133753: added support for AIX 5.1 to security/coreconf. 2002-05-16 13:12:33 +00:00
glen.beasley%sun.com
0cc88d04eb bug 131308 build 64 bit JSS with JDK 1.4 2002-05-02 04:37:16 +00:00
nelsonb%netscape.com
c2c7b26b40 New platform files for WinCE. 2002-04-05 00:52:32 +00:00
wtc%netscape.com
f0f87ddeaf Bugzilla bug 128955: support Netscape's uname, MKS's uname, and Cygwin's
uname.  Since CPU_ARCH is already defined in arch.mk, removed the redundant
definition in WIN*.mk.  Removed the unnecessary internal variable
PROCESSOR.  r=cls.
Modified Files: WIN954.0.mk WINNT3.51.mk WINNT4.0.mk WINNT5.0.mk
                WINNT5.1.mk arch.mk
2002-03-23 15:06:02 +00:00
wtc%netscape.com
608314e686 Bugzilla bug 131078: fixed compiler warnings. r=mcgreer. 2002-03-15 06:07:41 +00:00
wtc%netscape.com
d0c71c0e9d Bugzilla bug 112987: merged changes contributed by FreeBSD developer
Jeremy <reg@shale.csir.co.za>.  r=wtc.
2002-03-01 16:08:12 +00:00
wtc%netscape.com
0fa341362b Bugzilla bug 127517: Darwin optimized build should use -O2. The patch is
contributed by Brian Ryner <bryner@netscape.com>.
2002-02-27 01:48:41 +00:00
wtc%netscape.com
6c79ece2fe Bugzilla bug 70217: ported NSS to BeOS. The patch is contributed by
Christopher Seawood <seawood@netscape.com>.
2002-02-22 04:23:30 +00:00
nelsonb%netscape.com
e2f58af25a Fix warning on Windows builds. Bug 104541. 2002-02-21 21:23:14 +00:00
jpierre%netscape.com
8c731969c2 Fix OS/2 standalone NSS build which got broken after the fix for 104541 2002-02-16 00:10:24 +00:00
wtc%netscape.com
cb5e5f1f21 Bugzilla bug 112198: use the -dylib_file ld option to link the ssl3 and
smime3 dylibs and the NSS tools so that they can find the indirectly
referenced libsoftokn3.dylib.  Define and export DYLD_LIBRARY_PATH.  The
patch is contributed by Brian Ryner <bryner@netscape.com>. r=wtc,beard.
Modified Files:
	coreconf/Darwin.mk nss/cmd/platlibs.mk nss/lib/smime/config.mk
	nss/lib/ssl/config.mk nss/tests/common/init.sh
2002-02-15 23:38:47 +00:00
nelsonb%netscape.com
e023b4422a Change most coreconf and NSS makefiles to use OS_TARGET (which can
be overridden via an environment variable) rather than OS_ARCH.
This is a precursor to more flexibility in cross-platform builds.
Bug 104541.
2002-02-15 22:54:08 +00:00
nelsonb%netscape.com
42fdae57e1 Make NSS 3.4 build as part of mozilla on OS/2. Bug 114748.
Patch supplied by Javier Pedemonte.
2002-02-11 05:48:37 +00:00
wtc%netscape.com
da15146da7 Bugzilla bug 112198: Port NSS to Mac OS X (Darwin). The patch is
contributed by Javier Pedemonte <pedemonte@alumni.utexas.net>.
Modified Files:
	coreconf/config.mk coreconf/nsinstall/nsinstall.c
	coreconf/nsinstall/pathsub.c nss/lib/freebl/unix_rand.c
	nss/lib/ssl/unix_err.c
2002-02-10 05:24:49 +00:00
wtc%netscape.com
52ade1c793 Define DARWIN instead of XP_MACOSX. 2002-02-09 03:26:51 +00:00
wtc%netscape.com
e4d2b9a314 Bugzilla bug 112198: added Darwin.mk. This file is contributed by
Javier Pedemonte <pedemonte@alumni.utexas.net>, based on the NSPR file.
2002-02-09 02:21:27 +00:00
wtc%netscape.com
b93c9b751a Added SunOS5.10.mk for Solaris 10. 2002-02-08 06:15:24 +00:00
wtc%netscape.com
6305bdaa4e Bugzilla bug 120003: support OpenUNIX 8 build. Thanks to Hiram Clawson
<hiramc@caldera.com> for contributing the patch.
Modified file: config.mk
Added file: OpenUNIX.mk
2002-02-06 14:29:38 +00:00
wtc%netscape.com
c32ce01a87 Bugzilla bug 122944: detect Cygwin's uname. 2002-02-01 17:27:55 +00:00
wtc%netscape.com
f4cb9e6f4d Bugzilla bug 114702: support Linux 2.5.x kernels. 2002-01-27 00:45:37 +00:00
jpierre%netscape.com
c1f87e36d3 Fix for 118793 - remove GBASH references from OS2.mk 2002-01-11 00:48:49 +00:00
glen.beasley%sun.com
f98251b194 bug 115879 makefile for windows XP 2002-01-08 01:37:10 +00:00
jpierre%netscape.com
45f386baf3 Fix for 108729 - AIX builds not fully optimized 2001-12-12 03:45:51 +00:00