# TODO: Update all sources and resources
-SOURCES = ../../samples/minimal/minimal.cpp \
-../../src/common/accesscmn.cpp \
+BASE_CMN_SRC = \
../../src/common/appbase.cpp \
-../../src/common/appcmn.cpp \
-../../src/common/artprov.cpp \
-../../src/common/artstd.cpp \
-../../src/common/bmpbase.cpp \
-../../src/common/bookctrl.cpp \
-../../src/common/choiccmn.cpp \
-../../src/common/clipcmn.cpp \
+../../src/common/archive.cpp \
../../src/common/clntdata.cpp \
-../../src/common/cmdproc.cpp \
-../../src/common/cmndata.cpp \
+../../src/common/cmdline.cpp \
../../src/common/config.cpp \
-../../src/common/containr.cpp \
-../../src/common/cshelp.cpp \
-../../src/common/ctrlcmn.cpp \
-../../src/common/ctrlsub.cpp \
-../../src/common/datacmn.cpp \
../../src/common/datetime.cpp \
../../src/common/datstrm.cpp \
-../../src/common/db.cpp \
-../../src/common/dbgrid.cpp \
-../../src/common/dbtable.cpp \
-../../src/common/dcbase.cpp \
../../src/common/dircmn.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/dynarray.cpp \
../../src/common/dynlib.cpp \
../../src/common/dynload.cpp \
-../../src/common/effects.cpp \
../../src/common/encconv.cpp \
-../../src/common/event.cpp \
-../../src/common/fddlgcmn.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/fldlgcmn.cpp \
../../src/common/fmapbase.cpp \
-../../src/common/fontcmn.cpp \
-../../src/common/fontmap.cpp \
-../../src/common/framecmn.cpp \
-../../src/common/fs_inet.cpp \
-../../src/common/fs_mem.cpp \
-../../src/common/fs_zip.cpp \
-../../src/common/ftp.cpp \
-../../src/common/gaugecmn.cpp \
-../../src/common/gbsizer.cpp \
-../../src/common/gdicmn.cpp \
-../../src/common/geometry.cpp \
-../../src/common/gifdecod.cpp \
../../src/common/hash.cpp \
../../src/common/hashmap.cpp \
-../../src/common/helpbase.cpp \
-../../src/common/http.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/init.cpp \
../../src/common/intl.cpp \
../../src/common/ipcbase.cpp \
-../../src/common/layout.cpp \
-../../src/common/lboxcmn.cpp \
../../src/common/list.cpp \
../../src/common/log.cpp \
../../src/common/longlong.cpp \
-../../src/common/matrix.cpp \
../../src/common/memory.cpp \
-../../src/common/menucmn.cpp \
../../src/common/mimecmn.cpp \
../../src/common/module.cpp \
-../../src/common/msgout.cpp \
../../src/common/mstream.cpp \
-../../src/common/nbkbase.cpp \
../../src/common/object.cpp \
-../../src/common/paper.cpp \
-../../src/common/popupcmn.cpp \
-../../src/common/prntbase.cpp \
+../../src/common/platinfo.cpp \
../../src/common/process.cpp \
-../../src/common/protocol.cpp \
-../../src/common/quantize.cpp \
-../../src/common/radiocmn.cpp \
../../src/common/regex.cpp \
-../../src/common/rendcmn.cpp \
-../../src/common/rgncmn.cpp \
-../../src/common/sckaddr.cpp \
-../../src/common/sckfile.cpp \
-../../src/common/sckipc.cpp \
-../../src/common/sckstrm.cpp \
-../../src/common/settcmn.cpp \
-../../src/common/sizer.cpp \
-../../src/common/socket.cpp \
-../../src/common/statbar.cpp \
-../../src/common/stockitem.cpp \
+../../src/common/stdpbase.cpp \
+../../src/common/sstream.cpp \
+../../src/common/stopwatch.cpp \
../../src/common/strconv.cpp \
../../src/common/stream.cpp \
../../src/common/string.cpp \
../../src/common/sysopt.cpp \
-../../src/common/taskbarcmn.cpp \
-../../src/common/tbarbase.cpp \
../../src/common/textbuf.cpp \
-../../src/common/textcmn.cpp \
../../src/common/textfile.cpp \
-../../src/common/timercmn.cpp \
../../src/common/tokenzr.cpp \
-../../src/common/toplvcmn.cpp \
-../../src/common/treebase.cpp \
../../src/common/txtstrm.cpp \
-../../src/common/url.cpp \
-../../src/common/utilscmn.cpp \
-../../src/common/valgen.cpp \
-../../src/common/validate.cpp \
-../../src/common/valtext.cpp \
+../../src/common/uri.cpp \
../../src/common/variant.cpp \
../../src/common/wfstream.cpp \
-../../src/common/wincmn.cpp \
../../src/common/wxchar.cpp \
-../../src/common/xpmdecod.cpp \
../../src/common/xti.cpp \
../../src/common/xtistrm.cpp \
-../../src/common/xtixml.cpp \
../../src/common/zipstrm.cpp \
-../../src/common/zstream.cpp \
-../../src/generic/renderg.cpp \
-../../src/palmos/accel.cpp \
-../../src/palmos/app.cpp \
+../../src/common/zstream.cpp
+
+BASE_PALMOS_SRC = \
../../src/palmos/base.cpp \
+../../src/palmos/dir.cpp \
+../../src/palmos/prefconf.cpp \
+../../src/palmos/snglinst.cpp \
+../../src/palmos/thread.cpp \
+../../src/palmos/utils.cpp \
+../../src/palmos/utilsexc.cpp
+
+BASE_AND_GUI_CMN_SRC = \
+../../src/common/event.cpp \
+../../src/common/fs_mem.cpp \
+../../src/common/msgout.cpp \
+../../src/common/utilscmn.cpp
+
+BASE_AND_GUI_PALMOS_SRC = \
+../../src/palmos/main.cpp \
+../../src/palmos/volume.cpp
+
+NET_CMN_SRC = \
+../../src/common/fs_inet.cpp \
+../../src/common/ftp.cpp \
+../../src/common/http.cpp \
+../../src/common/protocol.cpp \
+../../src/common/sckaddr.cpp \
+../../src/common/sckfile.cpp \
+../../src/common/sckipc.cpp \
+../../src/common/sckstrm.cpp \
+../../src/common/socket.cpp \
+../../src/common/url.cpp
+
+PALMOS_LOWLEVEL_SRC = \
+../../src/palmos/app.cpp \
../../src/palmos/bitmap.cpp \
-../../src/palmos/bmpbuttn.cpp \
../../src/palmos/brush.cpp \
-../../src/palmos/button.cpp \
../../src/palmos/caret.cpp \
-../../src/palmos/checkbox.cpp \
-../../src/palmos/checklst.cpp \
-../../src/palmos/choice.cpp \
../../src/palmos/clipbrd.cpp \
-../../src/palmos/colordlg.cpp \
-../../src/palmos/colour.cpp \
-../../src/palmos/combobox.cpp \
-../../src/palmos/control.cpp \
+../../src/generic/colour.cpp \
../../src/palmos/cursor.cpp \
../../src/palmos/data.cpp \
../../src/palmos/dc.cpp \
../../src/palmos/dcmemory.cpp \
../../src/palmos/dcprint.cpp \
../../src/palmos/dcscreen.cpp \
-../../src/palmos/dialog.cpp \
../../src/palmos/dib.cpp \
-../../src/palmos/dir.cpp \
-../../src/palmos/dirdlg.cpp \
-../../src/palmos/display.cpp \
-../../src/palmos/dragimag.cpp \
-../../src/palmos/dummy.cpp \
../../src/palmos/enhmeta.cpp \
../../src/palmos/evtloop.cpp \
-../../src/palmos/fdrepdlg.cpp \
-../../src/palmos/filedlg.cpp \
../../src/palmos/font.cpp \
-../../src/palmos/fontdlg.cpp \
../../src/palmos/fontenum.cpp \
../../src/palmos/fontutil.cpp \
+../../src/palmos/gdiimage.cpp \
+../../src/generic/icon.cpp \
+../../src/palmos/minifram.cpp \
+../../src/palmos/palette.cpp \
+../../src/palmos/pen.cpp \
+../../src/palmos/popupwin.cpp \
+../../src/palmos/printdlg.cpp \
+../../src/palmos/printpalm.cpp \
+../../src/palmos/region.cpp \
+../../src/palmos/settings.cpp \
+../../src/palmos/timer.cpp \
+../../src/palmos/tooltip.cpp \
+../../src/palmos/toplevel.cpp \
+../../src/palmos/utilsgui.cpp \
+../../src/palmos/window.cpp
+
+PALMOS_DESKTOP_LOWLEVEL_SRC = \
+../../src/palmos/help.cpp
+
+PALMOS_SRC = \
+../../src/palmos/accel.cpp \
+../../src/palmos/bmpbuttn.cpp \
+../../src/palmos/button.cpp \
+../../src/palmos/checkbox.cpp \
+../../src/palmos/checklst.cpp \
+../../src/palmos/choice.cpp \
+../../src/palmos/colordlg.cpp \
+../../src/palmos/combobox.cpp \
+../../src/palmos/control.cpp \
+../../src/palmos/dialog.cpp \
+../../src/palmos/dirdlg.cpp \
+../../src/palmos/dragimag.cpp \
+../../src/palmos/fdrepdlg.cpp \
+../../src/palmos/filedlg.cpp \
+../../src/palmos/fontdlg.cpp \
../../src/palmos/frame.cpp \
../../src/palmos/gauge.cpp \
-../../src/palmos/gdiimage.cpp \
-../../src/palmos/gdiobj.cpp \
-../../src/palmos/glcanvas.cpp \
-../../src/palmos/help.cpp \
-../../src/palmos/icon.cpp \
../../src/palmos/imaglist.cpp \
-../../src/palmos/joystick.cpp \
../../src/palmos/listbox.cpp \
../../src/palmos/listctrl.cpp \
-../../src/palmos/main.cpp \
../../src/palmos/mdi.cpp \
../../src/palmos/menu.cpp \
../../src/palmos/menuitem.cpp \
../../src/palmos/metafile.cpp \
-../../src/palmos/minifram.cpp \
../../src/palmos/msgdlg.cpp \
../../src/palmos/nativdlg.cpp \
../../src/palmos/notebook.cpp \
../../src/palmos/ownerdrw.cpp \
-../../src/palmos/palette.cpp \
-../../src/palmos/pen.cpp \
-../../src/palmos/popupwin.cpp \
-../../src/palmos/prefconf.cpp \
-../../src/palmos/printdlg.cpp \
-../../src/palmos/printpalm.cpp \
-../../src/palmos/progdlg.cpp \
../../src/palmos/radiobox.cpp \
../../src/palmos/radiobut.cpp \
-../../src/palmos/region.cpp \
../../src/palmos/scrolbar.cpp \
-../../src/palmos/settings.cpp \
../../src/palmos/slider.cpp \
-../../src/palmos/snglinst.cpp \
-../../src/palmos/sound.cpp \
../../src/palmos/spinbutt.cpp \
../../src/palmos/spinctrl.cpp \
../../src/palmos/statbmp.cpp \
../../src/palmos/statbrpalm.cpp \
../../src/palmos/statline.cpp \
../../src/palmos/stattext.cpp \
-../../src/palmos/taskbar.cpp \
../../src/palmos/toolbar.cpp \
../../src/palmos/textctrl.cpp \
../../src/palmos/tglbtn.cpp \
-../../src/palmos/thread.cpp \
-../../src/palmos/timer.cpp \
-../../src/palmos/tooltip.cpp \
-../../src/palmos/toplevel.cpp \
-../../src/palmos/treectrl.cpp \
-../../src/palmos/utils.cpp \
-../../src/palmos/utilsexc.cpp \
-../../src/palmos/utilsgui.cpp \
-../../src/palmos/volume.cpp \
-../../src/palmos/window.cpp
+../../src/palmos/treectrl.cpp
+
+GUI_CMN_SRC = \
+../../src/common/accesscmn.cpp \
+../../src/common/appcmn.cpp \
+../../src/common/artprov.cpp \
+../../src/common/artstd.cpp \
+../../src/common/bmpbase.cpp \
+../../src/common/bookctrl.cpp \
+../../src/common/choiccmn.cpp \
+../../src/common/clipcmn.cpp \
+../../src/common/colourcmn.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/datacmn.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/evtloopcmn.cpp \
+../../src/common/fddlgcmn.cpp \
+../../src/common/fldlgcmn.cpp \
+../../src/common/fontcmn.cpp \
+../../src/common/fontenumcmn.cpp \
+../../src/common/fontmap.cpp \
+../../src/common/framecmn.cpp \
+../../src/common/gaugecmn.cpp \
+../../src/common/gbsizer.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/rendcmn.cpp \
+../../src/common/rgncmn.cpp \
+../../src/common/settcmn.cpp \
+../../src/common/sizer.cpp \
+../../src/common/statbar.cpp \
+../../src/common/stockitem.cpp \
+../../src/common/tbarbase.cpp \
+../../src/common/textcmn.cpp \
+../../src/common/timercmn.cpp \
+../../src/common/toplvcmn.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 \
+../../src/generic/busyinfo.cpp \
+../../src/generic/choicdgg.cpp \
+../../src/generic/choicbkg.cpp \
+../../src/generic/dcpsg.cpp \
+../../src/generic/dirctrlg.cpp \
+../../src/generic/dragimgg.cpp \
+../../src/generic/listbkg.cpp \
+../../src/generic/logg.cpp \
+../../src/generic/numdlgg.cpp \
+../../src/generic/panelg.cpp \
+../../src/generic/printps.cpp \
+../../src/generic/renderg.cpp \
+../../src/generic/scrlwing.cpp \
+../../src/generic/selstore.cpp \
+../../src/generic/spinctlg.cpp \
+../../src/generic/splitter.cpp \
+../../src/generic/textdlgg.cpp \
+../../src/generic/tipwin.cpp \
+../../src/generic/treectlg.cpp \
+../../src/generic/vlbox.cpp \
+../../src/generic/vscroll.cpp
+
+ADVANCED_CMN_SRC = \
+../../src/generic/calctrl.cpp \
+../../src/generic/datectlg.cpp \
+../../src/generic/grid.cpp \
+../../src/generic/gridctrl.cpp \
+../../src/generic/gridsel.cpp \
+../../src/generic/helpext.cpp \
+../../src/generic/laywin.cpp \
+../../src/generic/sashwin.cpp \
+../../src/generic/splash.cpp \
+../../src/generic/tipdlg.cpp \
+../../src/generic/wizard.cpp
+
+ADVANCED_PALMOS_SRC = \
+../../src/common/taskbarcmn.cpp \
+../../src/palmos/sound.cpp \
+../../src/palmos/taskbar.cpp
+
+ADVANCED_PALMOS_DESKTOP_SRC = \
+../../src/palmos/joystick.cpp
+
+ADVANCED_PALMOS_NATIVE_SRC = \
+../../src/palmos/datectrl.cpp
+
+MEDIA_CMN_SRC = \
+../../src/common/mediactrlcmn.cpp
+
+ADVANCED_PLATFORM_SRC = $(ADVANCED_PALMOS_SRC) $(ADVANCED_PALMOS_DESKTOP_SRC)
+
+ADVANCED_PLATFORM_NATIVE_SRC = $(ADVANCED_PALMOS_NATIVE_SRC)
+
+LOWLEVEL_SRC = $(PALMOS_LOWLEVEL_SRC)
+
+GUI_SRC = $(PALMOS_SRC) $(PALMOS_DESKTOP_SRC)
+
+BASE_PLATFORM_SRC = $(BASE_PALMOS_SRC)
+
+BASE_AND_GUI_PLATFORM_SRC = $(BASE_AND_GUI_PALMOS_SRC)
+
+BASE_SRC = $(BASE_CMN_SRC) $(BASE_PLATFORM_SRC)
+
+BASE_AND_GUI_SRC = $(BASE_AND_GUI_CMN_SRC) $(BASE_AND_GUI_PLATFORM_SRC)
+
+NET_SRC = $(NET_CMN_SRC)
+
+CORE_SRC = $(LOWLEVEL_SRC) $(GUI_SRC) $(GUI_CMN_SRC)
+
+ADVANCED_SRC = $(ADVANCED_CMN_SRC) $(ADVANCED_PLATFORM_SRC) $(ADVANCED_PLATFORM_NATIVE_SRC)
+
+MEDIA_SRC = $(MEDIA_CMN_SRC)
+
+HTML_SRC = \
+../../src/html/helpctrl.cpp \
+../../src/html/helpdata.cpp \
+../../src/html/helpfrm.cpp \
+../../src/html/htmlcell.cpp \
+../../src/html/htmlfilt.cpp \
+../../src/html/htmlpars.cpp \
+../../src/html/htmltag.cpp \
+../../src/html/htmlwin.cpp \
+../../src/html/htmprint.cpp \
+../../src/html/m_dflist.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_pre.cpp \
+../../src/html/m_style.cpp \
+../../src/html/m_tables.cpp \
+../../src/html/winpars.cpp \
+../../src/generic/htmllbox.cpp
+
+XRC_SRC = \
+../../src/xrc/xh_bmpbt.cpp \
+../../src/xrc/xh_bmp.cpp \
+../../src/xrc/xh_bttn.cpp \
+../../src/xrc/xh_cald.cpp \
+../../src/xrc/xh_chckb.cpp \
+../../src/xrc/xh_chckl.cpp \
+../../src/xrc/xh_choic.cpp \
+../../src/xrc/xh_choicbk.cpp \
+../../src/xrc/xh_combo.cpp \
+../../src/xrc/xh_datectrl.cpp \
+../../src/xrc/xh_dlg.cpp \
+../../src/xrc/xh_frame.cpp \
+../../src/xrc/xh_gauge.cpp \
+../../src/xrc/xh_gdctl.cpp \
+../../src/xrc/xh_html.cpp \
+../../src/xrc/xh_listb.cpp \
+../../src/xrc/xh_listbk.cpp \
+../../src/xrc/xh_listc.cpp \
+../../src/xrc/xh_menu.cpp \
+../../src/xrc/xh_notbk.cpp \
+../../src/xrc/xh_panel.cpp \
+../../src/xrc/xh_radbt.cpp \
+../../src/xrc/xh_radbx.cpp \
+../../src/xrc/xh_scrol.cpp \
+../../src/xrc/xh_scwin.cpp \
+../../src/xrc/xh_sizer.cpp \
+../../src/xrc/xh_slidr.cpp \
+../../src/xrc/xh_spin.cpp \
+../../src/xrc/xh_split.cpp \
+../../src/xrc/xh_statbar.cpp \
+../../src/xrc/xh_stbmp.cpp \
+../../src/xrc/xh_stbox.cpp \
+../../src/xrc/xh_stlin.cpp \
+../../src/xrc/xh_sttxt.cpp \
+../../src/xrc/xh_text.cpp \
+../../src/xrc/xh_tglbtn.cpp \
+../../src/xrc/xh_toolb.cpp \
+../../src/xrc/xh_tree.cpp \
+../../src/xrc/xh_unkwn.cpp \
+../../src/xrc/xh_wizrd.cpp \
+../../src/xrc/xmlres.cpp \
+../../src/xrc/xmlrsall.cpp
+
+XML_SRC = \
+../../src/xml/xml.cpp \
+../../src/common/xtixml.cpp
+
+OPENGL_SRC = \
+../../src/palmos/glcanvas.cpp
+
+SOURCES = ../../samples/minimal/minimal.cpp \
+$(BASE_SRC) \
+$(BASE_AND_GUI_SRC) \
+$(NET_SRC) \
+$(CORE_SRC) \
+$(ADVANCED_SRC) \
+$(MEDIA_SRC) \
+$(HTML_SRC) \
+$(XRC_SRC) \
+$(XML_SRC) \
+$(OPENGL_SRC) \
+../../src/palmos/progdlg.cpp
RESOURCES = ../../include/wx/palmos/wxWidgets.xrd ../../include/wx/palmos/Version.xrd
DEFS_FILE = ../../include/wx/palmos/wxWidgets.def
# Register Creator ID at: http://dev.palmos.com/creatorid/
## --------------------------------------------------------------------------
-CREATOR_ID = bapp
+CREATOR_ID = wx06
DB_TYPE = appl
DATABASE_RESET =