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