Commit Graph

1407 Commits

Author SHA1 Message Date
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
ramiro%eazel.com
a1cfc653dd Bug 56795. Adding support for corel/eazel profiler. Build changes approved
and reviewed by cls.  r=cls a=cls.
2000-10-20 14:59:13 +00:00
cls%seawood.org
de4337e464 Make sure that buildID is set to 0 unless MOZILLA_OFFICIAL is set. Bug #26798 r=leaf r=scc
Note: for mac, MOZILLA_OFFICIAL is only set by default on opt builds until the new mac build scripts land.
2000-10-20 05:21:40 +00:00
cls%seawood.org
79ef789489 Add .DELETE_ON_ERROR: target so that if the build fails while building the target, it will remove the incomplete target. Bug 48404 2000-09-28 04:02:15 +00:00
warren%netscape.com
d436f5536e Made it so that the commercial tree can find make-jars.pl 2000-09-21 17:24:07 +00:00
warren%netscape.com
4cd6c43066 Made make-jars.pl not make intermediate copy. Fixed problem calling zip multiple times. 2000-09-21 07:14:35 +00:00
cls%seawood.org
6bd893abee make MOZ_DISABLE_JAR_PACKAGING actually disable the building of jars. ports tinderboxes and other develoers were not ready for the extra build requirements. r=#mozilla 2000-09-21 06:22:06 +00:00
warren%netscape.com
59ff36aa31 Fixed (a) not deleting installed-chrome.txt (bugscape bug 2428), (b) made MOZ_DISABLE_JAR_PACKAGING work again, and (c) created dist/bin/chrome directory in add-chrome.pl -- breaking objdir builds. r=mcafee 2000-09-21 01:47:19 +00:00
warren%netscape.com
ecc687a9f5 Added -s option to make-jars.pl (doh). 2000-09-20 23:36:42 +00:00
warren%netscape.com
7ea00d2514 Taking stab at change -- need to use topsrcdir for objDir build system. 2000-09-20 21:28:30 +00:00
warren%netscape.com
bee219540c Checking in diagnostics for puma problem. 2000-09-20 21:20:59 +00:00
warren%netscape.com
181bb2dcb2 Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani 2000-09-20 19:35:24 +00:00
cls%seawood.org
37740f151b Sigh. Need a case for components & non-components. 2000-09-17 18:40:42 +00:00
cls%seawood.org
ce6ef8d267 Add support for BeOS addon limitation workaround. Set BEOS_ADDON_WORKAROUND to use it. bug #51655 2000-09-17 05:32:36 +00:00
cls%seawood.org
41cf1e60de Use make-jars-unix.pl for unix builds. 2000-09-15 21:43:02 +00:00
mkaply%us.ibm.com
bce8f1804b #45185
r=cls, a=brendan
I have no idea how I broke rules.mk like this but it has extra CR/LF
2000-09-15 19:14:14 +00:00
cls%seawood.org
b4bc453a6e Add check for perl api version 5.005 as forced by this jar fiasco.
Turn on MOZ_DISABLE_JAR_PACKAGING if perl api != 5.005 or zip is not installed.
Turn off the copy feature of make-jars.pl as that doesn't work in the objdir aware version of the make-jars.pl script.
Bug 52065. r=bryner
2000-09-15 00:19:30 +00:00
dprice%netscape.com
91d2cfe423 turning this off again 2000-09-14 23:56:09 +00:00
mkaply%us.ibm.com
1713f15b07 #45185
r=cls, a=brendan
Change from pedemonte and jblanco for compiling RC on OS/2
2000-09-14 23:11:24 +00:00
dprice%netscape.com
e3526a30ee jar packaging for linux = on 2000-09-14 21:35:05 +00:00
cls%seawood.org
c5d73cbec1 SunWS_cache is a dir 2000-09-13 07:36:37 +00:00
anthonyd%netscape.com
02ba6d64c1 putting in the rules for jar packaging,
NOT IN THE BUILD
dprice using anythonyd's linux machine
if there are problem email dprice@netscape.com
2000-09-09 05:54:35 +00:00
leaf%mozilla.org
017d5ccd96 fix for echo-depth-path, from Axel Hecht <ah@numerik.uni-kiel.de>, r=leaf 2000-09-05 21:42:52 +00:00
leaf%mozilla.org
d8cd860ae1 adding GARBAGE_DIRS variable for clobbers... so we can have core directories
in the tree (and not have it removed during a clobber) if some developer is
foolish enough to create one.
2000-08-30 01:15:32 +00:00
mkaply%us.ibm.com
0df53cb8ae #40177
r=cls, a=brendan
Delete OS/2 specific build files during the clobber
2000-07-19 14:03:25 +00:00
mkaply%us.ibm.com
8f251b657c #40177
r=cls, a=brendan
OS/2 build changes to get webshell/tests/viewer building
2000-07-19 13:58:45 +00:00
cls%seawood.org
3f4a648b4d Updated NetBSD section so that mozilla will build on NetBSD-current. Bug #41524 Thanks to Shin'ichiro TAYA <taya@sm.sony.co.jp> for the patch. 2000-07-08 11:39:05 +00:00
cls%seawood.org
bca014f1bb Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner 2000-07-02 18:44:42 +00:00
cls%seawood.org
f9c56b2f3e Reverting mkaply's checkin as it breaks --enable-elf-dynstr-gc on optimized builds. 2000-06-28 22:29:38 +00:00
mkaply%us.ibm.com
815e8e3db6 #43357
NO ONE AROUND TO REVIEW
The change for ELF broke our tinderbox. The second ELF line should be in the else case for OS/2.
2000-06-28 14:19:33 +00:00
cls%seawood.org
7766827f6f Adding configure option --enable-elf-dynstr-gc. Bug #43357 2000-06-28 04:32:15 +00:00
mkaply%us.ibm.com
3ebd82946c #40177
r=cls, a=brendan
OS/2 bring up - need IMPORT_LIBS on OS/2
2000-06-22 22:11:45 +00:00
mkaply%us.ibm.com
e5aa7de295 #40177
r=cls, a=brendan
OS/2 bring up - Change some hardcoded values into variable - remove some extra loops that OS/2 was going down.
2000-06-21 00:54:56 +00:00
mkaply%us.ibm.com
3ee86b80fe # 40177
r = cls, a = brendan
OS/2 bring-up - Makefiles changes for VisualAge
2000-06-13 14:51:01 +00:00
colin%theblakes.com
6ac04d8a05 OpenVMS specific build change. r,a=leaf 2000-06-13 00:40:16 +00:00
cls%seawood.org
b18ad8af39 Add rules for removing objs created by SIMPLE_PROGRAMS. Thanks to st.n@gmx.net (Stephan Niemz) for the patch. Bug #42166 2000-06-12 00:49:01 +00:00
mkaply%us.ibm.com
dc6030fd5d # 40177
r = leaf, a = brendan
OS/2 M16 bringup continues - OS/2 only change for linker name and parameter
2000-06-01 14:17:35 +00:00
danm%netscape.com
195df10c46 installed chrome list now uses resource url instead of full file path. a=leaf r=saari 2000-05-22 22:26:19 +00:00
cls%seawood.org
8a94c9df50 Latest OS/2 makefile changes. Bug 34106. Batch 14, 15, & 16. 2000-05-16 04:41:54 +00:00
cls%seawood.org
dfb3ebf8fd Removing unneeded beos shared lib dependency creating. Thanks to Justin Morey <justin@68k.org> for the patch. Bug #38372 2000-05-16 00:20:50 +00:00
danm%netscape.com
b3af5ad7bd new CHROME_MISC rule. fix CHROME_TYPE rule 2000-05-13 21:30:45 +00:00
danm%netscape.com
07a3e86233 adding final directory to CHROME_TYPE rule 2000-05-10 02:04:20 +00:00
danm%netscape.com
a67c874106 update chrome rules to match new chrome hierarchy. also add chrome registration rule 2000-05-06 00:06:32 +00:00
cls%seawood.org
b5db9826f3 Replaced accidentally removed LDFLAGS to creation of shared libs. 2000-04-25 02:40:30 +00:00
cls%seawood.org
8754202470 General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
cls%seawood.org
1d7f5fa1be Fixed SHARED_LIBRARY_LIBS dependency in docshell/build.
Removed extraneous ; makefiles target.
Thanks to Justin Morey <justin@68k.org> for the patch.
2000-04-21 01:14:45 +00:00
jim_nance%yahoo.com
1af6f80407 *** empty log message *** 2000-04-18 01:27:01 +00:00
cls%seawood.org
fdd09457b4 Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106
2000-04-04 07:37:50 +00:00
cls%seawood.org
9249743718 Use LDFLAGS when creating shared libraries. It may contain the paths to essential libraries. 2000-04-03 01:04:59 +00:00
cls%seawood.org
321940dd0a Added rule to automatically run autoconf & config.status whenever configure.in changes. Set AUTOUPDATE_CONFIGURE to use it. 2000-04-03 00:56:31 +00:00
colin%theblakes.com
29f1d9a2cc Put flags before operands in HOST_CC. Add showhost target for debugging. r=cls 2000-04-02 16:15:42 +00:00
cls%seawood.org
f4fc6637cb Makes the new DLL_SUFFIX scheme work for --disable-shared, OpenVMS & OS/2. 2000-04-02 07:46:23 +00:00
cls%seawood.org
78694f8aa9 Update comments and add tweak to OS/2 rule for bug #31845. a=leaf 2000-04-01 08:37:30 +00:00
cls%seawood.org
d22c963309 Moved setting of platform specific DLL_SUFFIX to configure.
Removed old unused WINNT ifdefs from rules.mk.
2000-03-31 10:49:39 +00:00
cls%seawood.org
c01f9092ab Slightly munged the os/2 patch. Add else clause before something unknown breaks. 2000-03-31 10:38:58 +00:00
cls%seawood.org
314aa743e8 Remove --enable-implicit-archive option and rule sets as they still have dependency problems and are not being worked on. Bug #15241 2000-03-31 09:37:14 +00:00
cls%seawood.org
e9d2f63938 Fix cross-compiling rules so that we can build both the host & target version of our "internal" build tools.
Added .ho suffix for host objects.
Added rules for HOST_PROGRAM, HOST_LIBRARY & HOST_SIMPLE_PROGRAMS.
When cross-compiling, use the host_ versions of nsinstall, xpidl & xpidl_link and install host targets under $(DIST)/host .
Bug #11890
2000-03-31 07:18:52 +00:00
cls%seawood.org
8ebbd67c39 Common makefile changes for OS/2. Bug #31845 2000-03-31 01:24:48 +00:00
cls%seawood.org
24cc1c1b26 Fix the distclean target so that it removes all of the generated Makefiles not just the traversed ones.
Move the _TOOLS variables to config.mk to fix tinderboxen that run targets before running configure again.
Change CONFIG_TOOLS to use DEPTH instead of topsrcdir.
2000-03-14 06:16:27 +00:00
cls%seawood.org
8e3c27636b Actually remove libs phase from all:: target. Add win32 target for MKSHLIB. 2000-03-14 04:57:13 +00:00
slamm%netscape.com
fcd7c8e21d Clean up clean targets. Use defines from autoconf.mk.in for build tools (*_TOOLS). Simplify CHROME rules (combine them into one shell process). 2000-03-14 03:00:52 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
sherry.shen%sun.com
a906bb42b6 Bug #28281, r=leaf, a=leaf,
Add an option for building Java-supplement
and fix the Java building problem about JDIRS.
2000-03-09 02:08:23 +00:00
jim_nance%yahoo.com
8998c1cac6 Changes to make this work under Unicies other than Linux. I so did like
that hack :-(
r=sford
2000-03-06 23:53:52 +00:00
slamm%netscape.com
6887d46636 Cleanup EXIT_ON_ERRORS in LOOP_OVER_DIRS. r=cls 2000-03-02 20:45:23 +00:00
cls%seawood.org
192e307283 Finally following warren's lead from "last year", the libs phase has been removed from the build. Directories had to be ordered and in some cases, traversed after a subsequent module was built.
Fixed the recursive makes into GtkMozilla so that they will report build failures like the other dirs.
Removed LIBS_NEQ_INSTALL variable and associated ifdefs.
2000-03-02 13:29:03 +00:00
cls%seawood.org
08e716cb3e Reverted part of slamm's checkin so that non-official builds (including tinderboxes) stop on errors. Changed makefiles to use gmake's -C option instead of 'cd'. 2000-03-02 12:41:47 +00:00
slamm%netscape.com
49b3f0c4be Eliminate about 8 shell commands in LOOP_OVER_DIRS. That is 8 shell commands for every directory (~1300) for three build targets. Cuts export target by half on my machine. 2000-03-02 03:39:19 +00:00
jim_nance%yahoo.com
26336c35ab Change to cause make to print failing command if the -s flag is given. If
the -s flag is not give all commands get printed, so we dont need to do
anything.  Requested and reviewed by r=sford3@swbell.net
2000-02-26 04:21:53 +00:00
jim_nance%yahoo.com
7543a6e3da Adding commands to print out the file getting built. This increases the usefulness of make -s 2000-02-25 03:55:50 +00:00
dmose%mozilla.org
c329d776eb when using SunOS and not using GCC, clobber now removes the Sun WorkShop template repository cache, as this can get out of sync. r=cls@seawood.org,akkana@netscape.com 2000-01-11 22:11:02 +00:00
cls%seawood.org
4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
cls%seawood.org
6f3b1dbf87 Partial fix for bug 20254. Allow flags passed to CFLAGS during configure be used for both compiling & linking. CFLAGS as we know it becomes COMPILE_CFLAGS so that platforms that cannot link using DSO flags (qnx) can still build. The new CFLAGS will not have DSO flags and will be used primarily for linking.
Remove OPTIMIZER & XP_DEFINE from config.mk
1999-12-22 03:40:16 +00:00
cls%seawood.org
fa0515f7eb Look for the generated dependencies.beos at the top of the objtree not the top of the srctree. Remove dependencies.beos when running realclean or distclean. 1999-12-22 00:01:04 +00:00
briano%netscape.com
e643619e08 Fix specifically for NetBSD/alpha builds. Won't affect other platforms. a=chofmann 1999-12-17 03:25:04 +00:00
cls%seawood.org
ea50bd89e7 Revert my previous change to use CFLAGS & CXXFLAGS when linking. 1999-12-04 23:52:55 +00:00
cls%seawood.org
73994ce567 Use CFLAGS & CXXFLAGS when linking executables. Bug #20254 1999-11-30 22:35:34 +00:00
mccabe%netscape.com
8d329c492e Shrink 'ifeq ($(XPIDL_MODULE),)'-conditional error code from an if-else to just an if, so that gmake clobber, etc. works even when the error would fire.
r=shaver.
1999-11-30 04:25:19 +00:00
alecf%netscape.com
7548f4486f update xterm-titler to only show the relative directory
r=leaf
1999-11-22 22:21:07 +00:00
jdunn%netscape.com
0d9441fd1b Change the linking option of -Bsymbolic to only happen on Components
(i.e the i18n code and NOT on anything that links in gtk

r=pepper@netscape.com
# 18129
1999-11-18 02:49:30 +00:00
leaf%mozilla.org
5bd4d6efa3 checking in xterm update fix from Pierre Phaneuf <pp@ludusdesign.com>,
r=leaf@mozilla.org
1999-11-16 20:58:24 +00:00
jdunn%netscape.com
b1a60aa3d7 Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688
1999-11-16 05:03:45 +00:00
jdunn%netscape.com
9ac4f7430f Add a configure.in flag to allow components (IS_COMPONENTS) to link
against NSPR and xpcom.  I did this for AIX and added the step for
OpenVMS per Colin Blake's note.
1999-11-11 21:55:11 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
ramiro%fateware.com
25aba30f43 Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org
1999-10-22 07:11:43 +00:00
ramiro%fateware.com
379808b351 Work in progress to add reasonable rpm packaging support for the beast.
NOT PART OF THE SEAMONKEY BUILD.
1999-10-21 14:57:38 +00:00
cls%seawood.org
5dc98b19e1 Converting patches applied for bug 15241 into a build option, --enable-implicit-archive, that is off by default.
r=syd
1999-10-12 12:36:07 +00:00
cls%seawood.org
256fae75bc Temp fix for the dependency problem caused by the use of implicit shared libs. a=leaf 1999-10-12 03:42:02 +00:00
Jerry.Kirk%Nexwarecorp.com
6f32546fc6 Adding a "; else true" to work around broken shell under QNX4 for the
Neutrino cross-compile.
Bug #16049 r=Dale.Stansberry@Nexwarecorp.com
1999-10-11 14:41:25 +00:00
cls%seawood.org
ce98fb47f3 Ok, let's not try to generate the remove list if there is no library to remove things from 1999-10-08 21:17:32 +00:00
cls%seawood.org
cd12398243 Added a test to see if there are any archive members to be removed before calling AR_DELETE as NetBSD's & OpenBSD's versions of ar do not like removing an empty list.
r=leaf
1999-10-08 20:30:28 +00:00
cls%seawood.org
5c8ea87d49 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
089ffad035 Make mkdepend lines shorter (OpenVMS only). r=ramiro 1999-10-04 10:43:28 +00:00
briano%netscape.com
c14f8ca9f2 Fix for someone's typo (bug 15303) when Java is enabled. 1999-10-01 03:02:53 +00:00
ramiro%netscape.com
f88940bd50 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
7609c24c5b *** empty log message *** 1999-09-17 23:28:56 +00:00
jdunn%netscape.com
f0ee4dbce2 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
c3b017264c Add a --enable-low-fat option to reduce the .dynsym bloating in components. 1999-09-16 13:43:15 +00:00
cls%seawood.org
ef1a9aa5a5 Added $(PROGOBJS) to ALL_TRASH 1999-09-15 17:52:38 +00:00
slamm%netscape.com
6646a60890 Remove unused DIRS rule. Only add SUBMAKEFILES rules if SUBMAKEFILES is defined. 1999-09-14 23:09:37 +00:00
colin%theblakes.com
5283ac1d2f Small change in OpenVMS-specific section 1999-09-13 12:21:26 +00:00
cls%seawood.org
df864f92e9 Argh. Our dependencies are screwed so make .o depend upon Makefile.in temporarily 1999-09-12 15:15:52 +00:00
briano%netscape.com
517fdecc3d Rearranged things slightly. Mostly cosmetic. 1999-09-09 09:24:58 +00:00
slamm%netscape.com
636cf083f8 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
f9f6100eea Only reset compiler variables for INTERNAL_TOOLS if CROSS_COMPILE is set. 1999-09-03 22:11:18 +00:00
duncan%be.com
01abb3a4a1 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
1ad23065c1 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
f277b79642 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
83fef05a01 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
4cbeca430e 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
3ac44b5bbd Forgot the INTERNAL_TOOLS rules needed for cross-compiling 1999-09-01 14:43:44 +00:00
cls%seawood.org
8625d885b7 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
1cfdbd2583 Run make-makefile with perl found by configure. 1999-08-27 22:57:21 +00:00
slamm%netscape.com
603736e60e Pass depth to make-makefile to save it some work. 1999-08-25 22:09:50 +00:00
slamm%netscape.com
69dbf6a476 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
c2bdb85bf4 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
f421863338 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
38fe0fdd09 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
8adc9ad359 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
8624dfd4c0 make the CHROME rules play nice with obj-dir. fixes #11260 1999-08-06 22:41:51 +00:00
briano%netscape.com
e1d1d44b7d Fix for my mistaken assumption about SUB_LOBJS. 1999-08-03 02:52:24 +00:00
briano%netscape.com
0e0ece1e9a 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
25630e943c Adding generic chrome rules 1999-07-27 14:30:34 +00:00
duncan%be.com
cae606a8be 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
d9095e3fb5 Changes to link properly after the timer shuffle. 1999-07-24 09:23:03 +00:00
briano%netscape.com
de90d0023d OpenVMS-specific additions. Thanks to Colin Blake (colin@theblakes.com). 1999-07-22 03:33:24 +00:00
briano%netscape.com
bd4bb3c668 Replaced one of the dependencies of everything with the proper one. 1999-07-20 02:10:47 +00:00
Jerry.Kirk%Nexwarecorp.com
2c0471e8e8 Changed Neutrino test from OS_ARCH to OS_TARGET to support cross compiling 1999-07-19 21:15:26 +00:00
duncan%be.com
bccc6db380 Changes to get BeOS tinderbox to work.
BeOS only changes authorized by cyeh.
1999-07-11 09:51:51 +00:00
briano%netscape.com
dab45b44c6 Eliminate the use of SRCDIR and NSBUILDROOT. Approved by cyeh@netscape.com. 1999-07-07 22:03:45 +00:00
ramiro%netscape.com
bbed66360e 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
03cb6e9c9b Minor tweak to BeOS specific rule to get Mozilla to build under BeOS. 1999-07-01 21:04:07 +00:00
briano%netscape.com
e00f9dcee8 SunOS4 also adds __.SYMDEF to .a files. 1999-07-01 01:59:09 +00:00
ramiro%netscape.com
af273bb294 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
c5212ea3bd 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
921ce6c709 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
f3002a5b6b 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
e299866fd5 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
b05324f44b 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
6a3ec157b7 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
72f8b4005f Fixing alltags rule. patch from Jim Nance. 1999-06-11 20:21:48 +00:00
ramiro%netscape.com
2cfdd9b573 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
d81a2a1e72 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
1b5c10be18 Adding TAG_PROGRAM abstraction, thanks to Jim Nance for this fix. 1999-06-09 20:58:33 +00:00
briano%netscape.com
33ce124117 Looks like FreeBSD needs to exclude __.SYMDEF as well. 1999-06-09 00:26:27 +00:00
warren%netscape.com
b1970c722a Updated emacs TAGS rules for idl. 1999-06-08 07:43:32 +00:00
briano%netscape.com
7793568591 Fix for NetBSD. Eliminates spurious __.SYMDEF files when building composite static libs. 1999-06-08 01:42:51 +00:00
mccabe%netscape.com
d69ad0ab5c 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
6493561460 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
36898abe43 Had to add another 'else true' to an if block for QNX. 1999-06-03 20:28:34 +00:00
briano%netscape.com
b0a4dbd2e8 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
499103721e Implemented XP default prefs. Thanks to seth for the makefile magic! 1999-06-03 00:41:11 +00:00
briano%netscape.com
29ca65c2a6 Put component .a files in the right place. 1999-05-27 04:25:42 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
briano%netscape.com
8a3d75aa09 Fix for BSDI builds. 1999-05-20 03:27:20 +00:00
slamm%netscape.com
4e4b29a2bb Avoid entering directories twice. Only write out .all.pp when it has changed. 1999-05-18 00:26:10 +00:00
alecf%netscape.com
b6f386cfc1 also add -I$(srcdir) when generating xpt files 1999-05-12 21:50:17 +00:00
alecf%netscape.com
9767dd0ace adding extra $(srcdir) include for xpidl 1999-05-12 21:43:03 +00:00
alecf%netscape.com
fe1caf010d 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
75d774baa9 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
c86ab72aed 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
5c870b1986 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
1fb5b28cce 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
0102cfc4e8 - 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
4c7e979695 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
02869b2558 Fix for bug 5770. Thanks to lennox@cs.columbia.edu. 1999-05-05 23:38:15 +00:00
slamm%netscape.com
6fb5bb1fb7 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
a1eb58e008 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
a3e6f3e70d Oops..undo a screwup. Exorcised too much... 1999-04-11 14:41:58 +00:00
ramiro%netscape.com
53e99d636d tweak_nspr exorcism. 1999-04-11 14:27:35 +00:00
briano%netscape.com
b7a5ac63a4 Workaround for a library extraction problem on Digital Unix. 1999-04-06 23:26:00 +00:00
slamm%netscape.com
ff7b829d31 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
768d8740c1 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
f5535bc1d2 Added missing wrap-malloc-lib 1999-03-29 23:50:57 +00:00
slamm%netscape.com
fd6268a2f2 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
10fb0f79ad Make the .deps directory during the export and libs passes. Fix for #4310. 1999-03-27 00:18:41 +00:00
slamm%netscape.com
30181f0cc3 New warning for depend target and compiler-based dependencies. 1999-03-25 23:51:11 +00:00
briano%netscape.com
f7967071c4 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
eced76e9c9 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
d0037a8efb 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
7b5dacf3b7 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
79d752c0a3 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
f82556e9bd Only use mddepend.pl when PERL is set. 1999-03-11 01:35:33 +00:00
braddr%puremagic.com
bd4310e1fe Add new target for quantify 1999-03-10 08:32:42 +00:00
slamm%netscape.com
5256fe9914 Give warning for 'make depend' with --enable-md. 1999-03-10 00:03:12 +00:00
slamm%netscape.com
7fe93d6805 -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
4ed94d6668 Adding install target for purify binaries 1999-03-09 04:21:51 +00:00
slamm%netscape.com
3d6214b435 Have -MD dependencies cope will missing headerfiles. 1999-03-09 01:31:26 +00:00
briano%netscape.com
558fd05cc4 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
cfa107e00d 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
202df19f2e 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
alecf%netscape.com
9402bb5d60 make clobber remove .deps directory too 1999-03-05 21:03:54 +00:00
dp%netscape.com
06a110237c Installing loadable components in components/ directory 1999-03-03 01:25:21 +00:00
slamm%netscape.com
a94c2da983 Add run_apprunner target 1999-02-25 19:18:59 +00:00
mcafee%netscape.com
fbf4f3a3fc Reverting purify compiler back to CCC, this doesn't work with egcs/c++ anyways.. 1999-02-25 11:12:51 +00:00
alecf%netscape.com
22a44aa910 check in new .deps based dependancy system 1999-02-19 03:06:32 +00:00
slamm%netscape.com
131e0cc001 Add 'run_viewer' target. 1999-02-18 18:44:48 +00:00
slamm%netscape.com
17fda57ce4 Add option for -MMD dependencies. 1999-02-17 17:33:07 +00:00
briano%netscape.com
c25d73c19c Fixed Kipp's hack to allow CPP_PROG_LINK to be overridden when necessary. 1999-02-17 00:32:17 +00:00
mcafee%netscape.com
b9cde0a103 removing unused rule 1999-02-10 04:23:40 +00:00
alecf%netscape.com
6c82457747 fix dependancies for static libraries which build up shared libraries 1999-02-10 00:07:01 +00:00
slamm%netscape.com
009d97d3a3 Shorten the compile line. Add test and support for preprocessor '-include' flag 1999-02-09 23:24:12 +00:00
alecf%netscape.com
ba6dba5c76 add update-XTERM support to makefile code that enters directory, and update XPIDL rule to use new syntax 1999-02-08 19:59:25 +00:00
kipp%netscape.com
c98d34a889 Added in malloc-wrap support 1999-02-02 17:39:51 +00:00
mcafee%netscape.com
11010c9fa2 Force third install pass so we can build tests, weird dependencies crop up if we do libs & install at the same time. Thanks to kipp@netscape.com for the idea for this fix. 1999-02-02 07:34:20 +00:00
slamm%netscape.com
3078d42808 On second thought, the recursive rules aren't needed because the Makefiles will get updated as needed for any target. 1999-01-29 20:45:39 +00:00
slamm%netscape.com
526ea4a3ce Add recursive rule, 'makefiles', to update Makefiles when their Makefile.in's are more recent. 1999-01-29 20:00:50 +00:00
slamm%netscape.com
a2de6c3901 Add a target to update a Makefile when its Makefile.in changes. 1999-01-29 18:35:35 +00:00
slamm%netscape.com
cf23cf46a0 Move CPP_PROG_LINK define from config.mk to rules.mk. This allows config.mk to be included in a Makefile before CPPSRCS is defined (i.e. Having CPP_PROG_LINK in config.mk caused an unnecessary dependency.) 1999-01-28 00:59:03 +00:00
mcafee%netscape.com
c9e9df3419 Adding pure target to run purify (Solaris) 1999-01-27 07:17:32 +00:00
pollmann%netscape.com
4716eac6b9 Bug 2370: FreeBSD 3.0 patches 1999-01-27 05:10:54 +00:00
slamm%netscape.com
91cc465f1f Only update .md files when NO_MDUPDATE is unset. 1999-01-26 23:54:59 +00:00
mcafee%netscape.com
6d2fbf903e Forgot link line rule 1999-01-23 12:20:00 +00:00
mcafee%netscape.com
309efea40d Trying the 3.35 commit again (SIMPLE_PROGRAMS) 1999-01-23 11:41:15 +00:00
mcafee%netscape.com
e644d57dfe Backing out until tree builds Ok 1999-01-23 10:14:58 +00:00
mcafee%netscape.com
051b5f421f Adding support for 1:1 mapping for source files & binaries; this lets 2 or more binaries coexist in a single directory. Usage: <SIMPLE_PROGRAMS = Foo Bar> very similar to the way PROGRAM works. 1999-01-23 09:36:40 +00:00
mcafee%netscape.com
8cf7e6c736 Adding support for linking binaries 1999-01-22 04:00:13 +00:00
alecf%netscape.com
ace3cdd40e add rules to automatically build .h files from .idl files if they are newer,
and add way of exporting IDL files with IDLSRCS
1999-01-22 01:28:13 +00:00
ramiro%netscape.com
2d92708898 Add 'alldep' and 'everything' rules. 1999-01-21 07:42:44 +00:00
ramiro%netscape.com
6178db9009 Fix the depend noise redirection.
Thanks to Tom Lane <tgl@sss.pgh.pa.us> for suggesting the fix.
1998-12-07 02:32:25 +00:00
ramiro%netscape.com
8b57747a78 Make makedepend less noisy. 1998-12-06 07:03:16 +00:00
ramiro%netscape.com
aa9ee9d7c3 Add support for 'native' dependancies on systems that include the 'makedepend'
binary by default.  For example, linux freebsd and other unices that have
X11 installed in a reasonable fashion.  The commercial unices will continue
to suck as usual.
1998-12-04 05:07:01 +00:00
cls%seawood.org
141f2e1410 Since $(DEPENDENCIES) is not generated for OS2 or NT, do not try to include the file. 1998-11-19 03:09:23 +00:00
cls%seawood.org
36d2161504 IRIX depend tb doesn't seem to like the extra DEFINES when doing a 'make depend'. 1998-10-26 00:52:30 +00:00
cls%seawood.org
2949f638d8 Split OS_CFLAGS into OS_CFLAGS, OS_INCLUDES and DEFINES.
Modified Makefile.ins to append not overwrite DEFINES.
Added $(DEFINES) to the mkdepend command line so that some conditional dependencies are caught as well.
1998-10-25 22:25:25 +00:00
briano%netscape.com
49e4912eb1 Support for the new, single dist/include directory mechanism. 1998-10-23 04:41:26 +00:00
cls%seawood.org
f39eb3bc0e Backed out previous change because the variables have different meanings under the nspr build. 1998-10-14 01:40:41 +00:00
cls%seawood.org
f433d35d3e Tweaked tweak_nspr kludge so that it does not do variable substitution when it rearranges OBJDIR in nsprpub/config/UNIX.mk 1998-10-14 01:32:22 +00:00
cls%seawood.org
464229cbf6 Made tweak_nspr: an empty target for autoconf as $(MKDEPEND) requires it now. 1998-10-02 04:08:00 +00:00
cls%seawood.org
da8631c545 Removed obsolete autoconf version of tweak_nspr: 1998-10-02 02:12:21 +00:00
ramiro%netscape.com
eff5e621c6 Dont define the detect rules on autoconf builds, otherwise ac builds is
painfully slow.
1998-09-30 11:58:59 +00:00
briano%netscape.com
caee827d8a Minor change to the 'test' commands. QNX breaks if there isn't an else block.... 1998-09-26 01:30:16 +00:00
cls%seawood.org
c24b9079d7 Resurrected tweak_nspr kludge for --enable-nspr 1998-09-11 01:10:08 +00:00
cls%seawood.org
7cf85a6c71 Replaced tweak_nspr kludge with empty target for autoconf. 1998-09-10 03:53:20 +00:00
briano%netscape.com
f8107f5274 Support OpenBSD. 1998-09-05 04:16:15 +00:00
cls%seawood.org
976e98edda Fixed problem with makedepend under autoconf. 1998-08-28 22:40:14 +00:00
cls%seawood.org
558336b45e More tweaks for make depend under autoconf. 1998-08-28 07:07:47 +00:00
toshok%netscape.com
c03599e1ab use $(MAKE) instead of make, so it does not break on bsd machines, where make and gmake are *completely* different 1998-08-28 04:37:44 +00:00
cls%seawood.org
aa0ff173dc Enabled dependencies for autoconf. 1998-08-27 19:52:22 +00:00
cls%seawood.org
84f1cedcbb AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
mcafee%netscape.com
28d477a5f4 Support DLL_SUFFIX if build overrides .so default 1998-08-18 09:06:48 +00:00
chuckb%netscape.com
db240e4e60 inadvertant change 1998-08-12 11:01:24 +00:00
chuckb%netscape.com
7b391966a5 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge 1998-08-12 10:44:46 +00:00
warren%netscape.com
c9bd5d8074 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag. 1998-07-31 20:19:50 +00:00
ramiro%netscape.com
a3d443f599 Adding support for detecting various platform specific libraries, paths and
other things (anything, really).

Should make building mozilla on diverse platforms such as linux/lesstif
much easier.

Currently Linux is the only platform that supports detection.

The new detection mechanism is very scaleable.  We will be able to add support
for other operating systems as well as more permutations of linux/arch/toolkit.

It has received the Reverend Ostrom blessing of approval.

So the lesstif people can stop bitching.  thank you for the feedback ;-)

The shell script detection magic is very modular and can be easily shared
with other build schemes (autoconf for instance).
1998-07-18 03:33:07 +00:00
briano
2c145d4134 Added Mike Shaver's (shaver@netscape.com) changes to allow for better
differentiation between libraries and executables built in the same
directory, and the ability to build only shared libraries if the user
prefers.
1998-07-08 03:49:31 +00:00
briano
fd39935332 Support for NetBSD. 1998-06-30 22:14:55 +00:00
jgellman
9f800f1e0e merge from OJI branch 1998-06-03 00:37:20 +00:00
briano
fc19463ba7 Fixed the Emacs tags rules to recognize C++ sources as well. Thanks to Todd Larason (jtl@molehill.org). 1998-04-15 23:56:45 +00:00
ltabb
3b56a9af51 Free the lizard 1998-03-28 02:44:41 +00:00