wxWidgets/build/bakefiles
Vadim Zeitlin 51ec29ea5d Always link with expat in monolithic build.
Fix linking errors when using wxXML in sttaic monolithic build: in this case
we must link with expat but it was listed too early, before wxWidgets
libraries using it, in the bakefile-generated makefiles.

Now add it to the end of the linker command line too by including -lexpat in
EXTRALIBS_FOR_BASE which are appended to the linker arguments.

Notice that now -lexpat is linked twice because it is still added by
<wx-lib>xml</wx-lib> in bakefiles, even in monolithic build, but I don't know
how to avoid it and it is harmless anyhow.

Closes #12573.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-12-25 13:28:01 +00:00
..
formats
wxpresets Add support for webview library to MSW bakefile presets. 2011-12-20 13:27:59 +00:00
Bakefiles.bkgen add execmon to CE exclude (no console) 2010-11-05 16:05:38 +00:00
build_cfg.bkl Rename web library to webview. 2011-08-19 10:45:16 +00:00
common_samples_intree.bkl On Mac, ensure that the library path and dependencies point to the right location whether or not the library is installed. 2009-03-15 16:07:56 +00:00
common_samples_outoftree.bkl
common_samples.bkl
common.bkl Always link with expat in monolithic build. 2011-12-25 13:28:01 +00:00
config.bkl Remove out of date extralib stuff from the bakefiles. 2011-08-24 07:43:12 +00:00
expat.bkl
files.bkl Provide native implementation of wx{Date,Time}PickerCtrl for wxOSX/Cocoa. 2011-12-20 21:27:14 +00:00
jpeg.bkl
mac_bundles.bkl Don't move the actual executable, just link to it. 2009-04-26 02:01:25 +00:00
make_dist.mk Use rpmbuild to build the RPMs in "make rpm" target. 2010-10-23 14:09:57 +00:00
monolithic.bkl Remove out of date extralib stuff from the bakefiles. 2011-08-24 07:43:12 +00:00
multilib.bkl Rename web library to webview. 2011-08-19 10:45:16 +00:00
opengl.bkl enable OpenGL library build by default under Windows too 2009-05-31 12:55:11 +00:00
plugins_deps.bkl
plugins.bkl
png.bkl merge libpng 1.4.4 to trunk 2010-11-30 18:41:25 +00:00
README
regex.bkl
scintilla.bkl Create setup.h when building wxscintilla library. 2011-09-30 15:26:31 +00:00
tiff.bkl Define _CRT_NONSTDC_NO_WARNINGS to suppress MSVC warning in libtiff. 2009-12-01 00:43:15 +00:00
version.bkl Update version to 2.9.4 in version.bkl too and rebake everything. 2011-12-18 14:35:50 +00:00
wx.bkl Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
wxwin.py Rename web library to webview. 2011-08-19 10:45:16 +00:00
zlib.bkl

This directory contains Bakefile (see http://bakefile.sourceforge.net)
files needed to generate native makefiles for wxWidgets library and
samples.

Use the bakefile_gen utility to regenerate the makefiles (run it in this
directory!). If you run it with no arguments, it will generate all makefiles
that are not up to date.

Use "bakefile_gen -c" to clean generated files.

You can generate or clean only subset of files by specifying -f or -b flags
when invoking bakefile_gen. For example, "bakefile_gen -fborland,watcom" will
only regenerate Borland C++ and OpenWatcom makefiles. -b flag limits
regeneration only to specified bakefiles. For example,
"bakefile_gen -b wx.bkl" will only regenerate main library makefiles.
"bakefile_gen -b "../../samples/html/*/*.bkl" will regenerate makefiles for
all wxHTML samples. -b and -f can be combined.

You can customize the process of generating makefiles by adding file
Bakefiles.local.bkgen (same format as Bakefiles.bkgen) with further settings.
For example, you may disable output for compilers you don't use:
   <?xml version="1.0" ?>
   <bakefile-gen>
     <disable-formats>msvc,msvc6prj</disable-formats>
   </bakefile-gen>

Note: bakefile_gen creates file .bakefile_gen.state with dependencies
information. This file can be safely deleted, but it contains valuable
information that speed up regeneration process.

Note: the following files are generated using bakefile_gen:
  * build/msw/*
  * makefiles with same names as makefiles in above dirs, Makefile.in files 
    that contain "This makefile was generated by Bakefile" banner and
    VC++ project files in samples, demos and utils directories
  * src/wxWindows.dsp
  * {wxGTK,wxMotif,wxX11}.spec (only wxBase headers list)
  * autoconf_inc.m4
  * all Makefile.in files
  (hopefully I didn't forget anything - VS)