]> git.saurik.com Git - wxWidgets.git/blobdiff - build/palmos/makefile
return false from Dispatch() if gtk_main_quit() was called (patch 1864846)
[wxWidgets.git] / build / palmos / makefile
index cee33a32f16ba54b5af3592c875e8071cc09395e..06214935850f2d87c2248eecfee6a99b5338cca9 100644 (file)
@@ -10,6 +10,9 @@
 #      2. Review the other settings as needed.
 #
 ## --------------------------------------------------------------------------
+INSTALL=install
+INSTALL_DATA=${INSTALL} -m 644
+INSTALL_DIR=${INSTALL} -d
 
 SHELL = /bin/sh
 ## conditionally include an auto-generated.mk for dynamic definitions
@@ -42,13 +45,17 @@ PRC_NAME = wxWidgets.prc
 # TODO: Update all sources and resources
 
 BASE_CMN_SRC = \
+../../src/common/arrstr.cpp \
 ../../src/common/appbase.cpp \
 ../../src/common/archive.cpp \
+../../src/common/btncmn.cpp \
 ../../src/common/clntdata.cpp \
 ../../src/common/cmdline.cpp \
 ../../src/common/config.cpp \
+../../src/common/convauto.cpp \
 ../../src/common/datetime.cpp \
 ../../src/common/datstrm.cpp \
+../../src/common/dcbufcmn.cpp \
 ../../src/common/dircmn.cpp \
 ../../src/common/dynarray.cpp \
 ../../src/common/dynlib.cpp \
@@ -62,7 +69,6 @@ BASE_CMN_SRC = \
 ../../src/common/filename.cpp \
 ../../src/common/filesys.cpp \
 ../../src/common/fmapbase.cpp \
-../../src/common/fs_zip.cpp \
 ../../src/common/hash.cpp \
 ../../src/common/hashmap.cpp \
 ../../src/common/init.cpp \
@@ -76,6 +82,7 @@ BASE_CMN_SRC = \
 ../../src/common/module.cpp \
 ../../src/common/mstream.cpp \
 ../../src/common/object.cpp \
+../../src/common/platinfo.cpp \
 ../../src/common/process.cpp \
 ../../src/common/regex.cpp \
 ../../src/common/stdpbase.cpp \
@@ -84,15 +91,20 @@ BASE_CMN_SRC = \
 ../../src/common/strconv.cpp \
 ../../src/common/stream.cpp \
 ../../src/common/string.cpp \
+../../src/common/stringimpl.cpp \
+../../src/common/stringops.cpp \
+../../src/common/strvararg.cpp \
 ../../src/common/sysopt.cpp \
 ../../src/common/textbuf.cpp \
 ../../src/common/textfile.cpp \
 ../../src/common/tokenzr.cpp \
 ../../src/common/txtstrm.cpp \
+../../src/common/unichar.cpp \
 ../../src/common/uri.cpp \
 ../../src/common/variant.cpp \
 ../../src/common/wfstream.cpp \
-../../src/common/wxchar.cpp \
+../../src/common/wxcrt.cpp \
+../../src/common/wxprintf.cpp \
 ../../src/common/xti.cpp \
 ../../src/common/xtistrm.cpp \
 ../../src/common/zipstrm.cpp \
@@ -130,12 +142,13 @@ NET_CMN_SRC = \
 ../../src/common/url.cpp
 
 PALMOS_LOWLEVEL_SRC = \
+../../src/palmos/stdall.c \
 ../../src/palmos/app.cpp \
 ../../src/palmos/bitmap.cpp \
 ../../src/palmos/brush.cpp \
 ../../src/palmos/caret.cpp \
 ../../src/palmos/clipbrd.cpp \
-../../src/palmos/colour.cpp \
+../../src/generic/colour.cpp \
 ../../src/palmos/cursor.cpp \
 ../../src/palmos/data.cpp \
 ../../src/palmos/dc.cpp \
@@ -144,15 +157,13 @@ PALMOS_LOWLEVEL_SRC = \
 ../../src/palmos/dcprint.cpp \
 ../../src/palmos/dcscreen.cpp \
 ../../src/palmos/dib.cpp \
-../../src/palmos/display.cpp \
 ../../src/palmos/enhmeta.cpp \
 ../../src/palmos/evtloop.cpp \
 ../../src/palmos/font.cpp \
 ../../src/palmos/fontenum.cpp \
 ../../src/palmos/fontutil.cpp \
 ../../src/palmos/gdiimage.cpp \
-../../src/palmos/gdiobj.cpp \
-../../src/palmos/icon.cpp \
+../../src/generic/icon.cpp \
 ../../src/palmos/minifram.cpp \
 ../../src/palmos/palette.cpp \
 ../../src/palmos/pen.cpp \
@@ -210,7 +221,6 @@ PALMOS_SRC = \
 ../../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 \
@@ -225,6 +235,7 @@ GUI_CMN_SRC = \
 ../../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 \
@@ -241,9 +252,11 @@ GUI_CMN_SRC = \
 ../../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 \
@@ -280,6 +293,7 @@ GUI_CMN_SRC = \
 ../../src/common/settcmn.cpp \
 ../../src/common/sizer.cpp \
 ../../src/common/statbar.cpp \
+../../src/common/stattextcmn.cpp \
 ../../src/common/stockitem.cpp \
 ../../src/common/tbarbase.cpp \
 ../../src/common/textcmn.cpp \
@@ -290,7 +304,59 @@ GUI_CMN_SRC = \
 ../../src/common/validate.cpp \
 ../../src/common/valtext.cpp \
 ../../src/common/wincmn.cpp \
-../../src/common/xpmdecod.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)
 
@@ -308,13 +374,83 @@ 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 = 
+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) \
@@ -324,21 +460,13 @@ $(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
+$(OPENGL_SRC) \
+../../src/palmos/progdlg.cpp
+
+#include othersrc.mak
+#SOURCES += $(OTHER_SRC)
 
 RESOURCES = ../../include/wx/palmos/wxWidgets.xrd ../../include/wx/palmos/Version.xrd
 DEFS_FILE = ../../include/wx/palmos/wxWidgets.def
@@ -389,7 +517,10 @@ DEBUG_OR_RELEASE=Debug
 # Set the target platform for the build; either Device or Simulator
 # Use Device as a target for emulator builds.
 #
-TARGET_PLATFORM=Simulator
+#TARGET_PLATFORM=Simulator
+TARGET_PLATFORM=Device
+
+#TARGET_FORMAT=PalmOS4
 
 # Specify the level of optimization that you want:
 # NONE, SOME, FULL, INTRAPROCEDURAL, INTERPROCEDURAL, INLINING.
@@ -424,7 +555,8 @@ ADDITIONAL_SIM_LINK_LIBRARIES =
 # Additionally, you must explicly specify the "-I" prior to each
 # path included in this variable.  Spaces are used to separate
 # each path from each other.
-LOCAL_INCLUDE_PATHS = -Irsc -I../../lib/gcc_lib/palmos -I../../include
+incdir=../../lib/gcc_lib/palmos
+LOCAL_INCLUDE_PATHS = -Irsc -I$(incdir) -I../../include
 LOCAL_SIM_INCLUDE_PATHS = $(LOCAL_INCLUDE_PATHS)
 
 # Additional paths to look for #include <header>