wxWidgets/build
Vadim Zeitlin bf793227d2 Extract setup.h copying into a separate project for MSVC11+.
This fixes problems with parallel builds in Visual Studio 2012 or 2013 IDE as
multiple projects may try to copy setup.h file at once, resulting in errors.

Use _custom_build project as a common dependency to ensure that the copy step
is done only once.

Closes #16177.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-04-27 22:41:59 +00:00
..
aclocal Work around g++ atomic builtins detection in configure when -Os is used. 2013-10-04 23:48:22 +00:00
autoconf_prepend-include replaced with Debian Etch version which has slightly better fseeko() test 2007-07-20 22:00:09 +00:00
bakefiles Add a separate GTK-specific wxDisplay implementation. 2014-04-17 17:36:10 +00:00
buildbot Don't build wxOSX/Cocoa twice in wxOSX buildbot. 2013-12-07 12:30:46 +00:00
msw Extract setup.h copying into a separate project for MSVC11+. 2014-04-27 22:41:59 +00:00
os2 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
osx recreated project files, see #16192 2014-04-21 18:52:38 +00:00
script Synchronised svn:eol-style and svn:executable properties of some file types. 2012-01-18 18:00:07 +00:00
tools Turn off wxUSE_COMPILER_TLS for wxPython builds to avoid crashes on XP. 2014-01-02 00:24:32 +00:00
wince/missing Remove empty PalmOS-related directories. 2012-01-15 13:46:35 +00:00
autogen.mk updated list of aclocal m4 files 2008-02-04 13:22:50 +00:00
README.txt Added simple instructions and autogen.mk to rebuild configure script. 2005-09-20 17:34:28 +00:00
update-setup-h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00

autogen.mk

autogen.mk is a makefile provided to automatically update the GNU autotools
build system.  It will run Bakefile, aclocal, and autoconf as appropriate.

The .m4 files required for running aclocal are located in build/aclocal.
When upgrading software that wxWidgets depends on (for example, Bakefile,
cppunit, GTK, SDL, or others) it is advisable to upgrade the .m4 files
located in the build/aclocal directory.

It is particularly important that if you use a newer version of Bakefile
to generate the Makefile.in files that you use the newer bakefile*.m4.
Because build/autogen.mk is a Makefile it will automatically rerun
aclocal and autoconf as necessary whenever any m4 in build/aclocal is
newer than the generated aclocal.m4.

You can achieve this simply by copying the new bakefile*.m4 files from 
PREFIX/share/aclocal/ into the build/aclocal/ directory and
rerunning make -f build/autogen.mk.  Note that you should _not_ preserve
source file times (don't use cp -p) or else it's possible your .m4 files
will be older than the generated aclocal.m4).
Example:
cp /usr/share/aclocal/bakefile*.m4 build/aclocal/
make -f build/autogen.mk

Please don't forget to commit updated .m4 files as well as updated aclocal.m4,
configure, and Makefile.in files to wxWidgets.