]> git.saurik.com Git - wxWidgets.git/blobdiff - build/palmos/makefile
Use the same error message for wxMSW and wxMac.
[wxWidgets.git] / build / palmos / makefile
index a7d4ff8a31631febe7e2816ba8c5e8f902dd96f4..cee33a32f16ba54b5af3592c875e8071cc09395e 100644 (file)
@@ -41,162 +41,101 @@ PRC_NAME = wxWidgets.prc
 
 # 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/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/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/palmos/cursor.cpp \
 ../../src/palmos/data.cpp \
 ../../src/palmos/dc.cpp \
@@ -204,57 +143,66 @@ SOURCES =  ../../samples/minimal/minimal.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/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/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/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 \
@@ -266,16 +214,131 @@ SOURCES =  ../../samples/minimal/minimal.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/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/fddlgcmn.cpp \
+../../src/common/fldlgcmn.cpp \
+../../src/common/fontcmn.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
+
+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 =
+# MEDIA_SRC =
+# HTML_SRC =
+# ODBC_SRC =
+# DBGRID_SRC =
+# XRC_SRC =
+# XML_SRC = 
+
+SOURCES =  ../../samples/minimal/minimal.cpp \
+$(BASE_SRC) \
+$(BASE_AND_GUI_SRC) \
+$(NET_SRC) \
+$(CORE_SRC) \
+$(ADVANCED_SRC) \
+$(MEDIA_SRC) \
+$(HTML_SRC) \
+$(ODBC_SRC) \
+$(DBGRID_SRC) \
+$(XRC_SRC) \
+$(XML_SRC) \
+../../src/common/db.cpp \
+../../src/common/dbgrid.cpp \
+../../src/common/dbtable.cpp \
+../../src/common/taskbarcmn.cpp \
+../../src/common/xtixml.cpp \
+../../src/generic/renderg.cpp \
+../../src/palmos/datectrl.cpp \
+../../src/palmos/glcanvas.cpp \
+../../src/palmos/joystick.cpp \
+../../src/palmos/progdlg.cpp \
+../../src/palmos/sound.cpp
 
 RESOURCES = ../../include/wx/palmos/wxWidgets.xrd ../../include/wx/palmos/Version.xrd
 DEFS_FILE = ../../include/wx/palmos/wxWidgets.def
@@ -286,7 +349,7 @@ SLD_FILE = ../../include/wx/palmos/wxWidgets.sld
 # Register Creator ID at: http://dev.palmos.com/creatorid/
 ## --------------------------------------------------------------------------
 
-CREATOR_ID = bapp
+CREATOR_ID = wx06
 DB_TYPE = appl
 
 DATABASE_RESET =