]> git.saurik.com Git - wxWidgets.git/blob - build/palmos/makefile
fix the tests to pass with both gcc and msvc (2nd part of patch 1462778)
[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/colourcmn.cpp \
227 ../../src/common/cmdproc.cpp \
228 ../../src/common/cmndata.cpp \
229 ../../src/common/containr.cpp \
230 ../../src/common/cshelp.cpp \
231 ../../src/common/ctrlcmn.cpp \
232 ../../src/common/ctrlsub.cpp \
233 ../../src/common/datacmn.cpp \
234 ../../src/common/dcbase.cpp \
235 ../../src/common/dlgcmn.cpp \
236 ../../src/common/dndcmn.cpp \
237 ../../src/common/dobjcmn.cpp \
238 ../../src/common/docmdi.cpp \
239 ../../src/common/docview.cpp \
240 ../../src/common/dpycmn.cpp \
241 ../../src/common/dseldlg.cpp \
242 ../../src/common/effects.cpp \
243 ../../src/common/evtloopcmn.cpp \
244 ../../src/common/fddlgcmn.cpp \
245 ../../src/common/fldlgcmn.cpp \
246 ../../src/common/fontcmn.cpp \
247 ../../src/common/fontenumcmn.cpp \
248 ../../src/common/fontmap.cpp \
249 ../../src/common/framecmn.cpp \
250 ../../src/common/gaugecmn.cpp \
251 ../../src/common/gbsizer.cpp \
252 ../../src/common/gdicmn.cpp \
253 ../../src/common/geometry.cpp \
254 ../../src/common/gifdecod.cpp \
255 ../../src/common/helpbase.cpp \
256 ../../src/common/iconbndl.cpp \
257 ../../src/common/imagall.cpp \
258 ../../src/common/imagbmp.cpp \
259 ../../src/common/image.cpp \
260 ../../src/common/imagfill.cpp \
261 ../../src/common/imaggif.cpp \
262 ../../src/common/imagiff.cpp \
263 ../../src/common/imagjpeg.cpp \
264 ../../src/common/imagpcx.cpp \
265 ../../src/common/imagpng.cpp \
266 ../../src/common/imagpnm.cpp \
267 ../../src/common/imagtiff.cpp \
268 ../../src/common/imagxpm.cpp \
269 ../../src/common/layout.cpp \
270 ../../src/common/lboxcmn.cpp \
271 ../../src/common/matrix.cpp \
272 ../../src/common/menucmn.cpp \
273 ../../src/common/nbkbase.cpp \
274 ../../src/common/paper.cpp \
275 ../../src/common/popupcmn.cpp \
276 ../../src/common/prntbase.cpp \
277 ../../src/common/quantize.cpp \
278 ../../src/common/radiocmn.cpp \
279 ../../src/common/rendcmn.cpp \
280 ../../src/common/rgncmn.cpp \
281 ../../src/common/settcmn.cpp \
282 ../../src/common/sizer.cpp \
283 ../../src/common/statbar.cpp \
284 ../../src/common/stockitem.cpp \
285 ../../src/common/tbarbase.cpp \
286 ../../src/common/textcmn.cpp \
287 ../../src/common/timercmn.cpp \
288 ../../src/common/toplvcmn.cpp \
289 ../../src/common/treebase.cpp \
290 ../../src/common/valgen.cpp \
291 ../../src/common/validate.cpp \
292 ../../src/common/valtext.cpp \
293 ../../src/common/wincmn.cpp \
294 ../../src/common/xpmdecod.cpp \
295 ../../src/generic/busyinfo.cpp \
296 ../../src/generic/choicdgg.cpp \
297 ../../src/generic/choicbkg.cpp \
298 ../../src/generic/dcpsg.cpp \
299 ../../src/generic/dirctrlg.cpp \
300 ../../src/generic/dragimgg.cpp \
301 ../../src/generic/listbkg.cpp \
302 ../../src/generic/logg.cpp \
303 ../../src/generic/numdlgg.cpp \
304 ../../src/generic/panelg.cpp \
305 ../../src/generic/printps.cpp \
306 ../../src/generic/renderg.cpp \
307 ../../src/generic/scrlwing.cpp \
308 ../../src/generic/selstore.cpp \
309 ../../src/generic/spinctlg.cpp \
310 ../../src/generic/splitter.cpp \
311 ../../src/generic/textdlgg.cpp \
312 ../../src/generic/tipwin.cpp \
313 ../../src/generic/treectlg.cpp \
314 ../../src/generic/vlbox.cpp \
315 ../../src/generic/vscroll.cpp
316
317 ADVANCED_CMN_SRC = \
318 ../../src/generic/calctrl.cpp \
319 ../../src/generic/datectlg.cpp \
320 ../../src/generic/grid.cpp \
321 ../../src/generic/gridctrl.cpp \
322 ../../src/generic/gridsel.cpp \
323 ../../src/generic/helpext.cpp \
324 ../../src/generic/laywin.cpp \
325 ../../src/generic/sashwin.cpp \
326 ../../src/generic/splash.cpp \
327 ../../src/generic/tipdlg.cpp \
328 ../../src/generic/wizard.cpp
329
330 ADVANCED_PALMOS_SRC = \
331 ../../src/common/taskbarcmn.cpp \
332 ../../src/palmos/sound.cpp \
333 ../../src/palmos/taskbar.cpp
334
335 ADVANCED_PALMOS_DESKTOP_SRC = \
336 ../../src/palmos/joystick.cpp
337
338 ADVANCED_PALMOS_NATIVE_SRC = \
339 ../../src/palmos/datectrl.cpp
340
341 MEDIA_CMN_SRC = \
342 ../../src/common/mediactrlcmn.cpp
343
344 ADVANCED_PLATFORM_SRC = $(ADVANCED_PALMOS_SRC) $(ADVANCED_PALMOS_DESKTOP_SRC)
345
346 ADVANCED_PLATFORM_NATIVE_SRC = $(ADVANCED_PALMOS_NATIVE_SRC)
347
348 LOWLEVEL_SRC = $(PALMOS_LOWLEVEL_SRC)
349
350 GUI_SRC = $(PALMOS_SRC) $(PALMOS_DESKTOP_SRC)
351
352 BASE_PLATFORM_SRC = $(BASE_PALMOS_SRC)
353
354 BASE_AND_GUI_PLATFORM_SRC = $(BASE_AND_GUI_PALMOS_SRC)
355
356 BASE_SRC = $(BASE_CMN_SRC) $(BASE_PLATFORM_SRC)
357
358 BASE_AND_GUI_SRC = $(BASE_AND_GUI_CMN_SRC) $(BASE_AND_GUI_PLATFORM_SRC)
359
360 NET_SRC = $(NET_CMN_SRC)
361
362 CORE_SRC = $(LOWLEVEL_SRC) $(GUI_SRC) $(GUI_CMN_SRC)
363
364 ADVANCED_SRC = $(ADVANCED_CMN_SRC) $(ADVANCED_PLATFORM_SRC) $(ADVANCED_PLATFORM_NATIVE_SRC)
365
366 MEDIA_SRC = $(MEDIA_CMN_SRC)
367
368 HTML_SRC = \
369 ../../src/html/helpctrl.cpp \
370 ../../src/html/helpdata.cpp \
371 ../../src/html/helpfrm.cpp \
372 ../../src/html/htmlcell.cpp \
373 ../../src/html/htmlfilt.cpp \
374 ../../src/html/htmlpars.cpp \
375 ../../src/html/htmltag.cpp \
376 ../../src/html/htmlwin.cpp \
377 ../../src/html/htmprint.cpp \
378 ../../src/html/m_dflist.cpp \
379 ../../src/html/m_fonts.cpp \
380 ../../src/html/m_hline.cpp \
381 ../../src/html/m_image.cpp \
382 ../../src/html/m_layout.cpp \
383 ../../src/html/m_links.cpp \
384 ../../src/html/m_list.cpp \
385 ../../src/html/m_pre.cpp \
386 ../../src/html/m_style.cpp \
387 ../../src/html/m_tables.cpp \
388 ../../src/html/winpars.cpp \
389 ../../src/generic/htmllbox.cpp
390
391 ODBC_SRC = \
392 ../../src/common/db.cpp \
393 ../../src/common/dbtable.cpp
394
395 DBGRID_SRC = \
396 ../../src/common/dbgrid.cpp
397
398 XRC_SRC = \
399 ../../src/xrc/xh_bmpbt.cpp \
400 ../../src/xrc/xh_bmp.cpp \
401 ../../src/xrc/xh_bttn.cpp \
402 ../../src/xrc/xh_cald.cpp \
403 ../../src/xrc/xh_chckb.cpp \
404 ../../src/xrc/xh_chckl.cpp \
405 ../../src/xrc/xh_choic.cpp \
406 ../../src/xrc/xh_choicbk.cpp \
407 ../../src/xrc/xh_combo.cpp \
408 ../../src/xrc/xh_datectrl.cpp \
409 ../../src/xrc/xh_dlg.cpp \
410 ../../src/xrc/xh_frame.cpp \
411 ../../src/xrc/xh_gauge.cpp \
412 ../../src/xrc/xh_gdctl.cpp \
413 ../../src/xrc/xh_html.cpp \
414 ../../src/xrc/xh_listb.cpp \
415 ../../src/xrc/xh_listbk.cpp \
416 ../../src/xrc/xh_listc.cpp \
417 ../../src/xrc/xh_menu.cpp \
418 ../../src/xrc/xh_notbk.cpp \
419 ../../src/xrc/xh_panel.cpp \
420 ../../src/xrc/xh_radbt.cpp \
421 ../../src/xrc/xh_radbx.cpp \
422 ../../src/xrc/xh_scrol.cpp \
423 ../../src/xrc/xh_scwin.cpp \
424 ../../src/xrc/xh_sizer.cpp \
425 ../../src/xrc/xh_slidr.cpp \
426 ../../src/xrc/xh_spin.cpp \
427 ../../src/xrc/xh_split.cpp \
428 ../../src/xrc/xh_statbar.cpp \
429 ../../src/xrc/xh_stbmp.cpp \
430 ../../src/xrc/xh_stbox.cpp \
431 ../../src/xrc/xh_stlin.cpp \
432 ../../src/xrc/xh_sttxt.cpp \
433 ../../src/xrc/xh_text.cpp \
434 ../../src/xrc/xh_tglbtn.cpp \
435 ../../src/xrc/xh_toolb.cpp \
436 ../../src/xrc/xh_tree.cpp \
437 ../../src/xrc/xh_unkwn.cpp \
438 ../../src/xrc/xh_wizrd.cpp \
439 ../../src/xrc/xmlres.cpp \
440 ../../src/xrc/xmlrsall.cpp
441
442 XML_SRC = \
443 ../../src/xml/xml.cpp \
444 ../../src/common/xtixml.cpp
445
446 OPENGL_SRC = \
447 ../../src/palmos/glcanvas.cpp
448
449 SOURCES = ../../samples/minimal/minimal.cpp \
450 $(BASE_SRC) \
451 $(BASE_AND_GUI_SRC) \
452 $(NET_SRC) \
453 $(CORE_SRC) \
454 $(ADVANCED_SRC) \
455 $(MEDIA_SRC) \
456 $(HTML_SRC) \
457 $(ODBC_SRC) \
458 $(DBGRID_SRC) \
459 $(XRC_SRC) \
460 $(XML_SRC) \
461 $(OPENGL_SRC) \
462 ../../src/palmos/progdlg.cpp
463
464 RESOURCES = ../../include/wx/palmos/wxWidgets.xrd ../../include/wx/palmos/Version.xrd
465 DEFS_FILE = ../../include/wx/palmos/wxWidgets.def
466 SLD_FILE = ../../include/wx/palmos/wxWidgets.sld
467
468 ## --------------------------------------------------------------------------
469 # Review Database information
470 # Register Creator ID at: http://dev.palmos.com/creatorid/
471 ## --------------------------------------------------------------------------
472
473 CREATOR_ID = wx06
474 DB_TYPE = appl
475
476 DATABASE_RESET =
477 DATABASE_BACKUP = -b
478 DATABASE_HIDDEN =
479 DATABASE_PROTECT =
480 DATABASE_VERSION = 1
481
482 LOCALE = enUS
483 DATABASE_NAME = $(APP_NAME)
484
485 ## --------------------------------------------------------------------------
486 # Choose SDK
487 # Supported values:
488 # sdk-6
489 ## --------------------------------------------------------------------------
490
491 SDK_VERSION = sdk-6
492
493 ifeq ($(SDK_LOCATION),)
494 SDK_LOCATION=../../
495 endif
496 ## --------------------------------------------------------------------------
497 # Build Settings
498 # Review the following for your needs.
499 # The default settings build with debug information and no optimization and
500 # a target platform of an actual device.
501 ## --------------------------------------------------------------------------
502
503 #
504 # Set Debug or Release configuration for this project via the project
505 # properties (right-click on the project and select Properties).
506 #
507 DEBUG_OR_RELEASE=Debug
508
509 #
510 # Set the target platform for the build; either Device or Simulator
511 # Use Device as a target for emulator builds.
512 #
513 TARGET_PLATFORM=Simulator
514
515 # Specify the level of optimization that you want:
516 # NONE, SOME, FULL, INTRAPROCEDURAL, INTERPROCEDURAL, INLINING.
517 # Leave blank to select FULL for release builds, and NONE for
518 # debug builds.
519 # INTRAPROCEDURAL, INTERPROCEDURAL, INLINING are applicable to
520 # device builds only; simulator builds will translate those levels
521 # to FULL.
522 OPTIMIZE_LEVEL = NONE
523
524 # Specify warning level
525 # NONE = suppress all warnings
526 # ALL = enable all warnings
527 # <undefined> = default warnings
528 WARNING_LEVEL =
529
530 # Specify exception handling support
531 # true = enable it
532 # false = don't enable it
533 ENABLE_EXCEPTION_HANDLING=true
534
535 # List additional libraries to link with
536 # (Full or project relative path)
537 ADDITIONAL_LINK_LIBRARIES =
538 ADDITIONAL_SIM_LINK_LIBRARIES =
539
540 # Additional paths to look for #include "header"
541 # (Source file directories are automatically included)
542 # Please note that both local and system include paths should
543 # either use "cygwin" syntax or if in Windows syntax the should
544 # be quoted. ie: ../MyLibrary/headers or "C:\Source\MyLibrary\headers"
545 # Additionally, you must explicly specify the "-I" prior to each
546 # path included in this variable. Spaces are used to separate
547 # each path from each other.
548 LOCAL_INCLUDE_PATHS = -Irsc -I../../lib/gcc_lib/palmos -I../../include
549 LOCAL_SIM_INCLUDE_PATHS = $(LOCAL_INCLUDE_PATHS)
550
551 # Additional paths to look for #include <header>
552 # (Palm OS SDK directories are automatically included)
553 # Additionally, you must explicly specify the "-I" prior to each
554 # path included in this variable. Spaces are used to separate
555 # each path from each other.
556 SYSTEM_INCLUDE_PATHS =
557 SYSTEM_SIM_INCLUDE_PATHS =
558
559 # Specify any needed preprocessor symbols.
560 # If you set DEFINES to "ASSERTLEVEL=1", the compiler will see "-DASSERTLEVEL=1"
561 # (separate individual entries with spaces)
562 DEFINES =
563 SIM_DEFINES =
564
565 # Specify additional compiler flags for all files
566 ADDITIONAL_COMPILER_FLAGS =
567 ADDITIONAL_SIM_COMPILER_FLAGS =
568
569 # Specify additional linker flags
570 ADDITIONAL_LINKER_FLAGS =
571 ADDITIONAL_SIM_LINKER_FLAGS =
572
573 # Specify additional archival flags (for static libraries)
574 ADDITIONAL_AR_FLAGS =
575 ADDITIONAL_SIM_AR_FLAGS =
576
577
578 # Tools Directory
579 # Normally you wouldn't want to override this since the necessary tools
580 # are in the PATH. But if you experimenting with other tools, then
581 # reset the directory here
582 # If overridden, end with a trailing '/'
583
584 ifeq ($(TOOLS_DIR), )
585 TOOLS_DIR = ../../../PalmOSTools/
586 endif
587
588 ## --------------------------------------------------------------------------
589 # Resource Settings
590 ## --------------------------------------------------------------------------
591
592 # Specify the target text encoding
593 # LATIN, JAPANESE, SIMPLIFIED_CHINESE
594 TEXTENCODING = LATIN
595
596 # Specify error levels for locale and text encoding
597 # NOCHECK
598 # STRICT
599 # <default>
600 LOCALE_CHECKING =
601
602 # Specific if encoding should be checked
603 # FALSE, TRUE
604 STRICT_ENCODING = FALSE
605
606 ## --------------------------------------------------------------------------
607 # Output Settings
608 ## --------------------------------------------------------------------------
609
610 # Modify if you want object and output files to be in different locations
611 # (However, please note that all three object directories must be different
612 # for the makefile engine to properly operate.)
613 # OUTPUT_DIR is the "main" output directory, where all linked and binary objects
614 # will be put.
615
616 DEBUG_DEVICE_OUTPUT_DIR := DebugDevice
617 RELEASE_DEVICE_OUTPUT_DIR := ReleaseDevice
618 DEBUG_SIMULATOR_OUTPUT_DIR := DebugSim
619 RELEASE_SIMULATOR_OUTPUT_DIR := ReleaseSim
620 RSC_OBJ_DIR := ResourceObjs
621
622 ## --------------------------------------------------------------------------
623 # Makefiles
624 ## --------------------------------------------------------------------------
625
626
627 ## include the makefile engine
628 include makefile-engine.mk
629
630 ## conditionally include your own custom.mk for your specific overrides or definitions
631 ## this is useful if you don't want to use the auto-generated.mk values
632 ## for some reason
633 -include custom.mk