381 Commits

Author SHA1 Message Date
bryner%netscape.com
e7a6c171fe Second try for bug 187732. Post-process component libraries on OS X using nmedit to control which symbols are exported. r=cls.
git-svn-id: svn://10.0.0.236/trunk@135875 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 07:13:49 +00:00
seawood%netscape.com
8cfe0f9353 Backing out previous changes. $(call...) is only supported by gmake >= 3.78.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@135833 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:56:56 +00:00
seawood%netscape.com
0a7c7a98f9 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose


git-svn-id: svn://10.0.0.236/trunk@135809 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 08:58:59 +00:00
seawood%netscape.com
63072a3b2b Fix OS/2 bustage by exporting component import libs again.
git-svn-id: svn://10.0.0.236/trunk@135674 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 21:19:26 +00:00
seawood%netscape.com
cbef774bac Oops. We still need to install component libs into dist/lib/components.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@135664 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 03:30:04 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
seawood%netscape.com
25cc1097dc Not all versions of cygpath support the convenient -m function. Too bad.
Fixing tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@135221 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 03:38:39 +00:00
seawood%netscape.com
afb973633f Add SRCS_IN_OBJDIR variable to workaround requirement introduced by bug 141834 that srcfiles must be in the srcdir.
Bug #171753 r=bryner


git-svn-id: svn://10.0.0.236/trunk@135219 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 02:36:06 +00:00
colin%theblakes.com
8b09137c55 OpenVMS build changes. b=180290. r=cls
git-svn-id: svn://10.0.0.236/trunk@135144 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 00:08:59 +00:00
seawood%netscape.com
ce08953322 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


git-svn-id: svn://10.0.0.236/trunk@134050 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 22:35:22 +00:00
seawood%netscape.com
4bb4a830f1 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


git-svn-id: svn://10.0.0.236/trunk@133891 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 07:24:44 +00:00
seawood%netscape.com
f9a791c234 Disable dependency generation on OS/2 until bug 135795 is fixed.
git-svn-id: svn://10.0.0.236/trunk@133888 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 05:42:39 +00:00
seawood%netscape.com
664815b624 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


git-svn-id: svn://10.0.0.236/trunk@133884 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 03:41:17 +00:00
mkaply%us.ibm.com
ed799f6f10 #179508
r=cls, sr=alecf
Get OS/2 static build working again


git-svn-id: svn://10.0.0.236/trunk@133839 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 19:38:21 +00:00
seawood%netscape.com
6163c33b1c Drop unneeded java build rules & variables since blackwood now builds using ant.
Bug #161617 r=edburns sr=beard


git-svn-id: svn://10.0.0.236/trunk@133837 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 19:36:28 +00:00
bryner%netscape.com
9f719b9d40 Fixing busted win32 nightly builds (bug 179435). r=cls.
git-svn-id: svn://10.0.0.236/trunk@133558 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-11 04:04:49 +00:00
seawood%netscape.com
89dca9bae5 Build changes to enhance --enable-standalone-modules builds using REQUIRES-based metadata.
Bug #173066 r=mcafee a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132511 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 05:59:52 +00:00
seawood%netscape.com
83d0a241eb 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


git-svn-id: svn://10.0.0.236/trunk@131782 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 05:18:39 +00:00
bryner%netscape.com
c365cdbe32 Adding a preprocessor to be used for XUL files (bug 170737). This only affects phoenix builds. r=cls, a=asa
git-svn-id: svn://10.0.0.236/trunk@131662 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 03:11:27 +00:00
blythe%netscape.com
e9bc156ad6 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.


git-svn-id: svn://10.0.0.236/trunk@131315 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 19:09:05 +00:00
jdunn%netscape.com
e404f5593f only export __shlInit for HP if we aren't on ia64 (which doesn't have the symbol)
r=cls@seawood.org
# 171952


git-svn-id: svn://10.0.0.236/trunk@130992 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-02 10:10:06 +00:00
seawood%netscape.com
971b3d65f5 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


git-svn-id: svn://10.0.0.236/trunk@130135 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 08:57:51 +00:00
seawood%netscape.com
056a81900d 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


git-svn-id: svn://10.0.0.236/trunk@128609 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-31 04:03:52 +00:00
seawood%netscape.com
3da59b3ddc Re-adding chrome target
git-svn-id: svn://10.0.0.236/trunk@127076 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 14:36:53 +00:00
seawood%netscape.com
b8c84d1c29 Disable parallel builds on win32 if MOZ_COVERAGE is set as it writes to .pdb files with each compile
git-svn-id: svn://10.0.0.236/trunk@126995 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 14:04:58 +00:00
bryner%netscape.com
ae3ab7d37a 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.
git-svn-id: svn://10.0.0.236/trunk@125679 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-24 05:43:53 +00:00
seawood%netscape.com
8acdd77a02 Remove intermediate SIMPLE_PROGRAMS object files during a clean.
git-svn-id: svn://10.0.0.236/trunk@124383 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 02:34:57 +00:00
dbaron%fas.harvard.edu
617f00d148 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
git-svn-id: svn://10.0.0.236/trunk@124069 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:09:32 +00:00
seawood%netscape.com
7178b77e33 Use the proper file paths when generating dependencies on win32.
Fallout from bug #141834.


git-svn-id: svn://10.0.0.236/trunk@123770 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 05:06:47 +00:00
seawood%netscape.com
77e5bb115a 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


git-svn-id: svn://10.0.0.236/trunk@123439 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 17:07:17 +00:00
seawood%netscape.com
fa69852bc1 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


git-svn-id: svn://10.0.0.236/trunk@123214 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 09:07:40 +00:00
mcafee%netscape.com
f2e7fa038e Adding export-idl rule for REQUIRES-based embed build (150088). r=blythe, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@123089 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 22:26:27 +00:00
seawood%netscape.com
7e4c3987ab 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


git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +00:00
seawood%netscape.com
26389cf685 Add make -j support to win32 gmake builds.
Bug #132848 r=bryner


git-svn-id: svn://10.0.0.236/trunk@119345 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:42:28 +00:00
seawood%netscape.com
3345de0c6d Add Makefile to $(XPIDL_MODULE).xpt dependency list.
Bug #134250 r=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@117744 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-30 01:32:01 +00:00
leaf%mozilla.org
5fccae8236 checking in for asasaki, bug 23560 to version windows dlls; r=cls, leaf a=asa
git-svn-id: svn://10.0.0.236/trunk@117180 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 15:01:17 +00:00
mkaply%us.ibm.com
fca9f35d2c #132050
r=cls, a=asa
Get rid of OS2_PROGRAM_RESOURCE hack - use RESFILE


git-svn-id: svn://10.0.0.236/trunk@117051 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 13:45:32 +00:00
seawood%netscape.com
8a0c1a0b23 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


git-svn-id: svn://10.0.0.236/trunk@116524 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 05:03:04 +00:00
leaf%mozilla.org
2b80c5ed0b fix PDBFILE definition and use for windows gmake builds, sr=cls, a=drivers
git-svn-id: svn://10.0.0.236/trunk@115946 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:50:34 +00:00
seawood%netscape.com
9851bfde7a Use MOZILLA_DIR instead of topsrcdir so that --enable-xterm-updates works in the comm builds.
Bugscape #12347 r=bryner sr=darin


git-svn-id: svn://10.0.0.236/trunk@115941 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:04:02 +00:00
seawood%netscape.com
db28d958d0 Use SDK_XPIDLSRCS to generate .xpt too.
Should fix tinderbox orange & crash on startup.
Bug #127093 r=dougt


git-svn-id: svn://10.0.0.236/trunk@115346 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-26 02:10:10 +00:00
dougt%netscape.com
ffacd7bc78 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
git-svn-id: svn://10.0.0.236/trunk@115326 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 23:20:01 +00:00
locka%iol.ie
1359074487 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
git-svn-id: svn://10.0.0.236/trunk@115222 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:11:24 +00:00
leaf%mozilla.org
68f39806b3 fix for infinitely looping windows gmake depend builds, code from cls, r=leaf, a=roc
git-svn-id: svn://10.0.0.236/trunk@115124 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 00:15:10 +00:00
seawood%netscape.com
e4d434e2ba 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


git-svn-id: svn://10.0.0.236/trunk@114916 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 10:01:05 +00:00
seawood%netscape.com
4efd2f9438 cat $(MDDEPEND_FILES) since < only redirects the first file. Use <STDIN> instead of <> to clear up potential ambigiousness. r=bryner
git-svn-id: svn://10.0.0.236/trunk@114732 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 11:20:51 +00:00
bryner%netscape.com
ac7e6017f4 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
git-svn-id: svn://10.0.0.236/trunk@114686 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 11:21:57 +00:00
seawood%netscape.com
d6041abff8 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


git-svn-id: svn://10.0.0.236/trunk@114478 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 04:32:11 +00:00
seawood%netscape.com
6e46c8276f Use LDFLAGS when linking SIMPLE_PROGRAMS on win32
Bug #123065


git-svn-id: svn://10.0.0.236/trunk@113589 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 05:53:51 +00:00
seawood%netscape.com
ef829e43db Set MAPFILE in config.mk instead of rules.mk
git-svn-id: svn://10.0.0.236/trunk@113588 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-04 05:49:14 +00:00