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

209 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org a080d5dcc4 Applied Jim Nance's, <jim_nance@yahoo.com>, patch to reduce the size of a build by using a modified version of GNU make's implicit ruleset that incrementally add object files to static library archive and eliminates the need to have the unused object files sitting around. A clobber is required to see the savings.
Bug #15241 . r=sleestack
1999-10-08 05:18:46 +00:00
colin%theblakes.com 8bb365320a Make mkdepend lines shorter (OpenVMS only). r=ramiro 1999-10-04 10:43:28 +00:00
briano%netscape.com 46ae587d76 Fix for someone's typo (bug 15303) when Java is enabled. 1999-10-01 03:02:53 +00:00
ramiro%netscape.com 917fea722c Turn on (for real this time) stripping of uneeded symbols from
components.  Only for linux non debug builds.  Approved by mscott.
1999-09-22 09:54:00 +00:00
neeti%netscape.com 0bed67a824 *** empty log message *** 1999-09-17 23:28:56 +00:00
jdunn%netscape.com 838485909c add support for MOZ_POST_PROGRAM_COMMAND to process $(PROGRAM): in rules.mk
and the binaries in viewer/Makefile.in
1999-09-17 00:53:36 +00:00
ramiro%netscape.com 12a0565ac7 Add a --enable-low-fat option to reduce the .dynsym bloating in components. 1999-09-16 13:43:15 +00:00
cls%seawood.org 12b40fe6c0 Added $(PROGOBJS) to ALL_TRASH 1999-09-15 17:52:38 +00:00
slamm%netscape.com 1bd30b4b77 Remove unused DIRS rule. Only add SUBMAKEFILES rules if SUBMAKEFILES is defined. 1999-09-14 23:09:37 +00:00
colin%theblakes.com fb45d8286b Small change in OpenVMS-specific section 1999-09-13 12:21:26 +00:00
cls%seawood.org a6d096de19 Argh. Our dependencies are screwed so make .o depend upon Makefile.in temporarily 1999-09-12 15:15:52 +00:00
briano%netscape.com d894548247 Rearranged things slightly. Mostly cosmetic. 1999-09-09 09:24:58 +00:00
slamm%netscape.com 8012532337 Add 'makefiles' target to generate all makefiles. Work around Makefile rule deficiency (thanks to Colin Blake <colin@theblakes.com> for the patch). Some versions of make were having trouble finding Makefile.in in the source directory. Simplify the LOOP_OVER_DIRS action. No need to test for directories anymore. It's a requirement. Don't list a directory in DIRS if it doesn't have a Makefile.in or Makefile. 1999-09-03 22:18:30 +00:00
cls%seawood.org 9366808793 Only reset compiler variables for INTERNAL_TOOLS if CROSS_COMPILE is set. 1999-09-03 22:11:18 +00:00
duncan%be.com f96a5f0ec0 A bunch of things to get the BeOS build to work. Mostly
BeOS specific fixes, except for the change to nsinstall.c
that ignores trailing "/." in the function mkdirs (as
creating a "." dir fails under BeOS).
1999-09-03 12:54:05 +00:00
cls%seawood.org 43b987f232 Fixed the use of HOST_NSPR_MDCPUCFG so that the build doesn't break if it is not defined. 1999-09-03 05:03:40 +00:00
cls%seawood.org f2427155a4 Removed redundant program checks.
Added target case for *-mingw*
Don't check for NSPR libs when cross-compiling.  Assume that they exist for now.
Added MDCPUCFG to CFLAGS for INTERNAL_TOOLS builds.
1999-09-02 23:58:00 +00:00
briano%netscape.com 2a7513a732 Minor tweak to make the old dependency mechanism work again on OpenVMS. Thanks to Colin Blake (colin@theblakes.com) for the patch. 1999-09-02 01:14:01 +00:00
cls%seawood.org f1298aa58b Beat me. Whip me. Make me write MFC code. I got way too involved with a discussion about nspr breakage that I caused some myself. Need to set NSPR CFLAGS for xpidl. 1999-09-01 20:39:15 +00:00
cls%seawood.org b9c55873b4 Forgot the INTERNAL_TOOLS rules needed for cross-compiling 1999-09-01 14:43:44 +00:00
cls%seawood.org 76bdb0b5f1 Landed first set of cross-compiling changes
Split AR into AR & AR_FLAGS
Moved AR_LIST, AR_EXTRACT, OBJ_SUFFIX & LIB_SUFFIX definitions into configure.in
Moved DIST definition to autoconf.in.mk.  In the future, it should be set by configure using --prefix
Added DEBUG_AUTOCONF_XCOMPILE ifdef to config.mk
1999-08-29 18:10:23 +00:00
slamm%netscape.com 906df38f00 Run make-makefile with perl found by configure. 1999-08-27 22:57:21 +00:00
slamm%netscape.com 0b8ae92950 Pass depth to make-makefile to save it some work. 1999-08-25 22:09:50 +00:00
slamm%netscape.com bbd2dffe43 Add --enable-incremental-makefiles. Has gmake generate the Makefiles just before it uses them. Eliminates a need for allmakefiles.sh. 1999-08-24 21:45:06 +00:00
cls%seawood.org 0991be09fa Removed all references to obsolete OBJDIR variable.
Removed various sections of config.mk & rules.mk that were only used by OBJDIR or by a non-autoconf build.
1999-08-20 06:52:59 +00:00
ramiro%netscape.com aa333c359d Add Makefile dependencies for $(LIBRARY) and $(SHARED_LIBRARY) so that
libs will get rebuilt if the makefile changes.  Should make depend builds
more reliable.
1999-08-17 14:04:54 +00:00
ramiro%netscape.com f60a19f69e Add Makefile dependencies for PROGRAM and SIMPLE_PROGRAMS, so that program
targets will be rebuilt if the makefile changes.  This should make depend
builds more reliable, especially for tests.
1999-08-17 13:08:51 +00:00
ramiro%netscape.com 0ccaaf01cf Added Qt support to the unix build system. Thanks to Shawn Packwood
<shawnp@colba.net> for the patches.
1999-08-09 14:55:56 +00:00
sspitzer%netscape.com 2a4498fae9 make the CHROME rules play nice with obj-dir. fixes #11260 1999-08-06 22:41:51 +00:00
briano%netscape.com cdda9a33f3 Fix for my mistaken assumption about SUB_LOBJS. 1999-08-03 02:52:24 +00:00
briano%netscape.com 0d87f5ae21 Fix for platforms that don't have --whole-archive, --no-whole-archive equivalents (both). 1999-08-03 02:08:12 +00:00
law%netscape.com 7c2e0f9c4c Adding generic chrome rules 1999-07-27 14:30:34 +00:00
duncan%be.com 5db9b18e74 Complete the link fix, all shared libs are now linked against the app that loads
them, so the timer symbols are resolved.
1999-07-24 12:25:16 +00:00
duncan%be.com a99b9d8cc7 Changes to link properly after the timer shuffle. 1999-07-24 09:23:03 +00:00
briano%netscape.com b77d132498 OpenVMS-specific additions. Thanks to Colin Blake (colin@theblakes.com). 1999-07-22 03:33:24 +00:00
briano%netscape.com 8d5d0e54e0 Replaced one of the dependencies of everything with the proper one. 1999-07-20 02:10:47 +00:00
Jerry.Kirk%Nexwarecorp.com 3952643308 Changed Neutrino test from OS_ARCH to OS_TARGET to support cross compiling 1999-07-19 21:15:26 +00:00
duncan%be.com 867656f29d Changes to get BeOS tinderbox to work.
BeOS only changes authorized by cyeh.
1999-07-11 09:51:51 +00:00
briano%netscape.com c73371ee60 Eliminate the use of SRCDIR and NSBUILDROOT. Approved by cyeh@netscape.com. 1999-07-07 22:03:45 +00:00
ramiro%netscape.com 9200ddaebb Checkin another chunk of Alex Larsson's non-exported symbol reduction
patch.  All changes protected by  MOZ_STRIP_NOT_EXPORTED.
These particular changes set the NS_EXPORT declarations as needed by
the linker.
1999-07-07 09:02:21 +00:00
duncan%be.com 56edc5529d Minor tweak to BeOS specific rule to get Mozilla to build under BeOS. 1999-07-01 21:04:07 +00:00
briano%netscape.com 6cb3530fef SunOS4 also adds __.SYMDEF to .a files. 1999-07-01 01:59:09 +00:00
ramiro%netscape.com 328ecc16a7 Add configure support for setting and using MOZ_STRIP_NOT_EXPORTED.
Courtesy of Alex Larsson.
1999-06-29 22:29:14 +00:00
mcafee%netscape.com c2f0aa14c4 Rules for BeOS build. Thanks to Duncan Wilcox (duncan@be.com) for this patch. 1999-06-26 08:16:01 +00:00
andreas.otte%primus-online.de 941da1e6dc changes to allow hack in necko makefiles so that header names don�t collide. Keeping up with config.mak and rules.mak 1999-06-23 20:38:09 +00:00
briano%netscape.com eefb06ac9a Added OpenBSD to the list of platforms that need to filter out the __.SYMDEF file when building a composite library. 1999-06-22 03:45:02 +00:00
mccabe%netscape.com bdb93310ef Fix to my fix to my fix. Use ifneq ($(XPIDLSRCS),), as used elsewhere, rather than ifdef XPIDLSRCS.
Many thanks to Chris Seawood <cls@seawood.org> both for identifying the original problem with the make rules that was causing spurious .h rebuilds, and for pointing out fixes for both of my previous attempts at getting this right.
1999-06-20 09:46:36 +00:00
mccabe%netscape.com 39dc776760 Fix earlier fixes to avoid spurious idl->.h file regeneration.
The way I did it previously breaks with parallel (-j) builds; this seems to fix it.
1999-06-20 08:59:31 +00:00
mccabe%netscape.com 8cf2b3cde6 Fix idl->.h and idl->.xpt rules to not depend on $(XPIDL_GEN_DIR) because (on linux at least) _any_ addition to that directory resets the timestamp, causing all .h files to rebuild.
One such .h file is nsISupports.h, which we'd prefer _not_ to rebuild.

Instead, added a test for $(XPIDL_GEN_DIR) in the .h and .xpt rules.
1999-06-20 00:02:37 +00:00
mcafee%netscape.com d4337f236d Fixing alltags rule. patch from Jim Nance. 1999-06-11 20:21:48 +00:00
ramiro%netscape.com 85d9b6618d Fix something that was very with the last checkin. Dont strip .a files
dumbass.  Approved by the Bastard Operator From Hell.
1999-06-10 16:27:39 +00:00
ramiro%netscape.com 510d14db73 Add a configure flag --enable-strip-libs to make it easy to force the
libraries to strip.
1999-06-10 15:18:02 +00:00
mcafee%netscape.com 52c2df5dea Adding TAG_PROGRAM abstraction, thanks to Jim Nance for this fix. 1999-06-09 20:58:33 +00:00
briano%netscape.com 46906c84fa Looks like FreeBSD needs to exclude __.SYMDEF as well. 1999-06-09 00:26:27 +00:00
warren%netscape.com 10aefdfd9a Updated emacs TAGS rules for idl. 1999-06-08 07:43:32 +00:00
briano%netscape.com 5f9e14806d Fix for NetBSD. Eliminates spurious __.SYMDEF files when building composite static libs. 1999-06-08 01:42:51 +00:00
mccabe%netscape.com 115e67b1f3 Fix xpidl-generated header and .xpt dependency on outdated IDL_COMPLE to the brandfangled new XPIDL_COMPILE symbol. Looks like I missed it when I made the change...
Thanks to Jeremy Lea <reg@shale.csir.co.za> for catching this.
1999-06-06 04:47:42 +00:00
briano%netscape.com eb01edf91d distclean is now a distinct target that does everything that realclean does and more. 1999-06-03 22:23:06 +00:00
briano%netscape.com f2d16969b6 Had to add another 'else true' to an if block for QNX. 1999-06-03 20:28:34 +00:00
briano%netscape.com 77540c0990 Added distclean target (same as realclean and clobber_all). It will need to be refined. 1999-06-03 08:15:52 +00:00
mcmullen%netscape.com 5c85248a57 Implemented XP default prefs. Thanks to seth for the makefile magic! 1999-06-03 00:41:11 +00:00
briano%netscape.com 03dfce7f79 Put component .a files in the right place. 1999-05-27 04:25:42 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
briano%netscape.com 16be623142 Fix for BSDI builds. 1999-05-20 03:27:20 +00:00
slamm%netscape.com 9b67e878e2 Avoid entering directories twice. Only write out .all.pp when it has changed. 1999-05-18 00:26:10 +00:00
alecf%netscape.com b3dcb21454 also add -I$(srcdir) when generating xpt files 1999-05-12 21:50:17 +00:00
alecf%netscape.com 31f711f0a6 adding extra $(srcdir) include for xpidl 1999-05-12 21:43:03 +00:00
alecf%netscape.com 61e39ab161 add a way to avoid generating .xpt files (since forward declaring in xpt files is broken right now)
add a rule to generate tags for emacs
1999-05-11 23:43:36 +00:00
mccabe%netscape.com fc41958c00 Build the xpt_link and xpt_dump tools early so that they're available as part of the build process, and link them statically so we don't need the shared library path set to use them. 1999-05-10 10:17:54 +00:00
mccabe%netscape.com 0d15a0a50f Fix to 6156.
Added $(EXTRA_DEPS) dependency to $(PROGRAM) in rules.mk, so xpidl can ask to be recompiled when libxpt changes.
1999-05-09 09:21:35 +00:00
mccabe%netscape.com b512bcf3a7 Whenever XPIDLSRCS is defined, add _xpidlgen to $(GARBAGE) so it gets zorched by clobber. 1999-05-09 08:16:07 +00:00
mccabe%netscape.com 832feb1f76 A slightly better test for overriding .h files with .idl files.
If foo.h is in the $(EXPORTS) list (rather than just in the same dir) warn that the .h we're generating from the .idl overrides the old .idl.
1999-05-09 06:26:05 +00:00
mccabe%netscape.com 243f7c02d3 - fixed IDL_COMPILE (undefined!) to XPIDL_COMPILE
- made the make stop and error when XPIDLSRCS is defined but MODULE isn't.

- made the make warn when generating (from idl) a .h file that overrides an existing .h file.
1999-05-08 22:28:49 +00:00
mccabe%netscape.com 90fea6dc45 Build support for working with .idl files. Adding XPIDLSRCS to a Makefile.in exports the listed idl files to dist/idl, generates .h files to dist/include, and generates .xpt files, and links them to $(MODULE).xpt, in components. 1999-05-08 02:06:15 +00:00
briano%netscape.com 596124712e Fix for bug 5770. Thanks to lennox@cs.columbia.edu. 1999-05-05 23:38:15 +00:00
slamm%netscape.com 2879fada95 Slightly safer test for LOOP_OVER_DIRS. Make sure a Makefile is there. This handles the case of 'gmake -f client.mk checkout clean build' where checkout adds a directory. ('clean' does not run configure. In fact, 'clean' removes files that configure generates.) 1999-04-27 23:08:59 +00:00
mccabe%netscape.com e33e295f30 Enabling xpidl as a standard part of the unix and windows build. Changed checks against BUILD_XPIDL to the (as yet undefined) USE_XPIDL variable in libpref, rdf, xpfe/AppCores, to keep them from firing just yet. The BUILD_XPIDL-enabling machinery in configure.in is unchanged, but BUILD_XPIDL is unused for now.
See http://www.mozilla.org/scriptable/xpidl/ if this breaks you.
1999-04-15 18:28:27 +00:00
ramiro%netscape.com 49a4e5af97 Oops..undo a screwup. Exorcised too much... 1999-04-11 14:41:58 +00:00
ramiro%netscape.com 95163dbd03 tweak_nspr exorcism. 1999-04-11 14:27:35 +00:00
briano%netscape.com 648d5f4edc Workaround for a library extraction problem on Digital Unix. 1999-04-06 23:26:00 +00:00
slamm%netscape.com e4fe9bfa0d Set MOZILLA_FIVE_HOME for run_apprunner and run_viewer targets. Change the message on the depend target when using compiler-based depend. 1999-03-31 19:07:29 +00:00
briano%netscape.com 72f67c17f6 Added 'else true' to all the if blocks that were missing it. Needed to make QNX's lame shell happy. 1999-03-30 22:21:54 +00:00
kipp%netscape.com 14db73b1bf Added missing wrap-malloc-lib 1999-03-29 23:50:57 +00:00
slamm%netscape.com 22a74f8213 Check dependencies on every pass. This is less than ideal because it causes gmake to fire twice for each Makefile, but it does work with -jN builds. We used to build .all.pp as a side effect of a shell command and ran into problems when seperate processes both tried to update .all.pp 1999-03-29 23:19:57 +00:00
slamm%netscape.com e560c93b71 Make the .deps directory during the export and libs passes. Fix for #4310. 1999-03-27 00:18:41 +00:00
slamm%netscape.com aa302a84e0 New warning for depend target and compiler-based dependencies. 1999-03-25 23:51:11 +00:00
briano%netscape.com 1011925a1f Change to provide support for platforms without shared library support, or for NO_SHARED_LIB builds. 1999-03-25 21:01:59 +00:00
akkana%netscape.com e0d1f8bbae 4268: Fix broken SIMPLE_PROGRAMS rule for --enable-md. Fix courtesy of slamm, checkin approved by sar 1999-03-25 19:52:19 +00:00
slamm%netscape.com 6a9dc7d1c0 Pull CFLAGS out of link line. Remove some implicit rules that we do not use. Fix -jN build problems (Create directories with their own target). 1999-03-22 20:43:05 +00:00
alecf%netscape.com 358998e04b only use these rules if the libIDL is available (and thus XPIDL is available) 1999-03-12 19:35:40 +00:00
ramiro%netscape.com 51b24a505b Change MOZILLA_HOME to MOZILLA_FIVE_HOME so that we dont fight Communicator
4.x installations.
1999-03-11 20:00:57 +00:00
slamm%netscape.com a6cff0cd76 Only use mddepend.pl when PERL is set. 1999-03-11 01:35:33 +00:00
braddr%puremagic.com c3904dcc52 Add new target for quantify 1999-03-10 08:32:42 +00:00
slamm%netscape.com 73bba50332 Give warning for 'make depend' with --enable-md. 1999-03-10 00:03:12 +00:00
slamm%netscape.com aa1f6565e9 -MD depend: Putting objects on PHONY target didn't work. Use 'FORCE' dependency instead. 1999-03-09 21:56:44 +00:00
mcafee%netscape.com a1f72574d2 Adding install target for purify binaries 1999-03-09 04:21:51 +00:00
slamm%netscape.com f8569c2bf7 Have -MD dependencies cope will missing headerfiles. 1999-03-09 01:31:26 +00:00
briano%netscape.com 419f73e812 Fixed the permission problem with nsinstall'd binary files, and added rules to make
sure shared libraries also get copied into $(DIST)/lib (where they're *supposed* to go).
1999-03-09 01:20:03 +00:00
ramiro%netscape.com 0f9121d023 Allow for lock_SunOS.s to build properly. Fix the build system to
properly set all the ac magic needed to properly asm files.
Currently this is only an issue on Solaris, when building with the native
sun compiler.
1999-03-08 15:01:13 +00:00
cls%seawood.org 0934081cb8 Introduced separate CXXFLAGS for use with C++ code in the same style as the existing CFLAGS. Prepended _ to some configure.in private variables. 1999-03-07 05:18:45 +00:00