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