seawood%netscape.com
c9f9eb676d
Enforce MODULE_NAME requirement for static builds.
2003-03-15 22:56:35 +00:00
cls%seawood.org
510cbeb399
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
d1ef25adfb
If building for a x11-based toolkit, force the chrome to use the "unix" keybindings.
...
Bug #191447 r=bryner
2003-03-04 03:56:03 +00:00
tor%cs.brown.edu
7d6a0e3ab4
Backout of 193442/191415. a=brade,dougt
2003-03-03 21:00:07 +00:00
seawood%netscape.com
fb016377a7
Fixing beos bustage caused by bug 193442
...
Bug #195563 r=bewildered
2003-03-02 00:56:04 +00:00
seawood%netscape.com
5c92ed8029
Dropping build infrastructure for supporting building with mulitple toolkits.
...
Bug #191528 r=pavlov
2003-02-28 22:02:21 +00:00
dougt%netscape.com
3cdc06fdfe
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.
2003-02-28 21:30:35 +00:00
bryner%netscape.com
2219499eda
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.
2003-02-27 22:32:05 +00:00
seawood%netscape.com
0f8ec4866b
Make NO_DIST_INSTALL really not touch $(DIST)/.
...
Bug #190581 r=bryner
2003-02-27 02:53:46 +00:00
seawood%netscape.com
57f91e59b5
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
2003-02-22 07:40:51 +00:00
seawood%netscape.com
a5c15e3a20
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
fa4744268e
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
b176686aa7
#135795
...
r=cls
Turn on mkdepend for OS/2
2003-01-15 21:36:53 +00:00
seawood%netscape.com
e96cc515dd
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
0a4d825477
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
b4612d23ba
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
583ec4d823
nobrainer changes while thinking about mingw support
...
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
seawood%netscape.com
1279c39c38
Fix OS/2 bustage by exporting component import libs again.
2002-12-28 21:19:26 +00:00
seawood%netscape.com
c5216a1da4
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
4588fb970a
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
f9d60f816b
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
3228deccf9
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
8a6d411d14
OpenVMS build changes. b=180290. r=cls
2002-12-12 00:08:59 +00:00
seawood%netscape.com
73e545cd76
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
04a0192442
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
0d047d19bd
Disable dependency generation on OS/2 until bug 135795 is fixed.
2002-11-15 05:42:39 +00:00
seawood%netscape.com
ca17a82709
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
797c6df277
#179508
...
r=cls, sr=alecf
Get OS/2 static build working again
2002-11-14 19:38:21 +00:00
seawood%netscape.com
7830b8a6ef
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
b9438b567d
Fixing busted win32 nightly builds (bug 179435). r=cls.
2002-11-11 04:04:49 +00:00
seawood%netscape.com
d9bf48cfae
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
7cfddce93c
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
4bf29a1e9d
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
a30a4eed44
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
9c4fee9bbb
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
364a7ab220
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
986a5a7d34
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
1c69d4d328
Re-adding chrome target
2002-08-12 14:36:53 +00:00
seawood%netscape.com
7405bcb036
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
1655a1a46f
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
9242e1b7ad
Remove intermediate SIMPLE_PROGRAMS object files during a clean.
2002-07-01 02:34:57 +00:00
dbaron%fas.harvard.edu
fbe2a4fc45
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
cbace3d610
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
c61a26b5bb
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
c6f2d93ac7
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
30314aaa69
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
ce9e9903a5
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
d42b1b1fd4
Add make -j support to win32 gmake builds.
...
Bug #132848 r=bryner
2002-04-19 02:42:28 +00:00
seawood%netscape.com
bf26ffab3f
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
12b4bda33c
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
fb6a1ad44e
#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
fd158d0f6f
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
9d1c571859
fix PDBFILE definition and use for windows gmake builds, sr=cls, a=drivers
2002-03-06 09:50:34 +00:00
seawood%netscape.com
fa061ad0ea
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
350b0e30b5
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
de4c2451f4
Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa
2002-02-25 23:20:01 +00:00
locka%iol.ie
9fddf65c7b
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
ea8e15ed01
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
2c68203869
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
53babf38ac
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
a4698776b8
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
3cc0525b2c
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
79fc44e9a0
Use LDFLAGS when linking SIMPLE_PROGRAMS on win32
...
Bug #123065
2002-02-04 05:53:51 +00:00
seawood%netscape.com
986782a915
Set MAPFILE in config.mk instead of rules.mk
2002-02-04 05:49:14 +00:00
seawood%netscape.com
8a796348b5
Add $(BIN_SUFFIX) to mkdepend defines
2002-02-03 00:41:00 +00:00
seawood%netscape.com
e88ee6689c
Fix typo in .cc rule
2002-01-25 11:43:09 +00:00
seawood%netscape.com
6a70bafd9e
Fix "static" build support for win32 gmake builds.
...
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
seawood%netscape.com
fa5df5e54c
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
d8b35ae2c9
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
c257749016
Add bogus file to fix bogus rm error messages
2002-01-08 09:29:10 +00:00
seawood%netscape.com
e5fc3853f2
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
69a43d9819
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
5234452a4b
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
874c54280c
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
3738d752bc
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
00c94eef0d
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
0e62dffc44
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
fa89ac4adf
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
79301281ee
Initial landing of win32 support for autoconf builds.
...
Bug #58981 sr=alecf
2001-12-04 21:17:48 +00:00
seawood%netscape.com
b618fbc00f
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
9850f387af
Renaming 'install' build phase to 'libs'
...
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
colin%theblakes.com
f1ee2be75c
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
3f09b1f5db
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
041f9404af
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
2bb8427c70
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
1745e9929e
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
93a92132d7
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
38fb0483a2
Add MOZ_POST_*_COMMAND back in hopes of fixing hpux orangeness.
2001-10-26 12:39:30 +00:00
seawood%netscape.com
09d11385d5
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
03921de7df
Need a tab, not a space.
2001-10-23 03:12:28 +00:00
gerv%gerv.net
a1f894b8f7
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
10ac225944
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
30b36876cd
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
5f1e2916b3
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
c030e1450f
Bug 101431 - create chromelist.txt for use with Patch Maker. r=cls, leaf.
2001-10-17 05:27:42 +00:00
seawood%netscape.com
6f0626a3b1
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
809e5e8a11
add some rules for module-graph.pl r=cls
2001-10-16 20:52:33 +00:00
seawood%netscape.com
f3490ec7da
Fix problem with .deps not being created when building mkdepend
2001-10-16 18:34:26 +00:00
seawood%netscape.com
c67a9803a7
Generate the dep file based upon the output filename, not the srcfile name
2001-10-16 09:26:31 +00:00
seawood%netscape.com
b7e1cfa6fd
Add $(INCLUDES) to $(host) rules to fix cross-compiling bustage.
...
Bug #59454
2001-10-08 20:36:44 +00:00