399 Commits

Author SHA1 Message Date
seawood%netscape.com
476e5c21d1 Use detected versions of MAKE & ZIP.
Start searching for tools in win32 builds but disable system makedepend.
Bug #201150 r=bryner


git-svn-id: svn://10.0.0.236/trunk@141085 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-13 05:20:20 +00:00
seawood%netscape.com
9a7aefcbbb Fix parallel build race condition on solaris by searching for idls in the current srcdir before the common idl dir.
Bug #183263 r=bryner,dcran a=asa


git-svn-id: svn://10.0.0.236/trunk@140462 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-31 20:55:54 +00:00
mkaply%us.ibm.com
e74c702054 #188249
r=cls
OS/2 GCC build changes


git-svn-id: svn://10.0.0.236/trunk@140142 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 14:07:08 +00:00
seawood%netscape.com
8a2667e33b Only export all symbols & create import library for non-component libs in mingw build
git-svn-id: svn://10.0.0.236/trunk@139698 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 22:04:00 +00:00
seawood%netscape.com
45b8a40d7d Enforce MODULE_NAME requirement for static builds.
git-svn-id: svn://10.0.0.236/trunk@139539 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 22:56:35 +00:00
cls%seawood.org
5b12e9e45d 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


git-svn-id: svn://10.0.0.236/trunk@139138 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 05:18:43 +00:00
seawood%netscape.com
38c98e521a If building for a x11-based toolkit, force the chrome to use the "unix" keybindings.
Bug #191447 r=bryner


git-svn-id: svn://10.0.0.236/trunk@138841 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 03:56:03 +00:00
tor%cs.brown.edu
c4dd047dc5 Backout of 193442/191415. a=brade,dougt
git-svn-id: svn://10.0.0.236/trunk@138808 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 21:00:07 +00:00
seawood%netscape.com
e9d81b2a8f Fixing beos bustage caused by bug 193442
Bug #195563 r=bewildered


git-svn-id: svn://10.0.0.236/trunk@138764 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-02 00:56:04 +00:00
seawood%netscape.com
5257d13e8d Dropping build infrastructure for supporting building with mulitple toolkits.
Bug #191528 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@138729 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 22:02:21 +00:00
dougt%netscape.com
555ccf142c Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin.
git-svn-id: svn://10.0.0.236/trunk@138725 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:30:35 +00:00
bryner%netscape.com
5508d48f8d For limiting exported symbols on OS X, use -exported_symbols_list instead of nmedit, if it's available. Also, don't run nmedit for debug builds. Bug 195186, r=cls.
git-svn-id: svn://10.0.0.236/trunk@138633 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 22:32:05 +00:00
seawood%netscape.com
c31c18955f Make NO_DIST_INSTALL really not touch $(DIST)/.
Bug #190581 r=bryner


git-svn-id: svn://10.0.0.236/trunk@138589 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 02:53:46 +00:00
seawood%netscape.com
76ba3b9aa1 Skip the merge of .xpts into single module.xpt if there's only one .xpt and it has the same basename as the module.
Thanks to Nathan Kurz <nate@verse.com> for the patch.
Bug #190583 r=dbradley


git-svn-id: svn://10.0.0.236/trunk@138158 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 07:40:51 +00:00
seawood%netscape.com
9659950a81 Use -Bsymbolic when linking components on FreeBSD.
Thanks to Joe Marcus Clarke <marcus@freebsd.org> for the patch.
Bug #190844 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@137133 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 07:41:27 +00:00
seawood%netscape.com
9aead217bc 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


git-svn-id: svn://10.0.0.236/trunk@137115 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 02:53:28 +00:00
mkaply%us.ibm.com
5905e2dfc6 #135795
r=cls
Turn on mkdepend for OS/2


git-svn-id: svn://10.0.0.236/trunk@136374 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 21:36:53 +00:00
seawood%netscape.com
8306892127 Anything that depends upon Makefile.in should also depend upon Makefile.
Bug #169304 r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@136111 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 01:14:49 +00:00
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