Commit Graph

435 Commits

Author SHA1 Message Date
seawood%netscape.com
158084c339 Use -Bsymbolic when linking components on FreeBSD.
Thanks to Joe Marcus Clarke <marcus@freebsd.org> for the patch.
Bug #190844 r=cls a=asa
2003-01-30 07:41:27 +00:00
seawood%netscape.com
6936414385 Change import library creation to get 25% speedup on startup on OS/2.
Also, decrease the size of dlls & exes by adding /OPTFUNC linker option.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #190536 r=mkaply,cls a=asa
2003-01-30 02:53:28 +00:00
mkaply%us.ibm.com
96b8e2fdb1 #135795
r=cls
Turn on mkdepend for OS/2
2003-01-15 21:36:53 +00:00
seawood%netscape.com
afe6ed66d5 Anything that depends upon Makefile.in should also depend upon Makefile.
Bug #169304 r=bryner sr=alecf
2003-01-10 01:14:49 +00:00
bryner%netscape.com
71b5ac7d73 Second try for bug 187732. Post-process component libraries on OS X using nmedit to control which symbols are exported. r=cls. 2003-01-06 07:13:49 +00:00
seawood%netscape.com
b1a4703859 Backing out previous changes. $(call...) is only supported by gmake >= 3.78.
Fixing tinderbox bustage.
2003-01-03 19:56:56 +00:00
seawood%netscape.com
16e7da2837 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
seawood%netscape.com
5290941d85 Fix OS/2 bustage by exporting component import libs again. 2002-12-28 21:19:26 +00:00
seawood%netscape.com
5ba4347cde Oops. We still need to install component libs into dist/lib/components.
Fixing tinderbox bustage.
2002-12-28 03:30:04 +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
seawood%netscape.com
c266e53388 Not all versions of cygpath support the convenient -m function. Too bad.
Fixing tinderbox bustage.
2002-12-13 03:38:39 +00:00
seawood%netscape.com
58004c4a48 Add SRCS_IN_OBJDIR variable to workaround requirement introduced by bug 141834 that srcfiles must be in the srcdir.
Bug #171753 r=bryner
2002-12-13 02:36:06 +00:00
colin%theblakes.com
0824e190c0 OpenVMS build changes. b=180290. r=cls 2002-12-12 00:08:59 +00:00
seawood%netscape.com
e1d4567b39 Setting OBJS (from CSRCS/CPPSRCS) is not required when using SIMPLE_PROGRAMS so we need to check for SIMPLE_PROGRAMS as well to generate dependency subdirs.
Fixing mach-o nightly build bustage. r=bryner
2002-11-18 22:35:22 +00:00
seawood%netscape.com
920fe572b1 Forte doesn't allow suffixes other than .o so change the naming scheme of host-compiled object files from .ho to host_%.o . Adds the unenforced rule that source files should not start with host_.
Bug #179895 Fixing tinderbox bustage
2002-11-15 07:24:44 +00:00
seawood%netscape.com
ef829194c8 Disable dependency generation on OS/2 until bug 135795 is fixed. 2002-11-15 05:42:39 +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
mkaply%us.ibm.com
990cc645b1 #179508
r=cls, sr=alecf
Get OS/2 static build working again
2002-11-14 19:38:21 +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
bryner%netscape.com
913dcd68e8 Fixing busted win32 nightly builds (bug 179435). r=cls. 2002-11-11 04:04:49 +00:00
seawood%netscape.com
9e2c736289 Build changes to enhance --enable-standalone-modules builds using REQUIRES-based metadata.
Bug #173066 r=mcafee a=dbaron
2002-10-25 05:59:52 +00:00
seawood%netscape.com
023ed8fea7 Use -B symbolic when linking component libraries on OSF/1.
Thanks to Shanmugavelu Shanmuganathan <shanmu@netscape.com> for the patch.
Bug #173358 r=cls a=asa
2002-10-11 05:18:39 +00:00
bryner%netscape.com
18ab40895c Adding a preprocessor to be used for XUL files (bug 170737). This only affects phoenix builds. r=cls, a=asa 2002-10-10 03:11:27 +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
jdunn%netscape.com
d8ec69fd5b only export __shlInit for HP if we aren't on ia64 (which doesn't have the symbol)
r=cls@seawood.org
# 171952
2002-10-02 10:10:06 +00:00
seawood%netscape.com
071a50d589 Link against BIN_FLAGS when building SIMPLE_PROGRAMS.
Remove extraneous $@ from HOST_LIBRARY ruleset.
Thanks to Stuart Parmenter <pavlov@netscape.com> for the patch.
Bug #158720 r=cls
2002-09-20 08:57:51 +00:00
seawood%netscape.com
c1500b0c70 Remove broken --enable-java-supplement option.
Make --enable-auto-deps work.
Remove unused OBJ_PREFIX variable
Add entries to .SUFFIXES to speed up pattern matches.
Bug #161461 r=bryner
2002-08-31 04:03:52 +00:00
seawood%netscape.com
d98b057414 Re-adding chrome target 2002-08-12 14:36:53 +00:00
seawood%netscape.com
a49eb7b159 Disable parallel builds on win32 if MOZ_COVERAGE is set as it writes to .pdb files with each compile 2002-08-10 14:04:58 +00:00
bryner%netscape.com
fff1357047 Changes to allow Mozilla to build with new gcc3 developer tools on OS X (bug 153525). Patch by dbaron, r=cls, sr=bryner, a=asa. 2002-07-24 05:43:53 +00:00
seawood%netscape.com
c0054a7dfa Remove intermediate SIMPLE_PROGRAMS object files during a clean. 2002-07-01 02:34:57 +00:00
dbaron%fas.harvard.edu
a44ddf4882 Build changes to build mach-o on gcc3: use -install_name option only when linking using -dynamiclib option, since with gcc3 it causes an error when used with -bundle or -execute. r=bryner sr=beard b=153525 2002-06-26 03:09:32 +00:00
seawood%netscape.com
28297fece1 Use the proper file paths when generating dependencies on win32.
Fallout from bug #141834.
2002-06-21 05:06:47 +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
seawood%netscape.com
6e097851cb Make sure that all of the headers are installed during a 'make install'.
Thanks to Chris Blizzard <blizzard@mozilla.org> for the patch.
Bug #149483 r=cls
2002-06-13 09:07:40 +00:00
mcafee%netscape.com
945e691fda Adding export-idl rule for REQUIRES-based embed build (150088). r=blythe, sr=alecf, a=asa 2002-06-11 22:26:27 +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
seawood%netscape.com
8e914bd1f9 Add Makefile to $(XPIDL_MODULE).xpt dependency list.
Bug #134250 r=bryner a=asa
2002-03-30 01:32:01 +00:00
leaf%mozilla.org
47d9c4055c checking in for asasaki, bug 23560 to version windows dlls; r=cls, leaf a=asa 2002-03-22 15:01:17 +00:00
mkaply%us.ibm.com
584ef8f015 #132050
r=cls, a=asa
Get rid of OS2_PROGRAM_RESOURCE hack - use RESFILE
2002-03-21 13:45:32 +00:00
seawood%netscape.com
b2070d23cd Autoregister chrome contents.rdf entries (like we do on the Mac) except when NO_JAR_AUTO_REG is set in the makefiles. Add add-chrome.pl code to make-jars.pl.
Bug #129456 r=bryner a=asa
2002-03-14 05:03:04 +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
3f6c384ade Use MOZILLA_DIR instead of topsrcdir so that --enable-xterm-updates works in the comm builds.
Bugscape #12347 r=bryner sr=darin
2002-03-06 09:04:02 +00:00
seawood%netscape.com
13d2df732d Use SDK_XPIDLSRCS to generate .xpt too.
Should fix tinderbox orange & crash on startup.
Bug #127093 r=dougt
2002-02-26 02:10: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
locka%iol.ie
ab694dd0cf Add "documentation" rule to rules.mk. This generates HTML documentation from h/idl files using doxygen. b=112214 r=seawood@netscape.com sr=rpotts@netscape.com a=dbaron@fas.harvard.edu 2002-02-22 11:11:24 +00:00
leaf%mozilla.org
d3bd643b18 fix for infinitely looping windows gmake depend builds, code from cls, r=leaf, a=roc 2002-02-21 00:15:10 +00:00
seawood%netscape.com
f5b16586fb Move build logic for static builds into separate .mk so that it doesn't have to be duplicated across Makefiles. Use slightly more generic name for _getModuleInfo function so that it can be used for multiple binaries.
Bug #88038 r=bryner
2002-02-19 10:01:05 +00:00
seawood%netscape.com
2803c78e79 cat $(MDDEPEND_FILES) since < only redirects the first file. Use <STDIN> instead of <> to clear up potential ambigiousness. r=bryner 2002-02-17 11:20:51 +00:00
bryner%netscape.com
721e75b97e Attempting to fix some depend build issues on win32 by passing the list of files via stdin instead of on the command line. r=cls 2002-02-16 11:21:57 +00:00
seawood%netscape.com
dbf5b6d49a Use -Wl,-Bsymbolic when linking components on Linux to avoid problems when linking against external libraries with the same global symbols.
Bug #76710 r=namachi
2002-02-14 04:32:11 +00:00
seawood%netscape.com
878ddb8375 Use LDFLAGS when linking SIMPLE_PROGRAMS on win32
Bug #123065
2002-02-04 05:53:51 +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
48f58d710a Add $(BIN_SUFFIX) to mkdepend defines 2002-02-03 00:41:00 +00:00
seawood%netscape.com
7868030e5e Fix typo in .cc rule 2002-01-25 11:43:09 +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
e56e20b1dc Use dynamic library & xpidl_module names from nmake build for win32 gmake builds for compatibility.
bug #58981 sr=jag
2002-01-16 05:10:09 +00:00
seawood%netscape.com
b0114ce77b Remove clearing of MAKE_DIRS so that we can set MAKE_DIRS before including rules.mk 2002-01-12 06:58:53 +00:00
seawood%netscape.com
61aed7e6fd Add bogus file to fix bogus rm error messages 2002-01-08 09:29:10 +00:00
seawood%netscape.com
128ac41103 nsRect's win32 signature requires libraries need to link against libgkgfx for debug builds.
Added support for processing .rc to win32 gmake build.
Bug #58981
2002-01-01 00:03:57 +00:00
seawood%netscape.com
0fab07933d NO_DIST_INSTALL - If set, build targets will not be installed to DIST by default.
Bug #84539 r=mcafee
2001-12-31 09:04:25 +00:00
bnesse%netscape.com
bf6619e295 Fix for bug 89137. Remove autoconfig from preferences library. Patch by mitesh, r=bnesse/dmose. sr = alecf. 2001-12-21 22:29:31 +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
5201cf5116 Restore OS/2's special setting of SHARED_LIBRARY until I can figure out what's going on with that build.
Bug #58981
2001-12-09 09:08:47 +00:00
seawood%netscape.com
894e79066b Turns out that we do have some .exp & .map files checked into the tree so replace the wildcards with more explicit rules.
Bug #58981
2001-12-09 08:56:06 +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
seawood%netscape.com
a598e0453c Since jobserver feature of gmake causes dependency targets to be processed in parallel, we need to invoke $(MAKE) for each of the phases that we want to build from a meta target (like all:: & alldep::). 2001-11-30 22:53:10 +00:00
seawood%netscape.com
55fe97bff7 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
colin%theblakes.com
b903e07dcf Make OpenVMS use MKSHLIB_[UN]FORCE_ALL. Remove other cruft that is now
no longer needed. b=108862 r=cls a/driver=asa
2001-11-09 03:06:36 +00:00
jdunn%netscape.com
9ad5c6d444 setting up AIX to only export NSGetModule from all components
These are if'd AIX only!
r=cls@seawood.org
a=blizzard@mozilla.org
# 108864
2001-11-08 12:15:48 +00:00
seawood%netscape.com
a07d06f6f7 Allow multiple toolkits to be installed in a build by marking the non-default toolkits as "inactive" and placing them in a separate components dir.
Bug #91829 r=jag
2001-11-06 09:45:23 +00:00
jdunn%netscape.com
780f5470fb HP-UX only
Only export NSGetModule for components.  This is
similar to what OS/2 & Linux are doing
r=cls@seawood.org
# 105324
2001-11-02 14:24:34 +00:00
seawood%netscape.com
d95bf17f1e Adding support for obj-c++ (.mm) files.
Thanks to Mike Pinkerton <pinkerton@netscape.com> for the patch.
Bug #107633 r=cls, sr=leaf
2001-10-31 01:20:39 +00:00
seawood%netscape.com
9b5ae05e33 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
seawood%netscape.com
dbe8fb804b Add MOZ_POST_*_COMMAND back in hopes of fixing hpux orangeness. 2001-10-26 12:39:30 +00:00
seawood%netscape.com
0386eaf366 Massive reorganization of configure options into logical groups.
The following options were renamed:

--with-jpeg                --with-system-jpeg
--with-zlib                --with-system-zlib
--with-png                 --with-system-png
--with-mng                 --with-system-mng
--enable-toolkit           --enable-default-toolkit
--with-gtk                 --enable-toolkit-gtk
--with-xlib                --enable-toolkit-xlib
--with-qt                  --enable-toolkit-qt
--enable-gle               --enable-gle-support
--with-extensions          --enable-extensions
--enable-modules           --enable-standalone-modules
--enable-lea               --enable-xpcom-lea
--enable-ultrasparc        --enable-js-ultrasparc
--enable-strip-libs        --enable-strip
--with-debug-modules       --enable-debug-modules
--with-dbgrinfo-modules    --enable-debugger-info-modules
--with-profile-modules     --enable-profile-modules
--enable-eazel-profiler    --enable-eazel-profiler-support
--enable-homedir           --with-user-appdir
--enable-static-components --enable-meta-component-modules

The following options were removed:
--enable-monolithic-toolkit
--disable-jar-packaging

zip is now required to build since NSS unconditionally requires it.

Bug #61907
2001-10-26 08:36:28 +00:00
waterson%netscape.com
6bc89899ef Need a tab, not a space. 2001-10-23 03:12:28 +00:00
gerv%gerv.net
d72b68fbd4 Bug 101431 - making chromelist.txt happen again. Enable it on Unix, and add it to the relevant packaging manifests. r=cls. 2001-10-23 02:40:24 +00:00
seawood%netscape.com
d3f5fcc2d9 perldoc.com lied to me. File::Spec isn't in 5.004 so we need to up the minimum requirement or change the script to not use it. Disabling the script again.
Bug 101431
2001-10-18 07:58:01 +00:00
seawood%netscape.com
0929d068e2 Re-enabling chromelist generation now that bad perl installation on tinderbox has been fixed.
Bug #101431
2001-10-18 06:47:36 +00:00
seawood%netscape.com
bfc66a647e Partial backout of Gerv's checkin until we can work out the perl dependency. 2001-10-17 09:34:47 +00:00
gerv%gerv.net
e419722460 Bug 101431 - create chromelist.txt for use with Patch Maker. r=cls, leaf. 2001-10-17 05:27:42 +00:00
seawood%netscape.com
ef9d13eec9 Backing out previous change as it's screwing up --disable-auto-deps builds.
Bug #105005
2001-10-17 00:14:25 +00:00
alecf%netscape.com
ab573e773e add some rules for module-graph.pl r=cls 2001-10-16 20:52:33 +00:00
seawood%netscape.com
0c88dc8647 Fix problem with .deps not being created when building mkdepend 2001-10-16 18:34:26 +00:00
seawood%netscape.com
6bf6ccfd38 Generate the dep file based upon the output filename, not the srcfile name 2001-10-16 09:26:31 +00:00
seawood%netscape.com
d8be747748 Add $(INCLUDES) to $(host) rules to fix cross-compiling bustage.
Bug #59454
2001-10-08 20:36:44 +00:00
seawood%netscape.com
1cacc34e68 Add OBJ_PREFIX support to build system.
Bugscape 9498 r=bryner sr=syd
2001-09-29 04:30:14 +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
35501e94b6 Allow Makefiles to override OBJ_SUFFIX if necessary.
Bug #100851 r=jag
2001-09-22 00:20:31 +00:00
cls%seawood.org
bf461195e5 Create active header list for each module during the export phase.
At the end of the export loop, remove the outdated files.
Requires setting MOZ_TRACK_MODULE_DEPS to activate
Bug #59454 r=bryner sr=alecf
2001-09-12 06:42:26 +00:00
cls%seawood.org
e2f9800de3 Use mozLock instead of flock() when building lists. 2001-08-17 12:06:03 +00:00
cls%seawood.org
2dc4c4c43d Add -Wa,-xgot to C{XX}FLAGS when building layout on Linux/mips{sel}
Bug #93711 r=bryner
2001-08-16 05:18:04 +00:00
mkaply%us.ibm.com
10fe40f584 #86730
r=cls
OS/2 only - rules.mk changes were missed when checking this in
2001-08-10 17:44:05 +00:00
cls%seawood.org
9eaaa2da75 When not auto-generating deps, make sure that we can manual generate prefs for .s files 2001-08-08 04:27:32 +00:00
bryner%netscape.com
5ca544cf1d Checking in for cls@seawood.org. Bug 93282 - pipnss not rebuilt when NSS static libraries change. r=bryner. 2001-08-04 23:29:40 +00:00
cls%seawood.org
9c1158aabb Set user-writeable bit when using IFLAGS[12] so that building using NSDISTMODE=copy works 2001-07-24 23:41:43 +00:00