Commit Graph

155 Commits

Author SHA1 Message Date
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