Allow MIDL to be specified from mozconfig or env since various MS SDKs contain an unsupported version of midl and they insist upon adding their SDK dirs to the beginning of the PATH (bug #178392)
Bug #164646 r=bryner
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd. This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall. nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive. (I'll have to check the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs. Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
Use XT_LIBS variable for -lXt and its dependencies.
Link XT_LIBS in static xlib builds.
Use same modulename for xlib module in Makefile as the code uses.
Bug #126163 & Bug #144182 r=bryner
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
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes
r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.
NOT ON BY DEFAULT
* 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