]> git.saurik.com Git - wxWidgets.git/blob - build/palmos/makefile
Committed William Osborne's wxPalmOS port
[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 SOURCES = ../../samples/minimal/minimal.cpp \
45 ../../src/common/accesscmn.cpp \
46 ../../src/common/appbase.cpp \
47 ../../src/common/appcmn.cpp \
48 ../../src/common/artprov.cpp \
49 ../../src/common/artstd.cpp \
50 ../../src/common/bmpbase.cpp \
51 ../../src/common/bookctrl.cpp \
52 ../../src/common/choiccmn.cpp \
53 ../../src/common/clipcmn.cpp \
54 ../../src/common/clntdata.cpp \
55 ../../src/common/cmdproc.cpp \
56 ../../src/common/cmndata.cpp \
57 ../../src/common/config.cpp \
58 ../../src/common/containr.cpp \
59 ../../src/common/cshelp.cpp \
60 ../../src/common/ctrlcmn.cpp \
61 ../../src/common/ctrlsub.cpp \
62 ../../src/common/datacmn.cpp \
63 ../../src/common/datetime.cpp \
64 ../../src/common/datstrm.cpp \
65 ../../src/common/db.cpp \
66 ../../src/common/dbgrid.cpp \
67 ../../src/common/dbtable.cpp \
68 ../../src/common/dcbase.cpp \
69 ../../src/common/dircmn.cpp \
70 ../../src/common/dlgcmn.cpp \
71 ../../src/common/dndcmn.cpp \
72 ../../src/common/dobjcmn.cpp \
73 ../../src/common/docmdi.cpp \
74 ../../src/common/docview.cpp \
75 ../../src/common/dpycmn.cpp \
76 ../../src/common/dseldlg.cpp \
77 ../../src/common/dynarray.cpp \
78 ../../src/common/dynlib.cpp \
79 ../../src/common/dynload.cpp \
80 ../../src/common/effects.cpp \
81 ../../src/common/encconv.cpp \
82 ../../src/common/event.cpp \
83 ../../src/common/fddlgcmn.cpp \
84 ../../src/common/ffile.cpp \
85 ../../src/common/file.cpp \
86 ../../src/common/fileconf.cpp \
87 ../../src/common/filesys.cpp \
88 ../../src/common/fldlgcmn.cpp \
89 ../../src/common/fmapbase.cpp \
90 ../../src/common/fontcmn.cpp \
91 ../../src/common/fontmap.cpp \
92 ../../src/common/framecmn.cpp \
93 ../../src/common/fs_inet.cpp \
94 ../../src/common/fs_mem.cpp \
95 ../../src/common/fs_zip.cpp \
96 ../../src/common/ftp.cpp \
97 ../../src/common/gaugecmn.cpp \
98 ../../src/common/gbsizer.cpp \
99 ../../src/common/gdicmn.cpp \
100 ../../src/common/geometry.cpp \
101 ../../src/common/gifdecod.cpp \
102 ../../src/common/hash.cpp \
103 ../../src/common/hashmap.cpp \
104 ../../src/common/helpbase.cpp \
105 ../../src/common/http.cpp \
106 ../../src/common/iconbndl.cpp \
107 ../../src/common/imagall.cpp \
108 ../../src/common/imagbmp.cpp \
109 ../../src/common/image.cpp \
110 ../../src/common/imagfill.cpp \
111 ../../src/common/imaggif.cpp \
112 ../../src/common/imagiff.cpp \
113 ../../src/common/imagjpeg.cpp \
114 ../../src/common/imagpcx.cpp \
115 ../../src/common/imagpng.cpp \
116 ../../src/common/imagpnm.cpp \
117 ../../src/common/imagtiff.cpp \
118 ../../src/common/imagxpm.cpp \
119 ../../src/common/init.cpp \
120 ../../src/common/intl.cpp \
121 ../../src/common/ipcbase.cpp \
122 ../../src/common/layout.cpp \
123 ../../src/common/lboxcmn.cpp \
124 ../../src/common/list.cpp \
125 ../../src/common/log.cpp \
126 ../../src/common/longlong.cpp \
127 ../../src/common/matrix.cpp \
128 ../../src/common/memory.cpp \
129 ../../src/common/menucmn.cpp \
130 ../../src/common/mimecmn.cpp \
131 ../../src/common/module.cpp \
132 ../../src/common/msgout.cpp \
133 ../../src/common/mstream.cpp \
134 ../../src/common/nbkbase.cpp \
135 ../../src/common/object.cpp \
136 ../../src/common/paper.cpp \
137 ../../src/common/popupcmn.cpp \
138 ../../src/common/prntbase.cpp \
139 ../../src/common/process.cpp \
140 ../../src/common/protocol.cpp \
141 ../../src/common/quantize.cpp \
142 ../../src/common/radiocmn.cpp \
143 ../../src/common/regex.cpp \
144 ../../src/common/rendcmn.cpp \
145 ../../src/common/rgncmn.cpp \
146 ../../src/common/sckaddr.cpp \
147 ../../src/common/sckfile.cpp \
148 ../../src/common/sckipc.cpp \
149 ../../src/common/sckstrm.cpp \
150 ../../src/common/settcmn.cpp \
151 ../../src/common/sizer.cpp \
152 ../../src/common/socket.cpp \
153 ../../src/common/statbar.cpp \
154 ../../src/common/strconv.cpp \
155 ../../src/common/stream.cpp \
156 ../../src/common/string.cpp \
157 ../../src/common/sysopt.cpp \
158 ../../src/common/taskbarcmn.cpp \
159 ../../src/common/tbarbase.cpp \
160 ../../src/common/textbuf.cpp \
161 ../../src/common/textcmn.cpp \
162 ../../src/common/textfile.cpp \
163 ../../src/common/timercmn.cpp \
164 ../../src/common/tokenzr.cpp \
165 ../../src/common/toplvcmn.cpp \
166 ../../src/common/treebase.cpp \
167 ../../src/common/txtstrm.cpp \
168 ../../src/common/url.cpp \
169 ../../src/common/utilscmn.cpp \
170 ../../src/common/valgen.cpp \
171 ../../src/common/validate.cpp \
172 ../../src/common/valtext.cpp \
173 ../../src/common/variant.cpp \
174 ../../src/common/wfstream.cpp \
175 ../../src/common/wincmn.cpp \
176 ../../src/common/wxchar.cpp \
177 ../../src/common/xpmdecod.cpp \
178 ../../src/common/xti.cpp \
179 ../../src/common/xtistrm.cpp \
180 ../../src/common/xtixml.cpp \
181 ../../src/common/zipstrm.cpp \
182 ../../src/common/zstream.cpp \
183 ../../src/generic/renderg.cpp \
184 ../../src/generic/statusbr.cpp \
185 ../../src/palmos/accel.cpp \
186 ../../src/palmos/app.cpp \
187 ../../src/palmos/base.cpp \
188 ../../src/palmos/bitmap.cpp \
189 ../../src/palmos/bmpbuttn.cpp \
190 ../../src/palmos/brush.cpp \
191 ../../src/palmos/button.cpp \
192 ../../src/palmos/caret.cpp \
193 ../../src/palmos/checkbox.cpp \
194 ../../src/palmos/checklst.cpp \
195 ../../src/palmos/choice.cpp \
196 ../../src/palmos/clipbrd.cpp \
197 ../../src/palmos/colordlg.cpp \
198 ../../src/palmos/colour.cpp \
199 ../../src/palmos/combobox.cpp \
200 ../../src/palmos/control.cpp \
201 ../../src/palmos/crashrpt.cpp \
202 ../../src/palmos/cursor.cpp \
203 ../../src/palmos/data.cpp \
204 ../../src/palmos/dc.cpp \
205 ../../src/palmos/dcclient.cpp \
206 ../../src/palmos/dcmemory.cpp \
207 ../../src/palmos/dcprint.cpp \
208 ../../src/palmos/dcscreen.cpp \
209 ../../src/palmos/dialog.cpp \
210 ../../src/palmos/dialup.cpp \
211 ../../src/palmos/dib.cpp \
212 ../../src/palmos/dir.cpp \
213 ../../src/palmos/dirdlg.cpp \
214 ../../src/palmos/display.cpp \
215 ../../src/palmos/dragimag.cpp \
216 ../../src/palmos/dummy.cpp \
217 ../../src/palmos/enhmeta.cpp \
218 ../../src/palmos/evtloop.cpp \
219 ../../src/palmos/fdrepdlg.cpp \
220 ../../src/palmos/filedlg.cpp \
221 ../../src/palmos/font.cpp \
222 ../../src/palmos/fontdlg.cpp \
223 ../../src/palmos/fontenum.cpp \
224 ../../src/palmos/fontutil.cpp \
225 ../../src/palmos/frame.cpp \
226 ../../src/palmos/gauge.cpp \
227 ../../src/palmos/gdiimage.cpp \
228 ../../src/palmos/gdiobj.cpp \
229 ../../src/palmos/glcanvas.cpp \
230 ../../src/palmos/help.cpp \
231 ../../src/palmos/icon.cpp \
232 ../../src/palmos/imaglist.cpp \
233 ../../src/palmos/iniconf.cpp \
234 ../../src/palmos/joystick.cpp \
235 ../../src/palmos/listbox.cpp \
236 ../../src/palmos/listctrl.cpp \
237 ../../src/palmos/main.cpp \
238 ../../src/palmos/mdi.cpp \
239 ../../src/palmos/menu.cpp \
240 ../../src/palmos/menuitem.cpp \
241 ../../src/palmos/metafile.cpp \
242 ../../src/palmos/mimetype.cpp \
243 ../../src/palmos/minifram.cpp \
244 ../../src/palmos/msgdlg.cpp \
245 ../../src/palmos/mslu.cpp \
246 ../../src/palmos/nativdlg.cpp \
247 ../../src/palmos/notebook.cpp \
248 ../../src/palmos/ownerdrw.cpp \
249 ../../src/palmos/palette.cpp \
250 ../../src/palmos/pen.cpp \
251 ../../src/palmos/popupwin.cpp \
252 ../../src/palmos/printdlg.cpp \
253 ../../src/palmos/printpalm.cpp \
254 ../../src/palmos/radiobox.cpp \
255 ../../src/palmos/radiobut.cpp \
256 ../../src/palmos/regconf.cpp \
257 ../../src/palmos/region.cpp \
258 ../../src/palmos/registry.cpp \
259 ../../src/palmos/renderer.cpp \
260 ../../src/palmos/scrolbar.cpp \
261 ../../src/palmos/settings.cpp \
262 ../../src/palmos/slider.cpp \
263 ../../src/palmos/snglinst.cpp \
264 ../../src/palmos/sound.cpp \
265 ../../src/palmos/spinbutt.cpp \
266 ../../src/palmos/spinctrl.cpp \
267 ../../src/palmos/statbmp.cpp \
268 ../../src/palmos/statbox.cpp \
269 ../../src/palmos/statusbar.cpp \
270 ../../src/palmos/statline.cpp \
271 ../../src/palmos/stattext.cpp \
272 ../../src/palmos/taskbar.cpp \
273 ../../src/palmos/toolbar.cpp \
274 ../../src/palmos/textctrl.cpp \
275 ../../src/palmos/tglbtn.cpp \
276 ../../src/palmos/thread.cpp \
277 ../../src/palmos/timer.cpp \
278 ../../src/palmos/tooltip.cpp \
279 ../../src/palmos/toplevel.cpp \
280 ../../src/palmos/treectrl.cpp \
281 ../../src/palmos/utils.cpp \
282 ../../src/palmos/utilsexc.cpp \
283 ../../src/palmos/utilsgui.cpp \
284 ../../src/palmos/volume.cpp \
285 ../../src/palmos/window.cpp
286
287 RESOURCES = ../../include/wx/palmos/wxWidgets.xrd ../../include/wx/palmos/Version.xrd
288 DEFS_FILE = ../../include/wx/palmos/wxWidgets.def
289 SLD_FILE = ../../include/wx/palmos/wxWidgets.sld
290
291 ## --------------------------------------------------------------------------
292 # Review Database information
293 # Register Creator ID at: http://dev.palmos.com/creatorid/
294 ## --------------------------------------------------------------------------
295
296 CREATOR_ID = bapp
297 DB_TYPE = appl
298
299 DATABASE_RESET =
300 DATABASE_BACKUP = -b
301 DATABASE_HIDDEN =
302 DATABASE_PROTECT =
303 DATABASE_VERSION = 1
304
305 LOCALE = enUS
306 DATABASE_NAME = $(APP_NAME)
307
308 ## --------------------------------------------------------------------------
309 # Choose SDK
310 # Supported values:
311 # sdk-6
312 ## --------------------------------------------------------------------------
313
314 SDK_VERSION = sdk-6
315
316 ifeq ($(SDK_LOCATION),)
317 SDK_LOCATION=../../
318 endif
319 ## --------------------------------------------------------------------------
320 # Build Settings
321 # Review the following for your needs.
322 # The default settings build with debug information and no optimization and
323 # a target platform of an actual device.
324 ## --------------------------------------------------------------------------
325
326 #
327 # Set Debug or Release configuration for this project via the project
328 # properties (right-click on the project and select Properties).
329 #
330 DEBUG_OR_RELEASE=Debug
331
332 #
333 # Set the target platform for the build; either Device or Simulator
334 # Use Device as a target for emulator builds.
335 #
336 TARGET_PLATFORM=Simulator
337
338 # Specify the level of optimization that you want:
339 # NONE, SOME, FULL, INTRAPROCEDURAL, INTERPROCEDURAL, INLINING.
340 # Leave blank to select FULL for release builds, and NONE for
341 # debug builds.
342 # INTRAPROCEDURAL, INTERPROCEDURAL, INLINING are applicable to
343 # device builds only; simulator builds will translate those levels
344 # to FULL.
345 OPTIMIZE_LEVEL = NONE
346
347 # Specify warning level
348 # NONE = suppress all warnings
349 # ALL = enable all warnings
350 # <undefined> = default warnings
351 WARNING_LEVEL =
352
353 # Specify exception handling support
354 # true = enable it
355 # false = don't enable it
356 ENABLE_EXCEPTION_HANDLING=true
357
358 # List additional libraries to link with
359 # (Full or project relative path)
360 ADDITIONAL_LINK_LIBRARIES =
361 ADDITIONAL_SIM_LINK_LIBRARIES =
362
363 # Additional paths to look for #include "header"
364 # (Source file directories are automatically included)
365 # Please note that both local and system include paths should
366 # either use "cygwin" syntax or if in Windows syntax the should
367 # be quoted. ie: ../MyLibrary/headers or "C:\Source\MyLibrary\headers"
368 # Additionally, you must explicly specify the "-I" prior to each
369 # path included in this variable. Spaces are used to separate
370 # each path from each other.
371 LOCAL_INCLUDE_PATHS = -Irsc -I../../include
372 LOCAL_SIM_INCLUDE_PATHS = -Irsc -I../../include
373
374 # Additional paths to look for #include <header>
375 # (Palm OS SDK directories are automatically included)
376 # Additionally, you must explicly specify the "-I" prior to each
377 # path included in this variable. Spaces are used to separate
378 # each path from each other.
379 SYSTEM_INCLUDE_PATHS =
380 SYSTEM_SIM_INCLUDE_PATHS =
381
382 # Specify any needed preprocessor symbols.
383 # If you set DEFINES to "ASSERTLEVEL=1", the compiler will see "-DASSERTLEVEL=1"
384 # (separate individual entries with spaces)
385 DEFINES =
386 SIM_DEFINES =
387
388 # Specify additional compiler flags for all files
389 ADDITIONAL_COMPILER_FLAGS =
390 ADDITIONAL_SIM_COMPILER_FLAGS =
391
392 # Specify additional linker flags
393 ADDITIONAL_LINKER_FLAGS =
394 ADDITIONAL_SIM_LINKER_FLAGS =
395
396 # Specify additional archival flags (for static libraries)
397 ADDITIONAL_AR_FLAGS =
398 ADDITIONAL_SIM_AR_FLAGS =
399
400
401 # Tools Directory
402 # Normally you wouldn't want to override this since the necessary tools
403 # are in the PATH. But if you experimenting with other tools, then
404 # reset the directory here
405 # If overridden, end with a trailing '/'
406
407 ifeq ($(TOOLS_DIR), )
408 TOOLS_DIR = ../../../PalmOSTools/
409 endif
410
411 ## --------------------------------------------------------------------------
412 # Resource Settings
413 ## --------------------------------------------------------------------------
414
415 # Specify the target text encoding
416 # LATIN, JAPANESE, SIMPLIFIED_CHINESE
417 TEXTENCODING = LATIN
418
419 # Specify error levels for locale and text encoding
420 # NOCHECK
421 # STRICT
422 # <default>
423 LOCALE_CHECKING =
424
425 # Specific if encoding should be checked
426 # FALSE, TRUE
427 STRICT_ENCODING = FALSE
428
429 ## --------------------------------------------------------------------------
430 # Output Settings
431 ## --------------------------------------------------------------------------
432
433 # Modify if you want object and output files to be in different locations
434 # (However, please note that all three object directories must be different
435 # for the makefile engine to properly operate.)
436 # OUTPUT_DIR is the "main" output directory, where all linked and binary objects
437 # will be put.
438
439 DEBUG_DEVICE_OUTPUT_DIR := DebugDevice
440 RELEASE_DEVICE_OUTPUT_DIR := ReleaseDevice
441 DEBUG_SIMULATOR_OUTPUT_DIR := DebugSim
442 RELEASE_SIMULATOR_OUTPUT_DIR := ReleaseSim
443 RSC_OBJ_DIR := ResourceObjs
444
445 ## --------------------------------------------------------------------------
446 # Makefiles
447 ## --------------------------------------------------------------------------
448
449
450 ## include the makefile engine
451 include makefile-engine.mk
452
453 ## conditionally include your own custom.mk for your specific overrides or definitions
454 ## this is useful if you don't want to use the auto-generated.mk values
455 ## for some reason
456 -include custom.mk