respectively
* file groups are:
- BASE_CMN common base files (all platforms)
- GUICMN common GUI files (all platforms)
+ BASE_CMN common base files (all platforms)
+ GUI_CMN common GUI files (all platforms)
+ BASE_AND_GUI_CMN_SRC files that must be compiled both into GUI
+ and base library (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
+ BASE_$(platform) base files used on platform
+ BASE_AND_GUI_$(platform)_SRC base & gui 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
+ ports (wxGTK, wxMotif, wxX11)
- HTML wxHTML files
+ HTML wxHTML files
* one file may be listed in several groups
<set var="BASE_UNIX_SRC">
src/unix/baseunix.cpp
- src/unix/dialup.cpp
src/unix/dir.cpp
src/unix/gsocket.c
src/unix/mimetype.cpp
src/unix/snglinst.cpp
src/unix/threadpsx.cpp
+</set>
+<set var="BASE_AND_GUI_UNIX_SRC">
src/unix/utilsunx.cpp
</set>
<set var="BASE_UNIX_HDR">
wx/unix/gsockunx.h
wx/unix/mimetype.h
</set>
+
<set var="BASE_WIN32_SRC">
src/msw/gsocket.c
src/msw/gsockmsw.c
src/msw/basemsw.cpp
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/thread.cpp
src/msw/utils.cpp
src/msw/utilsexc.cpp
+</set>
+<set var="BASE_AND_GUI_WIN32_SRC">
+ src/msw/main.cpp
+ src/msw/mslu.cpp
src/msw/volume.cpp
</set>
<set var="BASE_WIN32_HDR">
wx/msw/mimetype.h
wx/msw/winundef.h
</set>
+
+<set var="BASE_DARWIN_SRC">
+ src/unix/baseunix.cpp
+ src/unix/dir.cpp
+ src/unix/gsocket.c
+ src/unix/mimetype.cpp
+ src/unix/snglinst.cpp
+ src/unix/threadpsx.cpp
+</set>
+<set var="BASE_AND_GUI_DARWIN_SRC">
+ src/unix/utilsunx.cpp
+</set>
+<set var="BASE_DARWIN_HDR">
+</set>
+
<set var="BASE_MAC_SRC">
+ src/unix/baseunix.cpp
+ src/mac/dirmac.cpp
+ src/mac/gsocket.c
+ src/mac/mimetmac.cpp
+ src/mac/utils.cpp
+ src/mac/utilsexc.cpp
</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_AND_GUI_OS2_SRC">
+</set>
<set var="BASE_OS2_HDR">
</set>
+
<set var="BASE_CMN_SRC">
src/common/appbase.cpp
- 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/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/filename.cpp
src/common/filesys.cpp
src/common/fmapbase.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/init.cpp
src/common/intl.cpp
src/common/ipcbase.cpp
src/common/list.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/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_AND_GUI_CMN_SRC">
+ src/common/event.cpp
+ src/common/fs_mem.cpp
+ src/common/msgout.cpp
+ src/common/utilscmn.cpp
+</set>
<set var="BASE_CMN_HDR">
+ wx/init.h
wx/arrimpl.cpp
wx/listimpl.cpp
wx/app.h
wx/datetime.inl
wx/datstrm.h
wx/db.h
+ wx/dbkeyg.h
wx/dbtable.h
wx/dde.h
wx/debug.h
wx/defs.h
wx/dir.h
wx/dynarray.h
+ wx/arrstr.h
wx/dynlib.h
wx/dynload.h
wx/encconv.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/iconloc.h
wx/intl.h
wx/iosfwrap.h
wx/ioswrap.h
wx/sckstrm.h
wx/socket.h
wx/snglinst.h
+ wx/stopwatch.h
wx/strconv.h
wx/stream.h
wx/string.h
wx/textfile.h
wx/thread.h
wx/thrimpl.cpp
- wx/timer.h
wx/tokenzr.h
wx/txtstrm.h
wx/url.h
<!-- Common GUI files -->
<!-- ====================================================================== -->
-<set var="GUICMN_SRC">
+<set var="GUI_CMN_SRC">
src/generic/selstore.cpp
src/generic/busyinfo.cpp
src/generic/calctrl.cpp
src/generic/tipdlg.cpp
src/generic/tipwin.cpp
src/generic/treectlg.cpp
+ src/generic/vlbox.cpp
+ src/generic/vscroll.cpp
src/generic/wizard.cpp
+ src/common/appcmn.cpp
+ src/common/fontmap.cpp
src/common/accesscmn.cpp
src/common/artprov.cpp
src/common/artstd.cpp
src/common/cshelp.cpp
src/common/ctrlcmn.cpp
src/common/ctrlsub.cpp
+ src/common/datacmn.cpp
src/common/dbgrid.cpp
src/common/dcbase.cpp
src/common/dlgcmn.cpp
src/common/fldlgcmn.cpp
src/common/fontcmn.cpp
src/common/framecmn.cpp
+ src/common/timercmn.cpp
src/common/toplvcmn.cpp
src/common/gaugecmn.cpp
src/common/gdicmn.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/imagpnm.cpp
src/common/imagtiff.cpp
src/common/imagxpm.cpp
+ src/common/imagfill.cpp
src/common/layout.cpp
src/common/lboxcmn.cpp
src/common/matrix.cpp
src/common/wincmn.cpp
src/common/xpmdecod.cpp
</set>
-<set var="GUICMN_HDR">
+<set var="GUI_CMN_HDR">
wx/selstore.h
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/gridctrl.h
wx/generic/grid.h
wx/generic/helpext.h
+ wx/generic/logg.h
wx/helphtml.h
wx/generic/imaglist.h
wx/generic/laywin.h
src/common/taskbarcmn.cpp
src/unix/taskbarx11.cpp
src/generic/printps.cpp
+ src/generic/caret.cpp
+ src/unix/dialup.cpp
</set>
<set var="XWIN_LOWLEVEL_HDR">
wx/unix/fontutil.h
wx/unix/utilsx11.h
wx/unix/taskbarx11.h
wx/generic/printps.h
+ wx/generic/caret.h
</set>
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
<set var="MSW_LOWLEVEL_HDR">
</set>
<set var="MSW_SRC">
+ src/generic/statusbr.cpp
+ src/msw/uxtheme.cpp
src/msw/ole/access.cpp
src/msw/accel.cpp
src/msw/bmpbuttn.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/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/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/droptgt.h
wx/msw/oleutils.h
wx/msw/uuid.h
+ wx/msw/helpbest.h
</set>
src/mgl/window.cpp
src/mgl/utils.cpp
src/generic/timer.cpp
+ src/generic/caret.cpp
</set>
<set var="MGL_LOWLEVEL_HDR">
wx/mgl/app.h
wx/mgl/toplevel.h
wx/mgl/window.h
wx/generic/timer.h
+ wx/generic/caret.h
</set>
src/os2/window.cpp
src/os2/gsocket.c
src/os2/gsockpm.c
+ src/generic/caret.cpp
</set>
<set var="OS2_HDR">
wx/os2/accel.h
wx/os2/pnghand.h
wx/os2/statbox.h
wx/os2/toplevel.h
+ wx/generic/caret.h
</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/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/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/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
src/generic/fdrepdlg.cpp
src/generic/tabg.cpp
src/generic/fontdlgg.cpp
+ src/generic/caret.cpp
<!-- Unix files used by wxMac: -->
src/unix/snglinst.cpp
- src/unix/utilsunx.cpp
</set>
<set var="MAC_HDR">
+ wx/mac/chkconf.h
wx/mac/accel.h
wx/mac/aga.h
wx/mac/app.h
wx/generic/listctrl.h
wx/generic/fdrepdlg.h
wx/generic/tabg.h
+ wx/generic/caret.h
</set>
src/cocoa/app.mm
src/cocoa/bmpbuttn.mm
src/cocoa/bitmap.mm
- src/cocoa/brush.cpp
+ src/cocoa/brush.mm
src/cocoa/button.mm
src/cocoa/checkbox.mm
src/cocoa/checklst.mm
src/cocoa/utils.cpp
src/cocoa/utilsexc.cpp
src/cocoa/window.mm
+ <!-- Generic implementations used by wxCocoa: -->
+ src/generic/statusbr.cpp
+ src/generic/imaglist.cpp
+ src/generic/listctrl.cpp
+ src/generic/fdrepdlg.cpp
+ src/generic/tabg.cpp
+ src/generic/fontdlgg.cpp
+ src/generic/colrdlgg.cpp
+ src/generic/msgdlgg.cpp
+ src/generic/dirdlgg.cpp
+ src/generic/filedlgg.cpp
+ src/generic/notebook.cpp
+ src/generic/accel.cpp
+ src/generic/paletteg.cpp
+ src/generic/timer.cpp
+ src/generic/caret.cpp
+ src/generic/mdig.cpp
</set>
<set var="COCOA_HDR">
wx/cocoa/NSBox.h
wx/cocoa/textctrl.h
wx/cocoa/toplevel.h
wx/cocoa/window.h
+ <!-- Generic implementations used by wxCocoa: -->
+ wx/generic/statusbr.h
+ wx/generic/fontdlgg.h
+ wx/generic/imaglist.h
+ wx/generic/listctrl.h
+ wx/generic/fdrepdlg.h
+ wx/generic/tabg.h
+ wx/generic/caret.h
+ wx/generic/mdig.h
</set>
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
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
<!-- wxHTML -->
<!-- ====================================================================== -->
+<set var="HTML_SRC_PLATFORM">
+ <if cond="TOOLKIT=='MSW'">
+ src/msw/helpbest.cpp
+ </if>
+</set>
<set var="HTML_SRC">
+ $(HTML_SRC_PLATFORM)
src/html/helpdata.cpp
src/html/helpfrm.cpp
src/html/helpctrl.cpp
src/html/m_tables.cpp
src/html/m_style.cpp
src/html/htmprint.cpp
+ <!-- wxHTML users: -->
+ src/generic/htmllbox.cpp
</set>
<set var="HTML_HDR">
+ wx/html/forcelnk.h
+ wx/html/helpctrl.h
+ wx/html/helpdata.h
+ wx/html/helpfrm.h
+ wx/html/htmlcell.h
+ wx/html/htmldefs.h
+ wx/html/htmlfilt.h
+ wx/html/htmlpars.h
+ wx/html/htmlproc.h
+ wx/html/htmltag.h
+ wx/html/htmlwin.h
+ wx/html/htmprint.h
+ wx/html/m_templ.h
+ wx/html/winpars.h
+ <!-- wxHTML users: -->
+ wx/htmllbox.h
</set>
<!-- Define sources for specific libraries: -->
<!-- ====================================================================== -->
+ <!-- Nested if would be nicer, but this works -->
+ <set var="BASE_MACOSX_SRC">
+ <if cond="TOOLKIT=='MAC'">$(BASE_MAC_SRC)</if>
+ <if cond="TOOLKIT=='COCOA'">$(BASE_DARWIN_SRC)</if>
+ <if cond="TOOLKIT=='GTK'">$(BASE_DARWIN_SRC)</if>
+ <!-- FIXME: TOOLKIT!='MAC' is what we really want -->
+ </set>
<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>
+ <if cond="PLATFORM_MACOSX=='1'">$(BASE_MACOSX_SRC)</if>
+ </set>
+ <set var="BASE_AND_GUI_PLATFORM_SRC">
+ <if cond="PLATFORM_UNIX=='1'">$(BASE_AND_GUI_UNIX_SRC)</if>
+ <if cond="PLATFORM_WIN32=='1'">$(BASE_AND_GUI_WIN32_SRC)</if>
+ <if cond="PLATFORM_MACOSX=='1'">$(BASE_AND_GUI_DARWIN_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>
+ <if cond="TOOLKIT=='MAC'">$(BASE_MAC_HDR)</if>
+ <if cond="TOOLKIT=='COCOA'">$(BASE_DARWIN_HDR)</if>
</set>
-
<set var="BASE_SRC">
$(BASE_CMN_SRC) $(BASE_PLATFORM_SRC)
</set>
+ <set var="BASE_AND_GUI_SRC">
+ $(BASE_AND_GUI_CMN_SRC) $(BASE_AND_GUI_PLATFORM_SRC)
+ </set>
<set var="LOWLEVEL_SRC">
<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>
</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)
+ $(LOWLEVEL_SRC) $(GUI_SRC) $(GUI_CMN_SRC)
</if>
<if cond="USE_GUI=='1' and WXUNIV=='1'">
- $(LOWLEVEL_SRC) $(UNIV_SRC) $(UNIV_THEMES_SRC) $(GUICMN_SRC)
+ $(LOWLEVEL_SRC) $(UNIV_SRC) $(UNIV_THEMES_SRC) $(GUI_CMN_SRC)
</if>
</set>
<set var="ALL_HEADERS">
$(BASE_CMN_HDR) $(BASE_PLATFORM_HDR)
- $(GUICMN_HDR) $(GUI_HDR) $(LOWLEVEL_HDR)
+ $(GUI_CMN_HDR) $(GUI_HDR) $(LOWLEVEL_HDR)
$(HTML_HDR)
</set>