]> git.saurik.com Git - wxWidgets.git/blob - build/palmos/makefile
ignore vc*_msw* build directories
[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 INSTALL=install
14 INSTALL_DATA=${INSTALL} -m 644
15 INSTALL_DIR=${INSTALL} -d
16
17 SHELL = /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
26 ARTIFACT_NAME = wxWidgets
27 EMPTY =
28 SPACE =$(EMPTY) $(EMPTY)
29 ESCAPED_ARTIFACT_NAME = $(subst $(SPACE),\ ,$(ARTIFACT_NAME))
30
31 PROJECT_NAME = wxWidgets
32 PRC_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
47 BASE_CMN_SRC = \
48 ../../src/common/arrstr.cpp \
49 ../../src/common/appbase.cpp \
50 ../../src/common/archive.cpp \
51 ../../src/common/btncmn.cpp \
52 ../../src/common/clntdata.cpp \
53 ../../src/common/cmdline.cpp \
54 ../../src/common/config.cpp \
55 ../../src/common/convauto.cpp \
56 ../../src/common/datetime.cpp \
57 ../../src/common/datstrm.cpp \
58 ../../src/common/dcbufcmn.cpp \
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 \
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 \
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 \
85 ../../src/common/platinfo.cpp \
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 \
94 ../../src/common/stringimpl.cpp \
95 ../../src/common/stringops.cpp \
96 ../../src/common/strvararg.cpp \
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 \
102 ../../src/common/unichar.cpp \
103 ../../src/common/uri.cpp \
104 ../../src/common/variant.cpp \
105 ../../src/common/wfstream.cpp \
106 ../../src/common/wxcrt.cpp \
107 ../../src/common/wxprintf.cpp \
108 ../../src/common/xti.cpp \
109 ../../src/common/xtistrm.cpp \
110 ../../src/common/zipstrm.cpp \
111 ../../src/common/zstream.cpp
112
113 BASE_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
122 BASE_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
128 BASE_AND_GUI_PALMOS_SRC = \
129 ../../src/palmos/main.cpp \
130 ../../src/palmos/volume.cpp
131
132 NET_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
144 PALMOS_LOWLEVEL_SRC = \
145 ../../src/palmos/stdall.c \
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 \
151 ../../src/generic/colour.cpp \
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 \
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 \
166 ../../src/generic/icon.cpp \
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
181 PALMOS_DESKTOP_LOWLEVEL_SRC = \
182 ../../src/palmos/help.cpp
183
184 PALMOS_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 \
224 ../../src/palmos/toolbar.cpp \
225 ../../src/palmos/textctrl.cpp \
226 ../../src/palmos/tglbtn.cpp \
227 ../../src/palmos/treectrl.cpp
228
229 GUI_CMN_SRC = \
230 ../../src/common/accesscmn.cpp \
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 \
238 ../../src/common/colourcmn.cpp \
239 ../../src/common/cmdproc.cpp \
240 ../../src/common/cmndata.cpp \
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 \
246 ../../src/common/dcbase.cpp \
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 \
254 ../../src/common/effects.cpp \
255 ../../src/common/evtloopcmn.cpp \
256 ../../src/common/fddlgcmn.cpp \
257 ../../src/common/fldlgcmn.cpp \
258 ../../src/common/fontcmn.cpp \
259 ../../src/common/fontenumcmn.cpp \
260 ../../src/common/fontmap.cpp \
261 ../../src/common/framecmn.cpp \
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 \
267 ../../src/common/helpbase.cpp \
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 \
281 ../../src/common/layout.cpp \
282 ../../src/common/lboxcmn.cpp \
283 ../../src/common/matrix.cpp \
284 ../../src/common/menucmn.cpp \
285 ../../src/common/nbkbase.cpp \
286 ../../src/common/paper.cpp \
287 ../../src/common/popupcmn.cpp \
288 ../../src/common/prntbase.cpp \
289 ../../src/common/quantize.cpp \
290 ../../src/common/radiocmn.cpp \
291 ../../src/common/rendcmn.cpp \
292 ../../src/common/rgncmn.cpp \
293 ../../src/common/settcmn.cpp \
294 ../../src/common/sizer.cpp \
295 ../../src/common/statbar.cpp \
296 ../../src/common/stattextcmn.cpp \
297 ../../src/common/stockitem.cpp \
298 ../../src/common/tbarbase.cpp \
299 ../../src/common/textcmn.cpp \
300 ../../src/common/timercmn.cpp \
301 ../../src/common/toplvcmn.cpp \
302 ../../src/common/treebase.cpp \
303 ../../src/common/valgen.cpp \
304 ../../src/common/validate.cpp \
305 ../../src/common/valtext.cpp \
306 ../../src/common/wincmn.cpp \
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
330 ADVANCED_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
343 ADVANCED_PALMOS_SRC = \
344 ../../src/common/taskbarcmn.cpp \
345 ../../src/palmos/sound.cpp \
346 ../../src/palmos/taskbar.cpp
347
348 ADVANCED_PALMOS_DESKTOP_SRC = \
349 ../../src/palmos/joystick.cpp
350
351 ADVANCED_PALMOS_NATIVE_SRC = \
352 ../../src/palmos/datectrl.cpp
353
354 MEDIA_CMN_SRC = \
355 ../../src/common/mediactrlcmn.cpp
356
357 ADVANCED_PLATFORM_SRC = $(ADVANCED_PALMOS_SRC) $(ADVANCED_PALMOS_DESKTOP_SRC)
358
359 ADVANCED_PLATFORM_NATIVE_SRC = $(ADVANCED_PALMOS_NATIVE_SRC)
360
361 LOWLEVEL_SRC = $(PALMOS_LOWLEVEL_SRC)
362
363 GUI_SRC = $(PALMOS_SRC) $(PALMOS_DESKTOP_SRC)
364
365 BASE_PLATFORM_SRC = $(BASE_PALMOS_SRC)
366
367 BASE_AND_GUI_PLATFORM_SRC = $(BASE_AND_GUI_PALMOS_SRC)
368
369 BASE_SRC = $(BASE_CMN_SRC) $(BASE_PLATFORM_SRC)
370
371 BASE_AND_GUI_SRC = $(BASE_AND_GUI_CMN_SRC) $(BASE_AND_GUI_PLATFORM_SRC)
372
373 NET_SRC = $(NET_CMN_SRC)
374
375 CORE_SRC = $(LOWLEVEL_SRC) $(GUI_SRC) $(GUI_CMN_SRC)
376
377 ADVANCED_SRC = $(ADVANCED_CMN_SRC) $(ADVANCED_PLATFORM_SRC) $(ADVANCED_PLATFORM_NATIVE_SRC)
378
379 MEDIA_SRC = $(MEDIA_CMN_SRC)
380
381 HTML_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
404 XRC_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
448 XML_SRC = \
449 ../../src/xml/xml.cpp \
450 ../../src/common/xtixml.cpp
451
452 OPENGL_SRC = \
453 ../../src/palmos/glcanvas.cpp
454
455 SOURCES = ../../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) \
463 $(XRC_SRC) \
464 $(XML_SRC) \
465 $(OPENGL_SRC) \
466 ../../src/palmos/progdlg.cpp
467
468 #include othersrc.mak
469 #SOURCES += $(OTHER_SRC)
470
471 RESOURCES = ../../include/wx/palmos/wxWidgets.xrd ../../include/wx/palmos/Version.xrd
472 DEFS_FILE = ../../include/wx/palmos/wxWidgets.def
473 SLD_FILE = ../../include/wx/palmos/wxWidgets.sld
474
475 ## --------------------------------------------------------------------------
476 # Review Database information
477 # Register Creator ID at: http://dev.palmos.com/creatorid/
478 ## --------------------------------------------------------------------------
479
480 CREATOR_ID = wx06
481 DB_TYPE = appl
482
483 DATABASE_RESET =
484 DATABASE_BACKUP = -b
485 DATABASE_HIDDEN =
486 DATABASE_PROTECT =
487 DATABASE_VERSION = 1
488
489 LOCALE = enUS
490 DATABASE_NAME = $(APP_NAME)
491
492 ## --------------------------------------------------------------------------
493 # Choose SDK
494 # Supported values:
495 # sdk-6
496 ## --------------------------------------------------------------------------
497
498 SDK_VERSION = sdk-6
499
500 ifeq ($(SDK_LOCATION),)
501 SDK_LOCATION=../../
502 endif
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 #
514 DEBUG_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 #
520 #TARGET_PLATFORM=Simulator
521 TARGET_PLATFORM=Device
522
523 #TARGET_FORMAT=PalmOS4
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.
532 OPTIMIZE_LEVEL = NONE
533
534 # Specify warning level
535 # NONE = suppress all warnings
536 # ALL = enable all warnings
537 # <undefined> = default warnings
538 WARNING_LEVEL =
539
540 # Specify exception handling support
541 # true = enable it
542 # false = don't enable it
543 ENABLE_EXCEPTION_HANDLING=true
544
545 # List additional libraries to link with
546 # (Full or project relative path)
547 ADDITIONAL_LINK_LIBRARIES =
548 ADDITIONAL_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.
558 incdir=../../lib/gcc_lib/palmos
559 LOCAL_INCLUDE_PATHS = -Irsc -I$(incdir) -I../../include
560 LOCAL_SIM_INCLUDE_PATHS = $(LOCAL_INCLUDE_PATHS)
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.
567 SYSTEM_INCLUDE_PATHS =
568 SYSTEM_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)
573 DEFINES =
574 SIM_DEFINES =
575
576 # Specify additional compiler flags for all files
577 ADDITIONAL_COMPILER_FLAGS =
578 ADDITIONAL_SIM_COMPILER_FLAGS =
579
580 # Specify additional linker flags
581 ADDITIONAL_LINKER_FLAGS =
582 ADDITIONAL_SIM_LINKER_FLAGS =
583
584 # Specify additional archival flags (for static libraries)
585 ADDITIONAL_AR_FLAGS =
586 ADDITIONAL_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
595 ifeq ($(TOOLS_DIR), )
596 TOOLS_DIR = ../../../PalmOSTools/
597 endif
598
599 ## --------------------------------------------------------------------------
600 # Resource Settings
601 ## --------------------------------------------------------------------------
602
603 # Specify the target text encoding
604 # LATIN, JAPANESE, SIMPLIFIED_CHINESE
605 TEXTENCODING = LATIN
606
607 # Specify error levels for locale and text encoding
608 # NOCHECK
609 # STRICT
610 # <default>
611 LOCALE_CHECKING =
612
613 # Specific if encoding should be checked
614 # FALSE, TRUE
615 STRICT_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
627 DEBUG_DEVICE_OUTPUT_DIR := DebugDevice
628 RELEASE_DEVICE_OUTPUT_DIR := ReleaseDevice
629 DEBUG_SIMULATOR_OUTPUT_DIR := DebugSim
630 RELEASE_SIMULATOR_OUTPUT_DIR := ReleaseSim
631 RSC_OBJ_DIR := ResourceObjs
632
633 ## --------------------------------------------------------------------------
634 # Makefiles
635 ## --------------------------------------------------------------------------
636
637
638 ## include the makefile engine
639 include 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