Граф коммитов

399 Коммитов

Автор SHA1 Сообщение Дата
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
mkaply%us.ibm.com d135a87574 #88742
r=cls
Enable ASM_SUFFIX in the build
2001-07-02 03:49:50 +00:00
cls%seawood.org 66d937045b Landing static build changes for OS2
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #85283 r=mkaply r=waterson
2001-07-01 12:11:13 +00:00
mkaply%us.ibm.com a1785baacf #86711
r=cls
gmake clean deletes dom/public/idl/core directory on OS/2
2001-06-26 21:21:10 +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 7657bb0805 Set DEF_FILE & IMPORT_LIBRARY to NULL when setting SHARED_LIBRARY to NULL. Should fix OS/2 tinderbox bustage. 2001-06-19 00:08:53 +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
cls%seawood.org f3de1c990d Only remove specific .map files on OS/2
Bug #84981 r=jag a=asa
2001-06-16 23:47:49 +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 a29b5875ab Add MOZILLA_DIR/config to perl's include path so that we can find mozLock.pm when necessary 2001-05-13 00:26:35 +00:00
cls%seawood.org 74757e3db2 Replace chrome:: target with install::. Using chrome:: was causing |make -j3 install| builds to fail to execute the chrome:: target due to a suspected bug in gnu make. (|make MAKE='make -j3' install| works fine.) 2001-05-12 07:08:27 +00:00
cls%seawood.org dbbfa197bf Fix |make clean| for Mac OSX
Bug #75895
2001-05-11 14:48:36 +00:00
mkaply%us.ibm.com f822e94e50 #77245
r=cls
Have OS/2 handle lib names better
2001-05-02 00:23:38 +00:00
cls%seawood.org c70a5e94ea Use MOZILLA_DIR instead of topsrcdir so that the commercial tree does not break (hopefully) 2001-04-28 18:54:44 +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 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
colin%theblakes.com 043d570472 Remove unused OpenVMS-specific lines.
b=76519 r=cls a=blizzard
2001-04-23 10:43:11 +00:00
pinkerton%netscape.com 4391523691 OS_ARCH is no longer 'Rhapsody' on OSX, it's now 'Darwin'. Fixes problem
where shared libs all would try to link as stand-alone and fail to find _main().
r=beard/sr=blizzard.
2001-04-05 03:36:56 +00:00
cls%seawood.org 28ae2403ae Make sure that cpp & asm files are rebuilt on Makefile.in changes like .c files. 2001-04-05 02:12:53 +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
cls%seawood.org 6fdb98cd6c Only build chrome jar files by default. Use either --enable-chrome-format (autoconf) or MOZ_CHROME_FILE_FORMAT (win32) to override.
Bug #72390 r=jag
2001-03-24 11:07:15 +00:00
mkaply%us.ibm.com ba0abcd4c2 #71558
r=cls
from achim - Don't export every symbol for XPCOM components - nice build/performance fix
2001-03-12 03:33:50 +00:00
mkaply%us.ibm.com c2627d95da OS/2 TB break
don't filter getcanvas when filtering getc
2001-03-10 17:52:05 +00:00
cls%seawood.org 2da5b9f95c Add support for old NetBSD toolchains & use -Bsymbolic when linking components.
Thanks to Charles Hannum <mycroft@netbsd.org> for the patch.
Bug #61750 r=cls
2001-03-09 07:55:29 +00:00
mkaply%us.ibm.com 01551e02b6 #65880
r=cls
Enable OBJDIR builds for OS/2
2001-01-27 15:36:41 +00:00
axel%pike.org 99b664568f bug 57282, fixing easy modules like transformiix, r=cls (build stuff) 2001-01-11 11:02:10 +00:00
cls%seawood.org 28540ae9ed Need to cat huge list of makefiles directly to xargs instead of using variables.
Bug #37095 r=jdunn@netscape.com
2000-12-12 21:28:24 +00:00
cls%seawood.org 09f5e7ee11 Update the standalone build system to handle our extensive intermodule header dependencies without descending into recursive dependency hell.
Bug 57282 r=jag
2000-12-11 06:52:25 +00:00
cls%seawood.org 4b038c737a Adding check for xargs. It is used in some non-default build rules and we need it to properly clean up after our Makefile creation when using some shells.
Bug 37095 r=mkaply@us.ibm.com r=jdunn@netscape.com
2000-12-06 03:25:17 +00:00
mkaply%us.ibm.com e9180f2e87 #61943
r=cls
Add resource compiling for OS/2 - EMX, cleanup BeOS
2000-12-05 03:49:03 +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 fd5aeb8ea1 Do not add static libs to linker command if we are manually extracting the individual object files from the archive. Bug #59021 2000-11-15 03:37:45 +00:00
cls%seawood.org e6b712c403 Added LOOP_OVER_MOZ_DIRS macro which does not descend into directories with static makefiles 2000-11-10 00:55:44 +00:00
cls%seawood.org 6054c6ef1c Use MOZILLA_DIR instead of $(topsrcdir)/../mozilla to remove netscapism. Bug #54210 2000-10-27 08:47:51 +00:00
cls%seawood.org 2f81d1f71c OOOPS! Make sure that we touch the .done even if the directory already exists. This will fix the constant rebuild problem 2000-10-25 23:06:55 +00:00
cls%seawood.org 046f731036 Add an explicit dependency to avoid parallel build race problem. Bug #31364. r=axel@pike.org 2000-10-24 21:10:31 +00:00