]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove more Palm OS left overs.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Jan 2012 13:43:19 +0000 (13:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Jan 2012 13:43:19 +0000 (13:43 +0000)
Remove the build files and the mentions of Palm OS in the widgets sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/palmos/.cdtproject [deleted file]
build/palmos/.project [deleted file]
build/palmos/auto-generated.mk [deleted file]
build/palmos/makefile [deleted file]
build/palmos/makefile-engine.mk [deleted file]
samples/widgets/widgets.cpp

diff --git a/build/palmos/.cdtproject b/build/palmos/.cdtproject
deleted file mode 100644 (file)
index 9d688e3..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse-cdt version="2.0"?>
-
-<cdtproject id="org.eclipse.cdt.make.core.make">
-<extension point="org.eclipse.cdt.core.BinaryParser" id="org.eclipse.cdt.core.PE"/>
-<data>
-        
-    <item id="org.eclipse.cdt.core.pathentry">
-<pathentry kind="src" path=""/>
-<pathentry kind="out" path=""/>
-<pathentry kind="mac" path="" name="__arm__" value="1"/>
-<pathentry kind="con" path="org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"/>
-</item>
-</data>
-</cdtproject>
diff --git a/build/palmos/.project b/build/palmos/.project
deleted file mode 100644 (file)
index 5074e63..0000000
+++ /dev/null
@@ -1,172 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>wxWidgets</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>com.palmsource.eclipse.palmoscore.palmOSMakeBuilder</name>
-                       <arguments>
-                               <dictionary>
-                                       <key>CREATOR_ID</key>
-                                       <value>STRT</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>DB_HIDDEN</key>
-                                       <value>false</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>TARGET</key>
-                                       <value>Simulator</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>DB_TYPE</key>
-                                       <value>appl</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>VERSION</key>
-                                       <value>1</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>PROJECT_VERSION</key>
-                                       <value>10100</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>DB_RESET_INSTALL</key>
-                                       <value>false</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>SDK</key>
-                                       <value>com.palmsource.eclipse.sdk.palmos6</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>APP_NAME</key>
-                                       <value>wxWidgets</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>OS_API</key>
-                                       <value>Protein</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>PROJECT_NAME</key>
-                                       <value>wxWidgets</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>PROJECT_TYPE</key>
-                                       <value>appl</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>DB_BACKUP</key>
-                                       <value>true</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>DB_PREVENT_COPY</key>
-                                       <value>false</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>DEBUG_OR_RELEASE</key>
-                                       <value>Debug</value>
-                               </dictionary>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.cdt.make.core.makeBuilder</name>
-                       <arguments>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.core.errorOutputParser</key>
-                                       <value>org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GASErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.VCErrorParser;</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.fullBuildTarget</key>
-                                       <value>clean all</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.incrementalBuildTarget</key>
-                                       <value>all</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.enableAutoBuild</key>
-                                       <value>false</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.buildLocation</key>
-                                       <value></value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.useDefaultBuildCmd</key>
-                                       <value>true</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.buildCommand</key>
-                                       <value>make</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.enableFullBuild</key>
-                                       <value>true</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.enabledIncrementalBuild</key>
-                                       <value>true</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.autoBuildTarget</key>
-                                       <value>all</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.stopOnError</key>
-                                       <value>false</value>
-                               </dictionary>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.cdt.make.core.ScannerConfigBuilder</name>
-                       <arguments>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.ScannerConfigDiscoveryEnabled</key>
-                                       <value>true</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.makeBuilderParserId</key>
-                                       <value>org.eclipse.cdt.make.core.GCCScannerInfoConsoleParser</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.esiProviderCommandEnabled</key>
-                                       <value>true</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.siProblemGenerationEnabled</key>
-                                       <value>true</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.useDefaultESIProviderCmd</key>
-                                       <value>false</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.makeBuilderParserEnabled</key>
-                                       <value>true</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.esiProviderArguments</key>
-                                       <value>-E -P -v ${plugin_state_location}/${specs_file}</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.esiProviderParserId</key>
-                                       <value>org.eclipse.cdt.make.core.GCCSpecsConsoleParser</value>
-                               </dictionary>
-                               <dictionary>
-                                       <key>org.eclipse.cdt.make.core.esiProviderCommand</key>
-                                       <value>gcc</value>
-                               </dictionary>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>com.palmsource.eclipse.palmos6dev.palmOSProteinNature</nature>
-               <nature>com.palmsource.eclipse.palmoscore.palmOSNature</nature>
-               <nature>org.eclipse.cdt.core.cnature</nature>
-               <nature>org.eclipse.cdt.make.core.makeNature</nature>
-               <nature>org.eclipse.cdt.core.ccnature</nature>
-               <nature>org.eclipse.cdt.make.core.ScannerConfigNature</nature>
-       </natures>
-</projectDescription>
diff --git a/build/palmos/auto-generated.mk b/build/palmos/auto-generated.mk
deleted file mode 100644 (file)
index 0b35c59..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-# This file auto-generated by Palm OS Make builder.  Don't modify directly!!!
-
-# This value is unescaped.  Either quote the value or escape special characters when you use it.
-ifeq ($(TOOLS_DIR), )
-   TOOLS_DIR = C:/Program Files/PalmSource/Palm OS Developer Suite/PalmOSTools/
-endif
-
-# This value is unescaped.  Either quote the value or escape special characters when you use it.
-ifeq ($(SDK_LOCATION), )
-   SDK_LOCATION = C:/Program Files/PalmSource/Palm OS Developer Suite/sdk-6.1/
-endif
-
-ifeq ($(SDK_VERSION), )
-   SDK_VERSION = sdk-6
-endif
-
-ifeq ($(CREATOR_ID), )
-   CREATOR_ID = STRT
-endif
-
-ifeq ($(DB_HIDDEN), )
-   DB_HIDDEN = false
-endif
-
-ifeq ($(TARGET), )
-   TARGET = Simulator
-endif
-
-ifeq ($(DB_TYPE), )
-   DB_TYPE = appl
-endif
-
-ifeq ($(VERSION), )
-   VERSION = 1
-endif
-
-ifeq ($(PROJECT_VERSION), )
-   PROJECT_VERSION = 10100
-endif
-
-ifeq ($(SDK), )
-   SDK = com.palmsource.eclipse.sdk.palmos6
-endif
-
-ifeq ($(DB_RESET_INSTALL), )
-   DB_RESET_INSTALL = false
-endif
-
-ifeq ($(APP_NAME), )
-   APP_NAME = wxWidgets
-endif
-
-ifeq ($(PROJECT_NAME), )
-   PROJECT_NAME = wxWidgets
-endif
-
-ifeq ($(OS_API), )
-   OS_API = Protein
-endif
-
-ifeq ($(PROJECT_TYPE), )
-   PROJECT_TYPE = appl
-endif
-
-ifeq ($(DB_BACKUP), )
-   DB_BACKUP = true
-endif
-
-ifeq ($(DB_PREVENT_COPY), )
-   DB_PREVENT_COPY = false
-endif
-
-ifeq ($(DEBUG_OR_RELEASE), )
-   DEBUG_OR_RELEASE = Debug
-endif
-
diff --git a/build/palmos/makefile b/build/palmos/makefile
deleted file mode 100644 (file)
index 13d870a..0000000
+++ /dev/null
@@ -1,665 +0,0 @@
-## --------------------------------------------------------------------------
-#  Palm OS Generic Protein Makefile for Eclipse v1.0.0
-#
-# Fill in this file to specify your project and the source that you want
-# to build, and the settings involved in the build. The makefile-engine.mk
-# will then do the hard work of the makefile and dependency handling.
-#
-# After starting a new project, please remember the following steps...
-#      1. Add all sources and resources in SOURCES and RESOURCES
-#      2. Review the other settings as needed.
-#
-## --------------------------------------------------------------------------
-INSTALL=install
-INSTALL_DATA=${INSTALL} -m 644
-INSTALL_DIR=${INSTALL} -d
-TOPDIR=../..
-INCDIR_WXPALM=$(TOPDIR)/lib/gcc_lib/palmos
-SHELL = /bin/sh
-## conditionally include an auto-generated.mk for dynamic definitions
--include auto-generated.mk
-
-## --------------------------------------------------------------------------
-# Set up the artifact name.
-# The database name and other file names are based on the application name
-## --------------------------------------------------------------------------
-
-ARTIFACT_NAME = wxWidgets
-EMPTY =
-SPACE =$(EMPTY) $(EMPTY)
-ESCAPED_ARTIFACT_NAME = $(subst $(SPACE),\ ,$(ARTIFACT_NAME))
-
-PROJECT_NAME = wxWidgets
-PRC_NAME = wxWidgets.prc
-
-## --------------------------------------------------------------------------
-# Sources and Resources and Definition files
-# List all the sources (.c/.cpp), resources (.xrd), and definition file (.sld)
-# in your project.  Use project relative path names with forward slashes 
-# (src/code.cpp).  Please do not use spaces in directory or file names.
-#
-# A note about XRD resource files:  If you have existing .rsrc or .rcp files, 
-# refer to the documentation for the GenerateXRD tool to convert them into 
-# XRD files for use with all Palm OS SDKs.
-## --------------------------------------------------------------------------
-
-# TODO: Update all sources and resources
-
-BASE_CMN_SRC = \
-$(TOPDIR)/src/common/arrstr.cpp \
-$(TOPDIR)/src/common/appbase.cpp \
-$(TOPDIR)/src/common/archive.cpp \
-$(TOPDIR)/src/common/btncmn.cpp \
-$(TOPDIR)/src/common/clntdata.cpp \
-$(TOPDIR)/src/common/cmdline.cpp \
-$(TOPDIR)/src/common/config.cpp \
-$(TOPDIR)/src/common/convauto.cpp \
-$(TOPDIR)/src/common/datetime.cpp \
-$(TOPDIR)/src/common/datstrm.cpp \
-$(TOPDIR)/src/common/dcbufcmn.cpp \
-$(TOPDIR)/src/common/dircmn.cpp \
-$(TOPDIR)/src/common/dynarray.cpp \
-$(TOPDIR)/src/common/dynlib.cpp \
-$(TOPDIR)/src/common/dynload.cpp \
-$(TOPDIR)/src/common/encconv.cpp \
-$(TOPDIR)/src/common/extended.c \
-$(TOPDIR)/src/common/ffile.cpp \
-$(TOPDIR)/src/common/file.cpp \
-$(TOPDIR)/src/common/fileconf.cpp \
-$(TOPDIR)/src/common/filefn.cpp \
-$(TOPDIR)/src/common/filename.cpp \
-$(TOPDIR)/src/common/filesys.cpp \
-$(TOPDIR)/src/common/fmapbase.cpp \
-$(TOPDIR)/src/common/hash.cpp \
-$(TOPDIR)/src/common/hashmap.cpp \
-$(TOPDIR)/src/common/init.cpp \
-$(TOPDIR)/src/common/intl.cpp \
-$(TOPDIR)/src/common/ipcbase.cpp \
-$(TOPDIR)/src/common/list.cpp \
-$(TOPDIR)/src/common/log.cpp \
-$(TOPDIR)/src/common/longlong.cpp \
-$(TOPDIR)/src/common/memory.cpp \
-$(TOPDIR)/src/common/mimecmn.cpp \
-$(TOPDIR)/src/common/module.cpp \
-$(TOPDIR)/src/common/mstream.cpp \
-$(TOPDIR)/src/common/object.cpp \
-$(TOPDIR)/src/common/platinfo.cpp \
-$(TOPDIR)/src/common/process.cpp \
-$(TOPDIR)/src/common/regex.cpp \
-$(TOPDIR)/src/common/stdpbase.cpp \
-$(TOPDIR)/src/common/sstream.cpp \
-$(TOPDIR)/src/common/stopwatch.cpp \
-$(TOPDIR)/src/common/strconv.cpp \
-$(TOPDIR)/src/common/stream.cpp \
-$(TOPDIR)/src/common/string.cpp \
-$(TOPDIR)/src/common/stringimpl.cpp \
-$(TOPDIR)/src/common/stringops.cpp \
-$(TOPDIR)/src/common/strvararg.cpp \
-$(TOPDIR)/src/common/sysopt.cpp \
-$(TOPDIR)/src/common/textbuf.cpp \
-$(TOPDIR)/src/common/textfile.cpp \
-$(TOPDIR)/src/common/tokenzr.cpp \
-$(TOPDIR)/src/common/txtstrm.cpp \
-$(TOPDIR)/src/common/unichar.cpp \
-$(TOPDIR)/src/common/uri.cpp \
-$(TOPDIR)/src/common/variant.cpp \
-$(TOPDIR)/src/common/wfstream.cpp \
-$(TOPDIR)/src/common/wxcrt.cpp \
-$(TOPDIR)/src/common/wxprintf.cpp \
-$(TOPDIR)/src/common/xti.cpp \
-$(TOPDIR)/src/common/xtistrm.cpp \
-$(TOPDIR)/src/common/zipstrm.cpp \
-$(TOPDIR)/src/common/zstream.cpp
-
-BASE_PALMOS_SRC = \
-$(TOPDIR)/src/palmos/base.cpp \
-$(TOPDIR)/src/palmos/dir.cpp \
-$(TOPDIR)/src/palmos/prefconf.cpp \
-$(TOPDIR)/src/palmos/snglinst.cpp \
-$(TOPDIR)/src/palmos/thread.cpp \
-$(TOPDIR)/src/palmos/utils.cpp \
-$(TOPDIR)/src/palmos/utilsexc.cpp
-
-BASE_AND_GUI_CMN_SRC = \
-$(TOPDIR)/src/common/event.cpp \
-$(TOPDIR)/src/common/fs_mem.cpp \
-$(TOPDIR)/src/common/msgout.cpp \
-$(TOPDIR)/src/common/utilscmn.cpp \
-$(TOPDIR)/src/common/windowid.cpp
-
-BASE_AND_GUI_PALMOS_SRC = \
-$(TOPDIR)/src/palmos/main.cpp \
-$(TOPDIR)/src/palmos/volume.cpp
-
-NET_CMN_SRC = \
-$(TOPDIR)/src/common/fs_inet.cpp \
-$(TOPDIR)/src/common/ftp.cpp \
-$(TOPDIR)/src/common/http.cpp \
-$(TOPDIR)/src/common/protocol.cpp \
-$(TOPDIR)/src/common/sckaddr.cpp \
-$(TOPDIR)/src/common/sckfile.cpp \
-$(TOPDIR)/src/common/sckipc.cpp \
-$(TOPDIR)/src/common/sckstrm.cpp \
-$(TOPDIR)/src/common/socket.cpp \
-$(TOPDIR)/src/common/url.cpp
-
-PALMOS_LOWLEVEL_SRC = \
-$(TOPDIR)/src/palmos/stdall.c \
-$(TOPDIR)/src/palmos/pflib/pfpvfs.c \
-$(TOPDIR)/src/palmos/app.cpp \
-$(TOPDIR)/src/palmos/bitmap.cpp \
-$(TOPDIR)/src/palmos/brush.cpp \
-$(TOPDIR)/src/palmos/caret.cpp \
-$(TOPDIR)/src/palmos/clipbrd.cpp \
-$(TOPDIR)/src/palmos/cursor.cpp \
-$(TOPDIR)/src/palmos/data.cpp \
-$(TOPDIR)/src/palmos/dc.cpp \
-$(TOPDIR)/src/palmos/dcclient.cpp \
-$(TOPDIR)/src/palmos/dcmemory.cpp \
-$(TOPDIR)/src/palmos/dcprint.cpp \
-$(TOPDIR)/src/palmos/dcscreen.cpp \
-$(TOPDIR)/src/palmos/dib.cpp \
-$(TOPDIR)/src/palmos/enhmeta.cpp \
-$(TOPDIR)/src/palmos/evtloop.cpp \
-$(TOPDIR)/src/palmos/font.cpp \
-$(TOPDIR)/src/palmos/fontenum.cpp \
-$(TOPDIR)/src/palmos/fontutil.cpp \
-$(TOPDIR)/src/palmos/gdiimage.cpp \
-$(TOPDIR)/src/palmos/minifram.cpp \
-$(TOPDIR)/src/palmos/palette.cpp \
-$(TOPDIR)/src/palmos/pen.cpp \
-$(TOPDIR)/src/palmos/popupwin.cpp \
-$(TOPDIR)/src/palmos/printdlg.cpp \
-$(TOPDIR)/src/palmos/printpalm.cpp \
-$(TOPDIR)/src/palmos/region.cpp \
-$(TOPDIR)/src/palmos/settings.cpp \
-$(TOPDIR)/src/palmos/timer.cpp \
-$(TOPDIR)/src/palmos/tooltip.cpp \
-$(TOPDIR)/src/palmos/toplevel.cpp \
-$(TOPDIR)/src/palmos/utilsgui.cpp \
-$(TOPDIR)/src/palmos/window.cpp 
-
-PALMOS_DESKTOP_LOWLEVEL_SRC = \
-$(TOPDIR)/src/palmos/help.cpp
-
-PALMOS_SRC = \
-$(TOPDIR)/src/palmos/accel.cpp \
-$(TOPDIR)/src/palmos/bmpbuttn.cpp \
-$(TOPDIR)/src/palmos/button.cpp \
-$(TOPDIR)/src/palmos/checkbox.cpp \
-$(TOPDIR)/src/palmos/checklst.cpp \
-$(TOPDIR)/src/palmos/choice.cpp \
-$(TOPDIR)/src/palmos/colordlg.cpp \
-$(TOPDIR)/src/palmos/combobox.cpp \
-$(TOPDIR)/src/palmos/control.cpp \
-$(TOPDIR)/src/palmos/dialog.cpp \
-$(TOPDIR)/src/generic/dirdlgg.cpp \
-$(TOPDIR)/src/palmos/dragimag.cpp \
-$(TOPDIR)/src/palmos/fdrepdlg.cpp \
-$(TOPDIR)/src/generic/filedlgg.cpp \
-$(TOPDIR)/src/palmos/fontdlg.cpp \
-$(TOPDIR)/src/palmos/frame.cpp \
-$(TOPDIR)/src/palmos/gauge.cpp \
-$(TOPDIR)/src/palmos/imaglist.cpp \
-$(TOPDIR)/src/palmos/listbox.cpp \
-$(TOPDIR)/src/generic/listctrl.cpp \
-$(TOPDIR)/src/palmos/mdi.cpp \
-$(TOPDIR)/src/palmos/menu.cpp \
-$(TOPDIR)/src/palmos/menuitem.cpp \
-$(TOPDIR)/src/palmos/metafile.cpp \
-$(TOPDIR)/src/palmos/msgdlg.cpp \
-$(TOPDIR)/src/palmos/nativdlg.cpp \
-$(TOPDIR)/src/palmos/notebook.cpp \
-$(TOPDIR)/src/palmos/ownerdrw.cpp \
-$(TOPDIR)/src/palmos/progdlg.cpp \
-$(TOPDIR)/src/palmos/radiobox.cpp \
-$(TOPDIR)/src/palmos/radiobut.cpp \
-$(TOPDIR)/src/palmos/scrolbar.cpp \
-$(TOPDIR)/src/palmos/slider.cpp \
-$(TOPDIR)/src/palmos/spinbutt.cpp \
-$(TOPDIR)/src/palmos/spinctrl.cpp \
-$(TOPDIR)/src/palmos/statbmp.cpp \
-$(TOPDIR)/src/palmos/statbox.cpp \
-$(TOPDIR)/src/palmos/statbrpalm.cpp \
-$(TOPDIR)/src/palmos/statline.cpp \
-$(TOPDIR)/src/palmos/stattext.cpp \
-$(TOPDIR)/src/palmos/toolbar.cpp \
-$(TOPDIR)/src/palmos/textctrl.cpp \
-$(TOPDIR)/src/palmos/tglbtn.cpp \
-$(TOPDIR)/src/generic/treectlg.cpp \
-
-GUI_CMN_SRC = \
-$(TOPDIR)/src/common/accesscmn.cpp \
-$(TOPDIR)/src/common/appcmn.cpp \
-$(TOPDIR)/src/common/artprov.cpp \
-$(TOPDIR)/src/common/artstd.cpp \
-$(TOPDIR)/src/common/bmpbase.cpp \
-$(TOPDIR)/src/common/bookctrl.cpp \
-$(TOPDIR)/src/common/choiccmn.cpp \
-$(TOPDIR)/src/common/clipcmn.cpp \
-$(TOPDIR)/src/common/colourcmn.cpp \
-$(TOPDIR)/src/common/cmdproc.cpp \
-$(TOPDIR)/src/common/cmndata.cpp \
-$(TOPDIR)/src/common/containr.cpp \
-$(TOPDIR)/src/common/cshelp.cpp \
-$(TOPDIR)/src/common/ctrlcmn.cpp \
-$(TOPDIR)/src/common/ctrlsub.cpp \
-$(TOPDIR)/src/common/datacmn.cpp \
-$(TOPDIR)/src/common/dcbase.cpp \
-$(TOPDIR)/src/common/dlgcmn.cpp \
-$(TOPDIR)/src/common/dndcmn.cpp \
-$(TOPDIR)/src/common/dobjcmn.cpp \
-$(TOPDIR)/src/common/docmdi.cpp \
-$(TOPDIR)/src/common/docview.cpp \
-$(TOPDIR)/src/common/dpycmn.cpp \
-$(TOPDIR)/src/common/dseldlg.cpp \
-$(TOPDIR)/src/common/effects.cpp \
-$(TOPDIR)/src/common/evtloopcmn.cpp \
-$(TOPDIR)/src/common/fddlgcmn.cpp \
-$(TOPDIR)/src/common/filectrlcmn.cpp \
-$(TOPDIR)/src/common/fldlgcmn.cpp \
-$(TOPDIR)/src/common/fontcmn.cpp \
-$(TOPDIR)/src/common/fontenumcmn.cpp \
-$(TOPDIR)/src/common/fontmap.cpp \
-$(TOPDIR)/src/common/framecmn.cpp \
-$(TOPDIR)/src/common/gaugecmn.cpp \
-$(TOPDIR)/src/common/gbsizer.cpp \
-$(TOPDIR)/src/common/gdicmn.cpp \
-$(TOPDIR)/src/common/geometry.cpp \
-$(TOPDIR)/src/common/gifdecod.cpp \
-$(TOPDIR)/src/common/helpbase.cpp \
-$(TOPDIR)/src/common/iconbndl.cpp \
-$(TOPDIR)/src/common/imagall.cpp \
-$(TOPDIR)/src/common/imagbmp.cpp \
-$(TOPDIR)/src/common/image.cpp \
-$(TOPDIR)/src/common/imagfill.cpp \
-$(TOPDIR)/src/common/imaggif.cpp \
-$(TOPDIR)/src/common/imagiff.cpp \
-$(TOPDIR)/src/common/imagjpeg.cpp \
-$(TOPDIR)/src/common/imagpcx.cpp \
-$(TOPDIR)/src/common/imagpng.cpp \
-$(TOPDIR)/src/common/imagpnm.cpp \
-$(TOPDIR)/src/common/imagtiff.cpp \
-$(TOPDIR)/src/common/imagxpm.cpp \
-$(TOPDIR)/src/common/layout.cpp \
-$(TOPDIR)/src/common/lboxcmn.cpp \
-$(TOPDIR)/src/common/listctrlcmn.cpp \
-$(TOPDIR)/src/common/matrix.cpp \
-$(TOPDIR)/src/common/menucmn.cpp \
-$(TOPDIR)/src/common/nbkbase.cpp \
-$(TOPDIR)/src/common/paper.cpp \
-$(TOPDIR)/src/common/popupcmn.cpp \
-$(TOPDIR)/src/common/prntbase.cpp \
-$(TOPDIR)/src/common/quantize.cpp \
-$(TOPDIR)/src/common/radiocmn.cpp \
-$(TOPDIR)/src/common/rendcmn.cpp \
-$(TOPDIR)/src/common/rgncmn.cpp \
-$(TOPDIR)/src/common/settcmn.cpp \
-$(TOPDIR)/src/common/sizer.cpp \
-$(TOPDIR)/src/common/statbar.cpp \
-$(TOPDIR)/src/common/stattextcmn.cpp \
-$(TOPDIR)/src/common/stockitem.cpp \
-$(TOPDIR)/src/common/taskbarcmn.cpp \
-$(TOPDIR)/src/common/tbarbase.cpp \
-$(TOPDIR)/src/common/textcmn.cpp \
-$(TOPDIR)/src/common/textentrycmn.cpp \
-$(TOPDIR)/src/common/timercmn.cpp \
-$(TOPDIR)/src/common/timerimpl.cpp \
-$(TOPDIR)/src/common/toplvcmn.cpp \
-$(TOPDIR)/src/common/treebase.cpp \
-$(TOPDIR)/src/common/valgen.cpp \
-$(TOPDIR)/src/common/validate.cpp \
-$(TOPDIR)/src/common/valtext.cpp \
-$(TOPDIR)/src/common/wincmn.cpp \
-$(TOPDIR)/src/common/xpmdecod.cpp \
-$(TOPDIR)/src/generic/busyinfo.cpp \
-$(TOPDIR)/src/generic/choicdgg.cpp \
-$(TOPDIR)/src/generic/choicbkg.cpp \
-$(TOPDIR)/src/generic/colour.cpp \
-$(TOPDIR)/src/generic/dcpsg.cpp \
-$(TOPDIR)/src/generic/dirctrlg.cpp \
-$(TOPDIR)/src/generic/dragimgg.cpp \
-$(TOPDIR)/src/generic/filectrlg.cpp \
-$(TOPDIR)/src/generic/icon.cpp \
-$(TOPDIR)/src/generic/listbkg.cpp \
-$(TOPDIR)/src/generic/logg.cpp \
-$(TOPDIR)/src/generic/numdlgg.cpp \
-$(TOPDIR)/src/generic/panelg.cpp \
-$(TOPDIR)/src/generic/printps.cpp \
-$(TOPDIR)/src/generic/renderg.cpp \
-$(TOPDIR)/src/generic/scrlwing.cpp \
-$(TOPDIR)/src/generic/selstore.cpp \
-$(TOPDIR)/src/generic/spinctlg.cpp \
-$(TOPDIR)/src/generic/splitter.cpp \
-$(TOPDIR)/src/generic/textdlgg.cpp \
-$(TOPDIR)/src/generic/tipwin.cpp \
-$(TOPDIR)/src/generic/vlbox.cpp \
-$(TOPDIR)/src/generic/vscroll.cpp
-
-ADVANCED_CMN_SRC = \
-$(TOPDIR)/src/generic/calctrl.cpp \
-$(TOPDIR)/src/generic/datectlg.cpp \
-$(TOPDIR)/src/generic/grid.cpp \
-$(TOPDIR)/src/generic/gridctrl.cpp \
-$(TOPDIR)/src/generic/gridsel.cpp \
-$(TOPDIR)/src/generic/helpext.cpp \
-$(TOPDIR)/src/generic/laywin.cpp \
-$(TOPDIR)/src/generic/sashwin.cpp \
-$(TOPDIR)/src/generic/splash.cpp \
-$(TOPDIR)/src/generic/tipdlg.cpp \
-$(TOPDIR)/src/generic/wizard.cpp
-
-ADVANCED_PALMOS_SRC = \
-$(TOPDIR)/src/palmos/sound.cpp \
-$(TOPDIR)/src/palmos/taskbar.cpp
-
-ADVANCED_PALMOS_DESKTOP_SRC = \
-$(TOPDIR)/src/palmos/joystick.cpp
-
-ADVANCED_PALMOS_NATIVE_SRC = \
-$(TOPDIR)/src/palmos/datectrl.cpp
-
-MEDIA_CMN_SRC = \
-$(TOPDIR)/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 = \
-$(TOPDIR)/src/html/helpctrl.cpp \
-$(TOPDIR)/src/html/helpdata.cpp \
-$(TOPDIR)/src/html/helpfrm.cpp \
-$(TOPDIR)/src/html/htmlcell.cpp \
-$(TOPDIR)/src/html/htmlfilt.cpp \
-$(TOPDIR)/src/html/htmlpars.cpp \
-$(TOPDIR)/src/html/htmltag.cpp \
-$(TOPDIR)/src/html/htmlwin.cpp \
-$(TOPDIR)/src/html/htmprint.cpp \
-$(TOPDIR)/src/html/m_dflist.cpp \
-$(TOPDIR)/src/html/m_fonts.cpp \
-$(TOPDIR)/src/html/m_hline.cpp \
-$(TOPDIR)/src/html/m_image.cpp \
-$(TOPDIR)/src/html/m_layout.cpp \
-$(TOPDIR)/src/html/m_links.cpp \
-$(TOPDIR)/src/html/m_list.cpp \
-$(TOPDIR)/src/html/m_pre.cpp \
-$(TOPDIR)/src/html/m_style.cpp \
-$(TOPDIR)/src/html/m_tables.cpp \
-$(TOPDIR)/src/html/winpars.cpp \
-$(TOPDIR)/src/generic/htmllbox.cpp
-
-XRC_SRC = \
-$(TOPDIR)/src/xrc/xh_bmpbt.cpp \
-$(TOPDIR)/src/xrc/xh_bmp.cpp \
-$(TOPDIR)/src/xrc/xh_bttn.cpp \
-$(TOPDIR)/src/xrc/xh_cald.cpp \
-$(TOPDIR)/src/xrc/xh_chckb.cpp \
-$(TOPDIR)/src/xrc/xh_chckl.cpp \
-$(TOPDIR)/src/xrc/xh_choic.cpp \
-$(TOPDIR)/src/xrc/xh_choicbk.cpp \
-$(TOPDIR)/src/xrc/xh_combo.cpp \
-$(TOPDIR)/src/xrc/xh_datectrl.cpp \
-$(TOPDIR)/src/xrc/xh_dlg.cpp \
-$(TOPDIR)/src/xrc/xh_frame.cpp \
-$(TOPDIR)/src/xrc/xh_gauge.cpp \
-$(TOPDIR)/src/xrc/xh_gdctl.cpp \
-$(TOPDIR)/src/xrc/xh_html.cpp \
-$(TOPDIR)/src/xrc/xh_listb.cpp \
-$(TOPDIR)/src/xrc/xh_listbk.cpp \
-$(TOPDIR)/src/xrc/xh_listc.cpp \
-$(TOPDIR)/src/xrc/xh_menu.cpp \
-$(TOPDIR)/src/xrc/xh_notbk.cpp \
-$(TOPDIR)/src/xrc/xh_panel.cpp \
-$(TOPDIR)/src/xrc/xh_radbt.cpp \
-$(TOPDIR)/src/xrc/xh_radbx.cpp \
-$(TOPDIR)/src/xrc/xh_scrol.cpp \
-$(TOPDIR)/src/xrc/xh_scwin.cpp \
-$(TOPDIR)/src/xrc/xh_sizer.cpp \
-$(TOPDIR)/src/xrc/xh_slidr.cpp \
-$(TOPDIR)/src/xrc/xh_spin.cpp \
-$(TOPDIR)/src/xrc/xh_split.cpp \
-$(TOPDIR)/src/xrc/xh_statbar.cpp \
-$(TOPDIR)/src/xrc/xh_stbmp.cpp \
-$(TOPDIR)/src/xrc/xh_stbox.cpp \
-$(TOPDIR)/src/xrc/xh_stlin.cpp \
-$(TOPDIR)/src/xrc/xh_sttxt.cpp \
-$(TOPDIR)/src/xrc/xh_text.cpp \
-$(TOPDIR)/src/xrc/xh_tglbtn.cpp \
-$(TOPDIR)/src/xrc/xh_toolb.cpp \
-$(TOPDIR)/src/xrc/xh_tree.cpp \
-$(TOPDIR)/src/xrc/xh_unkwn.cpp \
-$(TOPDIR)/src/xrc/xh_wizrd.cpp \
-$(TOPDIR)/src/xrc/xmlres.cpp \
-$(TOPDIR)/src/xrc/xmlrsall.cpp
-
-XML_SRC = \
-$(TOPDIR)/src/xml/xml.cpp \
-$(TOPDIR)/src/common/xtixml.cpp
-
-OPENGL_SRC = \
-$(TOPDIR)/src/palmos/glcanvas.cpp
-
--include tstinc
-
-#TST_SRC += ../../samples/palmtst/palmtst.cpp
-#TST_SRC += ../../samples/minimal/minimal.cpp
-
-SOURCES = \
-$(TST_SRC) \
-$(BASE_SRC) \
-$(BASE_AND_GUI_SRC) \
-$(NET_SRC) \
-$(CORE_SRC) \
-$(ADVANCED_SRC) \
-$(MEDIA_SRC) \
-$(HTML_SRC) \
-$(XRC_SRC) \
-$(XML_SRC) \
-$(OPENGL_SRC) \
-
-#include othersrc.mak
-#SOURCES += $(OTHER_SRC)
-
-RESOURCES = ../../include/wx/palmos/wxWidgets.xrd ../../include/wx/palmos/Version.xrd
-DEFS_FILE = ../../include/wx/palmos/wxWidgets.def
-SLD_FILE = ../../include/wx/palmos/wxWidgets.sld
-
-## --------------------------------------------------------------------------
-# Review Database information
-# Register Creator ID at: http://dev.palmos.com/creatorid/
-## --------------------------------------------------------------------------
-
-CREATOR_ID = wx06
-DB_TYPE = appl
-
-DATABASE_RESET =
-DATABASE_BACKUP = -b
-DATABASE_HIDDEN =
-DATABASE_PROTECT =
-DATABASE_VERSION = 1
-
-LOCALE = enUS
-DATABASE_NAME = $(APP_NAME)
-
-## --------------------------------------------------------------------------
-# Choose SDK
-# Supported values:
-#      sdk-6
-## --------------------------------------------------------------------------
-
-SDK_VERSION = sdk-6
-
-ifeq ($(SDK_LOCATION),)
-SDK_LOCATION=$(TOPDIR)
-endif
-## --------------------------------------------------------------------------
-# Build Settings
-# Review the following for your needs.
-# The default settings build with debug information and no optimization and
-# a target platform of an actual device.
-## --------------------------------------------------------------------------
-
-#
-# Set Debug or Release configuration for this project via the project 
-# properties (right-click on the project and select Properties).
-#
-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=Device
-
-#TARGET_FORMAT=PalmOS4
-
-# Specify the level of optimization that you want:
-# NONE, SOME, FULL, INTRAPROCEDURAL, INTERPROCEDURAL, INLINING.
-# Leave blank to select FULL for release builds, and NONE for
-# debug builds.
-# INTRAPROCEDURAL, INTERPROCEDURAL, INLINING are applicable to 
-# device builds only; simulator builds will translate those levels
-# to FULL.
-OPTIMIZE_LEVEL = NONE
-
-# Specify warning level
-# NONE = suppress all warnings
-# ALL = enable all warnings
-# <undefined> = default warnings
-WARNING_LEVEL = 
-
-# Specify exception handling support
-# true = enable it
-# false = don't enable it
-ENABLE_EXCEPTION_HANDLING=true
-
-# List additional libraries to link with
-# (Full or project relative path)
-ADDITIONAL_LINK_LIBRARIES =
-ADDITIONAL_SIM_LINK_LIBRARIES =
-
-# Additional paths to look for #include "header"
-# (Source file directories are automatically included)
-# Please note that both local and system include paths should 
-# either use "cygwin" syntax or if in Windows syntax the should
-# be quoted.  ie: ../MyLibrary/headers or "C:\Source\MyLibrary\headers"
-# 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.
-INCDIR_PALMOS=-I$(INCDIR_WXPALM) -I$(TOPDIR)/src/palmos/pflib
-LOCAL_INCLUDE_PATHS = -Irsc $(INCDIR_PALMOS) -I$(TOPDIR)/include
-LOCAL_SIM_INCLUDE_PATHS = $(LOCAL_INCLUDE_PATHS)
-
-# Additional paths to look for #include <header>
-# (Palm OS SDK directories are automatically included)
-# 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.
-SYSTEM_INCLUDE_PATHS =
-SYSTEM_SIM_INCLUDE_PATHS =
-
-# Specify any needed preprocessor symbols.
-# If you set DEFINES to "ASSERTLEVEL=1", the compiler will see "-DASSERTLEVEL=1"
-# (separate individual entries with spaces)
-DEFINES =
-SIM_DEFINES =
-
-# Specify additional compiler flags for all files
-ADDITIONAL_COMPILER_FLAGS = 
-ADDITIONAL_SIM_COMPILER_FLAGS =
-
-# Specify additional linker flags
-ADDITIONAL_LINKER_FLAGS =
-ADDITIONAL_SIM_LINKER_FLAGS =
-
-# Specify additional archival flags (for static libraries)
-ADDITIONAL_AR_FLAGS =
-ADDITIONAL_SIM_AR_FLAGS =
-
-
-# Tools Directory
-# Normally you wouldn't want to override this since the necessary tools
-# are in the PATH.  But if you experimenting with other tools, then 
-# reset the directory here
-# If overridden, end with a trailing '/'
-
-ifeq ($(TOOLS_DIR), )
-TOOLS_DIR = $(TOPDIR)/PalmOSTools/
-endif
-
-## --------------------------------------------------------------------------
-# Resource Settings
-## --------------------------------------------------------------------------
-
-# Specify the target text encoding
-# LATIN, JAPANESE, SIMPLIFIED_CHINESE
-TEXTENCODING = LATIN
-
-# Specify error levels for locale and text encoding
-# NOCHECK
-# STRICT
-# <default>
-LOCALE_CHECKING =
-
-# Specific if encoding should be checked
-# FALSE, TRUE
-STRICT_ENCODING = FALSE
-
-## --------------------------------------------------------------------------
-# Output Settings
-## --------------------------------------------------------------------------
-
-# Modify if you want object and output files to be in different locations
-# (However, please note that all three object directories must be different
-# for the makefile engine to properly operate.)
-# OUTPUT_DIR is the "main" output directory, where all linked and binary objects
-# will be put.
-
-DEBUG_DEVICE_OUTPUT_DIR := DebugDevice
-RELEASE_DEVICE_OUTPUT_DIR := ReleaseDevice
-DEBUG_SIMULATOR_OUTPUT_DIR := DebugSim
-RELEASE_SIMULATOR_OUTPUT_DIR := ReleaseSim
-RSC_OBJ_DIR := ResourceObjs
-
-## --------------------------------------------------------------------------
-# Makefiles
-## --------------------------------------------------------------------------
-
-## include the makefile engine
-include makefile-engine.mk
-
-## conditionally include your own custom.mk for your specific overrides or definitions
-## this is useful if you don't want to use the auto-generated.mk values
-## for some reason
--include custom.mk
-
-makefile: $(INCDIR_WXPALM)/wx/setup.h
-
-$(INCDIR_WXPALM)/wx/setup.h: $(INCDIR_WXPALM)/wx/ $(TOPDIR)/include/wx/palmos/setup0.h
-       $(INSTALL_DATA) $(TOPDIR)/include/wx/palmos/setup0.h $(INCDIR_WXPALM)/wx/setup.h
-
-$(INCDIR_WXPALM)/wx/:
-       $(INSTALL_DIR) $(INCDIR_WXPALM)/wx/
-
diff --git a/build/palmos/makefile-engine.mk b/build/palmos/makefile-engine.mk
deleted file mode 100644 (file)
index 3477b50..0000000
+++ /dev/null
@@ -1,797 +0,0 @@
-## Palm OS Protein Generic Makefile Engine for Eclipse v1.0.0
-#
-# Last edit: 7/22/04
-#
-# This makefile engine is capable of compiling Protein 
-# applications for Palm OS.
-#
-# This makefile engine assumes that the following variables are 
-# set outside of this makefile by a referencing master makefile
-# (see a master makefile generated by a Palm OS Developer 
-# Suite wizard for detailed explanation of each variable):
-#
-#      SOURCES
-#      RESOURCES
-#      DATABASE_RESET 
-#      DATABASE_BACKUP 
-#      DATABASE_HIDDEN 
-#      DATABASE_PROTECT
-#      DATABASE_BUNDLE
-#      DATABASE_VERSION 
-#      DATABASE_NAME 
-#      PROJECT_TYPE
-#      DEBUG_OR_RELEASE 
-#      OPTIMIZE_LEVEL 
-#      WARNING_LEVEL 
-#      ENABLE_EXCEPTIONS
-#      ENABLE_ASSERTIONS
-#      ADDITIONAL_LINK_LIBRARIES 
-#      ADDITIONAL_SIM_LINK_LIBRARIES 
-#      LOCAL_INCLUDE_PATHS 
-#      LOCAL_SIM_INCLUDE_PATHS 
-#      SYSTEM_INCLUDE_PATHS 
-#      SYSTEM_SIM_INCLUDE_PATHS 
-#      DEFINES 
-#      SIM_DEFINES 
-#      ADDITIONAL_COMPILER_FLAGS 
-#      ADDITIONAL_SIM_COMPILER_FLAGS 
-#      ADDITIONAL_LINKER_FLAGS 
-#      ADDITIONAL_SIM_LINKER_FLAGS 
-#      ADDITIONAL_AR_FLAGS
-#      ADDITIONAL_SIM_AR_FLAGS
-#      TEXTENCODING
-#      LOCALE_CHECKING
-#      STRICT_ENCODING
-#      SDK_LOCATION
-#      TARGET_PLATFORM
-#
-# Additionally, the user of this makefile engine may obtain the 
-# dynamic values for:
-#      SDK_LOCATION
-#      SDK_VERSION
-#      TOOLS_DIR 
-# by doing an optional include of a makefile segment that is 
-# generated during the Palm OS Developer Suite standard make build.
-# The makefile line to accomplish this is:
-#      -include auto-generated.mk
-# All master makefiles generated by Palm OS Developer Suite
-# wizards include this line already to pick up and use these
-# dynamic definitions.
-#
-# All variable values may be overridden by editing the make command
-# for the project (Project->Properties->C/C++ Make Project->Make Builder,
-# Build Command field).
-#
-
-###############################################################################
-# Defaults
-FN_DEPEND=.dependencies
-
-comma:= ,
-
-ifeq ($(TOOLS_DIR), )
-       TOOLS_DIR =
-endif
-
-# Locale (defaults to English)
-ifeq ($(LOCALE), )
-       LOCALE := enUS
-endif
-
-ifeq ($(CREATOR_ID), )
-       CREATOR_ID = STRT
-endif
-
-ifeq ($(DB_TYPE), )
-       DB_TYPE = appl
-endif
-
-ifeq ($(SLD_FILE), )
-       SLD_FILE = none
-endif
-
-ifeq ($(DEBUG_DEVICE_OUTPUT_DIR), )
-       DEBUG_DEVICE_OUTPUT_DIR = DebugDevice
-endif
-
-ifeq ($(RELEASE_DEVICE_OUTPUT_DIR), )
-       RELEASE_DEVICE_OUTPUT_DIR = ReleaseDevice
-endif
-
-ifeq ($(DEBUG_SIMULATOR_OUTPUT_DIR), )
-       DEBUG_SIMULATOR_OUTPUT_DIR = DebugSim
-endif
-
-ifeq ($(RELEASE_SIMULATOR_OUTPUT_DIR), )
-       RELEASE_SIMULATOR_OUTPUT_DIR = ReleaseSim
-endif
-
-ifeq ($(SDK_VERSION), )
-       SDK_VERSION = sdk-6
-endif
-
-ifeq ($(ENABLE_EXCEPTIONS), )
-       ENABLE_EXCEPTIONS=TRUE
-endif
-
-###############################################################################
-# App/PRC/Database Names
-#
-# The difference between App Name and Database name is that App Name may 
-# contain spaces while the database name is the App name with spaces removed.
-# (Coded in such a way that if the user already explicitly defined these
-# variables previously, we'll go with those).
-
-ifeq ($(DATABASE_NAME), )
-ifeq ($(ESCAPED_ARTIFACT_NAME), )
-       # Database name defaults if ARTIFACT_NAME is empty
-       DATABASE_NAME = StartApp
-else
-       DATABASE_NAME = $(ESCAPED_ARTIFACT_NAME)
-endif
-endif
-
-ifeq ($(PRC_NAME), )
-ifeq ($(ESCAPED_ARTIFACT_NAME), )
-       # PRC name defaults if ESCAPED_ARTIFACT_NAME is empty
-       PRC_NAME = Start.prc
-else
-       PRC_NAME = $(DATABASE_NAME).prc
-endif
-endif
-
-ifeq ($(LIB_NAME), )
-ifeq ($(ESCAPED_ARTIFACT_NAME), )
-       # LIB name defaults if ESCAPED_ARTIFACT_NAME is empty
-       LIB_NAME = Start.a
-else
-       LIB_NAME = $(DATABASE_NAME).a
-endif
-endif
-
-ifeq ($(SIM_LIB_NAME), )
-ifeq ($(ESCAPED_ARTIFACT_NAME), )
-       # SIM LIB name defaults if ESCAPED_ARTIFACT_NAME is empty
-       SIM_LIB_NAME = Start.lib
-else
-       SIM_LIB_NAME = $(DATABASE_NAME).lib
-endif
-endif
-
-###############################################################################
-# Compile and Link Settings
-
-ifeq ($(TARGET_FORMAT), )
-TARGET_FORMAT=PalmOS6
-endif
-
-# Compiler settings... compiler + optimizations + debug
-# This is a makefile for Palm OS 6 so the compilers used are as follows:
-# Device target compiler is pacc
-# Simulator target compiler is gcc
-
-UNAME :=$(shell uname)
-ifeq ($(UNAME),Linux)
-# Linux Settings
-PELF2BIN:=wine "$(TOOLS_DIR)/pelf2bin.exe"
-PSLIB:=wine "$(TOOLS_DIR)/pslib.exe"
-PRCMERGE :=wine "$(TOOLS_DIR)/PRCMerge.exe"
-PALMRC :=wine "$(TOOLS_DIR)/PalmRc.exe"
-CYGPATH_WA:=echo
-CYGPATH_MF:=echo
-CC = wine "$(TOOLS_DIR)pacc"
-CXX = wine "$(TOOLS_DIR)pacc"
-LD = wine "$(TOOLS_DIR)pacc"
-else
-# Cygwin Settings
-PELF2BIN:="$(TOOLS_DIR)/pelf2bin"
-PSLIB:="$(TOOLS_DIR)/pslib.exe"
-PRCMERGE :="$(TOOLS_DIR)/PRCMerge.exe"
-PALMRC :="$(TOOLS_DIR)/PalmRc.exe"
-CYGPATH_WA:=cygpath -w -a
-CYGPATH_MF:=cygpath -m -f
-CC = "$(TOOLS_DIR)pacc"
-CXX = "$(TOOLS_DIR)pacc"
-LD = "$(TOOLS_DIR)pacc"
-endif
-
-SIM_CC = gcc
-SIM_LD = gcc
-
-DEV_CFLAGS += -D__PALMOS_KERNEL__=1 -D__PALMOS__=0x06000000
-SIM_CFLAGS += -fexceptions -D__PALMOS_KERNEL__=1 -D__PALMOS__=0x06000000 -D_SUPPORTS_NAMESPACE=0 -D_SUPPORTS_RTTI=1 -DTARGET_PLATFORM=TARGET_PLATFORM_PALMSIM_WIN32 -DTARGET_HOST=TARGET_HOST_PALMOS #-mno-cygwin -mwindows
-
-# Warning level for device target
-ifeq ($(WARNING_LEVEL), ALL)
-       DEV_CFLAGS += -W4
-else
-ifeq ($(WARNING_LEVEL), SOME)
-       DEV_CFLAGS += -W2
-else
-ifeq ($(WARNING_LEVEL), NONE)
-       DEV_CFLAGS += -W0
-endif
-endif
-endif
-
-# Warning level for simulator target
-ifeq ($(SIM_WARNING_LEVEL), ALL)
-       SIM_CFLAGS += -Wall
-else
-ifeq ($(SIM_WARNING_LEVEL), NONE)
-       SIM_CFLAGS += -w
-endif
-endif
-
-# Warnings as errors for device builds
-ifeq ($(WARNING_AS_ERROR), TRUE)
-       DEV_CFLAGS += -Werror
-endif
-
-# Warnings as errors for simulator builds
-ifeq ($(SIM_WARNING_AS_ERROR), TRUE)
-       SIM_CFLAGS += -Werror
-endif
-
-# Adding after other warnings flags so this is always in effect
-SIM_CFLAGS += -Wno-multichar 
-
-# Verbose output for device build
-ifeq ($(VERBOSE), TRUE)
-       DEV_CFLAGS += -v
-endif
-
-# Verbose output for simulator build
-ifeq ($(SIM_VERBOSE), TRUE)
-       SIM_CFLAGS += -v
-endif
-
-# Dislay logo
-ifeq ($(ARM_LOGO), TRUE)
-       DEV_CFLAGS += -logo
-else
-       DEV_CFLAGS += -nologo
-endif
-
-# Exception handling support
-ifeq ($(ENABLE_EXCEPTIONS), TRUE)
-       DEV_CFLAGS += -ex
-       DEV_LDFLAGS += -ex
-endif
-
-# Assertion handling support
-ifeq ($(ENABLE_ASSERTIONS), TRUE)
-       DEV_CFLAGS += -UNDEBUG
-else
-       DEV_CFLAGS += -DNDEBUG=1
-endif
-
-# Additional linker flags
-ifdef ADDITIONAL_PALINK_FLAGS
-       DEV_LDFLAGS += $(ADDITIONAL_PALINK_FLAGS)
-endif
-
-# Optimization settings
-ifeq ($(OPTIMIZE_LEVEL), INLINING)
-       OPTIMIZER_FLAG  = -O5
-       SIM_OPTIMIZER_FLAG = -O3
-else
-ifeq ($(OPTIMIZE_LEVEL), INTERPROCEDURAL)
-       OPTIMIZER_FLAG  = -O4
-       SIM_OPTIMIZER_FLAG = -O3
-else
-ifeq ($(OPTIMIZE_LEVEL), FULL)
-       OPTIMIZER_FLAG  = -O3
-       SIM_OPTIMIZER_FLAG = -O3
-else
-ifeq ($(OPTIMIZE_LEVEL), INTRAPROCEDURAL)
-       OPTIMIZER_FLAG  = -O2
-       SIM_OPTIMIZER_FLAG = -O3
-else
-ifeq ($(OPTIMIZE_LEVEL), SOME)
-       OPTIMIZER_FLAG  = -O1
-       SIM_OPTIMIZER_FLAG = -O1
-else
-ifeq ($(OPTIMIZE_LEVEL), NONE)
-       OPTIMIZER_FLAG  = -O0
-       SIM_OPTIMIZER_FLAG = -O0
-else
-# Default to 0 for debug, 3 for release
-ifeq ($(DEBUG_OR_RELEASE), Debug)
-       OPTIMIZER_FLAG = -O0
-       SIM_OPTIMIZER_FLAG = -O0
-else
-       OPTIMIZER_FLAG  = -O3
-       SIM_OPTIMIZER_FLAG = -O3
-endif  
-endif
-endif
-endif
-endif
-endif
-endif
-       
-# Debug settings (can override optimize settings)
-ifeq ($(DEBUG_OR_RELEASE), Debug)
-       DEBUG_FLAG += -g
-       BUILD_TYPE_FLAG = -DBUILD_TYPE=BUILD_TYPE_DEBUG
-       TRACE_OUTPUT_FLAG = -DTRACE_OUTPUT=TRACE_OUTPUT_ON
-else
-       BUILD_TYPE_FLAG = -DBUILD_TYPE=BUILD_TYPE_RELEASE
-       TRACE_OUTPUT_FLAG = -DTRACE_OUTPUT=TRACE_OUTPUT_OFF
-endif  
-
-ifeq ($(DEBUG_OR_RELEASE), Debug)
-       OBJ_DIR = $(DEBUG_DEVICE_OUTPUT_DIR)
-       SIM_OBJ_DIR = $(DEBUG_SIMULATOR_OUTPUT_DIR)
-else
-       OBJ_DIR = $(RELEASE_DEVICE_OUTPUT_DIR)
-       SIM_OBJ_DIR = $(RELEASE_SIMULATOR_OUTPUT_DIR)
-endif
-
-
-DEV_CFLAGS += $(OPTIMIZER_FLAG) $(DEBUG_FLAG) $(BUILD_TYPE_FLAG) $(TRACE_OUTPUT_FLAG)
-SIM_CFLAGS += $(SIM_OPTIMIZER_FLAG) $(DEBUG_FLAG) $(BUILD_TYPE_FLAG) $(TRACE_OUTPUT_FLAG)
-
-# Linker settings (must come after setting DEBUG_FLAG)
-
-DEV_LDFLAGS += $(DEBUG_FLAG) -nologo -Wl,-nolocals
-SIM_LDFLAGS += $(DEBUG_FLAG) -mno-cygwin -mwindows $(SIM_OBJ_DIR)/gcc_link.def -shared -nostdlib -u___divdi3 -u___moddi3 -u___udivdi3 -u___umoddi3
-SIM_LIBS = -L "$(TOOLS_DIR)misclibs" -lpxstlport -lpxsupc++ -lpxgcc -lgcc
-ifeq ($(DEBUG_OR_RELEASE), Debug)
-       DEV_LDFLAGS += -Wl,-debug -Wl,-libpath -Wl,"$(SDK_LOCATION)libraries/ARM_4T/Debug/Default"
-       SIM_LIBS += "$(SDK_LOCATION)libraries/Simulator/Debug/PalmOS.lib"
-else
-       DEV_LDFLAGS += -Wl,-libpath -Wl,"$(SDK_LOCATION)libraries/ARM_4T/Release/Default"
-       SIM_LIBS += "$(SDK_LOCATION)libraries/Simulator/Release/PalmOS.lib" 
-endif
-
-LDOBJS = PalmOS.a SystemGlue.a FloatMgr.sa
-
-ifeq ($(TARGET_PLATFORM), Device)
-       NATIVE_OBJ_DIR := $(OBJ_DIR)
-       RSC_OBJ_DIR := $(OBJ_DIR)
-else
-       NATIVE_OBJ_DIR := $(SIM_OBJ_DIR)
-       RSC_OBJ_DIR := $(SIM_OBJ_DIR)
-endif
-
-# Librarian settings
-AR="$(TOOLS_DIR)palib"
-SIM_AR=ar
-
-ARFLAGS= -c -a
-SIM_ARFLAGS=-rc
-
-LINKER_OUTPUT := $(OBJ_DIR)/$(DATABASE_NAME).axf
-SIM_LINKER_OUTPUT := $(SIM_OBJ_DIR)/$(DATABASE_NAME).dll
-
-TARGET := $(OBJ_DIR)/$(PRC_NAME)
-SIM_TARGET     := $(SIM_OBJ_DIR)/$(PRC_NAME)
-
-STATIC_LIB_TARGET := $(OBJ_DIR)/$(LIB_NAME)
-SIM_STATIC_LIB_TARGET  := $(SIM_OBJ_DIR)/$(SIM_LIB_NAME)
-
-###############################################################################
-# Resource flags (PalmRC)
-
-RFLAGS +=
-
-# Default text encoding is Latin
-ifeq ($(PRC_TEXT_ENCODING), )
-       PRC_TEXT_ENCODING = LATIN
-endif
-
-ifeq ($(PRC_TEXT_ENCODING), LATIN)
-       RFLAGS += -target 4.0
-else
-ifeq ($(PRC_TEXT_ENCODING), JAPANESE)
-       RFLAGS += -target 4.0J
-else
-ifeq ($(PRC_TEXT_ENCODING), SIMPLIFIED_CHINESE)
-       RFLAGS += -target 4.0CS
-endif
-endif
-endif
-
-ifeq ($(PRC_NO_LOCALE_CHECK), TRUE)
-       RFLAGS += -noLocaleCheck
-endif
-
-ifeq ($(PRC_STRICT_LOCALE), TRUE)
-       RFLAGS += -strictLocale
-endif
-
-ifeq ($(PRC_STRICT_ENCODING), TRUE)
-       RFLAGS += -strictTextEncoding
-endif
-
-ifdef PRC_OVERLAY_FILTER
-       RFLAGS += -overlayFilter $(PRC_OVERLAY_FILTER)
-endif
-
-ifeq ($(PRC_NO_WARN_SIZE), TRUE)
-       RFLAGS += -noWarnSize
-endif
-
-ifeq ($(PRC_QUIET), TRUE)
-       RFLAGS += -quiet
-endif
-
-ifeq ($(PRCMERGE_QUIET), TRUE)
-       PRCFLAGS += -quiet
-endif
-
-###############################################################################
-
-# function for converting sources to object file names in one of output directories
-define SOURCE_LIST_TO_OBJS
-       $(addprefix $(OBJ_DIR)/, $(addsuffix .o, $(foreach file, $(SOURCES), \
-       $(basename $(notdir $(file))))))
-endef
-
-# function for converting sources to object file names in $(SIM_OBJ_DIR)
-define SOURCE_LIST_TO_SIM_OBJS
-       $(addprefix $(SIM_OBJ_DIR)/, $(addsuffix .o, $(foreach file, $(SOURCES), \
-       $(basename $(notdir $(file))))))
-endef
-
-# function for converting resources into resource object files
-define RESOURCE_LIST_TO_OBJS
-       $(addprefix $(RSC_OBJ_DIR)/, $(addsuffix .trc, $(foreach file, $(RESOURCES), \
-       $(basename $(file)))))
-endef
-DEV_OBJS = $(SOURCE_LIST_TO_OBJS)
-SIM_OBJS = $(SOURCE_LIST_TO_SIM_OBJS)
-SOURCE_PATHS += $(sort $(foreach file, $(SOURCES), $(dir $(file))))
-RESOURCE_OBJS = $(RESOURCE_LIST_TO_OBJS)
-RESOURCE_PATHS += $(sort $(foreach file, $(RESOURCES), $(dir $(file))))
-SLD_BASENAME := $(addsuffix _Startup, $(basename $(notdir $(SLD_FILE))))
-SLD_OBJ := $(addprefix $(OBJ_DIR)/, $(addsuffix .o, $(SLD_BASENAME)))
-SLD_SIM_OBJ := $(addprefix $(SIM_OBJ_DIR)/, $(addsuffix .o, $(SLD_BASENAME)))
-
-VPATH :=
-VPATH += $(addprefix :, $(subst  ,:, $(filter-out $($(subst, :, ,$(VPATH))), $(SOURCE_PATHS) $(RESOURCE_PATHS) )))
-
-# -I "$(SDK_LOCATION)include" -I "$(SDK_LOCATION)include/Core/System" #
-SYSTEM_INCLUDES = $(SYSTEM_INCLUDE_PATHS) -I "$(SDK_LOCATION)headers" -I "$(SDK_LOCATION)headers/posix"
-INCLUDES = $(LOCAL_INCLUDE_PATHS) $(foreach path, $(SOURCE_PATHS), $(addprefix -I, $(path))) $(SYSTEM_INCLUDES) $(PRE_INCLUDE_PATHS)
-DEV_CPP_INCLUDES = -I "$(TOOLS_DIR)include/stlport"
-
-SIM_SYSTEM_INCLUDES = $(SYSTEM_SIM_INCLUDE_PATHS) -I "$(SDK_LOCATION)headers" -I "$(SDK_LOCATION)headers/posix"
-SIM_INCLUDES = $(LOCAL_SIM_INCLUDE_PATHS) $(foreach path, $(SOURCE_PATHS), $(addprefix -I, $(path))) $(SIM_SYSTEM_INCLUDES) $(SIM_PRE_INCLUDE_PATHS)
-SIM_CPP_INCLUDES = -I "$(TOOLS_DIR)include/stlport"
-
-# Now add additional settings specified by user
-DEV_LDFLAGS += $(ADDITIONAL_LINK_LIBRARIES)
-DEV_LDFLAGS += $(foreach libpath, $(ADDITIONAL_LINK_LIBPATH), $(addprefix -libpath , $(libpath)))
-DEV_LDFLAGS += $(foreach option, $(ADDITIONAL_LINKER_FLAGS), $(addprefix -Wl$(comma), $(option)))
-DEV_CFLAGS += $(foreach define, $(DEFINES), $(addprefix -D, $(define)))
-DEV_CFLAGS += $(foreach define, $(UNDEFINES), $(addprefix -U, $(define)))
-DEV_CFLAGS += $(ADDITIONAL_COMPILER_FLAGS)
-DEV_CFLAGS += $(INCLUDES)
-
-SIM_LDFLAGS += $(ADDITIONAL_SIM_LINK_LIBRARIES)
-SIM_LDFLAGS += $(ADDITIONAL_SIM_LINKER_FLAGS)
-SIM_LDFLAGS += $(foreach libpath, $(ADDITIONAL_SIM_LINK_LIBPATH), $(addprefix -L, $(libpath)))
-SIM_CFLAGS += $(foreach define, $(SIM_DEFINES), $(addprefix -D, $(define)))
-SIM_CFLAGS += $(foreach define, $(SIM_UNDEFINES), $(addprefix -U, $(define)))
-SIM_CFLAGS += $(ADDITIONAL_SIM_COMPILER_FLAGS)
-SIM_CFLAGS += $(SIM_INCLUDES)
-
-# Specifyc additional archival flags (for static libraries)
-ARFLAGS += $(ADDITIONAL_AR_FLAGS)
-SIM_ARFLAGS += $(ADDITIONAL_SIM_AR_FLAGS)
-
-RFLAGS += $(ADDITIONAL_PRC_FLAGS)
-PRCFLAGS += $(ADDITIONAL_PRCMERGE_FLAGS)
-
-DEV_CXXFLAGS = $(DEV_CPP_INCLUDES) $(DEV_CFLAGS)
-SIM_CXXFLAGS = $(SIM_CPP_INCLUDES) $(SIM_CFLAGS)
-
-ifeq ($(TARGET_PLATFORM), Device)
-OBJS=$(DEV_OBJS)
-CFLAGS=$(DEV_CFLAGS)
-CXXFLAGS=$(DEV_CXXFLAGS)
-LDFLAGS=$(DEV_LDFLAGS)
-else
-OBJS=$(SIM_OBJS)
-CFLAGS=$(SIM_CFLAGS)
-CXXFLAGS=$(SIM_CXXFLAGS)
-LDFLAGS=$(SIM_LDFLAGS)
-endif
-
-###############################################################################
-# Flags for PRC creation
-
-PRCFLAGS += -dbFlagExtendedDB -dbFlagExecutable
-
-PRCFLAGS += -dbVersion $(DATABASE_VERSION) $(DATABASE_PROTECT) $(DATABASE_HIDDEN) $(DATABASE_BACKUP) $(DATABASE_RESET) $(DATABASE_BUNDLE)
-
-
-###############################################################################
-# Flags for pslib
-
-PSLIB_DEV_FLAGS =
-PSLIB_SIM_FLAGS = -outSimgcc
-ifeq ($(PROJECT_TYPE), slib)
-       PSLIB_DEV_FLAGS += -outEntryNums $(OBJ_DIR)/$(DATABASE_NAME)_Client.h -outObjStubs $(OBJ_DIR)/$(DATABASE_NAME)_Client.sa 
-       PSLIB_SIM_FLAGS += -outEntryNums $(SIM_OBJ_DIR)/$(DATABASE_NAME)_Client.h -outSimStubs $(SIM_OBJ_DIR)/$(DATABASE_NAME)_Client.slib
-endif
-
-###############################################################################
-# Project make target determination
-
-ifeq ($(TARGET_PLATFORM), Device)
-
-ifeq ($(PROJECT_TYPE), )
-       PROJECT_TARGET = device
-endif
-
-ifeq ($(PROJECT_TYPE), appl)
-       PROJECT_TARGET = device
-endif
-ifeq ($(PROJECT_TYPE), slib)
-       PROJECT_TARGET = device_shared_lib
-endif
-ifeq ($(PROJECT_TYPE), lib)
-       PROJECT_TARGET = device_static_lib
-endif
-
-else
-
-ifeq ($(PROJECT_TYPE), )
-       PROJECT_TARGET = simulator
-endif
-
-ifeq ($(PROJECT_TYPE), appl)
-       PROJECT_TARGET = simulator
-endif
-ifeq ($(PROJECT_TYPE), slib)
-       PROJECT_TARGET = simulator_shared_lib
-endif
-ifeq ($(PROJECT_TYPE), lib)
-       PROJECT_TARGET = simulator_static_lib
-endif
-
-endif
-
-###############################################################################
-#      Eclipse requires an all target to get the work done
-
-all: $(FN_DEPEND).1 $(PROJECT_TARGET)
-
-#      This rule is only valid for projects created as application projects.
-#      Don't invoke this make target directly; instead change the value of
-#      TARGET_PLATFORM to Device in the main makefile
-device: $(OBJ_DIR) $(TARGET)
-
-#      This rule is only valid for projects created as application projects.
-#      Don't invoke this make target directly; instead change the value of
-#      TARGET_PLATFORM to Simulator in the main makefile
-simulator: $(SIM_OBJ_DIR) $(SIM_TARGET)
-
-#      This rule is only valid for projects created as shared library projects.
-#      Don't invoke this make target directly; instead change the value of
-#      TARGET_PLATFORM to Device in the main makefile
-device_shared_lib: $(OBJ_DIR) $(TARGET)
-
-#      This rule is only valid for projects created as shared library projects.
-#      Don't invoke this make target directly; instead change the value of
-#      TARGET_PLATFORM to Simulator in the main makefile
-simulator_shared_lib: $(SIM_OBJ_DIR) $(SIM_TARGET)
-
-#      This rule is only valid for projects created as static library projects.
-#      Don't invoke this make target directly; instead change the value of
-#      TARGET_PLATFORM to Device in the main makefile
-device_static_lib: $(OBJ_DIR) $(STATIC_LIB_TARGET)
-
-#      This rule is only valid for projects created as static library projects.
-#      Don't invoke this make target directly; instead change the value of
-#      TARGET_PLATFORM to Simulator in the main makefile
-simulator_static_lib: $(SIM_OBJ_DIR) $(SIM_STATIC_LIB_TARGET)
-
-
-# rule to create the object file directories if needed
-$(OBJ_DIR):
-       @[ -d $(OBJ_DIR) ] || mkdir $(OBJ_DIR) > /dev/null 2>&1
-
-$(SIM_OBJ_DIR):
-       @[ -d $(SIM_OBJ_DIR) ] || mkdir $(SIM_OBJ_DIR) > /dev/null 2>&1
-
-# Simulator C/C++ sources
-$(SIM_OBJ_DIR)/%.o : %.c #makefile
-       $(SIM_CC) -c $< -std=c99 $(SIM_CFLAGS) -o $@
-$(SIM_OBJ_DIR)/%.o : %.cpp #makefile
-       $(SIM_CC) -c $< -frtti $(SIM_CXXFLAGS) -o $@
-$(SIM_OBJ_DIR)/%.o : %.cp #makefile
-       $(SIM_CC) -c $< -frtti $(SIM_CXXFLAGS) -o $@
-$(SIM_OBJ_DIR)/%.o : %.cc #makefile
-       $(SIM_CC) -c $< -frtti $(SIM_CXXFLAGS) -o $@
-$(SIM_OBJ_DIR)/%.o : %.C #makefile
-       $(SIM_CC) -c $< -std=c99 $(SIM_CFLAGS) -o $@
-$(SIM_OBJ_DIR)/%.o : %.CC #makefile
-       $(SIM_CC) -c $< -frtti $(SIM_CXXFLAGS) -o $@
-$(SIM_OBJ_DIR)/%.o : %.CPP #makefile
-       $(SIM_CC) -c $< -frtti $(SIM_CXXFLAGS) -o $@
-
-
-# XRD source processing
-$(RSC_OBJ_DIR)/%.trc : %.xrd makefile
-       $(PALMRC) -p $(TARGET_FORMAT) -makeDeps $(@D)/$(*F).deps $(RFLAGS) -locale $(LOCALE) "`$(CYGPATH_WA) ./$<`" -o $@
-$(RSC_OBJ_DIR)/%.trc : %.XRD makefile
-       $(PALMRC) -p $(TARGET_FORMAT) -makeDeps $(@D)/$(*F).deps $(RFLAGS) -locale $(LOCALE) "`$(CYGPATH_WA) ./$<`" -o $@
-
-
-# Definition file source processing
-$(SLD_OBJ) : makefile
-       @echo "...Processing definition file for Device..."
-       $(PSLIB) -inDef "$(SLD_FILE)" $(PSLIB_DEV_FLAGS) -outObjStartup $@ -type '$(DB_TYPE)' -creator '$(CREATOR_ID)' -execName $(DATABASE_NAME)
-#      $(INSTALL_DIR) $(INCDIR_WXPALM)/wx/
-#      $(INSTALL_DATA) $(TOPDIR)/include/wx/palmos/setup0.h $(INCDIR_WXPALM)/wx/setup.h
-
-
-$(SLD_SIM_OBJ) : makefile
-       @echo "...Processing definition file for Simulator..."
-       $(PSLIB) -inDef "$(SLD_FILE)" $(PSLIB_SIM_FLAGS) -outSimStartup $@ -outSimRsrc $(SIM_OBJ_DIR)/acod0000.bin  -outSimDefs $(SIM_OBJ_DIR)/gcc_link.def -type '$(DB_TYPE)' -creator '$(CREATOR_ID)' -execName $(DATABASE_NAME)
-#      $(INSTALL_DIR) $(INCDIR_WXPALM)/wx/
-#      $(INSTALL_DATA) $(TOPDIR)/include/wx/palmos/setup0.h $(INCDIR_WXPALM)/wx/setup.h
-
-
-# Linking step
-$(LINKER_OUTPUT) : $(OBJS)
-       @echo "...Linking for Device Target..."
-       $(LD) -o $(LINKER_OUTPUT) $(OBJS) $(SLD_OBJ) $(LDOBJS) $(LDFLAGS)
-
-$(SIM_LINKER_OUTPUT) : $(SIM_OBJS)
-       @echo "...Linking for Simulator Target..."
-       $(SIM_LD) --entry 0 -o $(SIM_LINKER_OUTPUT) $(SIM_OBJS) $(SLD_SIM_OBJ) $(SIM_LDFLAGS) $(SIM_LIBS)
-
-
-# Final target creation
-$(TARGET): $(SLD_OBJ) $(LINKER_OUTPUT) $(RESOURCE_OBJS) 
-       @echo "...Creating PRC for Device: $(TARGET)"
-       $(PELF2BIN) -format 6 -directory $(OBJ_DIR) -code acod -data adat -rsrc 0x0000 $(LINKER_OUTPUT)
-       $(PRCMERGE) -dbType '$(DB_TYPE)' -dbCreator '$(CREATOR_ID)' -dbName $(DATABASE_NAME) $(PRCFLAGS) -o $(TARGET) $(RESOURCE_OBJS) $(OBJ_DIR)/adat0000.bin $(OBJ_DIR)/acod0000.bin
-       @echo ...Done with Device build...
-       @echo 
-
-$(SIM_TARGET): $(SLD_SIM_OBJ) $(SIM_LINKER_OUTPUT) $(RESOURCE_OBJS)
-       @echo "...Creating PRC for Simulator: $(SIM_TARGET)"
-       cp -f "$(SDK_LOCATION)misctools/Resources/amdd_fake" $(SIM_OBJ_DIR)/adat0000.bin
-       $(PRCMERGE) -dbType '$(DB_TYPE)' -dbCreator '$(CREATOR_ID)' -dbName $(DATABASE_NAME) $(PRCFLAGS) -o $(SIM_TARGET) $(RESOURCE_OBJS) $(SIM_OBJ_DIR)/adat0000.bin $(SIM_OBJ_DIR)/acod0000.bin
-       @echo ...Done with Simulator build...
-       @echo 
-
-$(STATIC_LIB_TARGET) : $(OBJS)
-       @echo "...Linking Static Library for Device Target..."
-       $(AR) $(ARFLAGS) $(STATIC_LIB_TARGET) $(OBJS) 
-
-$(SIM_STATIC_LIB_TARGET) : $(SIM_OBJS)
-       @echo "...Linking Static Library for Simulator Target..."
-       $(SIM_AR) $(SIM_ARFLAGS) $(SIM_STATIC_LIB_TARGET) $(SIM_OBJS) 
-
-
-FORCE:
-
-# Eclipse requires a clean command
-clean :: FORCE
-       -rm -rf $(NATIVE_OBJ_DIR)/*
-       -rm -f $(OBJS)
-
-printvars :: FORCE
-       @echo "SDK_LOCATION"
-       @echo $(SDK_LOCATION)
-       @echo "CFLAGS"
-       @echo $(CFLAGS)
-       @echo "SIM_CFLAGS"
-       @echo $(SIM_CFLAGS)
-       @echo "LDFLAGS"
-       @echo $(LDFLAGS)
-       @echo "SIM_LDFLAGS"
-       @echo $(SIM_LDFLAGS)
-       @echo "OBJS"
-       @echo $(OBJS)
-       @echo "SIM_OBJS"
-       @echo $(SIM_OBJS)
-       @echo "SLD_OBJ"
-       @echo $(SLD_OBJ)
-       @echo "SLD_SIM_OBJ"
-       @echo $(SLD_SIM_OBJ)
-       @echo "TARGET"
-       @echo $(TARGET)
-       @echo "SIM_TARGET"
-       @echo $(SIM_TARGET)
-       @echo "SOURCE_PATHS"
-       @echo $(SOURCE_PATHS)
-       @echo "RESOURCE_OBJS"
-       @echo $(RESOURCE_OBJS)
-       @echo "RESOURCE_PATHS"
-       @echo $(RESOURCE_PATHS)
-       @echo "OBJ_DIR"
-       @echo $(OBJ_DIR)
-       @echo "SIM_OBJ_DIR"
-       @echo $(SIM_OBJ_DIR)
-       @echo "RSC_OBJ_DIR"
-       @echo $(RSC_OBJ_DIR)
-       @echo "LINKER_OUTPUT"
-       @echo $(LINKER_OUTPUT)
-       @echo "SIM_LINKER_OUTPUT"
-       @echo $(SIM_LINKER_OUTPUT)
-       @echo "SIM_GCC_SLIBS"
-       @echo $(SIM_GCC_SLIBS)
-       @echo "SIM_GCC_SLIB_PATHS"
-       @echo $(SIM_GCC_SLIB_PATHS)
-       @echo "VPATH"
-       @echo $(VPATH)
-
-
-#
-# dependency generation
-# Generate dependencies with depend target "make depend"
-#
-
-DEPFLAG = -MM
-
-#
-# Adds $(SIM_OBJ_DIR) to target .o file
-# ...Search for string starting at the beginning of the line [^]
-# ...that contain anything followed by .o [.*\.o]
-# ...and remember that string [\(...\)]
-# ...replace that string with $(SIM_OBJ_DIR)/<tagged string> [$$(SIM_OBJ_DIR)/\1]
-# ($ is doubled so that make doesn't interpret the variable syntax)
-#
-SOURCE_SEDSCRIPT = sed -e's%^\(.*\.o\)%$$(OBJ_DIR)/\1%'
-SOURCE_SIM_SEDSCRIPT = sed -e's%^\(.*\.o\)%$$(SIM_OBJ_DIR)/\1%'
-
-# Command adds $(RSC_OBJ_DIR) and converts .xrd to .trc
-RESOURCE_TARGET_SEDSCRIPT = sed -e';s%^\(.*\).xrd%$$(RSC_OBJ_DIR)/\1.trc%'
-
-# Command to escape spaces in a path
-ESCAPE_SPACES_SEDSCRIPT = sed 's/ /\\\ /g'
-
-# Take out all newlines (and/or returns) and replace with spaces
-# ...putting all dependencies on the same line
-RESOURCE_PREREQ_SEDSCRIPT = tr '\r\n' ' '
-
-depend :: FORCE
-       @echo "" > $(FN_DEPEND)
-#      @echo "$(SIM_CC) $(SIM_CXXFLAGS) $(DEPFLAG) $(SOURCES) to $(FN_DEPEND).tmp"
-       @$(SIM_CC) $(SIM_CXXFLAGS) $(DEPFLAG) $(SOURCES) > $(FN_DEPEND).tmp
-       @cat $(FN_DEPEND).tmp | $(SOURCE_SEDSCRIPT) >> $(FN_DEPEND)
-       @cat $(FN_DEPEND).tmp | $(SOURCE_SIM_SEDSCRIPT) >> $(FN_DEPEND)
-       -rm -f $(FN_DEPEND).tmp
-       @for i in $(RESOURCES); do \
-               echo "$$i: \\" | $(RESOURCE_TARGET_SEDSCRIPT) >> .resdependencies; \
-               $(PALMRC) -p $(TARGET_FORMAT) $(RFLAGS) -locale $(LOCALE) -makedeps $$i.tmp "`$(CYGPATH_WA) ./$$i`"; \
-               $(CYGPATH_MF) $$i.tmp | $(ESCAPE_SPACES_SEDSCRIPT) >> $$i.deps; \
-               rm -rf $$i.tmp; \
-               cat $$i.deps | $(RESOURCE_PREREQ_SEDSCRIPT) >> .resdependencies; \
-               echo "" >> .resdependencies; \
-               rm -rf $$i.deps; \
-               cat .resdependencies >>  $(FN_DEPEND); \
-               rm -rf .resdependencies; \
-       done
-       @for i in $(SOURCES); do \
-               echo "`basename $$i`.o: $$i" | $(SOURCE_SEDSCRIPT) | sed "s/\.cpp\.o/.o/" | sed "s/\.c\.o/.o/" >> $(FN_DEPEND); \
-               echo "  \$$(CC) -c \$$< \$$(CXXFLAGS) -o \$$@" >> $(FN_DEPEND); \
-               echo "`basename $$i`.o: $$i" | $(SOURCE_SIM_SEDSCRIPT) | sed "s/\.cpp\.o/.o/" | sed "s/\.c\.o/.o/" >> $(FN_DEPEND); \
-               echo "  \$$(SIM_CC) -c \$$< \$$(CXXFLAGS) -o \$$@" >> $(FN_DEPEND); \
-       done
-
-$(FN_DEPEND).1: $(FN_DEPEND)
-       @touch $(FN_DEPEND).1
-       @$(MAKE) all
-
-$(FN_DEPEND): #makefile #$(SOURCES)
-       @rm -f $(FN_DEPEND).2
-       @$(MAKE) depend
-       @cp $(FN_DEPEND) $(FN_DEPEND).2
-
-cleandepend :: FORCE
-       @rm -f $(FN_DEPEND) $(FN_DEPEND).1 $(FN_DEPEND).2 $(FN_DEPEND).tmp
-       @rm -f $(INCDIR_WXPALM)/wx/setup.h
-
-distclean: cleandepend clean
-
--include $(FN_DEPEND).2
index 7e54947dbd3e5741d79adec7feb9e9c03e079cff..ca970c9c552befbe4be3bc2174debea6d58c24cf 100644 (file)
@@ -347,10 +347,6 @@ bool WidgetsApp::OnInit()
     title += wxT("wxMAC");
 #elif defined(__WXMOTIF__)
     title += wxT("wxMOTIF");
-#elif defined(__WXPALMOS5__)
-    title += wxT("wxPALMOS5");
-#elif defined(__WXPALMOS6__)
-    title += wxT("wxPALMOS6");
 #else
     title += wxT("wxWidgets");
 #endif