wxWidgets/build/bakefiles
Vadim Zeitlin 6bcc1145fe Cleanly separate GUI socket-related code from net library.
This fixes linking problems under Unix introduced by recent changes which
fixed previous problems which were due to files not being linked in at all.

In order to provide a clean separation between base, net and core libraries we
now use the same wxSocketManager (wxSocketFDBasedManager), defined in net
library for both console and GUI Unix applications and just use different FD
IO manager for them: the latter can be defined in base and core libraries as
it doesn't involve wxSocketImpl at all, only its base wxFDIOHandler class.

At more detailed level, these changes required:
 1. Adding the new wxFDIOManager class.
 2. Refactoring the old (and now removed) wxSocketFDIOManager to use the same
    code as wxSocketFDIOManager. This involved:
  a) Adding handler and direction parameter to RemoveInput().
  b) Storing the mask of registered events in wxFDIOHandler itself.
  c) Defining wxFDIOManagerUnix which works with wxFDIODispatcher.
 3. Changing the traits classes in Unix ports to define GetFDIOManager()
    instead of GetSocketManager().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-08-17 23:02:46 +00:00
..
formats explicitly request that RPM spec files have Unix line endings with bakefile 0.2.3 2008-01-05 19:54:21 +00:00
wxpresets Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
Bakefiles.bkgen don't generate CE projects for tests/benchmarks 2009-05-01 10:14:15 +00:00
build_cfg.bkl add VC9 project files (closes #9960) 2008-10-08 16:42:00 +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 generate makefile.unx files using bakefile 2006-10-10 10:04:10 +00:00
common_samples.bkl removed remains of build system support for contrib 2007-11-18 22:12:23 +00:00
common.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
config.bkl enable OpenGL library build by default under Windows too 2009-05-31 12:55:11 +00:00
expat.bkl wxMGL revitalised with OpenWatcom. 2005-10-31 17:00:43 +00:00
files.bkl Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
jpeg.bkl Preparation for incoming OW 1.4 2005-11-10 12:05:11 +00:00
mac_bundles.bkl Don't move the actual executable, just link to it. 2009-04-26 02:01:25 +00:00
make_dist.mk remove remaining traces of samples/mobile (continuation of r58765) 2009-02-08 15:59:04 +00:00
monolithic.bkl added wxPropertyGrid from Jaakko Salli (#9934) 2008-09-12 20:57:41 +00:00
multilib.bkl added wxPropertyGrid from Jaakko Salli (#9934) 2008-09-12 20:57:41 +00:00
opengl.bkl enable OpenGL library build by default under Windows too 2009-05-31 12:55:11 +00:00
plugins_deps.bkl moved GNOME printing code back to wxCore and fixed for --enable-plugins case 2005-02-13 21:06:55 +00:00
plugins.bkl changes to make building plugins possible; build wxSound SDL plugin on Unix 2004-02-01 18:31:54 +00:00
png.bkl Preparation for incoming OW 1.4 2005-11-10 12:05:11 +00:00
README removed remains of build system support for contrib 2007-11-18 22:12:23 +00:00
regex.bkl After adding check to wx/mgl/chkconf.h for UNIV flag, our regex needs this flag delivered by makefiles (with rebaking). 2006-08-24 16:08:21 +00:00
scintilla.bkl don't update stc.h when not building the library, it doesn't make sense to do this in the samples makefiles 2009-05-12 09:13:36 +00:00
tiff.bkl don't use tif_os2.c which doesn't exist any more 2007-10-01 17:43:45 +00:00
version.bkl updated the version to 2.9.1 2009-07-05 11:51:53 +00:00
wx.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
wxwin.py added wxPropertyGrid from Jaakko Salli (#9934) 2008-09-12 20:57:41 +00:00
zlib.bkl Regenerated makefiles for 3rd-party lib change 2004-10-08 11:20:24 +00:00

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)