]> git.saurik.com Git - wxWidgets.git/blame - build/palmos/makefile
return false from Dispatch() if gtk_main_quit() was called (patch 1864846)
[wxWidgets.git] / build / palmos / makefile
CommitLineData
ffecfa5a
JS
1## --------------------------------------------------------------------------
2# Palm OS Generic Protein Makefile for Eclipse v1.0.0
3#
4# Fill in this file to specify your project and the source that you want
5# to build, and the settings involved in the build. The makefile-engine.mk
6# will then do the hard work of the makefile and dependency handling.
7#
8# After starting a new project, please remember the following steps...
9# 1. Add all sources and resources in SOURCES and RESOURCES
10# 2. Review the other settings as needed.
11#
12## --------------------------------------------------------------------------
e2fc40b4
VZ
13INSTALL=install
14INSTALL_DATA=${INSTALL} -m 644
15INSTALL_DIR=${INSTALL} -d
ffecfa5a
JS
16
17SHELL = /bin/sh
18## conditionally include an auto-generated.mk for dynamic definitions
19-include auto-generated.mk
20
21## --------------------------------------------------------------------------
22# Set up the artifact name.
23# The database name and other file names are based on the application name
24## --------------------------------------------------------------------------
25
26ARTIFACT_NAME = wxWidgets
27EMPTY =
28SPACE =$(EMPTY) $(EMPTY)
29ESCAPED_ARTIFACT_NAME = $(subst $(SPACE),\ ,$(ARTIFACT_NAME))
30
31PROJECT_NAME = wxWidgets
32PRC_NAME = wxWidgets.prc
33
34## --------------------------------------------------------------------------
35# Sources and Resources and Definition files
36# List all the sources (.c/.cpp), resources (.xrd), and definition file (.sld)
37# in your project. Use project relative path names with forward slashes
38# (src/code.cpp). Please do not use spaces in directory or file names.
39#
40# A note about XRD resource files: If you have existing .rsrc or .rcp files,
41# refer to the documentation for the GenerateXRD tool to convert them into
42# XRD files for use with all Palm OS SDKs.
43## --------------------------------------------------------------------------
44
45# TODO: Update all sources and resources
46
acb1070b 47BASE_CMN_SRC = \
e2fc40b4 48../../src/common/arrstr.cpp \
acb1070b
WS
49../../src/common/appbase.cpp \
50../../src/common/archive.cpp \
e2fc40b4 51../../src/common/btncmn.cpp \
acb1070b
WS
52../../src/common/clntdata.cpp \
53../../src/common/cmdline.cpp \
54../../src/common/config.cpp \
e2fc40b4 55../../src/common/convauto.cpp \
acb1070b
WS
56../../src/common/datetime.cpp \
57../../src/common/datstrm.cpp \
e2fc40b4 58../../src/common/dcbufcmn.cpp \
acb1070b
WS
59../../src/common/dircmn.cpp \
60../../src/common/dynarray.cpp \
61../../src/common/dynlib.cpp \
62../../src/common/dynload.cpp \
63../../src/common/encconv.cpp \
68351053
WS
64../../src/common/extended.c \
65../../src/common/ffile.cpp \
66../../src/common/file.cpp \
67../../src/common/fileconf.cpp \
68../../src/common/filefn.cpp \
69../../src/common/filename.cpp \
70../../src/common/filesys.cpp \
71../../src/common/fmapbase.cpp \
a809b45d
WS
72../../src/common/hash.cpp \
73../../src/common/hashmap.cpp \
74../../src/common/init.cpp \
75../../src/common/intl.cpp \
76../../src/common/ipcbase.cpp \
77../../src/common/list.cpp \
78../../src/common/log.cpp \
79../../src/common/longlong.cpp \
80../../src/common/memory.cpp \
81../../src/common/mimecmn.cpp \
82../../src/common/module.cpp \
83../../src/common/mstream.cpp \
84../../src/common/object.cpp \
803c61bf 85../../src/common/platinfo.cpp \
a809b45d
WS
86../../src/common/process.cpp \
87../../src/common/regex.cpp \
88../../src/common/stdpbase.cpp \
89../../src/common/sstream.cpp \
90../../src/common/stopwatch.cpp \
91../../src/common/strconv.cpp \
92../../src/common/stream.cpp \
93../../src/common/string.cpp \
e2fc40b4
VZ
94../../src/common/stringimpl.cpp \
95../../src/common/stringops.cpp \
96../../src/common/strvararg.cpp \
a809b45d
WS
97../../src/common/sysopt.cpp \
98../../src/common/textbuf.cpp \
99../../src/common/textfile.cpp \
100../../src/common/tokenzr.cpp \
101../../src/common/txtstrm.cpp \
e2fc40b4 102../../src/common/unichar.cpp \
a809b45d
WS
103../../src/common/uri.cpp \
104../../src/common/variant.cpp \
105../../src/common/wfstream.cpp \
e2fc40b4
VZ
106../../src/common/wxcrt.cpp \
107../../src/common/wxprintf.cpp \
a809b45d
WS
108../../src/common/xti.cpp \
109../../src/common/xtistrm.cpp \
110../../src/common/zipstrm.cpp \
111../../src/common/zstream.cpp
acb1070b 112
a2dc319b
WS
113BASE_PALMOS_SRC = \
114../../src/palmos/base.cpp \
115../../src/palmos/dir.cpp \
116../../src/palmos/prefconf.cpp \
117../../src/palmos/snglinst.cpp \
118../../src/palmos/thread.cpp \
119../../src/palmos/utils.cpp \
120../../src/palmos/utilsexc.cpp
121
122BASE_AND_GUI_CMN_SRC = \
123../../src/common/event.cpp \
124../../src/common/fs_mem.cpp \
125../../src/common/msgout.cpp \
126../../src/common/utilscmn.cpp
127
128BASE_AND_GUI_PALMOS_SRC = \
129../../src/palmos/main.cpp \
130../../src/palmos/volume.cpp
131
132NET_CMN_SRC = \
133../../src/common/fs_inet.cpp \
134../../src/common/ftp.cpp \
135../../src/common/http.cpp \
136../../src/common/protocol.cpp \
137../../src/common/sckaddr.cpp \
138../../src/common/sckfile.cpp \
139../../src/common/sckipc.cpp \
140../../src/common/sckstrm.cpp \
141../../src/common/socket.cpp \
142../../src/common/url.cpp
143
144PALMOS_LOWLEVEL_SRC = \
e2fc40b4 145../../src/palmos/stdall.c \
a2dc319b
WS
146../../src/palmos/app.cpp \
147../../src/palmos/bitmap.cpp \
148../../src/palmos/brush.cpp \
149../../src/palmos/caret.cpp \
150../../src/palmos/clipbrd.cpp \
803c61bf 151../../src/generic/colour.cpp \
a2dc319b
WS
152../../src/palmos/cursor.cpp \
153../../src/palmos/data.cpp \
154../../src/palmos/dc.cpp \
155../../src/palmos/dcclient.cpp \
156../../src/palmos/dcmemory.cpp \
157../../src/palmos/dcprint.cpp \
158../../src/palmos/dcscreen.cpp \
159../../src/palmos/dib.cpp \
a2dc319b
WS
160../../src/palmos/enhmeta.cpp \
161../../src/palmos/evtloop.cpp \
162../../src/palmos/font.cpp \
163../../src/palmos/fontenum.cpp \
164../../src/palmos/fontutil.cpp \
165../../src/palmos/gdiimage.cpp \
803c61bf 166../../src/generic/icon.cpp \
a2dc319b
WS
167../../src/palmos/minifram.cpp \
168../../src/palmos/palette.cpp \
169../../src/palmos/pen.cpp \
170../../src/palmos/popupwin.cpp \
171../../src/palmos/printdlg.cpp \
172../../src/palmos/printpalm.cpp \
173../../src/palmos/region.cpp \
174../../src/palmos/settings.cpp \
175../../src/palmos/timer.cpp \
176../../src/palmos/tooltip.cpp \
177../../src/palmos/toplevel.cpp \
178../../src/palmos/utilsgui.cpp \
179../../src/palmos/window.cpp
180
181PALMOS_DESKTOP_LOWLEVEL_SRC = \
182../../src/palmos/help.cpp
183
184PALMOS_SRC = \
185../../src/palmos/accel.cpp \
186../../src/palmos/bmpbuttn.cpp \
187../../src/palmos/button.cpp \
188../../src/palmos/checkbox.cpp \
189../../src/palmos/checklst.cpp \
190../../src/palmos/choice.cpp \
191../../src/palmos/colordlg.cpp \
192../../src/palmos/combobox.cpp \
193../../src/palmos/control.cpp \
194../../src/palmos/dialog.cpp \
195../../src/palmos/dirdlg.cpp \
196../../src/palmos/dragimag.cpp \
197../../src/palmos/fdrepdlg.cpp \
198../../src/palmos/filedlg.cpp \
199../../src/palmos/fontdlg.cpp \
200../../src/palmos/frame.cpp \
201../../src/palmos/gauge.cpp \
202../../src/palmos/imaglist.cpp \
203../../src/palmos/listbox.cpp \
204../../src/palmos/listctrl.cpp \
205../../src/palmos/mdi.cpp \
206../../src/palmos/menu.cpp \
207../../src/palmos/menuitem.cpp \
208../../src/palmos/metafile.cpp \
209../../src/palmos/msgdlg.cpp \
210../../src/palmos/nativdlg.cpp \
211../../src/palmos/notebook.cpp \
212../../src/palmos/ownerdrw.cpp \
213../../src/palmos/radiobox.cpp \
214../../src/palmos/radiobut.cpp \
215../../src/palmos/scrolbar.cpp \
216../../src/palmos/slider.cpp \
217../../src/palmos/spinbutt.cpp \
218../../src/palmos/spinctrl.cpp \
219../../src/palmos/statbmp.cpp \
220../../src/palmos/statbox.cpp \
221../../src/palmos/statbrpalm.cpp \
222../../src/palmos/statline.cpp \
223../../src/palmos/stattext.cpp \
a2dc319b
WS
224../../src/palmos/toolbar.cpp \
225../../src/palmos/textctrl.cpp \
226../../src/palmos/tglbtn.cpp \
227../../src/palmos/treectrl.cpp
228
229GUI_CMN_SRC = \
ffecfa5a 230../../src/common/accesscmn.cpp \
ffecfa5a
JS
231../../src/common/appcmn.cpp \
232../../src/common/artprov.cpp \
233../../src/common/artstd.cpp \
234../../src/common/bmpbase.cpp \
235../../src/common/bookctrl.cpp \
236../../src/common/choiccmn.cpp \
237../../src/common/clipcmn.cpp \
7b5874dd 238../../src/common/colourcmn.cpp \
ffecfa5a
JS
239../../src/common/cmdproc.cpp \
240../../src/common/cmndata.cpp \
ffecfa5a
JS
241../../src/common/containr.cpp \
242../../src/common/cshelp.cpp \
243../../src/common/ctrlcmn.cpp \
244../../src/common/ctrlsub.cpp \
245../../src/common/datacmn.cpp \
ffecfa5a 246../../src/common/dcbase.cpp \
ffecfa5a
JS
247../../src/common/dlgcmn.cpp \
248../../src/common/dndcmn.cpp \
249../../src/common/dobjcmn.cpp \
250../../src/common/docmdi.cpp \
251../../src/common/docview.cpp \
252../../src/common/dpycmn.cpp \
253../../src/common/dseldlg.cpp \
ffecfa5a 254../../src/common/effects.cpp \
b1a1a83c 255../../src/common/evtloopcmn.cpp \
ffecfa5a 256../../src/common/fddlgcmn.cpp \
ffecfa5a 257../../src/common/fldlgcmn.cpp \
ffecfa5a 258../../src/common/fontcmn.cpp \
9a8fc68d 259../../src/common/fontenumcmn.cpp \
ffecfa5a
JS
260../../src/common/fontmap.cpp \
261../../src/common/framecmn.cpp \
ffecfa5a
JS
262../../src/common/gaugecmn.cpp \
263../../src/common/gbsizer.cpp \
264../../src/common/gdicmn.cpp \
265../../src/common/geometry.cpp \
266../../src/common/gifdecod.cpp \
ffecfa5a 267../../src/common/helpbase.cpp \
ffecfa5a
JS
268../../src/common/iconbndl.cpp \
269../../src/common/imagall.cpp \
270../../src/common/imagbmp.cpp \
271../../src/common/image.cpp \
272../../src/common/imagfill.cpp \
273../../src/common/imaggif.cpp \
274../../src/common/imagiff.cpp \
275../../src/common/imagjpeg.cpp \
276../../src/common/imagpcx.cpp \
277../../src/common/imagpng.cpp \
278../../src/common/imagpnm.cpp \
279../../src/common/imagtiff.cpp \
280../../src/common/imagxpm.cpp \
ffecfa5a
JS
281../../src/common/layout.cpp \
282../../src/common/lboxcmn.cpp \
ffecfa5a 283../../src/common/matrix.cpp \
ffecfa5a 284../../src/common/menucmn.cpp \
ffecfa5a 285../../src/common/nbkbase.cpp \
ffecfa5a
JS
286../../src/common/paper.cpp \
287../../src/common/popupcmn.cpp \
288../../src/common/prntbase.cpp \
ffecfa5a
JS
289../../src/common/quantize.cpp \
290../../src/common/radiocmn.cpp \
ffecfa5a
JS
291../../src/common/rendcmn.cpp \
292../../src/common/rgncmn.cpp \
ffecfa5a
JS
293../../src/common/settcmn.cpp \
294../../src/common/sizer.cpp \
ffecfa5a 295../../src/common/statbar.cpp \
e2fc40b4 296../../src/common/stattextcmn.cpp \
808e3bce 297../../src/common/stockitem.cpp \
ffecfa5a 298../../src/common/tbarbase.cpp \
ffecfa5a 299../../src/common/textcmn.cpp \
ffecfa5a 300../../src/common/timercmn.cpp \
ffecfa5a
JS
301../../src/common/toplvcmn.cpp \
302../../src/common/treebase.cpp \
ffecfa5a
JS
303../../src/common/valgen.cpp \
304../../src/common/validate.cpp \
305../../src/common/valtext.cpp \
ffecfa5a 306../../src/common/wincmn.cpp \
a986efd0
WS
307../../src/common/xpmdecod.cpp \
308../../src/generic/busyinfo.cpp \
309../../src/generic/choicdgg.cpp \
310../../src/generic/choicbkg.cpp \
311../../src/generic/dcpsg.cpp \
312../../src/generic/dirctrlg.cpp \
313../../src/generic/dragimgg.cpp \
314../../src/generic/listbkg.cpp \
315../../src/generic/logg.cpp \
316../../src/generic/numdlgg.cpp \
317../../src/generic/panelg.cpp \
318../../src/generic/printps.cpp \
319../../src/generic/renderg.cpp \
320../../src/generic/scrlwing.cpp \
321../../src/generic/selstore.cpp \
322../../src/generic/spinctlg.cpp \
323../../src/generic/splitter.cpp \
324../../src/generic/textdlgg.cpp \
325../../src/generic/tipwin.cpp \
326../../src/generic/treectlg.cpp \
327../../src/generic/vlbox.cpp \
328../../src/generic/vscroll.cpp
329
330ADVANCED_CMN_SRC = \
331../../src/generic/calctrl.cpp \
332../../src/generic/datectlg.cpp \
333../../src/generic/grid.cpp \
334../../src/generic/gridctrl.cpp \
335../../src/generic/gridsel.cpp \
336../../src/generic/helpext.cpp \
337../../src/generic/laywin.cpp \
338../../src/generic/sashwin.cpp \
339../../src/generic/splash.cpp \
340../../src/generic/tipdlg.cpp \
341../../src/generic/wizard.cpp
342
343ADVANCED_PALMOS_SRC = \
344../../src/common/taskbarcmn.cpp \
345../../src/palmos/sound.cpp \
346../../src/palmos/taskbar.cpp
347
348ADVANCED_PALMOS_DESKTOP_SRC = \
349../../src/palmos/joystick.cpp
350
351ADVANCED_PALMOS_NATIVE_SRC = \
352../../src/palmos/datectrl.cpp
353
354MEDIA_CMN_SRC = \
355../../src/common/mediactrlcmn.cpp
356
357ADVANCED_PLATFORM_SRC = $(ADVANCED_PALMOS_SRC) $(ADVANCED_PALMOS_DESKTOP_SRC)
358
359ADVANCED_PLATFORM_NATIVE_SRC = $(ADVANCED_PALMOS_NATIVE_SRC)
a2dc319b
WS
360
361LOWLEVEL_SRC = $(PALMOS_LOWLEVEL_SRC)
362
363GUI_SRC = $(PALMOS_SRC) $(PALMOS_DESKTOP_SRC)
364
365BASE_PLATFORM_SRC = $(BASE_PALMOS_SRC)
366
367BASE_AND_GUI_PLATFORM_SRC = $(BASE_AND_GUI_PALMOS_SRC)
368
369BASE_SRC = $(BASE_CMN_SRC) $(BASE_PLATFORM_SRC)
370
371BASE_AND_GUI_SRC = $(BASE_AND_GUI_CMN_SRC) $(BASE_AND_GUI_PLATFORM_SRC)
372
373NET_SRC = $(NET_CMN_SRC)
374
375CORE_SRC = $(LOWLEVEL_SRC) $(GUI_SRC) $(GUI_CMN_SRC)
376
a986efd0
WS
377ADVANCED_SRC = $(ADVANCED_CMN_SRC) $(ADVANCED_PLATFORM_SRC) $(ADVANCED_PLATFORM_NATIVE_SRC)
378
379MEDIA_SRC = $(MEDIA_CMN_SRC)
380
381HTML_SRC = \
382../../src/html/helpctrl.cpp \
383../../src/html/helpdata.cpp \
384../../src/html/helpfrm.cpp \
385../../src/html/htmlcell.cpp \
386../../src/html/htmlfilt.cpp \
387../../src/html/htmlpars.cpp \
388../../src/html/htmltag.cpp \
389../../src/html/htmlwin.cpp \
390../../src/html/htmprint.cpp \
391../../src/html/m_dflist.cpp \
392../../src/html/m_fonts.cpp \
393../../src/html/m_hline.cpp \
394../../src/html/m_image.cpp \
395../../src/html/m_layout.cpp \
396../../src/html/m_links.cpp \
397../../src/html/m_list.cpp \
398../../src/html/m_pre.cpp \
399../../src/html/m_style.cpp \
400../../src/html/m_tables.cpp \
401../../src/html/winpars.cpp \
402../../src/generic/htmllbox.cpp
403
a986efd0
WS
404XRC_SRC = \
405../../src/xrc/xh_bmpbt.cpp \
406../../src/xrc/xh_bmp.cpp \
407../../src/xrc/xh_bttn.cpp \
408../../src/xrc/xh_cald.cpp \
409../../src/xrc/xh_chckb.cpp \
410../../src/xrc/xh_chckl.cpp \
411../../src/xrc/xh_choic.cpp \
412../../src/xrc/xh_choicbk.cpp \
413../../src/xrc/xh_combo.cpp \
414../../src/xrc/xh_datectrl.cpp \
415../../src/xrc/xh_dlg.cpp \
416../../src/xrc/xh_frame.cpp \
417../../src/xrc/xh_gauge.cpp \
418../../src/xrc/xh_gdctl.cpp \
419../../src/xrc/xh_html.cpp \
420../../src/xrc/xh_listb.cpp \
421../../src/xrc/xh_listbk.cpp \
422../../src/xrc/xh_listc.cpp \
423../../src/xrc/xh_menu.cpp \
424../../src/xrc/xh_notbk.cpp \
425../../src/xrc/xh_panel.cpp \
426../../src/xrc/xh_radbt.cpp \
427../../src/xrc/xh_radbx.cpp \
428../../src/xrc/xh_scrol.cpp \
429../../src/xrc/xh_scwin.cpp \
430../../src/xrc/xh_sizer.cpp \
431../../src/xrc/xh_slidr.cpp \
432../../src/xrc/xh_spin.cpp \
433../../src/xrc/xh_split.cpp \
434../../src/xrc/xh_statbar.cpp \
435../../src/xrc/xh_stbmp.cpp \
436../../src/xrc/xh_stbox.cpp \
437../../src/xrc/xh_stlin.cpp \
438../../src/xrc/xh_sttxt.cpp \
439../../src/xrc/xh_text.cpp \
440../../src/xrc/xh_tglbtn.cpp \
441../../src/xrc/xh_toolb.cpp \
442../../src/xrc/xh_tree.cpp \
443../../src/xrc/xh_unkwn.cpp \
444../../src/xrc/xh_wizrd.cpp \
445../../src/xrc/xmlres.cpp \
446../../src/xrc/xmlrsall.cpp
447
448XML_SRC = \
449../../src/xml/xml.cpp \
450../../src/common/xtixml.cpp
451
452OPENGL_SRC = \
453../../src/palmos/glcanvas.cpp
a2dc319b
WS
454
455SOURCES = ../../samples/minimal/minimal.cpp \
456$(BASE_SRC) \
457$(BASE_AND_GUI_SRC) \
458$(NET_SRC) \
459$(CORE_SRC) \
460$(ADVANCED_SRC) \
461$(MEDIA_SRC) \
462$(HTML_SRC) \
a2dc319b
WS
463$(XRC_SRC) \
464$(XML_SRC) \
a986efd0
WS
465$(OPENGL_SRC) \
466../../src/palmos/progdlg.cpp
ffecfa5a 467
e2fc40b4
VZ
468#include othersrc.mak
469#SOURCES += $(OTHER_SRC)
470
ffecfa5a
JS
471RESOURCES = ../../include/wx/palmos/wxWidgets.xrd ../../include/wx/palmos/Version.xrd
472DEFS_FILE = ../../include/wx/palmos/wxWidgets.def
473SLD_FILE = ../../include/wx/palmos/wxWidgets.sld
474
475## --------------------------------------------------------------------------
476# Review Database information
477# Register Creator ID at: http://dev.palmos.com/creatorid/
478## --------------------------------------------------------------------------
479
68351053 480CREATOR_ID = wx06
ffecfa5a
JS
481DB_TYPE = appl
482
483DATABASE_RESET =
484DATABASE_BACKUP = -b
485DATABASE_HIDDEN =
486DATABASE_PROTECT =
487DATABASE_VERSION = 1
488
489LOCALE = enUS
490DATABASE_NAME = $(APP_NAME)
491
492## --------------------------------------------------------------------------
493# Choose SDK
494# Supported values:
495# sdk-6
496## --------------------------------------------------------------------------
497
498SDK_VERSION = sdk-6
499
500ifeq ($(SDK_LOCATION),)
501SDK_LOCATION=../../
502endif
503## --------------------------------------------------------------------------
504# Build Settings
505# Review the following for your needs.
506# The default settings build with debug information and no optimization and
507# a target platform of an actual device.
508## --------------------------------------------------------------------------
509
510#
511# Set Debug or Release configuration for this project via the project
512# properties (right-click on the project and select Properties).
513#
514DEBUG_OR_RELEASE=Debug
515
516#
517# Set the target platform for the build; either Device or Simulator
518# Use Device as a target for emulator builds.
519#
e2fc40b4
VZ
520#TARGET_PLATFORM=Simulator
521TARGET_PLATFORM=Device
522
523#TARGET_FORMAT=PalmOS4
ffecfa5a
JS
524
525# Specify the level of optimization that you want:
526# NONE, SOME, FULL, INTRAPROCEDURAL, INTERPROCEDURAL, INLINING.
527# Leave blank to select FULL for release builds, and NONE for
528# debug builds.
529# INTRAPROCEDURAL, INTERPROCEDURAL, INLINING are applicable to
530# device builds only; simulator builds will translate those levels
531# to FULL.
532OPTIMIZE_LEVEL = NONE
533
534# Specify warning level
535# NONE = suppress all warnings
536# ALL = enable all warnings
537# <undefined> = default warnings
538WARNING_LEVEL =
539
540# Specify exception handling support
541# true = enable it
542# false = don't enable it
543ENABLE_EXCEPTION_HANDLING=true
544
545# List additional libraries to link with
546# (Full or project relative path)
547ADDITIONAL_LINK_LIBRARIES =
548ADDITIONAL_SIM_LINK_LIBRARIES =
549
550# Additional paths to look for #include "header"
551# (Source file directories are automatically included)
552# Please note that both local and system include paths should
553# either use "cygwin" syntax or if in Windows syntax the should
554# be quoted. ie: ../MyLibrary/headers or "C:\Source\MyLibrary\headers"
555# Additionally, you must explicly specify the "-I" prior to each
556# path included in this variable. Spaces are used to separate
557# each path from each other.
e2fc40b4
VZ
558incdir=../../lib/gcc_lib/palmos
559LOCAL_INCLUDE_PATHS = -Irsc -I$(incdir) -I../../include
771be77f 560LOCAL_SIM_INCLUDE_PATHS = $(LOCAL_INCLUDE_PATHS)
ffecfa5a
JS
561
562# Additional paths to look for #include <header>
563# (Palm OS SDK directories are automatically included)
564# Additionally, you must explicly specify the "-I" prior to each
565# path included in this variable. Spaces are used to separate
566# each path from each other.
567SYSTEM_INCLUDE_PATHS =
568SYSTEM_SIM_INCLUDE_PATHS =
569
570# Specify any needed preprocessor symbols.
571# If you set DEFINES to "ASSERTLEVEL=1", the compiler will see "-DASSERTLEVEL=1"
572# (separate individual entries with spaces)
573DEFINES =
574SIM_DEFINES =
575
576# Specify additional compiler flags for all files
577ADDITIONAL_COMPILER_FLAGS =
578ADDITIONAL_SIM_COMPILER_FLAGS =
579
580# Specify additional linker flags
581ADDITIONAL_LINKER_FLAGS =
582ADDITIONAL_SIM_LINKER_FLAGS =
583
584# Specify additional archival flags (for static libraries)
585ADDITIONAL_AR_FLAGS =
586ADDITIONAL_SIM_AR_FLAGS =
587
588
589# Tools Directory
590# Normally you wouldn't want to override this since the necessary tools
591# are in the PATH. But if you experimenting with other tools, then
592# reset the directory here
593# If overridden, end with a trailing '/'
594
595ifeq ($(TOOLS_DIR), )
596TOOLS_DIR = ../../../PalmOSTools/
597endif
598
599## --------------------------------------------------------------------------
600# Resource Settings
601## --------------------------------------------------------------------------
602
603# Specify the target text encoding
604# LATIN, JAPANESE, SIMPLIFIED_CHINESE
605TEXTENCODING = LATIN
606
607# Specify error levels for locale and text encoding
608# NOCHECK
609# STRICT
610# <default>
611LOCALE_CHECKING =
612
613# Specific if encoding should be checked
614# FALSE, TRUE
615STRICT_ENCODING = FALSE
616
617## --------------------------------------------------------------------------
618# Output Settings
619## --------------------------------------------------------------------------
620
621# Modify if you want object and output files to be in different locations
622# (However, please note that all three object directories must be different
623# for the makefile engine to properly operate.)
624# OUTPUT_DIR is the "main" output directory, where all linked and binary objects
625# will be put.
626
627DEBUG_DEVICE_OUTPUT_DIR := DebugDevice
628RELEASE_DEVICE_OUTPUT_DIR := ReleaseDevice
629DEBUG_SIMULATOR_OUTPUT_DIR := DebugSim
630RELEASE_SIMULATOR_OUTPUT_DIR := ReleaseSim
631RSC_OBJ_DIR := ResourceObjs
632
633## --------------------------------------------------------------------------
634# Makefiles
635## --------------------------------------------------------------------------
636
637
638## include the makefile engine
639include makefile-engine.mk
640
641## conditionally include your own custom.mk for your specific overrides or definitions
642## this is useful if you don't want to use the auto-generated.mk values
643## for some reason
644-include custom.mk