]> git.saurik.com Git - wxWidgets.git/commitdiff
moving bakefile build system to the trunk
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 23 Jun 2003 19:50:43 +0000 (19:50 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 23 Jun 2003 19:50:43 +0000 (19:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

16 files changed:
build/bakefiles/Makefile [new file with mode: 0644]
build/bakefiles/common.bkl [new file with mode: 0644]
build/bakefiles/common_samples.bkl [new file with mode: 0644]
build/bakefiles/config.bkl [new file with mode: 0644]
build/bakefiles/files.bkl [new file with mode: 0644]
build/bakefiles/jpeg.bkl [new file with mode: 0644]
build/bakefiles/monolithic.bkl [new file with mode: 0644]
build/bakefiles/multilib.bkl [new file with mode: 0644]
build/bakefiles/odbc.bkl [new file with mode: 0644]
build/bakefiles/png.bkl [new file with mode: 0644]
build/bakefiles/regenMakefile.py [new file with mode: 0755]
build/bakefiles/regex.bkl [new file with mode: 0644]
build/bakefiles/tiff.bkl [new file with mode: 0644]
build/bakefiles/wx.bkl [new file with mode: 0644]
build/bakefiles/wxwin.py [new file with mode: 0644]
build/bakefiles/zlib.bkl [new file with mode: 0644]

diff --git a/build/bakefiles/Makefile b/build/bakefiles/Makefile
new file mode 100644 (file)
index 0000000..946efff
--- /dev/null
@@ -0,0 +1,477 @@
+
+# Generated by regenMakefile.py
+
+BAKEFILE = bakefile
+BAKEARGS = -v
+
+
+AUTOCONF_ALL = ../../configure ../../samples/configure ../../Makefile.in ../../samples/Makefile.in ../../samples/db/Makefile.in ../../samples/dnd/Makefile.in ../../samples/ipc/Makefile.in ../../samples/mdi/Makefile.in ../../samples/mfc/Makefile.in ../../samples/png/Makefile.in ../../samples/tab/Makefile.in ../../samples/exec/Makefile.in ../../samples/font/Makefile.in ../../samples/help/Makefile.in ../../samples/grid/Makefile.in ../../samples/menu/Makefile.in ../../samples/text/Makefile.in ../../samples/console/Makefile.in ../../samples/treectrl/Makefile.in ../../samples/listctrl/Makefile.in ../../samples/joytest/Makefile.in ../../samples/regtest/Makefile.in ../../samples/dialogs/Makefile.in ../../samples/nativdlg/Makefile.in ../../samples/display/Makefile.in ../../samples/notebook/Makefile.in ../../samples/caret/Makefile.in ../../samples/erase/Makefile.in ../../samples/event/Makefile.in ../../samples/image/Makefile.in ../../samples/sashtest/Makefile.in ../../samples/docview/Makefile.in ../../samples/typetest/Makefile.in ../../samples/drawing/Makefile.in ../../samples/splitter/Makefile.in ../../samples/listbox/Makefile.in ../../samples/multimon/Makefile.in ../../samples/dynamic/Makefile.in ../../samples/checklst/Makefile.in ../../samples/taskbar/Makefile.in ../../samples/dragimag/Makefile.in ../../samples/sockets/Makefile.in ../../samples/calendar/Makefile.in ../../samples/minimal/Makefile.in ../../samples/access/Makefile.in ../../samples/statbar/Makefile.in ../../samples/config/Makefile.in ../../samples/dialup/Makefile.in ../../samples/controls/Makefile.in ../../samples/richedit/Makefile.in ../../samples/newgrid/Makefile.in ../../samples/toolbar/Makefile.in ../../samples/htlbox/Makefile.in ../../samples/layout/Makefile.in ../../samples/minifram/Makefile.in ../../samples/mobile/Makefile.in ../../samples/opengl/Makefile.in ../../samples/scroll/Makefile.in ../../samples/rotate/Makefile.in ../../samples/shaped/Makefile.in ../../samples/thread/Makefile.in ../../samples/wizard/Makefile.in ../../samples/printing/Makefile.in ../../samples/oleauto/Makefile.in ../../samples/wxtest/Makefile.in ../../samples/artprov/Makefile.in ../../samples/propsize/Makefile.in ../../samples/ownerdrw/Makefile.in ../../samples/vscroll/Makefile.in ../../samples/validate/Makefile.in ../../samples/widgets/Makefile.in ../../samples/keyboard/Makefile.in ../../samples/docvwmdi/Makefile.in ../../samples/scrollsub/Makefile.in ../../samples/memcheck/Makefile.in ../../samples/internat/Makefile.in
+all: autoconf
+
+autoconf: $(AUTOCONF_ALL)
+
+clean:
+       rm -f ../../autoconf_inc.m4
+       rm -f ../../samples/autoconf_inc.m4
+       rm -f ../../configure
+       rm -f ../../samples/configure
+       rm -f ../../Makefile.in
+       rm -f ../../samples/Makefile.in
+       rm -f ../../samples/db/Makefile.in
+       rm -f ../../samples/dnd/Makefile.in
+       rm -f ../../samples/ipc/Makefile.in
+       rm -f ../../samples/mdi/Makefile.in
+       rm -f ../../samples/mfc/Makefile.in
+       rm -f ../../samples/png/Makefile.in
+       rm -f ../../samples/tab/Makefile.in
+       rm -f ../../samples/exec/Makefile.in
+       rm -f ../../samples/font/Makefile.in
+       rm -f ../../samples/help/Makefile.in
+       rm -f ../../samples/grid/Makefile.in
+       rm -f ../../samples/menu/Makefile.in
+       rm -f ../../samples/text/Makefile.in
+       rm -f ../../samples/console/Makefile.in
+       rm -f ../../samples/treectrl/Makefile.in
+       rm -f ../../samples/listctrl/Makefile.in
+       rm -f ../../samples/joytest/Makefile.in
+       rm -f ../../samples/regtest/Makefile.in
+       rm -f ../../samples/dialogs/Makefile.in
+       rm -f ../../samples/nativdlg/Makefile.in
+       rm -f ../../samples/display/Makefile.in
+       rm -f ../../samples/notebook/Makefile.in
+       rm -f ../../samples/caret/Makefile.in
+       rm -f ../../samples/erase/Makefile.in
+       rm -f ../../samples/event/Makefile.in
+       rm -f ../../samples/image/Makefile.in
+       rm -f ../../samples/sashtest/Makefile.in
+       rm -f ../../samples/docview/Makefile.in
+       rm -f ../../samples/typetest/Makefile.in
+       rm -f ../../samples/drawing/Makefile.in
+       rm -f ../../samples/splitter/Makefile.in
+       rm -f ../../samples/listbox/Makefile.in
+       rm -f ../../samples/multimon/Makefile.in
+       rm -f ../../samples/dynamic/Makefile.in
+       rm -f ../../samples/checklst/Makefile.in
+       rm -f ../../samples/taskbar/Makefile.in
+       rm -f ../../samples/dragimag/Makefile.in
+       rm -f ../../samples/sockets/Makefile.in
+       rm -f ../../samples/calendar/Makefile.in
+       rm -f ../../samples/minimal/Makefile.in
+       rm -f ../../samples/access/Makefile.in
+       rm -f ../../samples/statbar/Makefile.in
+       rm -f ../../samples/config/Makefile.in
+       rm -f ../../samples/dialup/Makefile.in
+       rm -f ../../samples/controls/Makefile.in
+       rm -f ../../samples/richedit/Makefile.in
+       rm -f ../../samples/newgrid/Makefile.in
+       rm -f ../../samples/toolbar/Makefile.in
+       rm -f ../../samples/htlbox/Makefile.in
+       rm -f ../../samples/layout/Makefile.in
+       rm -f ../../samples/minifram/Makefile.in
+       rm -f ../../samples/mobile/Makefile.in
+       rm -f ../../samples/opengl/Makefile.in
+       rm -f ../../samples/scroll/Makefile.in
+       rm -f ../../samples/rotate/Makefile.in
+       rm -f ../../samples/shaped/Makefile.in
+       rm -f ../../samples/thread/Makefile.in
+       rm -f ../../samples/wizard/Makefile.in
+       rm -f ../../samples/printing/Makefile.in
+       rm -f ../../samples/oleauto/Makefile.in
+       rm -f ../../samples/wxtest/Makefile.in
+       rm -f ../../samples/artprov/Makefile.in
+       rm -f ../../samples/propsize/Makefile.in
+       rm -f ../../samples/ownerdrw/Makefile.in
+       rm -f ../../samples/vscroll/Makefile.in
+       rm -f ../../samples/validate/Makefile.in
+       rm -f ../../samples/widgets/Makefile.in
+       rm -f ../../samples/keyboard/Makefile.in
+       rm -f ../../samples/docvwmdi/Makefile.in
+       rm -f ../../samples/scrollsub/Makefile.in
+       rm -f ../../samples/memcheck/Makefile.in
+       rm -f ../../samples/internat/Makefile.in
+
+
+../../configure: ../../autoconf_inc.m4
+       (cd ../.. ; aclocal && autoconf)
+
+../../samples/configure: ../../samples/autoconf_inc.m4
+       (cd ../../samples ; aclocal && autoconf)
+
+Makefile: regenMakefile.py
+       ./regenMakefile.py
+       @echo
+       @echo -------------------------------------------
+       @echo Please rerun make, Makefile was regenerated
+       @echo -------------------------------------------
+       @echo
+       @exit 1
+
+# from wx.bkl
+../../Makefile.in: common.bkl config.bkl files.bkl monolithic.bkl wxwin.py wx.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../Makefile.in wx.bkl
+       touch ../../Makefile.in
+
+# from ../../samples/samples.bkl
+../../samples/Makefile.in: ../../samples/samples.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/Makefile.in ../../samples/samples.bkl
+       touch ../../samples/Makefile.in
+
+# from ../../samples/db/db.bkl
+../../samples/db/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/db/db.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/db/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/db/db.bkl
+       touch ../../samples/db/Makefile.in
+
+# from ../../samples/dnd/dnd.bkl
+../../samples/dnd/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/dnd/dnd.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/dnd/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/dnd/dnd.bkl
+       touch ../../samples/dnd/Makefile.in
+
+# from ../../samples/ipc/ipc.bkl
+../../samples/ipc/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/ipc/ipc.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/ipc/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/ipc/ipc.bkl
+       touch ../../samples/ipc/Makefile.in
+
+# from ../../samples/mdi/mdi.bkl
+../../samples/mdi/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/mdi/mdi.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/mdi/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/mdi/mdi.bkl
+       touch ../../samples/mdi/Makefile.in
+
+# from ../../samples/mfc/mfc.bkl
+../../samples/mfc/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/mfc/mfc.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/mfc/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/mfc/mfc.bkl
+       touch ../../samples/mfc/Makefile.in
+
+# from ../../samples/png/png.bkl
+../../samples/png/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/png/png.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/png/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/png/png.bkl
+       touch ../../samples/png/Makefile.in
+
+# from ../../samples/tab/tab.bkl
+../../samples/tab/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/tab/tab.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/tab/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/tab/tab.bkl
+       touch ../../samples/tab/Makefile.in
+
+# from ../../samples/exec/exec.bkl
+../../samples/exec/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/exec/exec.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/exec/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/exec/exec.bkl
+       touch ../../samples/exec/Makefile.in
+
+# from ../../samples/font/font.bkl
+../../samples/font/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/font/font.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/font/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/font/font.bkl
+       touch ../../samples/font/Makefile.in
+
+# from ../../samples/help/help.bkl
+../../samples/help/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/help/help.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/help/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/help/help.bkl
+       touch ../../samples/help/Makefile.in
+
+# from ../../samples/grid/grid.bkl
+../../samples/grid/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/grid/grid.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/grid/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/grid/grid.bkl
+       touch ../../samples/grid/Makefile.in
+
+# from ../../samples/menu/menu.bkl
+../../samples/menu/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/menu/menu.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/menu/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/menu/menu.bkl
+       touch ../../samples/menu/Makefile.in
+
+# from ../../samples/text/text.bkl
+../../samples/text/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/text/text.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/text/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/text/text.bkl
+       touch ../../samples/text/Makefile.in
+
+# from ../../samples/console/console.bkl
+../../samples/console/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/console/console.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/console/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/console/console.bkl
+       touch ../../samples/console/Makefile.in
+
+# from ../../samples/treectrl/treectrl.bkl
+../../samples/treectrl/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/treectrl/treectrl.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/treectrl/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/treectrl/treectrl.bkl
+       touch ../../samples/treectrl/Makefile.in
+
+# from ../../samples/listctrl/listctrl.bkl
+../../samples/listctrl/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/listctrl/listctrl.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/listctrl/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/listctrl/listctrl.bkl
+       touch ../../samples/listctrl/Makefile.in
+
+# from ../../samples/joytest/joytest.bkl
+../../samples/joytest/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/joytest/joytest.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/joytest/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/joytest/joytest.bkl
+       touch ../../samples/joytest/Makefile.in
+
+# from ../../samples/regtest/regtest.bkl
+../../samples/regtest/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/regtest/regtest.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/regtest/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/regtest/regtest.bkl
+       touch ../../samples/regtest/Makefile.in
+
+# from ../../samples/dialogs/dialogs.bkl
+../../samples/dialogs/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/dialogs/dialogs.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/dialogs/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/dialogs/dialogs.bkl
+       touch ../../samples/dialogs/Makefile.in
+
+# from ../../samples/nativdlg/nativdlg.bkl
+../../samples/nativdlg/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/nativdlg/nativdlg.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/nativdlg/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/nativdlg/nativdlg.bkl
+       touch ../../samples/nativdlg/Makefile.in
+
+# from ../../samples/display/display.bkl
+../../samples/display/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/display/display.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/display/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/display/display.bkl
+       touch ../../samples/display/Makefile.in
+
+# from ../../samples/notebook/notebook.bkl
+../../samples/notebook/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/notebook/notebook.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/notebook/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/notebook/notebook.bkl
+       touch ../../samples/notebook/Makefile.in
+
+# from ../../samples/caret/caret.bkl
+../../samples/caret/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/caret/caret.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/caret/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/caret/caret.bkl
+       touch ../../samples/caret/Makefile.in
+
+# from ../../samples/erase/erase.bkl
+../../samples/erase/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/erase/erase.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/erase/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/erase/erase.bkl
+       touch ../../samples/erase/Makefile.in
+
+# from ../../samples/event/event.bkl
+../../samples/event/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/event/event.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/event/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/event/event.bkl
+       touch ../../samples/event/Makefile.in
+
+# from ../../samples/image/image.bkl
+../../samples/image/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/image/image.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/image/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/image/image.bkl
+       touch ../../samples/image/Makefile.in
+
+# from ../../samples/sashtest/sashtest.bkl
+../../samples/sashtest/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/sashtest/sashtest.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/sashtest/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/sashtest/sashtest.bkl
+       touch ../../samples/sashtest/Makefile.in
+
+# from ../../samples/docview/docview.bkl
+../../samples/docview/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/docview/docview.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/docview/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/docview/docview.bkl
+       touch ../../samples/docview/Makefile.in
+
+# from ../../samples/typetest/typetest.bkl
+../../samples/typetest/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/typetest/typetest.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/typetest/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/typetest/typetest.bkl
+       touch ../../samples/typetest/Makefile.in
+
+# from ../../samples/drawing/drawing.bkl
+../../samples/drawing/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/drawing/drawing.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/drawing/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/drawing/drawing.bkl
+       touch ../../samples/drawing/Makefile.in
+
+# from ../../samples/splitter/splitter.bkl
+../../samples/splitter/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/splitter/splitter.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/splitter/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/splitter/splitter.bkl
+       touch ../../samples/splitter/Makefile.in
+
+# from ../../samples/listbox/listbox.bkl
+../../samples/listbox/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/listbox/listbox.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/listbox/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/listbox/listbox.bkl
+       touch ../../samples/listbox/Makefile.in
+
+# from ../../samples/multimon/multimon.bkl
+../../samples/multimon/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/multimon/multimon.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/multimon/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/multimon/multimon.bkl
+       touch ../../samples/multimon/Makefile.in
+
+# from ../../samples/dynamic/dynamic.bkl
+../../samples/dynamic/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/dynamic/dynamic.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/dynamic/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/dynamic/dynamic.bkl
+       touch ../../samples/dynamic/Makefile.in
+
+# from ../../samples/checklst/checklst.bkl
+../../samples/checklst/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/checklst/checklst.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/checklst/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/checklst/checklst.bkl
+       touch ../../samples/checklst/Makefile.in
+
+# from ../../samples/taskbar/taskbar.bkl
+../../samples/taskbar/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/taskbar/taskbar.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/taskbar/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/taskbar/taskbar.bkl
+       touch ../../samples/taskbar/Makefile.in
+
+# from ../../samples/dragimag/dragimag.bkl
+../../samples/dragimag/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/dragimag/dragimag.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/dragimag/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/dragimag/dragimag.bkl
+       touch ../../samples/dragimag/Makefile.in
+
+# from ../../samples/sockets/sockets.bkl
+../../samples/sockets/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/sockets/sockets.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/sockets/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/sockets/sockets.bkl
+       touch ../../samples/sockets/Makefile.in
+
+# from ../../samples/calendar/calendar.bkl
+../../samples/calendar/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/calendar/calendar.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/calendar/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/calendar/calendar.bkl
+       touch ../../samples/calendar/Makefile.in
+
+# from ../../samples/minimal/minimal.bkl
+../../samples/minimal/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/minimal/minimal.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/minimal/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/minimal/minimal.bkl
+       touch ../../samples/minimal/Makefile.in
+
+# from ../../samples/access/access.bkl
+../../samples/access/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/access/access.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/access/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/access/access.bkl
+       touch ../../samples/access/Makefile.in
+
+# from ../../samples/statbar/statbar.bkl
+../../samples/statbar/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/statbar/statbar.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/statbar/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/statbar/statbar.bkl
+       touch ../../samples/statbar/Makefile.in
+
+# from ../../samples/config/config.bkl
+../../samples/config/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/config/config.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/config/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/config/config.bkl
+       touch ../../samples/config/Makefile.in
+
+# from ../../samples/dialup/dialup.bkl
+../../samples/dialup/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/dialup/dialup.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/dialup/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/dialup/dialup.bkl
+       touch ../../samples/dialup/Makefile.in
+
+# from ../../samples/controls/controls.bkl
+../../samples/controls/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/controls/controls.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/controls/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/controls/controls.bkl
+       touch ../../samples/controls/Makefile.in
+
+# from ../../samples/richedit/richedit.bkl
+../../samples/richedit/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/richedit/richedit.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/richedit/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/richedit/richedit.bkl
+       touch ../../samples/richedit/Makefile.in
+
+# from ../../samples/newgrid/newgrid.bkl
+../../samples/newgrid/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/newgrid/newgrid.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/newgrid/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/newgrid/newgrid.bkl
+       touch ../../samples/newgrid/Makefile.in
+
+# from ../../samples/toolbar/toolbar.bkl
+../../samples/toolbar/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/toolbar/toolbar.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/toolbar/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/toolbar/toolbar.bkl
+       touch ../../samples/toolbar/Makefile.in
+
+# from ../../samples/htlbox/htlbox.bkl
+../../samples/htlbox/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/htlbox/htlbox.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/htlbox/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/htlbox/htlbox.bkl
+       touch ../../samples/htlbox/Makefile.in
+
+# from ../../samples/layout/layout.bkl
+../../samples/layout/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/layout/layout.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/layout/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/layout/layout.bkl
+       touch ../../samples/layout/Makefile.in
+
+# from ../../samples/minifram/minifram.bkl
+../../samples/minifram/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/minifram/minifram.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/minifram/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/minifram/minifram.bkl
+       touch ../../samples/minifram/Makefile.in
+
+# from ../../samples/mobile/mobile.bkl
+../../samples/mobile/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/mobile/mobile.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/mobile/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/mobile/mobile.bkl
+       touch ../../samples/mobile/Makefile.in
+
+# from ../../samples/opengl/opengl.bkl
+../../samples/opengl/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/opengl/opengl.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/opengl/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/opengl/opengl.bkl
+       touch ../../samples/opengl/Makefile.in
+
+# from ../../samples/scroll/scroll.bkl
+../../samples/scroll/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/scroll/scroll.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/scroll/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/scroll/scroll.bkl
+       touch ../../samples/scroll/Makefile.in
+
+# from ../../samples/rotate/rotate.bkl
+../../samples/rotate/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/rotate/rotate.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/rotate/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/rotate/rotate.bkl
+       touch ../../samples/rotate/Makefile.in
+
+# from ../../samples/shaped/shaped.bkl
+../../samples/shaped/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/shaped/shaped.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/shaped/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/shaped/shaped.bkl
+       touch ../../samples/shaped/Makefile.in
+
+# from ../../samples/thread/thread.bkl
+../../samples/thread/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/thread/thread.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/thread/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/thread/thread.bkl
+       touch ../../samples/thread/Makefile.in
+
+# from ../../samples/wizard/wizard.bkl
+../../samples/wizard/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/wizard/wizard.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/wizard/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/wizard/wizard.bkl
+       touch ../../samples/wizard/Makefile.in
+
+# from ../../samples/printing/printing.bkl
+../../samples/printing/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/printing/printing.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/printing/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/printing/printing.bkl
+       touch ../../samples/printing/Makefile.in
+
+# from ../../samples/oleauto/oleauto.bkl
+../../samples/oleauto/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/oleauto/oleauto.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/oleauto/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/oleauto/oleauto.bkl
+       touch ../../samples/oleauto/Makefile.in
+
+# from ../../samples/wxtest/wxtest.bkl
+../../samples/wxtest/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/wxtest/wxtest.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/wxtest/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/wxtest/wxtest.bkl
+       touch ../../samples/wxtest/Makefile.in
+
+# from ../../samples/artprov/artprov.bkl
+../../samples/artprov/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/artprov/artprov.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/artprov/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/artprov/artprov.bkl
+       touch ../../samples/artprov/Makefile.in
+
+# from ../../samples/propsize/propsize.bkl
+../../samples/propsize/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/propsize/propsize.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/propsize/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/propsize/propsize.bkl
+       touch ../../samples/propsize/Makefile.in
+
+# from ../../samples/ownerdrw/ownerdrw.bkl
+../../samples/ownerdrw/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/ownerdrw/ownerdrw.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/ownerdrw/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/ownerdrw/ownerdrw.bkl
+       touch ../../samples/ownerdrw/Makefile.in
+
+# from ../../samples/vscroll/vscroll.bkl
+../../samples/vscroll/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/vscroll/vscroll.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/vscroll/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/vscroll/vscroll.bkl
+       touch ../../samples/vscroll/Makefile.in
+
+# from ../../samples/validate/validate.bkl
+../../samples/validate/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/validate/validate.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/validate/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/validate/validate.bkl
+       touch ../../samples/validate/Makefile.in
+
+# from ../../samples/widgets/widgets.bkl
+../../samples/widgets/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/widgets/widgets.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/widgets/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/widgets/widgets.bkl
+       touch ../../samples/widgets/Makefile.in
+
+# from ../../samples/keyboard/keyboard.bkl
+../../samples/keyboard/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/keyboard/keyboard.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/keyboard/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/keyboard/keyboard.bkl
+       touch ../../samples/keyboard/Makefile.in
+
+# from ../../samples/docvwmdi/docvwmdi.bkl
+../../samples/docvwmdi/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/docvwmdi/docvwmdi.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/docvwmdi/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/docvwmdi/docvwmdi.bkl
+       touch ../../samples/docvwmdi/Makefile.in
+
+# from ../../samples/scrollsub/scrollsub.bkl
+../../samples/scrollsub/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/scrollsub/scrollsub.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/scrollsub/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/scrollsub/scrollsub.bkl
+       touch ../../samples/scrollsub/Makefile.in
+
+# from ../../samples/memcheck/memcheck.bkl
+../../samples/memcheck/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/memcheck/memcheck.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/memcheck/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/memcheck/memcheck.bkl
+       touch ../../samples/memcheck/Makefile.in
+
+# from ../../samples/internat/internat.bkl
+../../samples/internat/Makefile.in: common.bkl common_samples.bkl config.bkl ../../samples/internat/internat.bkl Makefile
+       $(BAKEFILE) $(BAKEARGS) -fautoconf -o../../samples/internat/Makefile.in -DWXTOPDIR=/../.. -DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4 ../../samples/internat/internat.bkl
+       touch ../../samples/internat/Makefile.in
diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
new file mode 100644 (file)
index 0000000..902a270
--- /dev/null
@@ -0,0 +1,153 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <!-- bakefile modules we need: -->
+    <using module="datafiles"/>
+
+    <!-- load python module with wxwindows helpers: -->
+    <using module="wxwin"/>
+
+    <include file="config.bkl"/>
+    
+    
+    <!-- ================================================================== -->
+    <!--                     wxWindows version numbers:                     -->
+    <!-- ================================================================== -->
+
+    <set var="WXVER_MAJOR">$(wxwin.getVersionMajor())</set>
+    <set var="WXVER_MINOR">$(wxwin.getVersionMinor())</set>
+    <set var="WXVER_RELEASE">$(wxwin.getVersionRelease())</set>
+    <set var="WX_VERSION">$(WXVER_MAJOR).$(WXVER_MINOR).$(WXVER_RELEASE)</set>
+
+    <set var="WXSOVERSION">0.0.0</set>
+    <set var="WXMACVERSION">$(WX_VERSION)</set>
+    
+    
+    <!-- ================================================================== -->
+    <!--                     Names of libraries and DLLs:                   -->
+    <!-- ================================================================== -->
+
+    <set var="PORTNAME">
+        <if cond="USE_GUI=='0'">base</if>
+        <if cond="USE_GUI=='1'">$(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION)</if>
+    </set>
+
+    <set var="COMPILERORGCC">
+        <if cond="isdefined('COMPILER')">$(COMPILER)</if>
+        <if cond="not isdefined('COMPILER')">gcc</if>
+    </set>
+    <set var="WXCOMPILER">
+        <if cond="PLATFORM_WIN32=='1'">_$(COMPILERORGCC)</if>
+    </set>
+    
+    <set var="WXDEBUGFLAG">
+        <if cond="BUILD=='debug'">d</if>
+    </set>
+    <set var="WXUNICODEFLAG">
+        <if cond="UNICODE=='1'">u</if>
+    </set>
+    <set var="WXNAMESUFFIX">
+        $(WXUNICODEFLAG)$(WXDEBUGFLAG)
+    </set>
+    
+    <set var="WXUNIVNAME">
+        <if cond="WXUNIV=='1'">univ</if>
+    </set>
+    <set var="WXUNIV_DEFINE">
+        <if cond="WXUNIV=='1'">__WXUNIVERSAL__</if>
+    </set>
+
+    <set var="WXNAMEPREFIX">wx</set>
+    <set var="WXNAMEPREFIXGUI">wx_$(PORTNAME)$(WXUNIVNAME)</set>
+    <set var="WXVERSIONTAG">-$(WXVER_MAJOR).$(WXVER_MINOR)</set>
+
+    <set var="TOOLCHAIN_NAME">
+        $(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)-$(WXVER_MAJOR).$(WXVER_MINOR)
+    </set>
+
+    
+    <!-- =============================================================== -->
+    <!--                    Names of component libraries:                -->
+    <!-- =============================================================== -->
+
+    <set var="WXLIB_CORE">
+        <if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('core')))</if>
+    </set>
+
+    <set var="WXLIB_MONO">
+        <if cond="MONOLITHIC=='1'">$(mk.evalExpr(wxwin.mkLibName('mono')))</if>
+    </set>
+    
+    
+    <!-- =============================================================== -->
+    <!--                   Where to store built libraries:               -->
+    <!-- =============================================================== -->
+
+    <set var="LIBDIRNAME">
+        <if cond="FORMAT=='autoconf'">$(top_builddir)/lib</if>
+    </set>
+
+    <!-- =============================================================== -->
+    <!--                         3rd party libs:                         -->
+    <!-- =============================================================== -->
+    
+    <!-- 3rd party libraries: -->
+    <include file="regex.bkl"/>
+    <include file="zlib.bkl"/>
+    <include file="png.bkl"/>
+    <include file="jpeg.bkl"/>
+    <include file="tiff.bkl"/>
+    <include file="odbc.bkl"/>
+
+    
+    <!-- =============================================================== -->
+    <!--                  Templates for wxWindows libs:                  -->
+    <!-- =============================================================== -->
+    
+    <set var="WXTOPDIR"></set>
+
+    <template id="wx">
+        <set var="wxid">$(wxwin.mk_wxid(id))</set>
+        <define>__WX$(TOOLKIT)__</define>
+        <define>$(WXUNIV_DEFINE)</define>
+        <include>$(SRCDIR)$(WXTOPDIR)/include</include>
+        <lib-path>$(LIBDIRNAME)</lib-path>
+    </template>
+
+    <template id="wx_append">
+        <ldflags>$(EXTRALIBS)</ldflags>
+        <!-- link against builtin 3rd party libs, if needed: -->
+        <sys-lib>$(LIB_JPEG)</sys-lib>
+        <sys-lib>$(LIB_PNG)</sys-lib>
+        <sys-lib>$(LIB_ZLIB)</sys-lib>
+        <sys-lib>$(LIB_TIFF)</sys-lib>
+        <sys-lib>$(LIB_ODBC)</sys-lib>
+        <sys-lib>$(LIB_REGEX)</sys-lib>
+    </template>
+
+    <template id="wx_lib" template="wx" template_append="wx_append">
+        <set var="WXLIBNAME">$(wxwin.mkLibName(wxid))</set>
+        <dirname>$(LIBDIRNAME)</dirname>
+        <libname>$(WXLIBNAME)</libname>
+        <install-to>$(LIBDIR)</install-to>
+    </template>
+    
+    <template id="wx_dll" template="wx_lib">
+        <set var="WXDLLNAME">$(wxwin.mkDllName(wxid))</set>
+        <dllname>$(WXDLLNAME)</dllname>
+        <version>$(WX_VERSION)</version>
+        <so_version>$(WXSOVERSION)</so_version>
+        <mac_version>$(WXMACVERSION)</mac_version>
+    </template>
+    
+    
+    <!-- =============================================================== -->
+    <!--               Support for wxWindows samples and contrib:        -->
+    <!-- =============================================================== -->
+
+    <!-- Link against one wxWin library. Value must be literal! -->
+    <define-tag name="wx-lib" rules="exe,dll">
+        <sys-lib>$(wxwin.libToLink(value))</sys-lib>
+    </define-tag>
+
+</makefile>
diff --git a/build/bakefiles/common_samples.bkl b/build/bakefiles/common_samples.bkl
new file mode 100644 (file)
index 0000000..d293b93
--- /dev/null
@@ -0,0 +1,48 @@
+<?xml version="1.0" ?>
+<makefile>
+    
+    <set var="BUILDING_LIB">0</set>
+
+    <include file="common.bkl"/>
+
+    
+    <!-- =============================================================== -->
+    <!--                    Template for wxWindows samples:              -->
+    <!-- =============================================================== -->
+
+    <if cond="FORMAT=='autoconf'">
+        <set var="MACOSX_RESOURCES">
+            <if cond="TOOLKIT=='MAC'">
+                Carbon.r ../../lib/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[0]).r
+            </if>
+        </set>
+    </if>
+    
+    <template id="wx_sample" template="wx">
+        <include>$(SRCDIR)</include>
+        <!-- Always link against the wxWin library in monolithic build: -->
+        <sys-lib>$(WXLIB_MONO)</sys-lib>
+        <ldflags>$(SAMPLES_RPATH_FLAG)</ldflags>
+
+        <mac-res cond="FORMAT=='autoconf'">$(MACOSX_RESOURCES)</mac-res>
+    </template>
+
+    
+    <!-- =============================================================== -->
+    <!--                    Support for samples data files:              -->
+    <!-- =============================================================== -->
+
+    <define-rule name="wx-data" extends="copy-files">
+        <template>
+            <dependency-of>all</dependency-of>
+            <dstdir>$(BUILDDIR)</dstdir>
+            <srcdir>$(SRCDIR)</srcdir>
+        </template>
+        <define-tag name="files">
+            <clean-files>
+                $(' '.join(['$(BUILDDIR)$(DIRSEP)%s'%x for x in value.split()]))
+            </clean-files>
+        </define-tag>
+    </define-rule>
+
+</makefile>
diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl
new file mode 100644 (file)
index 0000000..4afe032
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" ?>
+<!-- $Id$ -->
+
+<makefile>
+
+    <option name="UNICODE">
+        <values>0 1</values>
+        <default-value>0</default-value>
+        <description>
+            Compile Unicode build of wxWindows?
+        </description>
+    </option>
+
+    <option name="SHARED">
+        <values>0 1</values>
+        <default-value>1</default-value>
+        <description>
+            What type of library to build?
+        </description>
+    </option>
+    
+    <!-- FIXME - to be option, not hardcoded value!! -->
+    <option name="MONOLITHIC">
+        <values>0 1</values>
+        <default-value>0</default-value>
+        <description>
+            Multiple libraries or single huge monolithic one?
+        </description>
+    </option>
+    
+    <option name="USE_GUI">
+        <values>0 1</values>
+        <default-value>1</default-value>
+        <description>
+            Build GUI libraries?
+        </description>
+    </option>
+
+    <option name="WXUNIV">
+        <values>0 1</values>
+        <default-value>0</default-value>
+        <description>
+            Build wxUniversal instead of native port?
+        </description>
+    </option>
+
+    <!-- Autoconf options: -->
+    <if cond="FORMAT=='autoconf'"> 
+        <option name="DEREZ"/>
+        <option name="TOOLKIT"/>
+        <option name="TOOLKIT_LOWERCASE"/>
+        <option name="TOOLKIT_VERSION"/>
+        <option name="EXTRALIBS"/>
+        <option name="top_builddir"/>
+        <option name="SAMPLES_RPATH_FLAG"/>
+    </if>
+
+    <if cond="FORMAT!='autoconf'">
+        <set var="TOOLKIT_VERSION"></set>
+    </if>
+
+</makefile>
diff --git a/build/bakefiles/files.bkl b/build/bakefiles/files.bkl
new file mode 100644 (file)
index 0000000..efe2d0a
--- /dev/null
@@ -0,0 +1,1734 @@
+<?xml version="1.0" ?>
+<!-- $Id$ -->
+<makefile>
+
+<!-- ======================================================================
+                                       FILES
+         
+     Files are listed in variables according to this scheme:
+     * each group has _SRC and _HDR variable, for sources and headers
+       respectively
+     * file groups are:
+
+       BASE_CMN                common base files (all platforms)
+       GUICMN                  common GUI files (all platforms)
+
+       BASE_$(platform)        base files used on platform
+       $(port)LOWLEVEL         low-level GUI classes
+       $(port)                 high-level files for a port
+       XWIN_LOWLEVEL           low-level classes for X Window System port
+
+       HTML                    wxHTML files
+  
+     * one file may be listed in several groups
+    
+     ====================================================================== -->
+
+
+
+
+<!-- ====================================================================== -->
+<!--                               wxBase                                   -->
+<!-- ====================================================================== -->
+
+<set var="BASE_UNIX_SRC">
+    src/unix/dialup.cpp
+    src/unix/dir.cpp
+    src/unix/gsocket.c
+    src/unix/mimetype.cpp
+    src/unix/snglinst.cpp
+    src/unix/threadpsx.cpp
+    src/unix/utilsunx.cpp
+</set>
+<set var="BASE_UNIX_HDR">
+    wx/unix/dialup.h
+    wx/unix/gsockunx.h    
+    wx/unix/mimetype.h
+</set>
+<set var="BASE_WIN32_SRC">
+    src/msw/gsocket.c
+    src/msw/gsockmsw.c
+    src/msw/dde.cpp
+    src/msw/dir.cpp
+    src/msw/main.cpp
+    src/msw/mimetype.cpp
+    src/msw/regconf.cpp
+    src/msw/registry.cpp
+    src/msw/snglinst.cpp
+    src/msw/thread.cpp
+    src/msw/utils.cpp
+    src/msw/utilsexc.cpp
+    src/msw/volume.cpp
+</set>
+<set var="BASE_WIN32_HDR">
+    wx/msw/dde.h
+    wx/msw/gccpriv.h
+    wx/msw/mimetype.h
+    wx/msw/winundef.h
+</set>
+<set var="BASE_MAC_SRC">
+</set>
+<set var="BASE_MAC_HDR">
+</set>
+<set var="BASE_OS2_SRC">
+    src/os2/dir.cpp
+    src/os2/utils.cpp
+    src/os2/utilsexc.cpp
+</set>
+<set var="BASE_OS2_HDR">
+</set>
+<set var="BASE_CMN_SRC">
+    src/common/appcmn.cpp
+    src/common/clntdata.cpp
+    src/common/cmdline.cpp
+    src/common/config.cpp
+    src/common/datacmn.cpp
+    src/common/datetime.cpp
+    src/common/datstrm.cpp
+    src/common/db.cpp
+    src/common/dbtable.cpp
+    src/common/dircmn.cpp
+    src/common/dynarray.cpp
+    src/common/dynlib.cpp
+    src/common/dynload.cpp
+    src/common/encconv.cpp
+    src/common/event.cpp
+    src/common/extended.c
+    src/common/ffile.cpp
+    src/common/file.cpp
+    src/common/fileconf.cpp
+    src/common/filefn.cpp
+    src/common/filename.cpp
+    src/common/filesys.cpp
+    src/common/fontmap.cpp
+    src/common/fs_inet.cpp
+    src/common/fs_mem.cpp
+    src/common/fs_zip.cpp
+    src/common/ftp.cpp
+    src/common/hash.cpp
+    src/common/hashmap.cpp
+    src/common/http.cpp
+    src/common/intl.cpp
+    src/common/ipcbase.cpp
+    src/common/list.cpp
+    src/common/log.cpp
+    src/common/longlong.cpp
+    src/common/memory.cpp
+    src/common/mimecmn.cpp
+    src/common/module.cpp
+    src/common/msgout.cpp
+    src/common/mstream.cpp
+    src/common/object.cpp
+    src/common/process.cpp
+    src/common/protocol.cpp
+    src/common/regex.cpp
+    src/common/sckaddr.cpp
+    src/common/sckfile.cpp
+    src/common/sckipc.cpp
+    src/common/sckstrm.cpp
+    src/common/socket.cpp
+    src/common/strconv.cpp
+    src/common/stream.cpp
+    src/common/string.cpp
+    src/common/sysopt.cpp
+    src/common/textbuf.cpp
+    src/common/textfile.cpp
+    src/common/timercmn.cpp
+    src/common/tokenzr.cpp
+    src/common/txtstrm.cpp
+    src/common/unzip.c
+    src/common/url.cpp
+    src/common/utilscmn.cpp
+    src/common/variant.cpp
+    src/common/wfstream.cpp
+    src/common/wxchar.cpp
+    src/common/zipstrm.cpp
+    src/common/zstream.cpp
+</set>
+<set var="BASE_CMN_HDR">
+    wx/arrimpl.cpp
+    wx/listimpl.cpp
+    wx/app.h
+    wx/buffer.h
+    wx/build.h
+    wx/chkconf.h
+    wx/clntdata.h
+    wx/cmdline.h
+    wx/confbase.h
+    wx/config.h
+    wx/datetime.h
+    wx/datetime.inl
+    wx/datstrm.h
+    wx/db.h
+    wx/dbtable.h
+    wx/dde.h
+    wx/debug.h
+    wx/defs.h
+    wx/dir.h
+    wx/dynarray.h
+    wx/dynlib.h
+    wx/dynload.h
+    wx/encconv.h
+    wx/event.h
+    wx/features.h
+    wx/ffile.h
+    wx/file.h
+    wx/fileconf.h
+    wx/filefn.h
+    wx/filename.h
+    wx/filesys.h
+    wx/fontenc.h
+    wx/fontmap.h
+    wx/fs_inet.h
+    wx/fs_zip.h
+    wx/fs_mem.h
+    wx/dbkeyg.h
+    wx/gsocket.h
+    wx/hash.h
+    wx/hashmap.h
+    wx/intl.h
+    wx/iosfwrap.h
+    wx/ioswrap.h
+    wx/ipc.h
+    wx/ipcbase.h
+    wx/isql.h
+    wx/isqlext.h
+    wx/list.h
+    wx/log.h
+    wx/longlong.h
+    wx/math.h
+    wx/memory.h
+    wx/memconf.h
+    wx/memtext.h
+    wx/mimetype.h
+    wx/module.h
+    wx/msgout.h
+    wx/mstream.h
+    wx/object.h
+    wx/platform.h
+    wx/process.h
+    wx/regex.h
+    wx/sckaddr.h
+    wx/sckipc.h
+    wx/sckstrm.h
+    wx/socket.h
+    wx/snglinst.h
+    wx/strconv.h
+    wx/stream.h
+    wx/string.h
+    wx/sysopt.h
+    wx/textbuf.h
+    wx/textfile.h
+    wx/thread.h
+    wx/thrimpl.cpp
+    wx/timer.h
+    wx/tokenzr.h
+    wx/txtstrm.h
+    wx/url.h
+    wx/utils.h
+    wx/variant.h
+    wx/vector.h
+    wx/version.h
+    wx/volume.h
+    wx/wfstream.h
+    wx/wx.h
+    wx/wxchar.h
+    wx/wxprec.h
+    wx/zipstrm.h
+    wx/zstream.h
+</set>
+
+
+
+<!-- ====================================================================== -->
+<!--                            Common GUI files                            -->
+<!-- ====================================================================== -->
+
+<set var="GUICMN_SRC">
+    src/generic/busyinfo.cpp
+    src/generic/calctrl.cpp
+    src/generic/choicdgg.cpp
+    src/generic/dcbuffer.cpp
+    src/generic/dcpsg.cpp
+    src/generic/dirctrlg.cpp
+    src/generic/grid.cpp
+    src/generic/gridctrl.cpp
+    src/generic/gridsel.cpp
+    src/generic/laywin.cpp
+    src/generic/logg.cpp
+    src/generic/numdlgg.cpp
+    src/generic/panelg.cpp
+    src/generic/progdlgg.cpp
+    src/generic/sashwin.cpp
+    src/generic/scrlwing.cpp
+    src/generic/spinctlg.cpp
+    src/generic/splash.cpp
+    src/generic/splitter.cpp
+    src/generic/tbarsmpl.cpp
+    src/generic/textdlgg.cpp
+    src/generic/tipdlg.cpp
+    src/generic/tipwin.cpp
+    src/generic/treectlg.cpp
+    src/generic/wizard.cpp
+    src/common/accesscmn.cpp
+    src/common/artprov.cpp
+    src/common/artstd.cpp
+    src/common/bmpbase.cpp
+    src/common/choiccmn.cpp
+    src/common/clipcmn.cpp
+    src/common/cmdproc.cpp
+    src/common/cmndata.cpp
+    src/common/containr.cpp
+    src/common/cshelp.cpp
+    src/common/ctrlcmn.cpp
+    src/common/ctrlsub.cpp
+    src/common/dbgrid.cpp
+    src/common/dcbase.cpp
+    src/common/dlgcmn.cpp
+    src/common/dndcmn.cpp
+    src/common/dobjcmn.cpp
+    src/common/docmdi.cpp
+    src/common/docview.cpp
+    src/common/dpycmn.cpp
+    src/common/dseldlg.cpp
+    src/common/effects.cpp
+    src/common/fddlgcmn.cpp
+    src/common/fontcmn.cpp
+    src/common/framecmn.cpp
+    src/common/toplvcmn.cpp
+    src/common/gaugecmn.cpp
+    src/common/gdicmn.cpp
+    src/common/geometry.cpp
+    src/common/gifdecod.cpp
+    src/common/helpbase.cpp
+    src/common/iconbndl.cpp
+    src/common/imagall.cpp
+    src/common/imagbmp.cpp
+    src/common/image.cpp
+    src/common/imagfill.cpp
+    src/common/imaggif.cpp
+    src/common/imagiff.cpp
+    src/common/imagjpeg.cpp
+    src/common/imagpcx.cpp
+    src/common/imagpng.cpp
+    src/common/imagpnm.cpp
+    src/common/imagtiff.cpp
+    src/common/imagxpm.cpp
+    src/common/layout.cpp
+    src/common/lboxcmn.cpp
+    src/common/matrix.cpp
+    src/common/menucmn.cpp
+    src/common/nbkbase.cpp
+    src/common/paper.cpp
+    src/common/popupcmn.cpp
+    src/common/prntbase.cpp
+    src/common/quantize.cpp
+    src/common/radiocmn.cpp
+    src/common/rgncmn.cpp
+    src/common/settcmn.cpp
+    src/common/sizer.cpp
+    src/common/statbar.cpp
+    src/common/tbarbase.cpp
+    src/common/textcmn.cpp
+    src/common/treebase.cpp
+    src/common/valgen.cpp
+    src/common/validate.cpp
+    src/common/valtext.cpp
+    src/common/wincmn.cpp
+    src/common/xpmdecod.cpp
+</set>
+<set var="GUICMN_HDR">
+    wx/generic/accel.h
+    wx/generic/calctrl.h
+    wx/generic/caret.h
+    wx/generic/choicdgg.h
+    wx/generic/colrdlgg.h
+    wx/generic/dcpsg.h
+    wx/generic/dirctrlg.h
+    wx/generic/fontdlgg.h
+    wx/generic/filedlgg.h
+    wx/generic/grid.h
+    wx/generic/gridctrl.h
+    wx/generic/grid.h
+    wx/generic/helpext.h
+    wx/helphtml.h
+    wx/generic/imaglist.h
+    wx/generic/laywin.h
+    wx/generic/msgdlgg.h
+    wx/generic/notebook.h
+    wx/generic/panelg.h
+    wx/generic/prntdlgg.h
+    wx/generic/progdlgg.h
+    wx/generic/sashwin.h
+    wx/generic/scrolwin.h
+    wx/generic/spinctlg.h
+    wx/generic/splash.h
+    wx/generic/splitter.h
+    wx/generic/textdlgg.h
+    wx/generic/timer.h
+    wx/generic/wizard.h
+    wx/generic/treectlg.h
+</set>
+
+
+<!-- ====================================================================== -->
+<!--                            Common X11 code:                            -->
+<!-- ====================================================================== -->
+
+<set var="XWIN_LOWLEVEL_SRC">
+    src/unix/fontenum.cpp
+    src/unix/fontutil.cpp
+    src/unix/utilsx11.cpp
+    src/common/taskbarcmn.cpp
+    src/unix/taskbarx11.cpp
+    src/generic/printps.cpp
+</set>
+<set var="XWIN_LOWLEVEL_HDR">
+    wx/unix/fontutil.h
+    wx/unix/utilsx11.h
+    wx/unix/taskbarx11.h
+    wx/generic/printps.h
+</set>
+
+
+<!-- ====================================================================== -->
+<!--                                wxGTK                                   -->
+<!-- ====================================================================== -->
+
+<set var="GTK_LOWLEVEL_SRC">
+    $(XWIN_LOWLEVEL_SRC)
+    src/gtk/gsockgtk.c
+    src/gtk/win_gtk.c
+    src/gtk/app.cpp
+    src/gtk/bitmap.cpp
+    src/gtk/brush.cpp
+    src/gtk/clipbrd.cpp
+    src/gtk/colour.cpp
+    src/gtk/cursor.cpp
+    src/gtk/data.cpp
+    src/gtk/dataobj.cpp
+    src/gtk/dc.cpp
+    src/gtk/dcclient.cpp
+    src/gtk/dcmemory.cpp
+    src/gtk/dcscreen.cpp
+    src/gtk/dnd.cpp
+    src/gtk/evtloop.cpp
+    src/gtk/font.cpp
+    src/gtk/toplevel.cpp
+    src/gtk/gdiobj.cpp
+    src/gtk/icon.cpp
+    src/gtk/main.cpp
+    src/gtk/pen.cpp
+    src/gtk/popupwin.cpp
+    src/gtk/region.cpp
+    src/gtk/settings.cpp
+    src/gtk/timer.cpp
+    src/gtk/tooltip.cpp
+    src/gtk/utilsgtk.cpp
+    src/gtk/window.cpp
+    src/generic/paletteg.cpp
+</set>
+<set var="GTK_LOWLEVEL_HDR">
+    $(XWIN_LOWLEVEL_HDR)
+</set>
+<set var="GTK_SRC">
+    <!-- Generic implementations used by wxGTK: -->
+    src/generic/imaglist.cpp
+    src/generic/colrdlgg.cpp
+    src/generic/listctrl.cpp
+    src/generic/filedlgg.cpp
+    src/generic/dirdlgg.cpp
+    src/generic/prntdlgg.cpp
+    src/generic/accel.cpp
+    src/generic/msgdlgg.cpp
+    src/generic/fdrepdlg.cpp
+    src/generic/tabg.cpp
+    src/generic/statusbr.cpp
+    <!-- GTK+ specific files: -->
+    src/gtk/bmpbuttn.cpp
+    src/gtk/button.cpp
+    src/gtk/checkbox.cpp
+    src/gtk/checklst.cpp
+    src/gtk/choice.cpp
+    src/gtk/combobox.cpp
+    src/gtk/control.cpp
+    src/gtk/dialog.cpp
+    src/gtk/fontdlg.cpp
+    src/gtk/frame.cpp
+    src/gtk/gauge.cpp
+    src/gtk/joystick.cpp
+    src/gtk/listbox.cpp
+    src/gtk/mdi.cpp
+    src/gtk/menu.cpp
+    src/gtk/minifram.cpp
+    src/gtk/msgdlg.cpp
+    src/gtk/notebook.cpp
+    src/gtk/radiobox.cpp
+    src/gtk/radiobut.cpp
+    src/gtk/scrolbar.cpp
+    src/gtk/scrolwin.cpp
+    src/gtk/slider.cpp
+    src/gtk/spinbutt.cpp
+    src/gtk/spinctrl.cpp
+    src/gtk/statbmp.cpp
+    src/gtk/statbox.cpp
+    src/gtk/statline.cpp
+    src/gtk/stattext.cpp
+    src/gtk/tbargtk.cpp
+    src/gtk/textctrl.cpp
+    src/gtk/tglbtn.cpp
+    src/gtk/utilsres.cpp
+    src/gtk/wave.cpp
+</set>
+<set var="GTK_HDR">
+    wx/gtk/accel.h
+    wx/gtk/app.h
+    wx/gtk/bitmap.h
+    wx/gtk/bmpbuttn.h
+    wx/gtk/brush.h
+    wx/gtk/button.h
+    wx/gtk/checkbox.h
+    wx/gtk/checklst.h
+    wx/gtk/choice.h
+    wx/gtk/clipbrd.h
+    wx/gtk/colour.h
+    wx/gtk/combobox.h
+    wx/gtk/control.h
+    wx/gtk/cursor.h
+    wx/gtk/dataform.h
+    wx/gtk/dataobj.h
+    wx/gtk/dataobj2.h
+    wx/gtk/dc.h
+    wx/gtk/dcclient.h
+    wx/gtk/dcmemory.h
+    wx/gtk/dcscreen.h
+    wx/gtk/dialog.h
+    wx/gtk/dnd.h
+    wx/gtk/filedlg.h
+    wx/gtk/font.h
+    wx/gtk/fontdlg.h
+    wx/gtk/frame.h
+    wx/gtk/toplevel.h
+    wx/gtk/gauge.h
+    wx/gtk/gdiobj.h
+    wx/gtk/glcanvas.h
+    wx/gtk/icon.h
+    wx/gtk/joystick.h
+    wx/gtk/listbox.h
+    wx/gtk/mdi.h
+    wx/gtk/menu.h
+    wx/gtk/menuitem.h
+    wx/gtk/minifram.h
+    wx/gtk/msgdlg.h
+    wx/gtk/notebook.h
+    wx/gtk/pen.h
+    wx/gtk/popupwin.h
+    wx/gtk/radiobox.h
+    wx/gtk/radiobut.h
+    wx/gtk/region.h
+    wx/gtk/scrolbar.h
+    wx/gtk/scrolwin.h
+    wx/gtk/slider.h
+    wx/gtk/spinbutt.h
+    wx/gtk/spinctrl.h
+    wx/gtk/statbmp.h
+    wx/gtk/statbox.h
+    wx/gtk/statline.h
+    wx/gtk/stattext.h
+    wx/gtk/tbargtk.h
+    wx/gtk/textctrl.h
+    wx/gtk/tglbtn.h
+    wx/gtk/timer.h
+    wx/gtk/tooltip.h
+    wx/gtk/treectrl.h
+    wx/gtk/wave.h
+    wx/gtk/win_gtk.h
+    wx/gtk/window.h
+    wx/generic/fdrepdlg.h
+    wx/generic/tabg.h
+    wx/generic/dirdlgg.h
+    wx/generic/statusbr.h
+</set>
+
+
+<!-- ====================================================================== -->
+<!--                             wxMotif                                    -->
+<!-- ====================================================================== -->
+
+<set var="MOTIF_LOWLEVEL_SRC">
+    $(XWIN_LOWLEVEL_SRC)
+    src/x11/region.cpp
+    src/x11/pen.cpp
+    src/x11/brush.cpp
+    src/x11/bitmap.cpp
+    src/x11/utilsx.cpp
+</set>
+<set var="MOTIF_LOWLEVEL_HDR">
+    $(XWIN_LOWLEVEL_HDR)
+</set>
+<set var="MOTIF_SRC">
+    src/motif/gsockmot.c
+    src/motif/accel.cpp
+    src/motif/app.cpp
+    src/motif/bmpbuttn.cpp
+    src/motif/bmpmotif.cpp
+    src/motif/button.cpp
+    src/motif/checkbox.cpp
+    src/motif/checklst.cpp
+    src/motif/choice.cpp
+    src/motif/clipbrd.cpp
+    src/motif/colour.cpp
+    src/motif/combobox.cpp
+    src/motif/combobox_native.cpp
+    src/motif/control.cpp
+    src/motif/cursor.cpp
+    src/motif/data.cpp
+    src/motif/dataobj.cpp
+    src/motif/dc.cpp
+    src/motif/dcclient.cpp
+    src/motif/dcmemory.cpp
+    src/motif/dcscreen.cpp
+    src/motif/dialog.cpp
+    src/motif/evtloop.cpp
+    src/motif/filedlg.cpp
+    src/motif/font.cpp
+    src/motif/frame.cpp
+    src/motif/gauge.cpp
+    src/motif/gdiobj.cpp
+    src/motif/glcanvas.cpp
+    src/motif/icon.cpp
+    src/motif/listbox.cpp
+    src/motif/main.cpp
+    src/motif/mdi.cpp
+    src/motif/menu.cpp
+    src/motif/menuitem.cpp
+    src/motif/minifram.cpp
+    src/motif/msgdlg.cpp
+    src/motif/palette.cpp
+    src/motif/radiobox.cpp
+    src/motif/radiobut.cpp
+    src/motif/scrolbar.cpp
+    src/motif/settings.cpp
+    src/motif/slider.cpp
+    src/motif/spinbutt.cpp
+    src/motif/statbmp.cpp
+    src/motif/statbox.cpp
+    src/motif/stattext.cpp
+    src/motif/toolbar.cpp
+    src/motif/textctrl.cpp
+    src/motif/timer.cpp
+    src/motif/toplevel.cpp
+    src/motif/utils.cpp
+    src/motif/window.cpp
+    <!-- Generic files used by wxMotif: -->
+    src/generic/fdrepdlg.cpp
+    src/generic/listctrl.cpp
+    src/generic/imaglist.cpp
+    src/generic/notebook.cpp
+    src/generic/fontdlgg.cpp
+    src/generic/colrdlgg.cpp
+    src/generic/statline.cpp
+    src/generic/tabg.cpp
+    src/generic/dirdlgg.cpp
+    src/generic/prntdlgg.cpp
+    src/generic/statusbr.cpp
+</set>
+<set var="MOTIF_HDR">
+    wx/motif/accel.h
+    wx/motif/app.h
+    wx/motif/bmpbuttn.h
+    wx/motif/bmpmotif.h
+    wx/motif/button.h
+    wx/motif/checkbox.h
+    wx/motif/checklst.h
+    wx/motif/choice.h
+    wx/motif/clipbrd.h
+    wx/motif/colour.h
+    wx/motif/combobox.h
+    wx/motif/control.h
+    wx/motif/cursor.h
+    wx/motif/dataform.h
+    wx/motif/dataobj.h
+    wx/motif/dc.h
+    wx/motif/dcclient.h
+    wx/motif/dcmemory.h
+    wx/motif/dcprint.h
+    wx/motif/dcscreen.h
+    wx/motif/dialog.h
+    wx/motif/dnd.h
+    wx/motif/filedlg.h
+    wx/motif/font.h
+    wx/motif/frame.h
+    wx/motif/gauge.h
+    wx/motif/gdiobj.h
+    wx/motif/glcanvas.h
+    wx/motif/icon.h
+    wx/motif/listbox.h
+    wx/motif/mdi.h
+    wx/motif/menu.h
+    wx/motif/menuitem.h
+    wx/motif/minifram.h
+    wx/motif/msgdlg.h
+    wx/motif/palette.h
+    wx/motif/print.h
+    wx/motif/private.h
+    wx/motif/radiobox.h
+    wx/motif/radiobut.h
+    wx/motif/region.h
+    wx/motif/scrolbar.h
+    wx/motif/settings.h
+    wx/motif/slider.h
+    wx/motif/spinbutt.h
+    wx/motif/statbmp.h
+    wx/motif/statbox.h
+    wx/motif/stattext.h
+    wx/motif/textctrl.h
+    wx/motif/tglbtn.h
+    wx/motif/timer.h
+    wx/motif/toolbar.h
+    wx/motif/toplevel.h
+    wx/motif/window.h
+    wx/generic/fdrepdlg.h
+    wx/generic/listctrl.h
+    wx/generic/imaglist.h
+    wx/generic/notebook.h
+    wx/generic/fontdlgg.h
+    wx/generic/colrdlgg.h
+    wx/generic/statline.h
+    wx/generic/tabg.h
+    wx/generic/dirdlgg.h
+    wx/generic/prntdlgg.h
+    wx/generic/statusbr.h
+</set>
+
+
+<!-- ====================================================================== -->
+<!--                               wxX11                                    -->
+<!-- ====================================================================== -->
+
+
+<set var="X11_LOWLEVEL_SRC">
+    $(XWIN_LOWLEVEL_SRC)
+    src/x11/gsockx11.c
+    src/x11/nanox.c
+    src/x11/app.cpp
+    src/x11/bitmap.cpp
+    src/x11/brush.cpp
+    src/x11/clipbrd.cpp
+    src/x11/colour.cpp
+    src/x11/cursor.cpp
+    src/x11/data.cpp
+    src/x11/dataobj.cpp
+    src/x11/dc.cpp
+    src/x11/dcclient.cpp
+    src/x11/dcmemory.cpp
+    src/x11/dcscreen.cpp
+    src/x11/evtloop.cpp
+    src/x11/font.cpp
+    src/x11/gdiobj.cpp
+    src/x11/glcanvas.cpp
+    src/x11/icon.cpp
+    src/x11/joystick.cpp
+    src/x11/main.cpp
+    src/x11/minifram.cpp
+    src/x11/palette.cpp
+    src/x11/pen.cpp
+    src/x11/popupwin.cpp
+    src/x11/region.cpp
+    src/x11/reparent.cpp
+    src/x11/settings.cpp
+    src/x11/toplevel.cpp
+    src/x11/utils.cpp
+    src/x11/utilsx.cpp
+    src/x11/window.cpp
+    src/generic/timer.cpp
+</set>
+<set var="X11_LOWLEVEL_HDR">
+    $(XWIN_LOWLEVEL_HDR)
+    wx/x11/app.h
+    wx/x11/bitmap.h
+    wx/x11/brush.h
+    wx/x11/clipbrd.h
+    wx/x11/colour.h
+    wx/x11/cursor.h
+    wx/x11/dataform.h
+    wx/x11/dataobj.h
+    wx/x11/dataobj2.h
+    wx/x11/dc.h
+    wx/x11/dcclient.h
+    wx/x11/dcmemory.h
+    wx/x11/dcprint.h
+    wx/x11/dcscreen.h
+    wx/x11/dnd.h
+    wx/x11/font.h
+    wx/x11/gdiobj.h
+    wx/x11/glcanvas.h
+    wx/x11/icon.h
+    wx/x11/joystick.h
+    wx/x11/minifram.h
+    wx/x11/palette.h
+    wx/x11/pen.h
+    wx/x11/print.h
+    wx/x11/private.h
+    wx/x11/privx.h
+    wx/x11/region.h
+    wx/x11/reparent.h
+    wx/x11/textctrl.h
+    wx/x11/toplevel.h
+    wx/x11/window.h
+    src/generic/timer.h
+</set>
+
+
+
+<!-- ====================================================================== -->
+<!--                                wxMSW                                   -->
+<!-- ====================================================================== -->
+
+<set var="MSW_LOWLEVEL_SRC">
+    src/msw/app.cpp
+    src/msw/bitmap.cpp
+    src/msw/brush.cpp
+    src/msw/caret.cpp
+    src/msw/clipbrd.cpp
+    src/msw/colour.cpp
+    src/msw/cursor.cpp
+    src/msw/data.cpp
+    src/msw/dc.cpp
+    src/msw/dcclient.cpp
+    src/msw/dcmemory.cpp
+    src/msw/dcprint.cpp
+    src/msw/dcscreen.cpp
+    src/msw/dialup.cpp
+    src/msw/dib.cpp
+    src/msw/dirdlg.cpp
+    src/msw/display.cpp
+    src/msw/enhmeta.cpp
+    src/msw/helpbest.cpp
+    src/msw/evtloop.cpp
+    src/msw/font.cpp
+    src/msw/fontenum.cpp
+    src/msw/fontutil.cpp
+    src/msw/gdiimage.cpp
+    src/msw/gdiobj.cpp
+    src/msw/glcanvas.cpp
+    src/msw/helpchm.cpp
+    src/msw/helpwin.cpp
+    src/msw/icon.cpp
+    src/msw/joystick.cpp
+    src/msw/minifram.cpp
+    src/msw/palette.cpp
+    src/msw/pen.cpp
+    src/msw/popupwin.cpp
+    src/msw/region.cpp
+    src/msw/settings.cpp
+    src/common/taskbarcmn.cpp
+    src/msw/taskbar.cpp
+    src/msw/timer.cpp
+    src/msw/tooltip.cpp
+    src/msw/toplevel.cpp
+    src/msw/wave.cpp
+    src/msw/window.cpp
+    src/msw/ole/automtn.cpp
+    src/msw/ole/dataobj.cpp
+    src/msw/ole/dropsrc.cpp
+    src/msw/ole/droptgt.cpp
+    src/msw/ole/oleutils.cpp
+    src/msw/ole/uuid.cpp
+</set>
+<set var="MSW_LOWLEVEL_HDR">
+</set>
+<set var="MSW_SRC">
+    src/msw/ole/access.cpp
+    src/msw/accel.cpp
+    src/msw/bmpbuttn.cpp
+    src/msw/button.cpp
+    src/msw/checkbox.cpp
+    src/msw/checklst.cpp
+    src/msw/choice.cpp
+    src/msw/colordlg.cpp
+    src/msw/combobox.cpp
+    src/msw/control.cpp
+    src/msw/dialog.cpp
+    src/msw/dragimag.cpp
+    src/msw/fdrepdlg.cpp
+    src/msw/filedlg.cpp
+    src/msw/fontdlg.cpp
+    src/msw/frame.cpp
+    src/msw/gauge95.cpp
+    src/msw/imaglist.cpp
+    src/msw/iniconf.cpp
+    src/msw/listbox.cpp
+    src/msw/listctrl.cpp
+    src/msw/mdi.cpp
+    src/msw/menu.cpp
+    src/msw/menuitem.cpp
+    src/msw/metafile.cpp
+    src/msw/msgdlg.cpp
+    src/msw/mslu.cpp
+    src/msw/nativdlg.cpp
+    src/msw/notebook.cpp
+    src/msw/ownerdrw.cpp
+    src/msw/penwin.cpp
+    src/msw/printdlg.cpp
+    src/msw/printwin.cpp
+    src/msw/radiobox.cpp
+    src/msw/radiobut.cpp
+    src/msw/scrolbar.cpp
+    src/msw/slider95.cpp
+    src/msw/spinbutt.cpp
+    src/msw/spinctrl.cpp
+    src/msw/statbmp.cpp
+    src/msw/statbox.cpp
+    src/msw/statbr95.cpp
+    src/msw/statline.cpp
+    src/msw/stattext.cpp
+    src/msw/tabctrl.cpp
+    src/msw/tbar95.cpp
+    src/msw/textctrl.cpp
+    src/msw/tglbtn.cpp
+    src/msw/treectrl.cpp
+    src/msw/mslu.cpp
+</set>
+<set var="MSW_HDR">
+    wx/msw/access.h
+    wx/msw/accel.h
+    wx/msw/app.h
+    wx/msw/bitmap.h
+    wx/msw/bmpbuttn.h
+    wx/msw/brush.h
+    wx/msw/button.h
+    wx/msw/caret.h
+    wx/msw/checkbox.h
+    wx/msw/checklst.h
+    wx/msw/choice.h
+    wx/msw/clipbrd.h
+    wx/msw/colordlg.h
+    wx/msw/colour.h
+    wx/msw/combobox.h
+    wx/msw/control.h
+    wx/msw/cursor.h
+    wx/msw/dc.h
+    wx/msw/dcclient.h
+    wx/msw/dcmemory.h
+    wx/msw/dcprint.h
+    wx/msw/dcscreen.h
+    wx/msw/dialog.h
+    wx/msw/dib.h
+    wx/msw/dirdlg.h
+    wx/msw/dragimag.h
+    wx/msw/enhmeta.h
+    wx/msw/fdrepdlg.h
+    wx/msw/filedlg.h
+    wx/msw/font.h
+    wx/msw/fontdlg.h
+    wx/msw/frame.h
+    wx/msw/gauge95.h
+    wx/msw/gdiimage.h
+    wx/msw/gdiobj.h
+    wx/msw/glcanvas.h
+    wx/msw/helpbest.h
+    wx/msw/helpchm.h
+    wx/msw/helpwin.h
+    wx/msw/icon.h
+    wx/msw/imaglist.h
+    wx/msw/iniconf.h
+    wx/msw/joystick.h
+    wx/msw/listbox.h
+    wx/msw/listctrl.h
+    wx/msw/mdi.h
+    wx/msw/menu.h
+    wx/msw/menuitem.h
+    wx/msw/metafile.h
+    wx/msw/minifram.h
+    wx/msw/missing.h
+    wx/msw/msgdlg.h
+    wx/msw/mslu.h
+    wx/msw/msvcrt.h
+    wx/msw/notebook.h
+    wx/msw/palette.h
+    wx/msw/pen.h
+    wx/msw/printdlg.h
+    wx/msw/printwin.h
+    wx/msw/private.h
+    wx/msw/radiobox.h
+    wx/msw/radiobut.h
+    wx/msw/regconf.h
+    wx/msw/region.h
+    wx/msw/registry.h
+    wx/msw/scrolbar.h
+    wx/msw/setup0.h
+    wx/msw/slider95.h
+    wx/msw/slidrmsw.h
+    wx/msw/spinctrl.h
+    wx/msw/spinbutt.h
+    wx/msw/statbmp.h
+    wx/msw/statbox.h
+    wx/msw/statbr95.h
+    wx/msw/statline.h
+    wx/msw/stattext.h
+    wx/msw/tabctrl.h
+    wx/msw/taskbar.h
+    wx/msw/tbar95.h
+    wx/msw/tbarmsw.h
+    wx/msw/textctrl.h
+    wx/msw/tglbtn.h
+    wx/msw/timer.h
+    wx/msw/tooltip.h
+    wx/msw/toplevel.h
+    wx/msw/treectrl.h
+    wx/msw/wave.h
+    wx/msw/window.h
+    wx/msw/access.h
+    wx/msw/automtn.h
+    wx/msw/dataform.h
+    wx/msw/dataobj.h
+    wx/msw/dataobj2.h
+    wx/msw/dropsrc.h
+    wx/msw/droptgt.h
+    wx/msw/oleutils.h
+    wx/msw/uuid.h
+</set>
+
+
+<!-- ====================================================================== -->
+<!--                                wxMGL                                   -->
+<!-- ====================================================================== -->
+
+<set var="MGL_LOWLEVEL_SRC">
+    src/mgl/colour.cpp
+    src/mgl/dc.cpp
+    src/mgl/gdiobj.cpp
+    src/mgl/palette.cpp
+    src/mgl/region.cpp
+    src/mgl/brush.cpp
+    src/mgl/pen.cpp
+    src/mgl/font.cpp
+    src/mgl/data.cpp
+    src/mgl/fontenum.cpp
+    src/mgl/fontutil.cpp
+    src/mgl/evtloop.cpp
+    src/mgl/app.cpp
+    src/mgl/bitmap.cpp
+    src/mgl/dirmgl.cpp
+    src/mgl/clipbrd.cpp
+    src/mgl/cursor.cpp
+    src/mgl/dcclient.cpp
+    src/mgl/dcmemory.cpp
+    src/mgl/dcscreen.cpp
+    src/mgl/toplevel.cpp
+    src/mgl/icon.cpp
+    src/mgl/settings.cpp
+    src/mgl/window.cpp
+    src/mgl/utils.cpp
+    src/generic/timer.cpp
+</set>
+<set var="MGL_LOWLEVEL_HDR">
+    wx/mgl/app.h
+    wx/mgl/bitmap.h
+    wx/mgl/brush.h
+    wx/mgl/clipbrd.h
+    wx/mgl/colour.h
+    wx/mgl/cursor.h
+    wx/mgl/dc.h
+    wx/mgl/dcclient.h
+    wx/mgl/dcmemory.h
+    wx/mgl/dcscreen.h
+    wx/mgl/font.h
+    wx/mgl/fontutil.h
+    wx/mgl/gdiobj.h
+    wx/mgl/icon.h
+    wx/mgl/palette.h
+    wx/mgl/pen.h
+    wx/mgl/popupwin.h
+    wx/mgl/private.h
+    wx/mgl/region.h
+    wx/mgl/toplevel.h
+    wx/mgl/window.h
+    wx/generic/timer.h
+</set>
+
+
+<!-- ====================================================================== -->
+<!--                               wxOS/2                                   -->
+<!-- ====================================================================== -->
+
+<set var="OS2_LOWLEVEL_SRC">
+</set>
+<set var="OS2_LOWLEVEL_HDR">
+</set>
+<set var="OS2_SRC">
+    src/os2/accel.cpp
+    src/os2/app.cpp
+    src/os2/bitmap.cpp
+    src/os2/bmpbuttn.cpp
+    src/os2/brush.cpp
+    src/os2/button.cpp
+    src/os2/checkbox.cpp
+    src/os2/checklst.cpp
+    src/os2/choice.cpp
+    src/os2/clipbrd.cpp
+    src/os2/colour.cpp
+    src/os2/combobox.cpp
+    src/os2/control.cpp
+    src/os2/cursor.cpp
+    src/os2/data.cpp
+    src/os2/dataobj.cpp
+    src/os2/dc.cpp
+    src/os2/dcclient.cpp
+    src/os2/dcmemory.cpp
+    src/os2/dcprint.cpp
+    src/os2/dcscreen.cpp
+    src/os2/dialog.cpp
+    src/os2/dnd.cpp
+    src/os2/filedlg.cpp
+    src/os2/font.cpp
+    src/os2/fontdlg.cpp
+    src/os2/fontenum.cpp
+    src/os2/fontutil.cpp
+    src/os2/frame.cpp
+    src/os2/gauge.cpp
+    src/os2/gdiimage.cpp
+    src/os2/gdiobj.cpp
+    src/os2/helpwin.cpp
+    src/os2/icon.cpp
+    src/os2/iniconf.cpp
+    src/os2/joystick.cpp
+    src/os2/listbox.cpp
+    src/os2/main.cpp
+    src/os2/menu.cpp
+    src/os2/menuitem.cpp
+    src/os2/metafile.cpp
+    src/os2/mimetype.cpp
+    src/os2/msgdlg.cpp
+    src/os2/nativdlg.cpp
+    src/os2/notebook.cpp
+    src/os2/ownerdrw.cpp
+    src/os2/palette.cpp
+    src/os2/pen.cpp
+    src/os2/print.cpp
+    src/os2/radiobox.cpp
+    src/os2/radiobut.cpp
+    src/os2/region.cpp
+    src/os2/scrolbar.cpp
+    src/os2/settings.cpp
+    src/os2/slider.cpp
+    src/os2/spinbutt.cpp
+    src/os2/spinctrl.cpp
+    src/os2/statbmp.cpp
+    src/os2/statbox.cpp
+    src/os2/statline.cpp
+    src/os2/stattext.cpp
+    src/os2/tabctrl.cpp
+    src/os2/textctrl.cpp
+    src/os2/timer.cpp
+    src/os2/thread.cpp
+    src/os2/toolbar.cpp
+    src/os2/tooltip.cpp
+    src/os2/toplevel.cpp
+    src/os2/wave.cpp
+    src/os2/window.cpp
+    src/os2/gsocket.c
+    src/os2/gsockpm.c
+</set>
+<set var="OS2_HDR">
+    wx/os2/accel.h
+    wx/os2/dataobj.h
+    wx/os2/helpwin.h
+    wx/os2/pngread.h
+    wx/os2/statline.h
+    wx/os2/app.h
+    wx/os2/dataobj2.h
+    wx/os2/icon.h
+    wx/os2/stattext.h
+    wx/os2/bitmap.h
+    wx/os2/dc.h
+    wx/os2/tabctrl.h
+    wx/os2/dcclient.h
+    wx/os2/print.h
+    wx/os2/bmpbuttn.h
+    wx/os2/dcmemory.h
+    wx/os2/iniconf.h
+    wx/os2/private.h
+    wx/os2/textctrl.h
+    wx/os2/brush.h
+    wx/os2/dcprint.h
+    wx/os2/joystick.h
+    wx/os2/timer.h
+    wx/os2/dcscreen.h
+    wx/os2/listbox.h
+    wx/os2/button.h
+    wx/os2/dialog.h
+    wx/os2/radiobox.h
+    wx/os2/toolbar.h
+    wx/os2/checkbox.h
+    wx/os2/radiobut.h
+    wx/os2/tooltip.h
+    wx/os2/checklst.h
+    wx/os2/dnd.h
+    wx/os2/menu.h
+    wx/os2/region.h
+    wx/os2/menuitem.h
+    wx/os2/choice.h
+    wx/os2/filedlg.h
+    wx/os2/metafile.h
+    wx/os2/scrolbar.h
+    wx/os2/wave.h
+    wx/os2/clipbrd.h
+    wx/os2/font.h
+    wx/os2/minifram.h
+    wx/os2/settings.h
+    wx/os2/window.h
+    wx/os2/fontdlg.h
+    wx/os2/msgdlg.h
+    wx/os2/colour.h
+    wx/os2/frame.h
+    wx/os2/setup0.h
+    wx/os2/combobox.h
+    wx/os2/gauge.h
+    wx/os2/notebook.h
+    wx/os2/control.h
+    wx/os2/gdiimage.h
+    wx/os2/palette.h
+    wx/os2/slider.h
+    wx/os2/cursor.h
+    wx/os2/gdiobj.h
+    wx/os2/spinbutt.h
+    wx/os2/gsockos2.h
+    wx/os2/pen.h
+    wx/os2/spinctrl.h
+    wx/os2/statbmp.h
+    wx/os2/dataform.h
+    wx/os2/pnghand.h
+    wx/os2/statbox.h
+    wx/os2/toplevel.h
+</set>
+
+
+
+<!-- ====================================================================== -->
+<!--                                wxMac                                   -->
+<!-- ====================================================================== -->
+
+<set var="MAC_LOWLEVEL_SRC">
+</set>
+<set var="MAC_LOWLEVEL_HDR">
+</set>
+<set var="MAC_SRC">
+    src/mac/gsocket.c
+    src/mac/accel.cpp
+    src/mac/aga.cpp
+    src/mac/app.cpp
+    src/mac/bitmap.cpp
+    src/mac/bmpbuttn.cpp
+    src/mac/brush.cpp
+    src/mac/button.cpp
+    src/mac/checkbox.cpp
+    src/mac/checklst.cpp
+    src/mac/choice.cpp
+    src/mac/clipbrd.cpp
+    src/mac/colordlg.cpp
+    src/mac/colour.cpp
+    src/mac/combobox.cpp
+    src/mac/control.cpp
+    src/mac/cursor.cpp
+    src/mac/data.cpp
+    src/mac/dataobj.cpp
+    src/mac/dc.cpp
+    src/mac/dcclient.cpp
+    src/mac/dcmemory.cpp
+    src/mac/dcprint.cpp
+    src/mac/dcscreen.cpp
+    src/mac/dialog.cpp
+    src/mac/dirdlg.cpp
+    src/mac/dirmac.cpp
+    src/mac/dnd.cpp
+    src/mac/filedlg.cpp
+    src/mac/font.cpp
+    src/mac/fontdlg.cpp
+    src/mac/fontenum.cpp
+    src/mac/fontutil.cpp
+    src/mac/frame.cpp
+    src/mac/gauge.cpp
+    src/mac/gdiobj.cpp
+    src/mac/icon.cpp
+    src/mac/joystick.cpp
+    src/mac/listbox.cpp
+    src/mac/macnotfy.cpp
+    src/mac/mdi.cpp
+    src/mac/menu.cpp
+    src/mac/menuitem.cpp
+    src/mac/metafile.cpp
+    src/mac/mimetmac.cpp
+    src/mac/minifram.cpp
+    src/mac/msgdlg.cpp
+    src/mac/notebmac.cpp
+    src/mac/palette.cpp
+    src/mac/pen.cpp
+    src/mac/pnghand.cpp
+    src/mac/printdlg.cpp
+    src/mac/printmac.cpp
+    src/mac/radiobox.cpp
+    src/mac/radiobut.cpp
+    src/mac/region.cpp
+    src/mac/scrolbar.cpp
+    src/mac/settings.cpp
+    src/mac/slider.cpp
+    src/mac/spinbutt.cpp
+    src/mac/statbmp.cpp
+    src/mac/statbox.cpp
+    src/mac/statbrma.cpp
+    src/mac/statlmac.cpp
+    src/mac/stattext.cpp
+    src/mac/tabctrl.cpp
+    src/mac/textctrl.cpp
+    src/mac/thread.cpp
+    src/mac/timer.cpp
+    src/mac/toplevel.cpp
+    src/mac/toolbar.cpp
+    src/mac/tooltip.cpp
+    src/mac/uma.cpp
+    src/mac/utils.cpp
+    src/mac/utilsexc.cpp
+    src/mac/wave.cpp
+    src/mac/window.cpp
+    src/mac/morefilex/MoreFilesX.c
+    <!-- Generic implementations used by wxMac: -->
+    src/generic/statusbr.cpp
+    src/generic/imaglist.cpp
+    src/generic/listctrl.cpp
+    src/generic/fdrepdlg.cpp
+    src/generic/tabg.cpp
+    src/generic/fontdlgg.cpp
+    <!-- Unix files used by wxMac: -->
+    src/unix/snglinst.cpp
+    src/unix/utilsunx.cpp
+</set>
+<set var="MAC_HDR">
+    wx/mac/accel.h
+    wx/mac/aga.h
+    wx/mac/app.h
+    wx/mac/bitmap.h
+    wx/mac/bmpbuttn.h
+    wx/mac/brush.h
+    wx/mac/button.h
+    wx/mac/checkbox.h
+    wx/mac/checklst.h
+    wx/mac/choice.h
+    wx/mac/clipbrd.h
+    wx/mac/colordlg.h
+    wx/mac/colour.h
+    wx/mac/combobox.h
+    wx/mac/control.h
+    wx/mac/cursor.h
+    wx/mac/dataform.h
+    wx/mac/dataobj.h
+    wx/mac/dataobj2.h
+    wx/mac/dc.h
+    wx/mac/dcclient.h
+    wx/mac/dcmemory.h
+    wx/mac/dcprint.h
+    wx/mac/dcscreen.h
+    wx/mac/dialog.h
+    wx/mac/dirdlg.h
+    wx/mac/dnd.h
+    wx/mac/filedlg.h
+    wx/mac/font.h
+    wx/mac/fontdlg.h
+    wx/mac/frame.h
+    wx/mac/gauge.h
+    wx/mac/gdiobj.h
+    wx/mac/glcanvas.h
+    wx/mac/gsockmac.h
+    wx/mac/helpxxxx.h
+    wx/mac/icon.h
+    wx/mac/imaglist.h
+    wx/mac/joystick.h
+    wx/mac/listbox.h
+    wx/mac/listctrl.h
+    wx/mac/macnotfy.h
+    wx/mac/macsock.h
+    wx/mac/mdi.h
+    wx/mac/menu.h
+    wx/mac/menuitem.h
+    wx/mac/metafile.h
+    wx/mac/mimetype.h
+    wx/mac/minifram.h
+    wx/mac/msgdlg.h
+    wx/mac/notebook.h
+    wx/mac/palette.h
+    wx/mac/pen.h
+    wx/mac/pnghand.h
+    wx/mac/pngread.h
+    wx/mac/printdlg.h
+    wx/mac/printmac.h
+    wx/mac/private.h
+    wx/mac/radiobox.h
+    wx/mac/radiobut.h
+    wx/mac/region.h
+    wx/mac/scrolbar.h
+    wx/mac/slider.h
+    wx/mac/spinbutt.h
+    wx/mac/spinctrl.h
+    wx/mac/statbmp.h
+    wx/mac/statbox.h
+    wx/mac/statline.h
+    wx/mac/stattext.h
+    wx/mac/statusbr.h
+    wx/mac/tabctrl.h
+    wx/mac/textctrl.h
+    wx/mac/timer.h
+    wx/mac/toolbar.h
+    wx/mac/tooltip.h
+    wx/mac/toplevel.h
+    wx/mac/treectrl.h
+    wx/mac/uma.h
+    wx/mac/wave.h
+    wx/mac/window.h
+    <!-- Generic implementations used by wxMac: -->
+    wx/generic/statusbr.h
+    wx/generic/fontdlgg.h
+    wx/generic/imaglist.h
+    wx/generic/listctrl.h
+    wx/generic/fdrepdlg.h
+    wx/generic/tabg.h
+</set>
+
+
+<!-- ====================================================================== -->
+<!--                              wxCocoa                                   -->
+<!-- ====================================================================== -->
+
+<set var="COCOA_LOWLEVEL_SRC">
+</set>
+<set var="COCOA_LOWLEVEL_HDR">
+</set>
+<set var="COCOA_SRC">
+    src/cocoa/NSBox.mm
+    src/cocoa/NSButton.mm
+    src/cocoa/NSControl.mm
+    src/cocoa/NSMenu.mm
+    src/cocoa/NSPanel.mm
+    src/cocoa/NSTextField.mm
+    src/cocoa/NSView.mm
+    src/cocoa/NSWindow.mm
+    src/cocoa/app.mm
+    src/cocoa/bmpbuttn.mm
+    src/cocoa/bitmap.mm
+    src/cocoa/brush.cpp
+    src/cocoa/button.mm
+    src/cocoa/checkbox.mm
+    src/cocoa/checklst.mm
+    src/cocoa/choice.mm
+    src/cocoa/colour.cpp
+    src/cocoa/control.mm
+    src/cocoa/cursor.mm
+    src/cocoa/data.cpp
+    src/cocoa/dc.mm
+    src/cocoa/dcclient.mm
+    src/cocoa/dcmemory.cpp
+    src/cocoa/dcscreen.cpp
+    src/cocoa/dialog.mm
+    src/cocoa/font.cpp
+    src/cocoa/fontutil.cpp
+    src/cocoa/frame.mm
+    src/cocoa/gdiobj.cpp
+    src/cocoa/icon.cpp
+    src/cocoa/listbox.mm
+    src/cocoa/main.cpp
+    src/cocoa/menu.mm
+    src/cocoa/menuitem.mm
+    src/cocoa/pen.cpp
+    src/cocoa/radiobox.mm
+    src/cocoa/radiobut.mm
+    src/cocoa/region.cpp
+    src/cocoa/settings.cpp
+    src/cocoa/statbmp.mm
+    src/cocoa/statbox.mm
+    src/cocoa/statline2.mm
+    src/cocoa/stattext.mm
+    src/cocoa/textctrl.mm
+    src/cocoa/toplevel.mm
+    src/cocoa/utils.cpp
+    src/cocoa/utilsexc.cpp
+    src/cocoa/window.mm
+</set>
+<set var="COCOA_HDR">
+    wx/cocoa/NSBox.h
+    wx/cocoa/NSButton.h
+    wx/cocoa/NSControl.h
+    wx/cocoa/NSMenu.h
+    wx/cocoa/NSPanel.h
+    wx/cocoa/NSTextField.h
+    wx/cocoa/NSView.h
+    wx/cocoa/NSWindow.h
+    wx/cocoa/ObjcAssociate.h
+    wx/cocoa/ObjcPose.h
+    wx/cocoa/app.h
+    wx/cocoa/bitmap.h
+    wx/cocoa/bmpbuttn.h
+    wx/cocoa/brush.h
+    wx/cocoa/button.h
+    wx/cocoa/checkbox.h
+    wx/cocoa/checklst.h
+    wx/cocoa/choice.h
+    wx/cocoa/colour.h
+    wx/cocoa/control.h
+    wx/cocoa/cursor.h
+    wx/cocoa/dc.h
+    wx/cocoa/dcclient.h
+    wx/cocoa/dcmemory.h
+    wx/cocoa/dcscreen.h
+    wx/cocoa/dialog.h
+    wx/cocoa/font.h
+    wx/cocoa/frame.h
+    wx/cocoa/gdiobj.h
+    wx/cocoa/icon.h
+    wx/cocoa/listbox.h
+    wx/cocoa/menu.h
+    wx/cocoa/menuitem.h
+    wx/cocoa/pen.h
+    wx/cocoa/radiobox.h
+    wx/cocoa/radiobut.h
+    wx/cocoa/region.h
+    wx/cocoa/statbmp.h
+    wx/cocoa/statbox.h
+    wx/cocoa/statline.h
+    wx/cocoa/stattext.h
+    wx/cocoa/textctrl.h
+    wx/cocoa/toplevel.h
+    wx/cocoa/window.h
+</set>
+
+
+
+<!-- ====================================================================== -->
+<!--                              wxUniversal                               -->
+<!-- ====================================================================== -->
+
+     
+<set var="UNIV_THEMES_SRC">
+    src/univ/themes/gtk.cpp
+    src/univ/themes/win32.cpp
+    src/univ/themes/metal.cpp
+</set>
+
+<!-- don't ask... wxX11 must have something extra I guess -->
+<set var="UNIV_TEXTCTRL">
+    <if cond="TOOLKIT=='X11'">src/x11/textctrl.cpp</if>
+    <if cond="TOOLKIT=='MGL'">src/univ/textctrl.cpp</if>
+    <if cond="TOOLKIT=='GTK'">src/univ/textctrl.cpp</if>
+    <if cond="TOOLKIT=='MSW'">src/univ/textctrl.cpp</if>
+</set>
+
+<set var="UNIV_SRC">
+    $(UNIV_TEXTCTRL)
+    src/univ/bmpbuttn.cpp
+    src/univ/button.cpp
+    src/univ/checkbox.cpp
+    src/univ/checklst.cpp
+    src/univ/choice.cpp
+    src/univ/colschem.cpp
+    src/univ/combobox.cpp
+    src/univ/control.cpp
+    src/univ/dialog.cpp
+    src/univ/framuniv.cpp
+    src/univ/topluniv.cpp
+    src/univ/gauge.cpp
+    src/univ/inpcons.cpp
+    src/univ/inphand.cpp
+    src/univ/listbox.cpp
+    src/univ/menu.cpp
+    src/univ/notebook.cpp
+    src/univ/radiobox.cpp
+    src/univ/radiobut.cpp
+    src/univ/renderer.cpp
+    src/univ/scrarrow.cpp
+    src/univ/scrolbar.cpp
+    src/univ/scrthumb.cpp
+    src/univ/slider.cpp
+    src/univ/spinbutt.cpp
+    src/univ/statbmp.cpp
+    src/univ/statbox.cpp
+    src/univ/statline.cpp
+    src/univ/stattext.cpp
+    src/univ/statusbr.cpp
+    src/univ/toolbar.cpp
+    src/univ/theme.cpp
+    src/univ/winuniv.cpp
+    src/generic/caret.cpp
+    src/generic/mdig.cpp
+    src/generic/imaglist.cpp
+    src/generic/colrdlgg.cpp
+    src/generic/listctrl.cpp
+    src/generic/filedlgg.cpp
+    src/generic/dirdlgg.cpp
+    src/generic/prntdlgg.cpp
+    src/generic/accel.cpp
+    src/generic/msgdlgg.cpp
+    src/generic/fdrepdlg.cpp
+    src/generic/fontdlgg.cpp
+    src/generic/tabg.cpp
+</set>
+<set var="UNIV_HDR">
+    wx/univ/app.h
+    wx/univ/bmpbuttn.h
+    wx/univ/button.h
+    wx/univ/checkbox.h
+    wx/univ/checklst.h
+    wx/univ/choice.h
+    wx/univ/colschem.h
+    wx/univ/combobox.h
+    wx/univ/control.h
+    wx/univ/dialog.h
+    wx/univ/frame.h
+    wx/univ/toplevel.h
+    wx/univ/gauge.h
+    wx/univ/inpcons.h
+    wx/univ/inphand.h
+    wx/univ/listbox.h
+    wx/univ/menu.h
+    wx/univ/menuitem.h
+    wx/univ/notebook.h
+    wx/univ/radiobox.h
+    wx/univ/radiobut.h
+    wx/univ/renderer.h
+    wx/univ/scrarrow.h
+    wx/univ/scrolbar.h
+    wx/univ/scrthumb.h
+    wx/univ/scrtimer.h
+    wx/univ/setup.h
+    wx/univ/slider.h
+    wx/univ/spinbutt.h
+    wx/univ/statbmp.h
+    wx/univ/statbox.h
+    wx/univ/statline.h
+    wx/univ/stattext.h
+    wx/univ/statusbr.h
+    wx/univ/textctrl.h
+    wx/univ/theme.h
+    wx/univ/toolbar.h
+    wx/univ/window.h
+    wx/generic/caret.h
+    wx/generic/mdig.h
+    wx/generic/fdrepdlg.h
+    wx/generic/fontdlgg.h
+    wx/generic/tabg.h
+    wx/generic/dirdlgg.h
+    wx/generic/statusbr.h
+    wx/generic/accel.h
+</set>
+
+
+
+<!-- ====================================================================== -->
+<!--                               wxHTML                                   -->
+<!-- ====================================================================== -->
+
+<set var="HTML_SRC">
+    src/html/helpdata.cpp
+    src/html/helpfrm.cpp
+    src/html/helpctrl.cpp
+    src/html/htmlcell.cpp
+    src/html/htmlfilt.cpp
+    src/html/htmlpars.cpp
+    src/html/htmltag.cpp
+    src/html/htmlwin.cpp
+    src/html/winpars.cpp
+    src/html/m_fonts.cpp
+    src/html/m_hline.cpp
+    src/html/m_image.cpp
+    src/html/m_layout.cpp
+    src/html/m_links.cpp
+    src/html/m_list.cpp
+    src/html/m_dflist.cpp
+    src/html/m_pre.cpp
+    src/html/m_tables.cpp
+    src/html/m_style.cpp
+    src/html/htmprint.cpp
+</set>
+<set var="HTML_HDR">
+</set>
+
+
+
+
+<!-- ====================================================================== -->
+<!--                    Define sources for specific libraries:              -->
+<!-- ====================================================================== -->
+
+    <set var="BASE_PLATFORM_SRC">
+        <if cond="PLATFORM_UNIX=='1'">$(BASE_UNIX_SRC)</if>
+        <if cond="PLATFORM_MACOSX=='1'">$(BASE_MAC_SRC)</if>
+        <if cond="PLATFORM_WIN32=='1'">$(BASE_WIN32_SRC)</if>
+    </set>
+    <set var="BASE_PLATFORM_HDR">
+        <if cond="PLATFORM_UNIX=='1'">$(BASE_UNIX_HDR)</if>
+        <if cond="PLATFORM_MACOSX=='1'">$(BASE_MAC_HDR)</if>
+        <if cond="PLATFORM_WIN32=='1'">$(BASE_WIN32_HDR)</if>
+    </set>
+
+    
+    <set var="BASE_SRC">
+        $(BASE_CMN_SRC) $(BASE_PLATFORM_SRC)
+    </set>
+    
+    
+    <set var="LOWLEVEL_SRC">
+        <if cond="TOOLKIT=='GTK'">$(GTK_LOWLEVEL_SRC)</if>
+        <if cond="TOOLKIT=='MOTIF'">$(MOTIF_LOWLEVEL_SRC)</if>
+        <if cond="TOOLKIT=='MSW'">$(MSW_LOWLEVEL_SRC)</if>
+        <if cond="TOOLKIT=='MAC'">$(MAC_LOWLEVEL_SRC)</if>
+        <if cond="TOOLKIT=='COCOA'">$(COCOA_LOWLEVEL_SRC)</if>
+        <if cond="TOOLKIT=='OS2'">$(OS2_LOWLEVEL_SRC)</if>
+        <if cond="TOOLKIT=='X11'">$(X11_LOWLEVEL_SRC)</if>
+        <if cond="TOOLKIT=='MGL'">$(MGL_LOWLEVEL_SRC)</if>
+    </set>
+    <set var="LOWLEVEL_HDR">
+        <if cond="TOOLKIT=='GTK'">$(GTK_LOWLEVEL_HDR)</if>
+        <if cond="TOOLKIT=='MOTIF'">$(MOTIF_LOWLEVEL_HDR)</if>
+        <if cond="TOOLKIT=='MSW'">$(MSW_LOWLEVEL_HDR)</if>
+        <if cond="TOOLKIT=='MAC'">$(MAC_LOWLEVEL_HDR)</if>
+        <if cond="TOOLKIT=='COCOA'">$(COCOA_LOWLEVEL_HDR)</if>
+        <if cond="TOOLKIT=='OS2'">$(OS2_LOWLEVEL_HDR)</if>
+        <if cond="TOOLKIT=='X11'">$(X11_LOWLEVEL_HDR)</if>
+        <if cond="TOOLKIT=='MGL'">$(MGL_LOWLEVEL_HDR)</if>
+    </set>
+    
+
+    <set var="GUI_SRC">
+        <if cond="TOOLKIT=='GTK'">$(GTK_SRC)</if>
+        <if cond="TOOLKIT=='MOTIF'">$(MOTIF_SRC)</if>
+        <if cond="TOOLKIT=='MSW'">$(MSW_SRC)</if>
+        <if cond="TOOLKIT=='MAC'">$(MAC_SRC)</if>
+        <if cond="TOOLKIT=='COCOA'">$(COCOA_SRC)</if>
+        <if cond="TOOLKIT=='OS2'">$(OS2_SRC)</if>
+    </set>
+    <set var="GUI_HDR">
+        <if cond="TOOLKIT=='GTK'">$(GTK_HDR)</if>
+        <if cond="TOOLKIT=='MOTIF'">$(MOTIF_HDR)</if>
+        <if cond="TOOLKIT=='MSW'">$(MSW_HDR)</if>
+        <if cond="TOOLKIT=='MAC'">$(MAC_HDR)</if>
+        <if cond="TOOLKIT=='COCOA'">$(COCOA_HDR)</if>
+        <if cond="TOOLKIT=='OS2'">$(OS2_HDR)</if>
+    </set>
+
+    <set var="CORE_SRC">
+        <if cond="USE_GUI=='0'">
+            src/common/init.cpp
+        </if>
+        <if cond="USE_GUI=='1' and WXUNIV=='0'">
+            $(LOWLEVEL_SRC) $(GUI_SRC) $(GUICMN_SRC)
+        </if>
+        <if cond="USE_GUI=='1' and WXUNIV=='1'">
+            $(LOWLEVEL_SRC) $(UNIV_SRC) $(UNIV_THEMES_SRC) $(GUICMN_SRC)
+        </if>
+    </set>
+
+    <set var="ALL_HEADERS">
+        $(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
+        $(GUICMN_HDR) $(GUI_HDR) $(LOWLEVEL_HDR)
+        $(HTML_HDR)
+    </set>
+
+</makefile>
diff --git a/build/bakefiles/jpeg.bkl b/build/bakefiles/jpeg.bkl
new file mode 100644 (file)
index 0000000..dbd52bd
--- /dev/null
@@ -0,0 +1,66 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <if cond="FORMAT=='autoconf'">
+        <option name="wxUSE_LIBJPEG"/>
+    </if>
+    <if cond="FORMAT!='autoconf'">
+        <set var="wxUSE_LIBJPEG">builtin</set>
+    </if>
+    <set var="LIB_JPEG">
+        <if cond="wxUSE_LIBJPEG=='builtin'">wxjpeg</if>
+    </set>
+
+    <lib id="wxjpeg" cond="wxUSE_LIBJPEG=='builtin' and BUILDING_LIB=='1'">
+        <dirname>$(LIBDIRNAME)</dirname>
+        <sources>
+            src/jpeg/jcomapi.c
+                   src/jpeg/jutils.c
+                   src/jpeg/jerror.c
+                   src/jpeg/jmemmgr.c
+                   src/jpeg/jmemnobs.c
+                   src/jpeg/jcapimin.c
+                   src/jpeg/jcapistd.c
+                   src/jpeg/jctrans.c
+                   src/jpeg/jcparam.c
+                   src/jpeg/jdatadst.c
+                   src/jpeg/jcinit.c
+                   src/jpeg/jcmaster.c
+                   src/jpeg/jcmarker.c
+                   src/jpeg/jcmainct.c
+                   src/jpeg/jcprepct.c
+                   src/jpeg/jccoefct.c
+                   src/jpeg/jccolor.c
+                   src/jpeg/jcsample.c
+                   src/jpeg/jchuff.c
+                   src/jpeg/jcphuff.c
+                   src/jpeg/jcdctmgr.c
+                   src/jpeg/jfdctfst.c
+                   src/jpeg/jfdctflt.c
+                   src/jpeg/jfdctint.c
+                   src/jpeg/jdapimin.c
+                   src/jpeg/jdapistd.c
+                   src/jpeg/jdtrans.c
+                   src/jpeg/jdatasrc.c
+                   src/jpeg/jdmaster.c
+                   src/jpeg/jdinput.c
+                   src/jpeg/jdmarker.c
+                   src/jpeg/jdhuff.c
+                   src/jpeg/jdphuff.c
+                   src/jpeg/jdmainct.c
+                   src/jpeg/jdcoefct.c
+                   src/jpeg/jdpostct.c
+                   src/jpeg/jddctmgr.c
+                   src/jpeg/jidctfst.c
+                   src/jpeg/jidctflt.c
+                   src/jpeg/jidctint.c
+                   src/jpeg/jidctred.c
+                   src/jpeg/jdsample.c
+                   src/jpeg/jdcolor.c
+                   src/jpeg/jquant1.c
+                   src/jpeg/jquant2.c
+            src/jpeg/jdmerge.c
+        </sources>
+    </lib>
+
+</makefile>
diff --git a/build/bakefiles/monolithic.bkl b/build/bakefiles/monolithic.bkl
new file mode 100644 (file)
index 0000000..9efa30e
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <dll id="monodll" template="wx_dll"
+         cond="SHARED=='1' and MONOLITHIC=='1'">
+        <define>WXMAKINGDLL</define>
+        <sources>$(BASE_SRC) $(CORE_SRC) $(HTML_SRC)</sources>
+      
+        <library>$(LIB_ZLIB)</library>
+        <library>$(LIB_REGEX)</library>
+        <library>$(LIB_PNG)</library>
+        <library>$(LIB_JPEG)</library>
+        <library>$(LIB_TIFF)</library>
+        <library>$(LIB_ODBC)</library>
+    </dll>
+    
+    <lib id="monolib" template="wx_lib"
+         cond="SHARED=='0' and MONOLITHIC=='1'">
+        <sources>$(BASE_SRC) $(CORE_SRC) $(HTML_SRC)</sources>
+    </lib>
+
+</makefile>
diff --git a/build/bakefiles/multilib.bkl b/build/bakefiles/multilib.bkl
new file mode 100644 (file)
index 0000000..9803570
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <!-- ================================================================= -->
+    <!--                           Main GUI library                        -->
+    <!-- ================================================================= -->
+    
+    <dll id="coredll" template="wx_dll"
+         cond="SHARED=='1' and MONOLITHIC=='0'">
+        <define>WXMAKINGDLL</define>
+        <sources>$(BASE_SRC) $(CORE_SRC)</sources>
+      
+        <library>$(LIB_ZLIB)</library>
+        <library>$(LIB_REGEX)</library>
+        <library>$(LIB_PNG)</library>
+        <library>$(LIB_JPEG)</library>
+        <library>$(LIB_TIFF)</library>
+        <library>$(LIB_ODBC)</library>
+    </dll>
+    
+    <lib id="corelib" template="wx_lib"
+         cond="SHARED=='0' and MONOLITHIC=='0'">
+        <sources>$(BASE_SRC) $(CORE_SRC)</sources>
+    </lib>
+
+    
+    <!-- ================================================================ -->
+    <!--                               wxHTML                             -->
+    <!-- ================================================================ -->
+    
+    <dll id="htmldll" template="wx_dll"
+         cond="SHARED=='1' and MONOLITHIC=='0'">
+        <define>WXMAKINGDLL</define>
+        <sources>$(HTML_SRC)</sources>
+        <wx-lib>core</wx-lib>
+    </dll>
+    
+    <lib id="htmllib" template="wx_lib"
+         cond="SHARED=='0' and MONOLITHIC=='0'">
+        <sources>$(HTML_SRC)</sources>
+    </lib>
+
+</makefile>
diff --git a/build/bakefiles/odbc.bkl b/build/bakefiles/odbc.bkl
new file mode 100644 (file)
index 0000000..eec2107
--- /dev/null
@@ -0,0 +1,35 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <if cond="FORMAT=='autoconf'">
+        <option name="wxUSE_ODBC"/>
+    </if>
+    <if cond="FORMAT!='autoconf'">
+        <set var="wxUSE_ODBC">builtin</set>
+    </if>
+    <set var="LIB_ODBC">
+        <if cond="wxUSE_ODBC=='builtin'">wxodbc</if>
+    </set>
+
+    <lib id="wxodbc" cond="wxUSE_ODBC=='builtin' and BUILDING_LIB=='1'">
+        <dirname>$(LIBDIRNAME)</dirname>
+        <sources>
+                   src/iodbc/catalog.c
+            src/iodbc/connect.c
+                   src/iodbc/dlf.c
+                   src/iodbc/dlproc.c
+                   src/iodbc/execute.c
+                   src/iodbc/fetch.c
+                   src/iodbc/hdbc.c
+                   src/iodbc/henv.c
+                   src/iodbc/herr.c
+                   src/iodbc/hstmt.c
+                   src/iodbc/info.c
+                   src/iodbc/itrace.c
+                   src/iodbc/misc.c
+                   src/iodbc/prepare.c
+            src/iodbc/result.c
+        </sources>
+    </lib>
+
+</makefile>
diff --git a/build/bakefiles/png.bkl b/build/bakefiles/png.bkl
new file mode 100644 (file)
index 0000000..8d80297
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <if cond="FORMAT=='autoconf'">
+        <option name="wxUSE_LIBPNG"/>
+    </if>
+    <if cond="FORMAT!='autoconf'">
+        <set var="wxUSE_LIBPNG">builtin</set>
+    </if>
+    <set var="LIB_PNG">
+        <if cond="wxUSE_LIBPNG=='builtin'">wxpng</if>
+    </set>
+
+    <lib id="wxpng" cond="wxUSE_LIBPNG=='builtin' and BUILDING_LIB=='1'">
+        <dirname>$(LIBDIRNAME)</dirname>
+        <sources>
+                   src/png/png.c
+                   src/png/pngerror.c
+                   src/png/pnggccrd.c
+                   src/png/pngget.c
+                   src/png/pngmem.c
+                   src/png/pngpread.c
+                   src/png/pngread.c
+                   src/png/pngrio.c
+                   src/png/pngrtran.c
+                   src/png/pngrutil.c
+                   src/png/pngset.c
+                   src/png/pngtrans.c
+                   src/png/pngvcrd.c
+                   src/png/pngwio.c
+                   src/png/pngwrite.c
+                   src/png/pngwtran.c
+                   src/png/pngwutil.c
+        </sources>
+    </lib>
+
+</makefile>
diff --git a/build/bakefiles/regenMakefile.py b/build/bakefiles/regenMakefile.py
new file mode 100755 (executable)
index 0000000..23718be
--- /dev/null
@@ -0,0 +1,128 @@
+#!/usr/bin/env python
+
+#
+# Generates Makefile that is used to regenerate native makefiles from
+# bakefiles.
+#
+# $Id$
+#
+
+import string, os.path
+
+file = open('Makefile', 'wt')
+file.write("""
+# Generated by regenMakefile.py
+
+BAKEFILE = bakefile
+BAKEARGS = -v
+
+
+""")
+
+lines = []
+all = {}
+all['autoconf'] = ['../../configure', '../../samples/configure']
+
+def addMakefile(bake, makedirs, deps=[], args={}):
+    """Adds rules to regenerate native makefile in directory 'makedir' from
+       bakefiles 'bake'. 'deps' contains additional dependencies (bakefiles
+       other than 'bake'."""
+    print 'adding %s...' % bake
+    lines.append('')
+    lines.append('# from %s' % bake)
+
+    def add(bake, makedirs, make, dep, format, args={}):
+        a = ''
+        if 'all' in args: a += ' %s' % args['all']
+        if format in args: a += ' %s' % args[format]
+        if format in makedirs:
+            makedir = makedirs[format]
+        else:
+            makedir = makedirs['all']
+        tfile = '%s/%s' % (makedir, make)
+        lines.append('%s: %s Makefile' % (tfile, dep))
+        lines.append('\t$(BAKEFILE) $(BAKEARGS) -f%s -o%s%s %s' % \
+                     (format, tfile, a, bake))
+        lines.append('\ttouch %s' % tfile)
+        if format not in all: all[format] = []
+        all[format].append(tfile)
+
+    dep = string.join(deps + [bake], ' ')
+
+    add(bake, makedirs, 'Makefile.in', dep, 'autoconf', args)
+
+
+
+# -----------------------------------------------
+#    Add the makefiles:
+# -----------------------------------------------
+
+# main makefile:
+addMakefile('wx.bkl', {'all':'..','autoconf':'../..'},
+            ['common.bkl', 'config.bkl', 'files.bkl', 'monolithic.bkl',
+             'wxwin.py'])
+
+# samples main makefile:
+addMakefile('../../samples/samples.bkl', {'all':'../../samples'})
+
+
+def onSample(arg, dirname, names):
+    bakes = [x for x in names if x.endswith('.bkl')]
+    if len(bakes) == 0: return
+    depth = dirname.count('/') - 2
+    if depth <= 0: return
+    prefix = ''.join(['../' for i in range(0,depth)])
+
+    args = {
+        'all':'-DWXTOPDIR=/%s..' % prefix,
+        'autoconf':'-DAUTOCONF_MACROS_FILE=../../samples/autoconf_inc.m4',
+    }
+    
+    for bake in bakes:
+        addMakefile('%s/%s' % (dirname, bake), {'all':dirname},
+                    deps=['common.bkl','common_samples.bkl','config.bkl'],
+                    args=args)
+
+os.path.walk('../../samples', onSample, None)
+
+
+cleanCmds = ''
+for f in all:
+    for i in all[f]:
+        cleanCmds += '\trm -f %s\n' % i
+
+for f in all:
+    var = '%s_ALL' % f.upper()
+    file.write('%s = %s\n' % (var,' '.join(all[f])))
+
+file.write('all:')
+for f in all:
+    file.write(' %s' % f)
+file.write('\n\n')
+for f in all:
+    file.write('%s: $(%s_ALL)\n' % (f, f.upper()))
+
+file.write("""
+clean:
+\trm -f ../../autoconf_inc.m4
+\trm -f ../../samples/autoconf_inc.m4
+%s
+
+../../configure: ../../autoconf_inc.m4
+\t(cd ../.. ; aclocal && autoconf)
+
+../../samples/configure: ../../samples/autoconf_inc.m4
+\t(cd ../../samples ; aclocal && autoconf)
+
+Makefile: regenMakefile.py
+\t./regenMakefile.py
+\t@echo
+\t@echo -------------------------------------------
+\t@echo Please rerun make, Makefile was regenerated
+\t@echo -------------------------------------------
+\t@echo
+\t@exit 1
+""" % cleanCmds)
+for l in lines:
+    file.write('%s\n' % l)
+file.close()
diff --git a/build/bakefiles/regex.bkl b/build/bakefiles/regex.bkl
new file mode 100644 (file)
index 0000000..fa07162
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" ?>
+<makefile>
+    
+    <if cond="FORMAT=='autoconf'">
+        <option name="wxUSE_REGEX"/>
+    </if>
+    <if cond="FORMAT!='autoconf'">
+        <set var="wxUSE_REGEX">builtin</set>
+    </if>
+    <set var="LIB_REGEX">
+        <if cond="wxUSE_REGEX=='builtin'">wxregex</if>
+    </set>
+
+    <lib id="wxregex" cond="wxUSE_REGEX=='builtin' and BUILDING_LIB=='1'">
+        <dirname>$(LIBDIRNAME)</dirname>
+        <sources>
+            src/regex/regcomp.c
+            src/regex/regexec.c
+            src/regex/regerror.c
+            src/regex/regfree.c
+        </sources>
+    </lib>
+
+</makefile>
diff --git a/build/bakefiles/tiff.bkl b/build/bakefiles/tiff.bkl
new file mode 100644 (file)
index 0000000..815b2b8
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <if cond="FORMAT=='autoconf'">
+        <option name="wxUSE_LIBTIFF"/>
+    </if>
+    <if cond="FORMAT!='autoconf'">
+        <set var="wxUSE_LIBTIFF">builtin</set>
+    </if>
+    <set var="LIB_TIFF">
+        <if cond="wxUSE_LIBTIFF=='builtin'">wxtiff</if>
+    </set>
+
+    <lib id="wxtiff" cond="wxUSE_LIBTIFF=='builtin' and BUILDING_LIB=='1'">
+        <dirname>$(LIBDIRNAME)</dirname>
+        <sources>
+                   src/tiff/tif_aux.c
+                   src/tiff/tif_close.c
+                   src/tiff/tif_codec.c
+                   src/tiff/tif_compress.c
+                   src/tiff/tif_dir.c
+                   src/tiff/tif_dirinfo.c
+                   src/tiff/tif_dirread.c
+                   src/tiff/tif_dirwrite.c
+                   src/tiff/tif_dumpmode.c
+                   src/tiff/tif_error.c
+                   src/tiff/tif_fax3.c
+                   src/tiff/tif_fax3sm.c
+                   src/tiff/tif_getimage.c
+                   src/tiff/tif_jpeg.c
+                   src/tiff/tif_flush.c
+                   src/tiff/tif_lzw.c
+                   src/tiff/tif_luv.c
+                   src/tiff/tif_next.c
+                   src/tiff/tif_open.c
+                   src/tiff/tif_packbits.c
+                   src/tiff/tif_pixarlog.c
+                   src/tiff/tif_predict.c
+                   src/tiff/tif_print.c
+                   src/tiff/tif_read.c
+                   src/tiff/tif_swab.c
+                   src/tiff/tif_strip.c
+                   src/tiff/tif_thunder.c
+                   src/tiff/tif_tile.c
+                   src/tiff/tif_unix.c
+                   src/tiff/tif_version.c
+                   src/tiff/tif_warning.c
+                   src/tiff/tif_write.c
+                   src/tiff/tif_zip.c
+        </sources>
+    </lib>
+
+</makefile>
diff --git a/build/bakefiles/wx.bkl b/build/bakefiles/wx.bkl
new file mode 100644 (file)
index 0000000..b46f4e7
--- /dev/null
@@ -0,0 +1,91 @@
+<?xml version="1.0" ?>
+<!-- $Id$ -->
+
+
+<!-- Master bakefile for wxWindows -->
+
+<makefile>
+
+    <set var="BUILDING_LIB">1</set>
+
+    <!-- common rules, names etc. for wx: -->
+    <include file="common.bkl"/>
+
+    <!-- list of files sorted into categories: -->
+    <include file="files.bkl"/>
+
+    <!-- wxWindows variant where everything is in one library: -->
+    <include file="monolithic.bkl"/>
+    <!-- ...and when there are multiple libraries: -->
+    <!-- <include file="multilib.bkl"/> -->
+    
+    
+    <!-- Samples target (not dependency of 'all'): -->
+    <!-- [ FIXME disabled; currently causes make install to go into samples ]
+    <subproject id="samples">
+        <dir>samples</dir>
+    </subproject>
+    -->
+
+    <if cond="FORMAT=='autoconf'">       
+        <!-- "make install": -->
+
+        <data-files>
+            <files>wxwin.m4</files>
+            <install-to>$(DATADIR)/aclocal</install-to>
+        </data-files>
+
+        <data-files-tg id="install-afm" cond="USE_GUI=='1'">
+            <files>misc/afm/*.afm</files>
+            <install-to>$(DATADIR)/wx/$(WXVER_MAJOR).$(WXVER_MINOR)/afm</install-to>
+        </data-files-tg>
+        <data-files-tg id="install-gsafm" cond="USE_GUI=='1'">
+            <files>misc/gs_afm/*.afm</files>
+            <install-to>$(DATADIR)/wx/$(WXVER_MAJOR).$(WXVER_MINOR)/gs_afm</install-to>
+        </data-files-tg>
+
+        <action id="install-wxconfig">
+            <dependency-of>install</dependency-of>
+            <command>
+                $(INSTALL_DIR) $(BINDIR)
+                $(INSTALL_PROGRAM) wx$(TOOLCHAIN_NAME)-config $(BINDIR)
+                (cd $(BINDIR) &amp;&amp; rm -f wx-config &amp;&amp; $(LN_S) wx$(TOOLCHAIN_NAME)-config wx-config)
+            </command>
+        </action>
+
+        <data-files>
+            <srcdir>$(BUILDDIR)</srcdir>
+            <files>lib/wx/include/$(TOOLCHAIN_NAME)/wx/setup.h</files>
+            <install-to>$(LIBDIR)/wx/include/$(TOOLCHAIN_NAME)/wx</install-to>
+        </data-files>
+
+        <headers>
+            <srcdir>$(SRCDIR)/include</srcdir>
+            <files>$(ALL_HEADERS)</files>
+        </headers>
+
+
+        <!-- Mac OS X resources: -->
+        <set var="MACOS_R">lib/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[0]).r</set>
+        <set var="MACOS_RSRC">lib/libwx_$(TOOLCHAIN_NAME).$(WXSOVERSION[0]).rsrc</set>
+        <action id="macos-res" cond="TOOLKIT=='MAC'">
+            <dependency-of>all</dependency-of>
+            <set var="__targetname">$(MACOS_R)</set>
+            <command>
+                $(RESCOMP) -d __UNIX__ -useDF ../src/mac/apprsrc.r ../src/mac/carbrsrc.r ../src/mac/corersrc.r -o $(MACOS_RSRC)
+                $(DEREZ) $(MACOS_RSRC) Carbon.r -useDF >$(MACOS_R)
+            </command>
+            <clean-files>$(MACOS_RSRC) $(MACOS_R)</clean-files>
+        </action>
+        <action id="macos-res-install" cond="TOOLKIT=='MAC'">
+            <dependency-of>install</dependency-of>
+            <depends>macos-res</depends>
+            <command>
+                $(INSTALL_DATA) $(MACOS_R) $(LIBDIR)
+                $(INSTALL_DATA) $(MACOS_RSRC) $(LIBDIR)
+            </command>
+        </action>
+
+    </if>
+
+</makefile>
diff --git a/build/bakefiles/wxwin.py b/build/bakefiles/wxwin.py
new file mode 100644 (file)
index 0000000..3397dc5
--- /dev/null
@@ -0,0 +1,85 @@
+#
+# Helper functions for wxWindows bakefiles
+#
+# $Id$
+#
+
+
+def mk_wxid(id):
+    """Creates wxWindows library identifier from bakefile target ID that
+       follows this convention: DLLs end with 'dll', static libraries
+       end with 'lib'. If withPrefix=1, then _wxid is returned instead
+       of wxid."""
+    if id.endswith('dll') or id.endswith('lib'):
+        wxid = id[:-3]
+    else:
+        wxid = id
+    return wxid
+
+
+# List of library names/ids for categories with different names:
+LIBS_BASE = ['base']
+LIBS_GUI  = ['core', 'html']
+
+def mkLibName(wxid):
+    """Returns string that can be used as library name, including name
+       suffixes, prefixes, version tags etc. This must be kept in sync
+       with variables defined in common.bkl!"""
+    if wxid == 'mono':
+        return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXVERSIONTAG)'
+    if wxid in LIBS_BASE:
+        return '$(WXNAMEPREFIX)$(WXNAMESUFFIX)_%s$(WXVERSIONTAG)' % wxid
+    return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)_%s$(WXVERSIONTAG)' % wxid
+
+def mkDllName(wxid):
+    """Returns string that can be used as DLL name, including name
+       suffixes, prefixes, version tags etc. This must be kept in sync
+       with variables defined in common.bkl!"""
+    if wxid == 'mono':
+        return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)$(WXCOMPILER)$(WXVERSIONTAG)'
+    if wxid in LIBS_BASE:
+        return '$(WXNAMEPREFIX)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(WXVERSIONTAG)' % wxid
+    return '$(WXNAMEPREFIXGUI)$(WXNAMESUFFIX)_%s$(WXCOMPILER)$(WXVERSIONTAG)' % wxid
+
+
+def libToLink(wxlibname):
+    """Returns string to pass to <sys-lib> when linking against 'wxlibname'.
+       libToLink('foo') returns '$(WXLIB_FOO)' which must be defined in
+       common.bkl as either nothing (in monolithic build) or mkLibName('foo')
+       (otherwise)."""
+    return '$(WXLIB_%s)' % wxlibname.upper()
+
+
+wxVersion = None
+VERSION_FILE = '../../include/wx/version.h'
+
+def getVersion():
+    """Returns wxWindows version as a tuple: (major,minor,release)."""
+    global wxVersion
+    if wxVersion == None:
+        f = open(VERSION_FILE, 'rt')
+        lines = f.readlines()
+        f.close()
+        major = minor = release = None
+        for l in lines:
+            if not l.startswith('#define'): continue
+            splitted = l.strip().split()
+            if splitted[0] != '#define': continue
+            if len(splitted) < 3: continue
+            name = splitted[1]
+            value = splitted[2]
+            if value == None: continue
+            if name == 'wxMAJOR_VERSION': major = int(value)
+            if name == 'wxMINOR_VERSION': minor = int(value)
+            if name == 'wxRELEASE_NUMBER': release = int(value)
+            if major != None and minor != None and release != None:
+                break
+        wxVersion = (major, minor, release)
+    return wxVersion
+
+def getVersionMajor():
+    return getVersion()[0]
+def getVersionMinor():
+    return getVersion()[1]
+def getVersionRelease():
+    return getVersion()[2]
diff --git a/build/bakefiles/zlib.bkl b/build/bakefiles/zlib.bkl
new file mode 100644 (file)
index 0000000..c32306a
--- /dev/null
@@ -0,0 +1,34 @@
+<?xml version="1.0" ?>
+<makefile>
+
+    <if cond="FORMAT=='autoconf'">
+        <option name="wxUSE_ZLIB"/>
+    </if>
+    <if cond="FORMAT!='autoconf'">
+        <set var="wxUSE_ZLIB">builtin</set>
+    </if>
+    <set var="LIB_ZLIB">
+        <if cond="wxUSE_ZLIB=='builtin'">wxzlib</if>
+    </set>
+
+    <lib id="wxzlib" cond="wxUSE_ZLIB=='builtin' and BUILDING_LIB=='1'">
+        <dirname>$(LIBDIRNAME)</dirname>
+        <sources>
+            src/zlib/adler32.c
+            src/zlib/compress.c
+            src/zlib/crc32.c
+            src/zlib/gzio.c
+            src/zlib/uncompr.c
+            src/zlib/deflate.c
+            src/zlib/trees.c
+            src/zlib/zutil.c
+            src/zlib/inflate.c
+            src/zlib/infblock.c
+            src/zlib/inftrees.c
+            src/zlib/infcodes.c
+            src/zlib/infutil.c
+            src/zlib/inffast.c
+        </sources>
+    </lib>
+
+</makefile>