Commit Graph

488 Commits

Author SHA1 Message Date
bsmedberg%covad.net
db584fa139 Bug 207521 - deprecate --enable|disable-shared, since --enable-static gives us all the information we need, r=cls 2005-10-17 14:57:32 +00:00
bsmedberg%covad.net
c39244afed Bug 301197 - --disable-compile-environment allows us to configure the tree without a compiler being present (needed for some kinds of l10n repackaging) r/a=Chase 2005-07-28 19:48:12 +00:00
mark%moxienet.com
b950e70b07 Bug 194045, Empty chrome directories are left and packaged when building jar files. Stage jar files in a different location. r=bsmedberg r=cls sr=dveditz a=bsmedberg 2005-07-28 16:17:15 +00:00
bsmedberg%covad.net
137d918e93 --enable-tests bustage from bug 300731, r=cls 2005-07-23 18:44:37 +00:00
bsmedberg%covad.net
4c342d3f62 Bug 299286 - Move reporter locale files from en-US.jar to reporter.jar, r=gandalf a=shaver 2005-07-22 20:11:37 +00:00
bsmedberg%covad.net
f6a94cf807 Bug 299286 - Make multiple in-tree localizations of DOMI possible, r=gandalf a=asa 2005-07-20 19:21:52 +00:00
cls%seawood.org
2ab2ae58fa Fixing mingw cross-compile bustage:
- Moves HOST_AR_FLAGS into configure.in
- Adds HOST_OS_ARCH to better handle the native build case
- Exposes autoconf standard host_cpu, host_vendor, host_os variables
- Always build native version of libmar & mar tool
Bug #299557 r,a=bsmedberg
2005-07-05 20:37:27 +00:00
dougt%meer.net
b0171845f9 make xpcom typelib tools build on wince. r/a=benjamin 2005-07-05 17:02:20 +00:00
dougt%meer.net
91e45f52cd Fixing build bustage; making config.mk match build docs. WINCE ONLY. 2005-06-30 21:49:29 +00:00
dougt%meer.net
6807909a64 Adding WINCE rules to build the shunt and toolchain during configure so that we break the chicken/egg problem. r=299061, r=benjamin, a=benjamin 2005-06-29 16:28:02 +00:00
mark%moxienet.com
c5d5f44fe1 Bug 298647, Xcode might put build products in silly places. Add SYMROOT=build. r=josh sr=smfr a=bsmedberg 2005-06-29 02:48:58 +00:00
joshmoz%gmail.com
ac67020454 better support for per-build configuration. patch by Mark Mentovai. b=296900 r=josh r=cls a=asa 2005-06-20 19:24:51 +00:00
shaver%mozilla.org
32251d6d48 Bug 298032: make sure that we set the IMPLIB-directing LDFLAGS after the
initialization from OS_LDFLAGS. r=bsmedberg, a=asa.
2005-06-20 13:01:58 +00:00
shaver%mozilla.org
61285074f8 Bug 298032: trick MSVC into not colliding the static-component foo.lib with the
dynamic-component-import-library foo.lib when a build config wants both
flavours.  r+a=bsmedberg.
2005-06-17 19:54:21 +00:00
bryner%brianryner.com
c618189f8d Fix build failure with --enable-quantify (bug 297430). r=bsmedberg, a=asa. 2005-06-16 05:05:41 +00:00
shaver%mozilla.org
feb322d9ef Bug 295659: if we're building for an XPI_NAMEd package, always use PIC, even
if we're not at the stage of constructing the component yet.  Otherwise we
end up mixing PIC and non-PIC code for components that are constructed out
of sub-archives (like storage, f.e.). r=bsmedberg.
2005-06-15 23:42:07 +00:00
shaver%mozilla.org
92448b9e31 Bug 295659: when building a package via XPI_NAME, don't let components be
build as static libs. r+a=bsmedberg.
2005-06-15 13:41:39 +00:00
bsmedberg%covad.net
22b446b9d8 Bug 294835 - Need to determine XPCOM ABI (at least for the common cases) in configure, for EM/nsXREDirProvider r=cls sr=shaver a=asa 2005-06-08 12:46:39 +00:00
joshmoz%gmail.com
624f8ca62a build on Xcode 2.1 which uses per-build configuration build directories. b=296900 r=josh r=cls r=bsmedberg a=bsmedberg 2005-06-08 02:50:56 +00:00
mkaply%us.ibm.com
5cfed888b3 Don't have OS/2 follow the new msys path - r+sr+a=shaver 2005-06-02 12:33:48 +00:00
cls%seawood.org
2f8def85e9 Path translation fixes for msys.
Thanks to Howard Chu <hyc@symas.com> for the patches.
Bug #294122 r=cls a=shaver
2005-06-02 04:00:37 +00:00
joshmoz%gmail.com
f299a66dc7 more Mac OS X 10.4 "Tiger" build stuff. Patch my Mark Mentovai. b=292530 r=josh r=pinkerton r=cls sr=bryner a=brendan 2005-06-01 18:53:30 +00:00
cls%seawood.org
d5865f4067 Use dashes instead of backslashes for program options to avoid msys shell expansion.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls a=shaver
2005-06-01 14:28:35 +00:00
bsmedberg%covad.net
5a72d70b11 Bug 295494 - Add support for extension chrome.manifest to make-jars r=darin a=shaver 2005-06-01 11:59:09 +00:00
pedemont%us.ibm.com
d75b5fa3eb Bug 291512 - Generate Java interface files using nsIInterfaceInfoManager. Fix some type handling as a result of this change. r=biesi, sr=darin, a=asa 2005-05-02 16:30:03 +00:00
dougt%meer.net
844e4cfc58 Build changes for windows ce. With this patch, configure correctly
produces working a autoconf.mk file.

r=benjamin@smedbergs.us
sr+a=dbaron@mozillafoundation.org
b=291229
2005-04-22 19:06:27 +00:00
bsmedberg%covad.net
62baa07994 Bug 287262 - Build locale packages by unpacking final en-US packages and repacking them with localized content r+a=Chase 2005-04-20 23:10:56 +00:00
darin%meer.net
ec163dc333 fixes bug 290850 "BUILD_ID uses $(shell) poorly" r=bsmedberg a=dbaron,caillon 2005-04-19 21:46:07 +00:00
bsmedberg%covad.net
7e03c0b224 Bug 288626 - Switch the strict API from opt-in (MOZILLA_STRICT_API) to opt-out (MOZILLA_INTERNAL_API) r=darin 2005-04-06 03:35:24 +00:00
cbiesinger%web.de
44625301dd bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
darin%meer.net
a87b534479 fixes bug 286147 "switch from .xulapp to application.ini" r=bsmedberg 2005-03-28 19:36:24 +00:00
bsmedberg%covad.net
914a5612a1 libxul step 4 - most of tier 50 (not PSM, and I may have forgotten a few things in toolkit/mozapps also) r=darin 2005-03-18 21:24:05 +00:00
shaver%mozilla.org
062e113139 Bug 282768: infrastructure for XPI_PKGNAME/XPI_PACKAGE-driven XPI automation.
r=bsmedberg
2005-02-18 22:17:37 +00:00
bsmedberg%covad.net
c18b1c8902 Bug 279768 - Use new % syntax for locale directory structure. r=gandalf 2005-01-26 13:33:53 +00:00
bryner%brianryner.com
d9626f6746 Add support for using gcc's visibility pragma to treat all function and method declarations as "hidden" unless declared otherwise. Create wrappers for system headers that cause them to be treated as default-visibility declarations. This gives a substantial code size and performance win on compilers that support it, and should show up on the gruff tinderbox. Bug 273336, r=darin sr=dbaron. 2004-12-15 05:52:44 +00:00
bsmedberg%covad.net
79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
bsmedberg%covad.net
b604eb57fe I over-pruned this code for bug 272783 - this will hopefully fix the Firefox static build, though I'm not certain. r=bustage 2004-12-07 02:35:37 +00:00
bsmedberg%covad.net
f23f538920 Bug 272283 - initial work for --enable-libxul r=bryner+darin This is on by default for xulrunner and off by default for all other apps. 2004-12-06 22:39:54 +00:00
bsmedberg%covad.net
dfd741c2fd Bug 272843 - remove redundant makefile variable MOZ_COMPONENT_XPCOM_LIBS r=darin 2004-12-04 05:24:38 +00:00
pedemont%us.ibm.com
15717f0bf7 Bug 269553 - Integrate JavaXPCOM into build. r=bsmedberg, sr=bryner 2004-12-01 17:33:16 +00:00
bsmedberg%covad.net
985c5975ce More work for bug 271324 - source localization - reviewed by Pike and biesi 2004-11-29 23:14:13 +00:00
timeless%mozdev.org
d01dd1aa4c Bug 249782 Make Mozilla compile with Microsoft Visual Studio 2005
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 19:34:02 +00:00
bryner%brianryner.com
8756378524 When building with --enable-quantify, use /OPT:NOICF to prevent identical functions from being merged. Bug 267576, r=dbaron. 2004-11-15 08:37:53 +00:00
bryner%brianryner.com
f43748170d Add an explicit --enable-quantify option for windows that causes /FIXED:NO to be used when linking the executable. Otherwise, we omit that option and save about 6% on executable size (the change only affects builds with MOZ_PROFILE or MOZ_DEBUG_SYMBOLS). Bug 263680, r=bsmedberg. 2004-10-12 00:09:58 +00:00
bryner%brianryner.com
7993f4dc6b back out 263512, i was on crack 2004-10-11 21:07:55 +00:00
bryner%brianryner.com
0185c94aa9 bug 263512 - don't use /opt:nowin98 for windows release builds, it increases code size. r=ben. 2004-10-08 18:17:17 +00:00
bryner%brianryner.com
70f2f266cb Add support for generating PDB-format debug symbols with MSVC, by setting MOZ_DEBUG_SYMBOLS=1 in the environment. This is to be used in place of MOZ_PROFILE. Bug 244231, r=wtc, dmose. 2004-08-26 23:03:01 +00:00
cls%seawood.org
0be84a0940 Make console handling in mingw builds behave the same as msvc builds.
Bug #245903 r+sr=dmose
2004-06-21 20:56:14 +00:00
gerv%gerv.net
31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
bryner%brianryner.com
84602c1291 Fix profiledbuild for static builds. r=cls, a=brendan. Bug 237239. 2004-04-10 22:51:37 +00:00
bryner%brianryner.com
55db156d09 Enable profiledbuild to work for non-static builds (bug 237239). r=cls, a=asa. 2004-04-07 22:59:36 +00:00
bsmedberg%covad.net
01e335833e Bug 236101 - flatten the directory structure of the embedding SDK. Consensus from dougt/adamlock/blizzard r=cls a=mkaply 2004-03-23 20:58:21 +00:00
cls%seawood.org
b7046d5f72 Use the brute force method to override NSS build variables when cross-compiling.Bug #172651 r=darin a=chofmann 2004-03-23 08:41:30 +00:00
bryner%brianryner.com
c2b4788fd2 - Add detection of -fprofile-arcs/-fprofile-generate to configure
- Add a new client.mk target, profiledbuild, which does a profiling build, runs a specified script to generate the profile, and then rebuilds using the profile data.
- Add a profiling script for Seamonkey/Firefox that runs a couple cycles of the pageload test, and then does a second start to hit the fastload/history code.

Bug 237239, r=dbaron, sr=brendan, a=brendan.
2004-03-21 02:31:17 +00:00
bryner%brianryner.com
18797e7f6c Disabling my changes. I don't have time to debug this now. 2004-02-26 18:06:02 +00:00
bryner%brianryner.com
00c9936e63 Bustage fix - instead of only allowing PIC if LIBRARY_NAME is defined, just skip it if PROGRAM, SIMPLE_PROGRAMS, HOST_PROGRAM, or HOST_SIMPLE_PROGRAMS is defined. 2004-02-26 17:16:57 +00:00
bryner%brianryner.com
a3f2a38be2 Don't compile .o files for executables with -fPIC. Bug 235657, r=seawood. 2004-02-26 08:17:27 +00:00
cls%seawood.org
4e1a592115 Add support for cross-compiling to mingw.
Bug #222013 r=bryner
2004-02-20 22:14:14 +00:00
cls%seawood.org
486c2570e0 Remove troublesome libiberty dependency by using __cxa_demangle instead of cplus_demangle. (redux)
Bug #232763 r=dbaron sr=brendan
2004-02-11 07:16:11 +00:00
cls%seawood.org
1a0e9742d7 Backing out previous changes.
Missed a cplus_demangle call and it turns out that all of trace-malloc needs to be tweaked to use c++ instead of C.
Bug #232763
2004-02-10 18:55:04 +00:00
cls%seawood.org
cdb23f59f9 Remove unneeded -liberty references.
Bug #232763
2004-02-10 17:21:14 +00:00
pinkerton%aol.net
6233fbb29e add support for OSX 10.3 SDK support so build done on 10.3 can be run on
previous OS versions. Enabled with configure flag --with-macos-sdk=dir
(bug 224161, r=bryner)
2004-01-29 20:18:14 +00:00
cbiesinger%web.de
065f5ce3fc Bug 166192 Remove last traces of PICS.
patch by Stephen Walker <sdwalker@myrealbox.com> r=bsmedberg,dougt sr=dbaron
2004-01-28 22:42:21 +00:00
bienvenu%nventure.com
f1a427bbb1 add js component to handle starting up in last offline state, or prompting at startup, 221734, r/sr=mscott 2003-10-21 22:15:07 +00:00
mkaply%us.ibm.com
7ad3a159fb #215581
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
Also remove some VACPP references
2003-09-15 21:50:20 +00:00
cls%seawood.org
7f53862a76 Set CYGDRIVE_MOUNT at configure time for cygwin-wrapper performance enhancement to work.
Thanks to Brian Ryner <bryner@brianryner.com> for the patch.
Bug #206643 r=cls a=mkaply
2003-08-14 21:36:22 +00:00
cls%seawood.org
064d382e0c Fix VPATH build problem with cygwin make 3.80:
* Force use of native cygwin paths & cygwin_wrapper
* Remove _NO_AUTO_VARS mess
* Use full source path when calling win32 compiler so debugging info shows up
* Change DEPENDENT_LIBS to use an intermediate header file instead of commandline define
Bug #210393 r=leaf sr=bryner
2003-08-05 04:43:49 +00:00
bryner%netscape.com
e952d5249e Enable building a library of Gecko components that can be linked against directly and then registered using the static component loader (bug 207407). This enables us to do full prebinding on Mac OS X. Also, don't force libjar to be standalone if not building an installer. r=ccarlen, sr=sfraser. 2003-06-09 22:25:25 +00:00
bryner%netscape.com
ed3638f072 Fix mozcomps meta-component build on non-win32 platforms (bug 205711). Patch by ccarlen, r=pavlov, sr=me, a=sspitzer. 2003-05-16 06:07:37 +00:00
cls%seawood.org
8b363ed6a2 Change the naming scheme for the mingw libraries to use the following format:
static lib: libfoo.a
import lib: libfoo.dll.a
shared lib: foo.dll
Bug #134113 r=dmose
2003-04-23 00:54:38 +00:00
seawood%netscape.com
d056fe18d0 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
mkaply%us.ibm.com
c6ebd60472 #188249
r=cls
OS/2 GCC build changes
2003-03-24 14:07:08 +00:00
cls%seawood.org
e9ed7da9f3 Add mingw support to the common rules.
Add EXPAND_LIBNAME & EXPAND_MOZLIBNAME $(call) macros which convert base library names into a form suitable for linking.
Add rules for creating asm & intermediate files.
Bug #134113 r=bryner
2003-03-08 05:18:43 +00:00
seawood%netscape.com
97ed83b7c5 Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen
2003-02-23 15:54:21 +00:00
sspitzer%netscape.com
16be564589 supplimental fix for #192074.
removing mozilla/mailnews/absync from the tree.
r=cls, this bug has a=asa
2003-02-12 19:56:53 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
colin%theblakes.com
0824e190c0 OpenVMS build changes. b=180290. r=cls 2002-12-12 00:08:59 +00:00
mkaply%us.ibm.com
77a54c2125 #177200
r=cls
OS/2 only - put call to grab nsinstall from toolsdir back
Happy Mr. Pedemonte?
2002-11-20 14:17:23 +00:00
seawood%netscape.com
e0a9ae3203 Add bayesian filter & mailview to list of meta_mail sub-components.
Make meta component list more readable
2002-11-15 09:39:03 +00:00
seawood%netscape.com
03b0fefbec Make mkdepend failures a fatal condition.
Treat nsinstall & mkdepend as HOST_PROGRAMs so that they don't call mkdepend to generate dependencies.
Bug #179895 r=bryner
2002-11-15 03:41:17 +00:00
seawood%netscape.com
d40a0fe4ef Oops. I checked in v1.0 instead v1.1. Too many trees.
Fixing clobber bustage
2002-11-14 20:23:26 +00:00
seawood%netscape.com
cb349b9ce3 Drop unneeded java build rules & variables since blackwood now builds using ant.
Bug #161617 r=edburns sr=beard
2002-11-14 19:36:28 +00:00
seawood%netscape.com
013de5c8ce Tighten (add?) tool version checks for win32 builds.
Allow MIDL to be specified from mozconfig or env since various MS SDKs contain an unsupported version of midl and they insist upon adding their SDK dirs to the beginning of the PATH (bug #178392)
Bug #164646 r=bryner
2002-11-09 02:16:55 +00:00
mkaply%us.ibm.com
66d0cce3e6 Backing out this part of change so Os/2 goes green until we find out why this worked on Javier's machine but not the TB 2002-10-30 13:21:32 +00:00
seawood%netscape.com
b7fd0cb161 Removing OS/2 support from nsinstall. OS/2 will use a system installed version of nsinstall like the win32 builds.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #177200 r=cls a=roc+moz
2002-10-30 05:53:39 +00:00
blythe%netscape.com
51cd89bf69 part of bug 170618
Better enable MOZ_MAPINFO for windows builds.
This will lead to some tools to read the map files and report on code/data size.
2002-10-07 19:09:05 +00:00
timeless%mac.com
f47184023c Bug 166775 Remove unused _IMPL_NS_APPSHELL defines
patch by walk84@yahoo.com r=bryner
2002-09-24 00:56:20 +00:00
timeless%mac.com
dbd27fdbf7 Bug 165400 _IMPL_NS_PLUGIN unused
patch by walk84@yahoo.com r=biesi sr=bryner
2002-09-24 00:41:35 +00:00
seawood%netscape.com
2e912835a0 OS/2's stat() doesn't like paths that have a trailing / so remove it.
Use nsinstall from $PATH rather than dist/bin
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #169564 r=cls
2002-09-19 19:48:23 +00:00
bryner%netscape.com
290a72f70c Fix bug 166614 (wrong linker flags for mozilla.exe on OS/2) by moving the MOZ_WINCONSOLE section of config.mk down so that LDFLAGS doesn't get clobbered. r=cls, a=asa. 2002-09-05 06:28:15 +00:00
bryner%netscape.com
6f2dee8b61 Factor out console linker flags for Win32 (MOZ_WINCONSOLE) into config.mk so that we can use them from elsewhere. r=cls. 2002-09-02 01:47:23 +00:00
bryner%netscape.com
9f214d42df Use -mdynamic-no-pic when building non-PIC code with gcc 3.1 on MacOS 10.2 (bug 165851). r=cls. 2002-08-31 04:33:02 +00:00
mkaply%us.ibm.com
d7f253803e #163550
r=cls
Add support for USE_STATIC_LIBS on OS/2
2002-08-20 22:21:21 +00:00
seawood%netscape.com
50aa7ca88e Remove unused _NS_IMPL_COOKIE/NS_COOKIE defines.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162402 r=cls
2002-08-15 05:34:26 +00:00
seawood%netscape.com
3d2d695e6e Use the win32 order file if it exists & MOZ_COVERAGE is set 2002-08-10 14:06:10 +00:00
kaie%netscape.com
21f0d86067 b=123917 Remove non-NSS_3_4 codepaths
r=wtc sr=alecf
2002-08-07 13:39:57 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
seawood%netscape.com
bdbbad71ef Fix win32 gmake static builds.
Bug #160104 r=bryner
2002-08-06 04:17:50 +00:00
bryner%netscape.com
7dafb891cc Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls. 2002-07-31 20:53:46 +00:00
bryner%netscape.com
2ce12e578e Missed this one -D_IMPL_NS_NET for bug 159887. r=cls. 2002-07-30 03:09:03 +00:00
seawood%netscape.com
6de5b59159 Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
2002-06-17 17:09:57 +00:00
bryner%netscape.com
88cd513c90 Add an option to enable prebinding for mach-o builds (bug 151087). r=cls. 2002-06-13 08:52:55 +00:00
seawood%netscape.com
6fb0d98d67 Override compile flags instead of appending them for profile, coverage & trace-malloc builds. This should fix the talkback line number issue.
Bug #141834 r=leaf sr=jdunn
2002-05-16 19:02:45 +00:00
seawood%netscape.com
c0ec608df6 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
seawood%netscape.com
97531eb92c Add make -j support to win32 gmake builds.
Bug #132848 r=bryner
2002-04-19 02:42:28 +00:00
mkaply%us.ibm.com
6a55e869ef #135795
r=cls, a=asa
Disable mkdepend on OS/2 for now.
2002-04-15 22:54:51 +00:00
cls%seawood.org
0e2f95e7d5 Fix mkdepend so that it compiles on OS/2.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #135795 r=cls a=rjesup
2002-04-06 07:17:40 +00:00
seawood%netscape.com
1675289b45 Only set MAPFILE if MOZ_MAPINFO is set - win32 gmake build
Bug #129161 r=walk84 a=asa
2002-03-12 21:15:36 +00:00
leaf%mozilla.org
4974d5bf3b fix PDBFILE definition and use for windows gmake builds, sr=cls, a=drivers 2002-03-06 09:50:34 +00:00
seawood%netscape.com
0df019b037 This patch:
* Changes MOZ_TRACE_MALLOC ifdefs to NS_TRACE_MALLOC ifdefs
* Links against the trace-malloc utils against libxpcom instead of just xpcomds
* Builds NSPR in debug mode on win32 if trace-malloc is enabled
* Adds a few "defined()" checks to diffbloatdump.pl so that it will work for
perl 5.6.1
* Adds a couple of checks for \r so that diffbloatdump.pl works on win32.

Bug #126915 r=bryner/dbaron a=asa
2002-02-26 09:26:10 +00:00
dougt%netscape.com
874111f277 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
seawood%netscape.com
27f3690e46 Oops. Forgot that LIBS_DIR already set -L. Fixing dec1 bustage 2002-02-19 05:38:41 +00:00
seawood%netscape.com
f059e0adae Set NSS_LIBS in config.mk. Use "-L<dir> -l<blah>" to link instead of paths to actual shared libraries on unix platforms.
r=rjesup@wgate.com,wtc@netscape.com
2002-02-19 03:00:08 +00:00
wtc%netscape.com
c2620c0df7 Bug 114748: now that NSS uses the same LIB_PREFIX as the Mozilla client,
removed the obsolete NSS_LIB_PREFIX. r=cls.  The patch was originally
contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified Files:
	config/config.mk security/manager/Makefile.in
	security/manager/ssl/src/Makefile.in
2002-02-14 15:29:22 +00:00
seawood%netscape.com
ebbdfa7c68 Backing out fix for win32 gmake static bustage until we figure out how to resolve bug 114748 for OS/2. Should fix current OS/2 bustage. 2002-02-08 19:17:37 +00:00
seawood%netscape.com
ef5c10e5c2 Quick fix for OS/2 bustage. NSS appears to have LIB_PREFIX fixed 2002-02-08 08:41:26 +00:00
seawood%netscape.com
bfd2d230fb OS/2 & Win32 non-gcc builds require that you link against their import library instead of directly against a shared library. Fixing static build bustage.
Use the centralized NSS_LIBS rather than explicitly writing out each NSS lib when linking.
2002-02-08 06:04:05 +00:00
kaie%netscape.com
7792168b34 b=116334 NSS 3.4 landing
r=cls/wtc sr=kin/simon
2002-02-06 13:31:07 +00:00
seawood%netscape.com
eddc5fef3f Since we build a program called nsinstall in the tree, make sure that uwe use the full path to the nsinstall.exe found in wintools.zip.
Bug #123294 r=bryner
2002-02-05 06:01:58 +00:00
seawood%netscape.com
9f1ccfc1ec Set MAPFILE in config.mk instead of rules.mk 2002-02-04 05:49:14 +00:00
seawood%netscape.com
79fbcc79c7 Add support for MOZ_PROFILE, MOZ_COVERAGE, & MOZ_MAPINFO for win32 gmake builds.
Set these variables in your MOZCONFIG file before running configure or on the make cmd line when building in individual dirs.
2002-02-03 03:28:07 +00:00
seawood%netscape.com
48f58d710a Add $(BIN_SUFFIX) to mkdepend defines 2002-02-03 00:41:00 +00:00
seawood%netscape.com
39ba085fc5 Fix "static" build support for win32 gmake builds.
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
seawood%netscape.com
a7c9e4dfcb Fix --enable-debugger-info-modules=yes case.
Thanks to hoshem@mel.comcen.com.au (Michael Hore) for the patch.
Bug #114980 r=cls
2002-01-16 07:06:45 +00:00
seawood%netscape.com
de1d3bd44e Use of LIB_PREFIX is inconsistent between moz & nss for OS/2 VA builds (bug 114748) so set NSS_LIB_PREFIX accordingly.
Fixing OS/2 tinderbox bustage
2001-12-18 21:16:25 +00:00
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
seawood%netscape.com
51fa852613 Make OS/2 use the win32 build changes and finish LIB_PREFIX substitution.
Thanks to Javier Pedemonte (pedemont@us.ibm.com) for the patch.
Bug #58981 r=cls
2001-12-14 23:49:04 +00:00
seawood%netscape.com
7f4b4cba9a Updating win32 support for gmake build:
* Add LIB_PREFIX to build
* Read MOZ_TOOLS at configure time to set LIBIDL_* on win32
* Move MOZ_DEBUG_LDFLAGS settings into config.mk
* Fix problem with ldap being configured for standalone modules when not specified
* Fix PROGRAMS & SIMPLE_PROGRAMS rules for win32
Bug #58981 r=bryner
2001-12-09 07:08:58 +00:00
seawood%netscape.com
c8994a7ac0 Initial landing of win32 support for autoconf builds.
Bug #58981 sr=alecf
2001-12-04 21:17:48 +00:00
kaie%netscape.com
4f540afa38 b=75947 Landing security startup performance improvement and related issues.
r=javi sr=alecf
b=109777  Make sure certificate downloading works immediately
r=javi sr=mscott
2001-11-29 23:36:34 +00:00
seawood%netscape.com
565a358143 Allow modules to override *default* optimization levels by setting MODULE_OPTIMIZE_FLAGS
Bug #110215 r=bryner
2001-11-16 07:42:48 +00:00
seawood%netscape.com
8609a1f10c Update mail meta modules list to handle smime.
Bug #109432 r=bryner
2001-11-13 07:48:26 +00:00
seawood%netscape.com
251cd340b5 Oops. That wasn't supposed to go in yet. Fixing tinderbox bustage 2001-11-07 08:09:36 +00:00
seawood%netscape.com
87f99ba919 Move defines from config.mk into configure.in 2001-11-07 06:13:22 +00:00
rods%netscape.com
37a4501149 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi
2001-11-03 14:59:39 +00:00
seawood%netscape.com
4acfdc3e6a Attempt to fix AIX bustage by linking in smime 2001-10-31 08:27:27 +00:00
mkaply%us.ibm.com
2f79b2a7ac Putting these back the way they were in an attempt to fix the bustage 2001-10-27 15:11:07 +00:00
mkaply%us.ibm.com
52f0f091e4 Reverting cls attempt to fix Os/2 bustage as it busts us more :( - issue is that somehow unicharutil_s.lib is bad on OS/2 - it doesn't have to do with the length of the name - still looking 2001-10-27 11:54:03 +00:00
seawood%netscape.com
7d5bae766b Set MOZ_UNICHARUTIL_LIBS & friends in config.mk so that we can test for USE_SHORT_LIBNAME as needed. Should get the OS/2 build further along. 2001-10-27 08:04:27 +00:00
seawood%netscape.com
0f535e7061 Land the simple OSX Mach-O build changes.
Bug #75653 r=cls
2001-10-25 08:55:53 +00:00
seawood%netscape.com
60781554cb There's no need to create a target version of nsinstall so always compile it for the host platform. 2001-10-14 21:38:01 +00:00
seawood%netscape.com
34476449c2 Turn on module dependency tracking.
Bug #59454 sr=alecf
2001-09-27 21:30:42 +00:00
cls%seawood.org
faa17349e6 Install LDAP headers into seperate ldap include dir.
Bug #98924 r=dmose
2001-09-10 05:17:41 +00:00
cls%seawood.org
2f414c591f Use non-versioned names for nss libraries as they have different basenames for their static & shared libs (see bug 86254).
Bug #46775
2001-06-20 22:11:23 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
jcgriggs%sympatico.ca
63a8ecff6a Updates to Build for Qt Mozilla. Bugzilla #81241 2001-06-18 16:11:30 +00:00
cls%seawood.org
34b7986e37 Add --disable-auto-deps option which causes the build system to not automatically generate dependencies on the fly. Also, fixes VPATH problem with non gcc-MD separate build phase |make depend|.
Bug #66529 r=pavlov
2001-05-22 07:52:30 +00:00
cls%seawood.org
bc6c487031 Place xpcom libs before nspr libs in MOZ_COMPONENT_LIBS 2001-04-30 02:56:51 +00:00
cls%seawood.org
a74effc1af Generate list of exported libraries to be used for final link as we traverse the tree. Bug #46775 2001-04-28 18:51:31 +00:00
cls%seawood.org
72889a4a45 Make --with-dbgrinfo-modules work as expected.
bug #77088 r=shaver
2001-04-27 10:00:33 +00:00
cls%seawood.org
1a67b6ca80 Use CONFIG_TOOLS instead of DEPTH/config so that the commercial build works. Bug #66529 r=jdunn@netscape.com,mtchan@eng.sun.com 2001-04-27 04:19:44 +00:00
cls%seawood.org
d24cf31017 Do not use builtin mkdepend for OS/2 until they've ported it. Fixes OS/2 tinderbox bustage caused by previous checkin for bug #66529 r=mkaply 2001-04-24 03:54:12 +00:00
cls%seawood.org
d547ee80dd Fix dependency rules for in-tree mkdepend.
Force solaris to use in-tree mkdepend since their system makedepend up to at least solaris 7 causes the build times to more than double with the new non-compiler dependency scheme.
2001-04-23 22:54:29 +00:00
cls%seawood.org
b3b1aa739c Reversing previous checkin. This was not meant for the trunk just yet. Broken client.mk on the branch. :-/ 2001-04-19 03:00:55 +00:00
cls%seawood.org
3b8374aa75 Build fixes based upon Ron's original mega-patch. 2001-04-19 01:53:36 +00:00
bryner%uiuc.edu
d133331d26 Add support for building PSM from the nss autoconf branch using --enable-crypto. Remove references to obsolete MOZ_SECURITY define. r=cls. 2001-04-14 03:20:48 +00:00
cls%seawood.org
23699ce01d Update our non-compiler based dependency system to build dependencies on the fly like the compiler-based system does.
Bug #66529 r=leaf
2001-04-05 01:18:34 +00:00
erik%netscape.com
db1a87d94a checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
add OS_ARCH compile define
2001-04-03 06:01:07 +00:00
cls%seawood.org
be4770a8a4 Land the rest of the --enable-static-components build changes.
Bug #46775 r=bryner
2001-03-20 05:42:58 +00:00
rods%netscape.com
3b054b6a2c turn on reflow counting when building in debug mode, activated by a pref
Bug 71514 r=kmcclusk sr=attinasi
2001-03-14 01:05:07 +00:00
cls%seawood.org
263c51c15d XPCOM_STANDALONE is no longer needed for xpcom standalone builds 2000-12-26 23:49:01 +00:00
cls%seawood.org
91f442fc5d Changed named of ELF_DYNSTR_GC to elf-dynstr-gc.
Bug #62098
2000-12-11 07:25:45 +00:00
cls%seawood.org
bce67763ee Add hooks to turn on module dep tracking by setting MOZ_TRACK_MODULE_DEPS=1 when running configure. Bug #59454 2000-12-04 01:34:02 +00:00
cls%seawood.org
b3735b35c4 Enable BEOS_ADDON_WORKAROUND hack for all BeOS builds 2000-11-27 21:27:10 +00:00
dougt%netscape.com
29cef744e4 Static Module Patch. r=valeski,warren@netscape.com, sr/a=cls@netscape.com 2000-11-21 23:40:34 +00:00
cls%seawood.org
b5d609a14c Cross-compiling fixes. Bug #11890 r=blizzard 2000-10-24 21:22:32 +00:00
ramiro%eazel.com
a1cfc653dd Bug 56795. Adding support for corel/eazel profiler. Build changes approved
and reviewed by cls.  r=cls a=cls.
2000-10-20 14:59:13 +00:00
cltbld%netscape.com
bd654f5e40 Do NOT hardcode values into the unix build. Let configure handled it. Fixing cement bustage 2000-09-21 16:37:14 +00:00
warren%netscape.com
181bb2dcb2 Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani 2000-09-20 19:35:24 +00:00
cls%seawood.org
5092f96f12 On second thought, nevermind 2000-08-02 02:44:56 +00:00
cls%seawood.org
cdda1b98d1 Add checks for FORCE_BUILD_REFCNT_LOGGING & NO_BUILD_REFCNT_LOGGING per http://lxr.mozilla.org/seamonkey/source/xpcom/doc/MemoryTools.html . 2000-08-02 02:42:54 +00:00
cls%seawood.org
e87a1b7b11 Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061 2000-07-10 07:13:31 +00:00
cls%seawood.org
c2139e2ef8 Erk, wrong identifier for OS/2 2000-06-29 03:03:43 +00:00
cls%seawood.org
104273dbb7 OS/2's cmd.exe doesn't support the no-op ':' . 2000-06-28 22:31:12 +00:00
cls%seawood.org
a9f6433fbe Tweaks to build xpconnect standalone. Bug #42024. Thanks to Mark Adams <madams@janna.com> for the patches. 2000-06-28 07:03:13 +00:00
cls%seawood.org
7766827f6f Adding configure option --enable-elf-dynstr-gc. Bug #43357 2000-06-28 04:32:15 +00:00
mkaply%us.ibm.com
8e59b68382 #40177
r=cls, a=brendan
OS/2 bring up - fix some various build problems relating to nsinstall and SHELL
2000-06-21 00:16:45 +00:00
cls%seawood.org
df5725e323 Finishing off the standalone modules framework.
List js/src/liveconnect & js/src/xpconnect in toplevel Makefile.in to allow js to be built using the standalone framework.
Use the <module>_STANDALONE defines anytime BUILD_MODULES != all.
r=slamm
2000-05-20 02:45:59 +00:00
dp%netscape.com
1583b5496b Using --enable-module. Thanks to cls@seawood.org 2000-05-16 23:04:54 +00:00
cls%seawood.org
5963c08799 Added new configure option --with-dbgrinfo-modules to allow us to independently toggle the use of the developer's -DDEBUG flag and the compiler's -g debug flag.
Thanks to Justin Morey <justin@68k.org> for the patch.  Bug 39187
2000-05-16 09:31:58 +00:00
cls%seawood.org
b97e7de325 Rearranged CFLAGS so that mozilla includes come before system includes. Bug #37210 2000-04-27 01:38:11 +00:00
cls%seawood.org
2f26143893 Fix non-MD and non-native makedepend depend builds. Bug 35186. r=jlnance 2000-04-17 04:57:33 +00:00
cls%seawood.org
adef1ac6f6 Minor changes to incoporate OS/2 into our build system. Bug #34106
We now set MOZ_{JPEG,ZLIB,PNG}_{CFLAGS,LIBS}, XPCOM_LIBS, MOZ_COMPONENT*_LIBS, WIDGET_DLL, GFXWIN_DLL and MOZ_JS_LIBS in configure.
Added os2 specific arguments to configure.
Added os2 target arch section to configure.
Modified a handful of Makefile.ins to use MOZ_JS_LIBS, MOZ_COMPONENT_LIBS, & EXTRA_DSO_LIBS where necessary.
2000-04-05 06:08:04 +00:00
cls%seawood.org
f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
cls%seawood.org
e6bba0ed3c Removed unused WINNT ifdefs from config.mk 2000-04-01 10:07:45 +00:00
cls%seawood.org
e9d2f63938 Fix cross-compiling rules so that we can build both the host & target version of our "internal" build tools.
Added .ho suffix for host objects.
Added rules for HOST_PROGRAM, HOST_LIBRARY & HOST_SIMPLE_PROGRAMS.
When cross-compiling, use the host_ versions of nsinstall, xpidl & xpidl_link and install host targets under $(DIST)/host .
Bug #11890
2000-03-31 07:18:52 +00:00
cls%seawood.org
8ebbd67c39 Common makefile changes for OS/2. Bug #31845 2000-03-31 01:24:48 +00:00
slamm%netscape.com
ed3c62bd16 Remove dist directory on 'clean' target. Otherwise, tinderbox never removes dist and thinks it has a complete binary when it does not. Maybe we should change the tinderbox scripts instead of doing this, but this will get tinderbox turning red now. 2000-03-14 17:55:03 +00:00
cls%seawood.org
c9e36fcf0d Set MKDEPEND_DIR using srcdir instead of CONFIG_TOOLS. 2000-03-14 06:17:27 +00:00
cls%seawood.org
24cc1c1b26 Fix the distclean target so that it removes all of the generated Makefiles not just the traversed ones.
Move the _TOOLS variables to config.mk to fix tinderboxen that run targets before running configure again.
Change CONFIG_TOOLS to use DEPTH instead of topsrcdir.
2000-03-14 06:16:27 +00:00
slamm%netscape.com
35bbd4e502 Add flag to avoid multiple inclusions. Use defines from autoconf.mk.in for tool locations (supports 3rd party builds). Move include of insure.mk from autoconf.mk.in to config.mk 2000-03-14 03:00:38 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
edburns%acm.org
011ef29caa a=slamm
r=slamm
Checkin to fix build bustage.  Move conditional stuff from common.mk to config.mk.
2000-03-09 03:34:54 +00:00
sherry.shen%sun.com
a906bb42b6 Bug #28281, r=leaf, a=leaf,
Add an option for building Java-supplement
and fix the Java building problem about JDIRS.
2000-03-09 02:08:23 +00:00
jim_nance%yahoo.com
d7b4ee7e41 Fix for the Tru64 changes to work with the autoconf scheme we are using.
r=cls
2000-03-07 02:35:43 +00:00
jim_nance%yahoo.com
fd067ebe58 This is xptcall code for Tru64 Unix (Formerly Digital Unix, Formerly OSF/1).
It was written by Steve Streeter <streeter@zk3.dec.com> of Compaq.
r=jlnance a=shaver
2000-03-07 00:15:07 +00:00
cls%seawood.org
192e307283 Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.
2000-03-02 13:29:03 +00:00
slamm%netscape.com
070afa8f25 Avoid forking a process for every directory for every pass of the build for a value that is never used. 2000-03-02 02:11:34 +00:00
cls%seawood.org
4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00