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