]> git.saurik.com Git - wxWidgets.git/blame - src/os2/makefile.va
fix from Robert for extra refreshes
[wxWidgets.git] / src / os2 / makefile.va
CommitLineData
0e320a79
DW
1#
2# File: makefile.va
3# Author: Dave Webster
4# Created: 1999
5# Updated:
6# Copyright: (c) 1999, Dave Webster
7#
8# "%W% %G%"
9#
10# Makefile : Builds wxWindows library wx.lib for VisualAge C++
11# Arguments:
12#
13# FINAL=1 argument to nmake to build version with no debugging info.
14# dll builds a library (wxdll.lib) suitable for creating DLLs
15#
16!include <..\makeva.env>
17
18THISDIR=$(WXWIN)\src\os2
19
20!if "$(WXMAKINGDLL)" == "1"
21LIBTARGET=$(WXDIR)\lib\$(WXLIBNAME).dll
22DUMMYOBJ=$D\dummydll.obj
23!else
24LIBTARGET=$(WXLIB)
9fea1a5d
DW
25COMTEMPTGT1=$(WXDIR)\lib\wxcom1.lib
26COMTEMPTGT2=$(WXDIR)\lib\wxcom2.lib
e6ebb514 27COMTEMPTGT3=$(WXDIR)\lib\wxcom3.lib
9fea1a5d
DW
28GENTEMPTGT=$(WXDIR)\lib\wxgen.lib
29NONESTEMPTGT=$(WXDIR)\lib\wxnones.lib
11e59d47
DW
30OS2TEMPTGT1=$(WXDIR)\lib\wxos21.lib
31OS2TEMPTGT2=$(WXDIR)\lib\wxos22.lib
16a12a3d 32HTMLTEMPTGT=$(WXDIR)\lib\wxhtml.lib
0e320a79
DW
33DUMMYOBJ=$D\dummy.obj
34!endif
35
36# Please set these according to the settings in setup.h, so we can include
37# the appropriate libraries in wx.lib
38
39# This one overrides the others, to be consistent with the settings in wx_setup.h
40MINIMAL_WXWINDOWS_SETUP=0
41
42PERIPH_LIBS=
43PERIPH_TARGET=
44PERIPH_CLEAN_TARGET=
45
46# These are absolute paths, so that the compiler
47# generates correct __FILE__ symbols for debugging.
48# Otherwise you don't be able to double-click on a memory
49# error to load that file.
50GENDIR=$(WXDIR)\src\generic
51COMMDIR=$(WXDIR)\src\common
52OS2DIR=$(WXDIR)\src\os2
53HTMLDIR = $(WXDIR)\src\html
54
50c375d3
DW
55!if [md $(COMMDIR)\$D]
56!endif
57
58!if [md $(OS2DIR)\$D]
59!endif
60
61!if [md $(GENDIR)\$D]
62!endif
63
64!if [md $(HTMLDIR)\$D]
65!endif
66
0e320a79
DW
67{..\generic}.cpp{..\generic\$D}.obj:
68 @echo $<
69 icc @<<
70$(CPPFLAGS) /Fo$@ /Tp $<
71<<
72
73{..\common}.cpp{..\common\$D}.obj:
74 @echo $<
75 icc @<<
76$(CPPFLAGS) /Fo$@ /Tp $<
77<<
78
79{..\os2}.cpp{..\os2\$D}.obj:
913df6f2 80 @echo $<
0e320a79
DW
81 icc @<<
82$(CPPFLAGS) /Fo$@ /Tp $<
83<<
84
fb9010ed
DW
85{..\os2}.c{..\os2\$D}.obj:
86 @echo $<
87 icc @<<
88$(CPPFLAGS) /Fo$@ /Tp $<
89<<
90
0e320a79 91{..\html}.cpp{..\html\$D}.obj:
913df6f2 92 @echo $<
0e320a79
DW
93 icc @<<
94$(CPPFLAGS) /Fo$@ /Tp $<
95<<
96
97GENERICOBJS= \
e6ebb514 98 ..\generic\$D\busyinfo.obj \
27e2ed81 99 ..\generic\$D\calctrl.obj \
0616b838 100 ..\generic\$D\caret.obj \
0e320a79 101 ..\generic\$D\choicdgg.obj \
e6ebb514
DW
102 ..\generic\$D\colrdlgg.obj \
103 ..\generic\$D\dcpsg.obj \
426d5745
DW
104 ..\generic\$D\dragimgg.obj \
105 ..\generic\$D\fontdlgg.obj \
e6ebb514 106 ..\generic\$D\grid.obj \
426d5745 107 ..\generic\$D\gridsel.obj \
e6ebb514
DW
108 ..\generic\$D\helpext.obj \
109 ..\generic\$D\helphtml.obj \
110 ..\generic\$D\helpwxht.obj \
111 ..\generic\$D\helpxlp.obj \
112 ..\generic\$D\imaglist.obj \
0e320a79 113 ..\generic\$D\laywin.obj \
e6ebb514
DW
114 ..\generic\$D\listctrl.obj \
115 ..\generic\$D\logg.obj \
116 ..\generic\$D\numdlgg.obj \
0e320a79 117 ..\generic\$D\panelg.obj \
1cd04aa2 118 ..\generic\$D\plot.obj \
e6ebb514
DW
119 ..\generic\$D\printps.obj \
120 ..\generic\$D\prntdlgg.obj \
0e320a79
DW
121 ..\generic\$D\progdlgg.obj \
122 ..\generic\$D\prop.obj \
123 ..\generic\$D\propform.obj \
124 ..\generic\$D\proplist.obj \
125 ..\generic\$D\sashwin.obj \
126 ..\generic\$D\scrolwin.obj \
127 ..\generic\$D\splitter.obj \
128 ..\generic\$D\statusbr.obj \
129 ..\generic\$D\tabg.obj \
426d5745 130 ..\generic\$D\tbarsmpl.obj \
0e320a79 131 ..\generic\$D\textdlgg.obj \
16a12a3d 132 ..\generic\$D\tipdlg.obj \
760ac9ab 133 ..\generic\$D\treectlg.obj \
426d5745
DW
134 ..\generic\$D\treelay.obj \
135 ..\generic\$D\wizard.obj
0e320a79 136
004fd0c8 137# ..\generic\$D\gridg.obj \
0e320a79
DW
138# ..\generic\$D\notebook.obj \
139
9fea1a5d 140GENLIBOBJS= \
e6ebb514 141 busyinfo.obj \
27e2ed81 142 calctrl.obj \
0616b838 143 caret.obj \
9fea1a5d 144 choicdgg.obj \
e6ebb514
DW
145 colrdlgg.obj \
146 dcpsg.obj \
426d5745
DW
147 dragimgg.obj \
148 fontdlgg.obj \
e6ebb514 149 grid.obj \
426d5745 150 gridsel.obj \
e6ebb514
DW
151 helpext.obj \
152 helphtml.obj \
153 helpwxht.obj \
154 helpxlp.obj \
155 imaglist.obj \
9fea1a5d 156 laywin.obj \
e6ebb514
DW
157 listctrl.obj \
158 logg.obj \
159 numdlgg.obj \
9fea1a5d 160 panelg.obj \
1cd04aa2 161 plot.obj \
e6ebb514
DW
162 printps.obj \
163 prntdlgg.obj \
9fea1a5d
DW
164 progdlgg.obj \
165 prop.obj \
166 propform.obj \
167 proplist.obj \
168 sashwin.obj \
169 scrolwin.obj \
170 splitter.obj \
171 statusbr.obj \
172 tabg.obj \
426d5745 173 tbarsmpl.obj \
9fea1a5d 174 textdlgg.obj \
16a12a3d 175 tipdlg.obj \
760ac9ab 176 treectlg.obj \
426d5745
DW
177 treelay.obj \
178 wizard.obj
9fea1a5d 179
1408104d 180# These are generic things that don't need to be compiled on PM,
0e320a79
DW
181# but sometimes it's useful to do so for testing purposes.
182NONESSENTIALOBJS= \
426d5745 183 ..\generic\$D\msgdlgg.obj
0e320a79
DW
184
185COMMONOBJS = \
1be7f92a
DW
186 ..\common\$D\appcmn.obj \
187 ..\common\$D\choiccmn.obj \
dcd307ee 188 ..\common\$D\clipcmn.obj \
426d5745 189 ..\common\$D\cmdline.obj \
0e320a79
DW
190 ..\common\$D\cmndata.obj \
191 ..\common\$D\config.obj \
1be7f92a 192 ..\common\$D\ctrlcmn.obj \
dcd307ee 193 ..\common\$D\ctrlsub.obj \
610a6ee9 194 ..\common\$D\datetime.obj \
2e1a688e 195 ..\common\$D\datstrm.obj \
426d5745
DW
196!if "$(WXMAKINGDLL)" != "1"
197# don't have an ODBC database
0e320a79
DW
198 ..\common\$D\db.obj \
199 ..\common\$D\dbtable.obj \
426d5745 200!endif
2e1a688e 201 ..\common\$D\dcbase.obj \
1be7f92a 202 ..\common\$D\dlgcmn.obj \
426d5745 203 ..\common\$D\dndcmn.obj \
2e1a688e 204 ..\common\$D\dobjcmn.obj \
1be7f92a 205 ..\common\$D\docmdi.obj \
0e320a79 206 ..\common\$D\docview.obj \
0e320a79
DW
207 ..\common\$D\dynarray.obj \
208 ..\common\$D\dynlib.obj \
aa2097dd 209 ..\common\$D\encconv.obj \
0e320a79 210 ..\common\$D\event.obj \
1be7f92a
DW
211 ..\common\$D\extended.obj \
212 ..\common\$D\ffile.obj \
0e320a79 213 ..\common\$D\file.obj \
0e320a79 214 ..\common\$D\fileconf.obj \
1be7f92a
DW
215 ..\common\$D\filefn.obj \
216 ..\common\$D\filesys.obj \
217 ..\common\$D\fontcmn.obj \
aa2097dd 218 ..\common\$D\fontmap.obj \
0e320a79 219 ..\common\$D\framecmn.obj \
1be7f92a 220 ..\common\$D\fs_inet.obj \
426d5745 221 ..\common\$D\fs_mem.obj \
1be7f92a 222 ..\common\$D\fs_zip.obj \
0e320a79
DW
223 ..\common\$D\ftp.obj \
224 ..\common\$D\gdicmn.obj \
426d5745 225 ..\common\$D\geometry.obj \
1be7f92a
DW
226 ..\common\$D\gifdecod.obj \
227 ..\common\$D\hash.obj \
228 ..\common\$D\helpbase.obj \
229 ..\common\$D\http.obj \
230 ..\common\$D\imagall.obj \
0e320a79 231 ..\common\$D\imagbmp.obj \
1be7f92a
DW
232 ..\common\$D\image.obj \
233 ..\common\$D\imaggif.obj \
0e320a79 234 ..\common\$D\imagjpeg.obj \
1be7f92a 235 ..\common\$D\imagpcx.obj \
0e320a79 236 ..\common\$D\imagpng.obj \
1be7f92a 237 ..\common\$D\imagpnm.obj \
426d5745 238 ..\common\$D\imagtiff.obj \
0e320a79
DW
239 ..\common\$D\intl.obj \
240 ..\common\$D\ipcbase.obj \
0e320a79 241 ..\common\$D\layout.obj \
dcd307ee 242 ..\common\$D\lboxcmn.obj \
1be7f92a 243 ..\common\$D\list.obj \
0e320a79 244 ..\common\$D\log.obj \
1be7f92a
DW
245 ..\common\$D\longlong.obj \
246 ..\common\$D\matrix.obj \
0e320a79 247 ..\common\$D\memory.obj \
476607a7 248 ..\common\$D\menucmn.obj \
1cd04aa2 249 ..\common\$D\mimecmn.obj \
0e320a79 250 ..\common\$D\module.obj \
1be7f92a 251 ..\common\$D\mstream.obj \
0e320a79 252 ..\common\$D\object.obj \
1be7f92a 253 ..\common\$D\objstrm.obj \
426d5745
DW
254!if "$(WXMAKINGDLL)" != "1"
255# don't have an ODBC database
256 ..\common\$D\odbc.obj \
257!endif
1be7f92a 258 ..\common\$D\paper.obj \
0e320a79 259 ..\common\$D\prntbase.obj \
1be7f92a
DW
260 ..\common\$D\process.obj \
261 ..\common\$D\protocol.obj \
1a2bf4eb 262 ..\common\$D\quantize.obj \
0e320a79 263 ..\common\$D\resource.obj \
1be7f92a
DW
264 ..\common\$D\sckaddr.obj \
265 ..\common\$D\sckfile.obj \
266 ..\common\$D\sckipc.obj \
267 ..\common\$D\sckstrm.obj \
268 ..\common\$D\serbase.obj \
269 ..\common\$D\sizer.obj \
270 ..\common\$D\socket.obj \
271 ..\common\$D\strconv.obj \
272 ..\common\$D\stream.obj \
273 ..\common\$D\string.obj \
0e320a79 274 ..\common\$D\tbarbase.obj \
1be7f92a
DW
275 ..\common\$D\textcmn.obj \
276 ..\common\$D\textfile.obj \
0e320a79 277 ..\common\$D\timercmn.obj \
1be7f92a 278 ..\common\$D\tokenzr.obj \
1a2bf4eb 279 ..\common\$D\treebase.obj \
1be7f92a
DW
280 ..\common\$D\txtstrm.obj \
281 ..\common\$D\unzip.obj \
282 ..\common\$D\url.obj \
0e320a79 283 ..\common\$D\utilscmn.obj \
0e320a79 284 ..\common\$D\valgen.obj \
1be7f92a 285 ..\common\$D\validate.obj \
0e320a79 286 ..\common\$D\valtext.obj \
0e320a79 287 ..\common\$D\variant.obj \
1be7f92a 288 ..\common\$D\wfstream.obj \
0e320a79 289 ..\common\$D\wincmn.obj \
0e320a79 290 ..\common\$D\wxchar.obj \
1be7f92a
DW
291 ..\common\$D\wxexpr.obj \
292 ..\common\$D\y_tab.obj \
293 ..\common\$D\zipstrm.obj \
294 ..\common\$D\zstream.obj
0e320a79 295
9fea1a5d 296COMLIBOBJS1 = \
1be7f92a
DW
297 appcmn.obj \
298 choiccmn.obj \
dcd307ee 299 clipcmn.obj \
426d5745 300 cmdline.obj \
9fea1a5d
DW
301 cmndata.obj \
302 config.obj \
1be7f92a 303 ctrlcmn.obj \
dcd307ee 304 ctrlsub.obj \
610a6ee9 305 datetime.obj \
2e1a688e 306 datstrm.obj \
9fea1a5d
DW
307 db.obj \
308 dbtable.obj \
2e1a688e 309 dcbase.obj \
426d5745 310 dndcmn.obj \
1be7f92a 311 dlgcmn.obj \
2e1a688e 312 dobjcmn.obj \
1be7f92a 313 docmdi.obj \
9fea1a5d 314 docview.obj \
9fea1a5d
DW
315 dynarray.obj \
316 dynlib.obj \
aa2097dd 317 encconv.obj \
9fea1a5d 318 event.obj \
1be7f92a
DW
319 extended.obj \
320 ffile.obj \
9fea1a5d 321 file.obj \
9fea1a5d 322 fileconf.obj \
1be7f92a
DW
323 filefn.obj \
324 filesys.obj \
325 fontcmn.obj \
aa2097dd 326 fontmap.obj \
9fea1a5d 327 framecmn.obj \
1be7f92a 328 fs_inet.obj \
426d5745 329 fs_mem.obj \
1be7f92a 330 fs_zip.obj \
9fea1a5d
DW
331 ftp.obj \
332 gdicmn.obj \
426d5745 333 geometry.obj \
1be7f92a
DW
334 gifdecod.obj \
335 hash.obj \
336 helpbase.obj \
337 http.obj \
338 imagall.obj \
9fea1a5d 339 imagbmp.obj \
426d5745
DW
340 image.obj
341
342COMLIBOBJS2 = \
1be7f92a 343 imaggif.obj \
9fea1a5d 344 imagjpeg.obj \
1be7f92a 345 imagpcx.obj \
426d5745 346 imagpng.obj \
aa2097dd 347 imagpnm.obj \
426d5745 348 imagtiff.obj \
aa2097dd 349 intl.obj \
9fea1a5d 350 ipcbase.obj \
2e1a688e 351 layout.obj \
dcd307ee 352 lboxcmn.obj \
2e1a688e 353 list.obj \
e6ebb514 354 log.obj \
1be7f92a
DW
355 longlong.obj \
356 matrix.obj \
9fea1a5d 357 memory.obj \
476607a7 358 menucmn.obj \
1cd04aa2 359 mimecmn.obj \
9fea1a5d 360 module.obj \
1be7f92a 361 mstream.obj \
9fea1a5d 362 object.obj \
1be7f92a 363 objstrm.obj \
426d5745 364 odbc.obj \
1be7f92a 365 paper.obj \
9fea1a5d 366 prntbase.obj \
1be7f92a
DW
367 process.obj \
368 protocol.obj \
1a2bf4eb 369 quantize.obj \
9fea1a5d 370 resource.obj \
1be7f92a
DW
371 sckaddr.obj \
372 sckfile.obj \
373 sckipc.obj \
374 sckstrm.obj \
375 serbase.obj \
376 sizer.obj \
377 socket.obj \
378 strconv.obj \
379 stream.obj \
380 string.obj \
9fea1a5d 381 tbarbase.obj \
1be7f92a
DW
382 textcmn.obj \
383 textfile.obj \
1a2bf4eb 384 timercmn.obj
426d5745
DW
385
386COMLIBOBJS3 = \
1a2bf4eb
DW
387 tokenzr.obj \
388 treebase.obj \
1be7f92a
DW
389 txtstrm.obj \
390 unzip.obj \
391 url.obj \
9fea1a5d 392 utilscmn.obj \
9fea1a5d 393 valgen.obj \
426d5745 394 validate.obj \
aa2097dd
DW
395 valtext.obj \
396 variant.obj \
1be7f92a 397 wfstream.obj \
9fea1a5d 398 wincmn.obj \
9fea1a5d 399 wxchar.obj \
1be7f92a
DW
400 wxexpr.obj \
401 y_tab.obj \
402 zipstrm.obj \
2e1a688e 403 zstream.obj
0e320a79
DW
404
405OS2OBJS = \
77cd51c3
DW
406 ..\os2\$D\accel.obj \
407 ..\os2\$D\app.obj \
408 ..\os2\$D\bitmap.obj \
409 ..\os2\$D\bmpbuttn.obj \
410 ..\os2\$D\brush.obj \
411 ..\os2\$D\button.obj \
0616b838
DW
412 ..\os2\$D\checkbox.obj \
413 ..\os2\$D\checklst.obj \
414 ..\os2\$D\choice.obj \
415 ..\os2\$D\clipbrd.obj \
45fcbf3b
DW
416 ..\os2\$D\colour.obj \
417 ..\os2\$D\combobox.obj \
418 ..\os2\$D\control.obj \
4486e1be 419 ..\os2\$D\cursor.obj \
23e4b7d8 420 ..\os2\$D\data.obj \
6dddc146 421 ..\os2\$D\dataobj.obj \
c3d43472 422 ..\os2\$D\dc.obj \
ce44c50e
DW
423 ..\os2\$D\dcclient.obj \
424 ..\os2\$D\dcmemory.obj \
425 ..\os2\$D\dcprint.obj \
426 ..\os2\$D\dcscreen.obj \
c3d43472 427 ..\os2\$D\dialog.obj \
27476f73 428 ..\os2\$D\dirdlg.obj \
f0a56ab0
DW
429 ..\os2\$D\dnd.obj \
430 ..\os2\$D\filedlg.obj \
21802234
DW
431 ..\os2\$D\font.obj \
432 ..\os2\$D\fontdlg.obj \
aa2097dd
DW
433 ..\os2\$D\fontenum.obj \
434 ..\os2\$D\fontutil.obj \
c3d43472 435 ..\os2\$D\frame.obj \
0371a691
DW
436 ..\os2\$D\gauge.obj \
437 ..\os2\$D\gdiobj.obj \
97507cce 438 ..\os2\$D\gdiimage.obj \
fb9010ed
DW
439 ..\os2\$D\gsocket.obj \
440 ..\os2\$D\helpwin.obj \
441 ..\os2\$D\icon.obj \
fb9010ed
DW
442 ..\os2\$D\iniconf.obj \
443 ..\os2\$D\joystick.obj \
444 ..\os2\$D\listbox.obj \
75f11ad7
DW
445 ..\os2\$D\main.obj \
446 ..\os2\$D\mdi.obj \
447 ..\os2\$D\menu.obj \
448 ..\os2\$D\menuitem.obj \
449 ..\os2\$D\metafile.obj \
1cd04aa2 450 ..\os2\$D\mimetype.obj \
75f11ad7 451 ..\os2\$D\minifram.obj \
cdf1e714
DW
452 ..\os2\$D\msgdlg.obj \
453 ..\os2\$D\nativdlg.obj \
454 ..\os2\$D\notebook.obj \
455 ..\os2\$D\ownerdrw.obj \
456 ..\os2\$D\palette.obj \
457 ..\os2\$D\pen.obj \
fb46a9a6 458 ..\os2\$D\pnghand.obj \
cdf1e714
DW
459 ..\os2\$D\print.obj \
460 ..\os2\$D\radiobox.obj \
461 ..\os2\$D\radiobut.obj \
409c9842
DW
462 ..\os2\$D\region.obj \
463 ..\os2\$D\scrolbar.obj \
464 ..\os2\$D\settings.obj \
465 ..\os2\$D\slider.obj \
466 ..\os2\$D\spinbutt.obj \
467 ..\os2\$D\spinctrl.obj \
468 ..\os2\$D\statbmp.obj \
469 ..\os2\$D\statbox.obj \
e6ebb514 470 ..\os2\$D\statline.obj \
d90895ac 471 ..\os2\$D\stattext.obj \
d90895ac
DW
472 ..\os2\$D\tabctrl.obj \
473 ..\os2\$D\taskbar.obj \
474 ..\os2\$D\textctrl.obj \
475 ..\os2\$D\thread.obj \
476 ..\os2\$D\timer.obj \
477 ..\os2\$D\toolbar.obj \
478 ..\os2\$D\tooltip.obj \
d90895ac
DW
479 ..\os2\$D\utils.obj \
480 ..\os2\$D\utilsexc.obj \
481 ..\os2\$D\wave.obj \
77cd51c3
DW
482 ..\os2\$D\window.obj
483
11e59d47 484OS2LIBOBJS1 = \
77cd51c3
DW
485 accel.obj \
486 app.obj \
487 bitmap.obj \
488 bmpbuttn.obj \
489 brush.obj \
490 button.obj \
0616b838
DW
491 checkbox.obj \
492 checklst.obj \
493 choice.obj \
494 clipbrd.obj \
45fcbf3b
DW
495 colour.obj \
496 combobox.obj \
497 control.obj \
4486e1be 498 cursor.obj \
23e4b7d8 499 data.obj \
6dddc146 500 dataobj.obj \
77cd51c3 501 dc.obj \
ce44c50e
DW
502 dcclient.obj \
503 dcmemory.obj \
504 dcprint.obj \
505 dcscreen.obj \
77cd51c3 506 dialog.obj \
27476f73 507 dirdlg.obj \
f0a56ab0
DW
508 dnd.obj \
509 filedlg.obj \
21802234
DW
510 font.obj \
511 fontdlg.obj \
aa2097dd
DW
512 fontenum.obj \
513 fontutil.obj \
77cd51c3 514 frame.obj \
0371a691 515 gauge.obj \
97507cce 516 gdiimage.obj \
0371a691 517 gdiobj.obj \
fb9010ed
DW
518 gsocket.obj \
519 helpwin.obj \
520 icon.obj \
fb9010ed
DW
521 iniconf.obj \
522 joystick.obj \
523 listbox.obj \
75f11ad7
DW
524 main.obj \
525 mdi.obj \
526 menu.obj \
527 menuitem.obj \
528 metafile.obj \
1cd04aa2 529 mimetype.obj
11e59d47
DW
530
531OS2LIBOBJS2 = \
1cd04aa2 532 minifram.obj \
aa2097dd
DW
533 msgdlg.obj \
534 nativdlg.obj \
97507cce 535 notebook.obj \
cdf1e714
DW
536 ownerdrw.obj \
537 palette.obj \
538 pen.obj \
fb46a9a6 539 pnghand.obj \
cdf1e714
DW
540 print.obj \
541 radiobox.obj \
542 radiobut.obj \
409c9842
DW
543 region.obj \
544 scrolbar.obj \
545 settings.obj \
546 slider.obj \
547 spinbutt.obj \
548 spinctrl.obj \
549 statbmp.obj \
550 statbox.obj \
d90895ac 551 stattext.obj \
e6ebb514 552 statline.obj \
d90895ac
DW
553 tabctrl.obj \
554 taskbar.obj \
555 textctrl.obj \
556 thread.obj \
557 timer.obj \
16a12a3d 558 toolbar.obj \
d90895ac 559 tooltip.obj \
d90895ac
DW
560 utils.obj \
561 utilsexc.obj \
562 wave.obj \
77cd51c3 563 window.obj
0e320a79
DW
564
565HTMLOBJS = \
f38374d0 566 ..\html\$D\helpctrl.obj \
16a12a3d
DW
567 ..\html\$D\helpdata.obj \
568 ..\html\$D\helpfrm.obj \
0e320a79 569 ..\html\$D\htmlcell.obj \
16a12a3d
DW
570 ..\html\$D\htmlfilt.obj \
571 ..\html\$D\htmlpars.obj \
0e320a79
DW
572 ..\html\$D\htmltag.obj \
573 ..\html\$D\htmlwin.obj \
16a12a3d 574 ..\html\$D\htmprint.obj \
426d5745 575 ..\html\$D\m_dflist.obj \
16a12a3d
DW
576 ..\html\$D\m_fonts.obj \
577 ..\html\$D\m_hline.obj \
578 ..\html\$D\m_image.obj \
579 ..\html\$D\m_layout.obj \
580 ..\html\$D\m_links.obj \
581 ..\html\$D\m_list.obj \
426d5745 582 ..\html\$D\m_meta.obj \
16a12a3d
DW
583 ..\html\$D\m_pre.obj \
584 ..\html\$D\m_tables.obj \
16a12a3d
DW
585 ..\html\$D\winpars.obj
586
587HTMLLIBOBJS = \
f38374d0 588 helpctrl.obj \
16a12a3d
DW
589 helpdata.obj \
590 helpfrm.obj \
591 htmlcell.obj \
592 htmlfilt.obj \
593 htmlpars.obj \
594 htmltag.obj \
595 htmlwin.obj \
596 htmprint.obj \
426d5745 597 m_dflist.obj \
16a12a3d
DW
598 m_fonts.obj \
599 m_hline.obj \
600 m_image.obj \
601 m_layout.obj \
602 m_links.obj \
603 m_list.obj \
426d5745 604 m_meta.obj \
16a12a3d
DW
605 m_pre.obj \
606 m_tables.obj \
16a12a3d 607 winpars.obj
0e320a79
DW
608
609# Add $(NONESSENTIALOBJS) if wanting generic dialogs, PostScript etc.
16a12a3d 610OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(HTMLOBJS) $(NONESSENTIALOBJS) $(OS2OBJS)
0e320a79
DW
611
612# Normal, static library
d8530167 613all: $(DUMMYOBJ) $(OBJECTS) $(PERIPH_TARGET) zlib png jpeg xpm tiff $(LIBTARGET)
0e320a79
DW
614
615dirs: $(OS2DIR)\$D $(COMMDIR)\$D $(GENDIR)\$D $(HTMLDIR)\$D
616
617
618test: $(OS2DIR)\$D\wave.obj
619test2: ..\common\Debug\config.obj
620
1cd04aa2
DW
621$D\dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
622 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummy.obj /Tp dummy.cpp
623
624$D\dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h $(WXDIR)\include\wx\os2\setup.h
426d5745 625 icc $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /Tp dummydll.cpp
1cd04aa2 626
9fea1a5d 627$(COMLIBOBJS1):
1be7f92a
DW
628 copy ..\common\$D\appcmn.obj
629 copy ..\common\$D\choiccmn.obj
dcd307ee 630 copy ..\common\$D\clipcmn.obj
426d5745 631 copy ..\common\$D\cmdline.obj
9fea1a5d
DW
632 copy ..\common\$D\cmndata.obj
633 copy ..\common\$D\config.obj
1be7f92a 634 copy ..\common\$D\ctrlcmn.obj
e6ebb514 635 copy ..\common\$D\ctrlsub.obj
610a6ee9 636 copy ..\common\$D\datetime.obj
2e1a688e 637 copy ..\common\$D\datstrm.obj
9fea1a5d
DW
638 copy ..\common\$D\db.obj
639 copy ..\common\$D\dbtable.obj
2e1a688e 640 copy ..\common\$D\dcbase.obj
1be7f92a 641 copy ..\common\$D\dlgcmn.obj
426d5745 642 copy ..\common\$D\dndcmn.obj
2e1a688e 643 copy ..\common\$D\dobjcmn.obj
1be7f92a 644 copy ..\common\$D\docmdi.obj
9fea1a5d 645 copy ..\common\$D\docview.obj
9fea1a5d
DW
646 copy ..\common\$D\dynarray.obj
647 copy ..\common\$D\dynlib.obj
aa2097dd 648 copy ..\common\$D\encconv.obj
9fea1a5d 649 copy ..\common\$D\event.obj
1be7f92a
DW
650 copy ..\common\$D\extended.obj
651 copy ..\common\$D\ffile.obj
9fea1a5d 652 copy ..\common\$D\file.obj
9fea1a5d 653 copy ..\common\$D\fileconf.obj
1be7f92a
DW
654 copy ..\common\$D\filefn.obj
655 copy ..\common\$D\filesys.obj
656 copy ..\common\$D\fontcmn.obj
aa2097dd 657 copy ..\common\$D\fontmap.obj
9fea1a5d 658 copy ..\common\$D\framecmn.obj
1be7f92a 659 copy ..\common\$D\fs_inet.obj
426d5745 660 copy ..\common\$D\fs_mem.obj
1be7f92a 661 copy ..\common\$D\fs_zip.obj
9fea1a5d
DW
662 copy ..\common\$D\ftp.obj
663 copy ..\common\$D\gdicmn.obj
426d5745 664 copy ..\common\$D\geometry.obj
1be7f92a
DW
665 copy ..\common\$D\gifdecod.obj
666 copy ..\common\$D\hash.obj
667 copy ..\common\$D\helpbase.obj
668 copy ..\common\$D\http.obj
669 copy ..\common\$D\imagall.obj
9fea1a5d 670 copy ..\common\$D\imagbmp.obj
1be7f92a 671 copy ..\common\$D\image.obj
426d5745
DW
672
673$(COMLIBOBJS2):
1be7f92a 674 copy ..\common\$D\imaggif.obj
9fea1a5d 675 copy ..\common\$D\imagjpeg.obj
1be7f92a 676 copy ..\common\$D\imagpcx.obj
9fea1a5d 677 copy ..\common\$D\imagpng.obj
aa2097dd 678 copy ..\common\$D\imagpnm.obj
426d5745 679 copy ..\common\$D\imagtiff.obj
aa2097dd 680 copy ..\common\$D\intl.obj
9fea1a5d 681 copy ..\common\$D\ipcbase.obj
9fea1a5d 682 copy ..\common\$D\layout.obj
dcd307ee 683 copy ..\common\$D\lboxcmn.obj
1be7f92a 684 copy ..\common\$D\list.obj
9fea1a5d 685 copy ..\common\$D\log.obj
e6ebb514
DW
686 copy ..\common\$D\longlong.obj
687 copy ..\common\$D\matrix.obj
688 copy ..\common\$D\memory.obj
476607a7 689 copy ..\common\$D\menucmn.obj
1cd04aa2 690 copy ..\common\$D\mimecmn.obj
e6ebb514
DW
691 copy ..\common\$D\module.obj
692 copy ..\common\$D\mstream.obj
693 copy ..\common\$D\object.obj
694 copy ..\common\$D\objstrm.obj
426d5745 695 copy ..\common\$D\odbc.obj
e6ebb514
DW
696 copy ..\common\$D\paper.obj
697 copy ..\common\$D\prntbase.obj
698 copy ..\common\$D\process.obj
699 copy ..\common\$D\protocol.obj
1a2bf4eb 700 copy ..\common\$D\quantize.obj
e6ebb514
DW
701 copy ..\common\$D\resource.obj
702 copy ..\common\$D\sckaddr.obj
703 copy ..\common\$D\sckfile.obj
704 copy ..\common\$D\sckipc.obj
705 copy ..\common\$D\sckstrm.obj
706 copy ..\common\$D\serbase.obj
707 copy ..\common\$D\sizer.obj
708 copy ..\common\$D\socket.obj
709 copy ..\common\$D\strconv.obj
710 copy ..\common\$D\stream.obj
711 copy ..\common\$D\string.obj
712 copy ..\common\$D\tbarbase.obj
e6ebb514
DW
713 copy ..\common\$D\textcmn.obj
714 copy ..\common\$D\textfile.obj
e6ebb514 715 copy ..\common\$D\timercmn.obj
426d5745
DW
716
717$(COMLIBOBJS3):
1a2bf4eb
DW
718 copy ..\common\$D\tokenzr.obj
719 copy ..\common\$D\treebase.obj
e6ebb514
DW
720 copy ..\common\$D\txtstrm.obj
721 copy ..\common\$D\unzip.obj
722 copy ..\common\$D\url.obj
723 copy ..\common\$D\utilscmn.obj
724 copy ..\common\$D\valgen.obj
725 copy ..\common\$D\validate.obj
aa2097dd
DW
726 copy ..\common\$D\valtext.obj
727 copy ..\common\$D\variant.obj
e6ebb514
DW
728 copy ..\common\$D\wfstream.obj
729 copy ..\common\$D\wincmn.obj
730 copy ..\common\$D\wxchar.obj
731 copy ..\common\$D\wxexpr.obj
732 copy ..\common\$D\y_tab.obj
733 copy ..\common\$D\zipstrm.obj
1be7f92a 734 copy ..\common\$D\zstream.obj
9fea1a5d
DW
735
736$(GENLIBOBJS):
e6ebb514 737 copy ..\generic\$D\busyinfo.obj
27e2ed81 738 copy ..\generic\$D\calctrl.obj
0616b838 739 copy ..\generic\$D\caret.obj
9fea1a5d 740 copy ..\generic\$D\choicdgg.obj
e6ebb514 741 copy ..\generic\$D\colrdlgg.obj
426d5745 742 copy ..\generic\$D\dragimgg.obj
e6ebb514 743 copy ..\generic\$D\dcpsg.obj
426d5745 744 copy ..\generic\$D\fontdlgg.obj
e6ebb514 745 copy ..\generic\$D\grid.obj
426d5745 746 copy ..\generic\$D\gridsel.obj
e6ebb514
DW
747 copy ..\generic\$D\helpext.obj
748 copy ..\generic\$D\helphtml.obj
749 copy ..\generic\$D\helpwxht.obj
750 copy ..\generic\$D\helpxlp.obj
751 copy ..\generic\$D\imaglist.obj
9fea1a5d 752 copy ..\generic\$D\laywin.obj
e6ebb514
DW
753 copy ..\generic\$D\listctrl.obj
754 copy ..\generic\$D\logg.obj
755 copy ..\generic\$D\numdlgg.obj
9fea1a5d 756 copy ..\generic\$D\panelg.obj
1cd04aa2 757 copy ..\generic\$D\plot.obj
e6ebb514
DW
758 copy ..\generic\$D\printps.obj
759 copy ..\generic\$D\prntdlgg.obj
9fea1a5d
DW
760 copy ..\generic\$D\progdlgg.obj
761 copy ..\generic\$D\prop.obj
762 copy ..\generic\$D\propform.obj
763 copy ..\generic\$D\proplist.obj
764 copy ..\generic\$D\sashwin.obj
765 copy ..\generic\$D\scrolwin.obj
766 copy ..\generic\$D\splitter.obj
767 copy ..\generic\$D\statusbr.obj
768 copy ..\generic\$D\tabg.obj
426d5745 769 copy ..\generic\$D\tbarsmpl.obj
9fea1a5d
DW
770 copy ..\generic\$D\textdlgg.obj
771 copy ..\generic\$D\tipdlg.obj
760ac9ab 772 copy ..\generic\$D\treectlg.obj
426d5745
DW
773 copy ..\generic\$D\treelay.obj
774 copy ..\generic\$D\wizard.obj
16a12a3d
DW
775
776$(HTMLLIBOBJS):
f38374d0 777 copy ..\html\$D\helpctrl.obj
16a12a3d
DW
778 copy ..\html\$D\helpdata.obj
779 copy ..\html\$D\helpfrm.obj
780 copy ..\html\$D\htmlcell.obj
781 copy ..\html\$D\htmlfilt.obj
782 copy ..\html\$D\htmlpars.obj
783 copy ..\html\$D\htmltag.obj
784 copy ..\html\$D\htmlwin.obj
785 copy ..\html\$D\htmprint.obj
426d5745 786 copy ..\html\$D\m_dflist.obj
16a12a3d
DW
787 copy ..\html\$D\m_fonts.obj
788 copy ..\html\$D\m_hline.obj
789 copy ..\html\$D\m_image.obj
790 copy ..\html\$D\m_layout.obj
791 copy ..\html\$D\m_links.obj
792 copy ..\html\$D\m_list.obj
426d5745 793 copy ..\html\$D\m_meta.obj
16a12a3d
DW
794 copy ..\html\$D\m_pre.obj
795 copy ..\html\$D\m_tables.obj
16a12a3d 796 copy ..\html\$D\winpars.obj
9fea1a5d 797
11e59d47 798$(OS2LIBOBJS1):
77cd51c3
DW
799 copy ..\os2\$D\accel.obj
800 copy ..\os2\$D\app.obj
801 copy ..\os2\$D\bitmap.obj
802 copy ..\os2\$D\bmpbuttn.obj
803 copy ..\os2\$D\brush.obj
804 copy ..\os2\$D\button.obj
0616b838
DW
805 copy ..\os2\$D\checkbox.obj
806 copy ..\os2\$D\checklst.obj
807 copy ..\os2\$D\choice.obj
808 copy ..\os2\$D\clipbrd.obj
45fcbf3b
DW
809 copy ..\os2\$D\colour.obj
810 copy ..\os2\$D\combobox.obj
811 copy ..\os2\$D\control.obj
4486e1be 812 copy ..\os2\$D\cursor.obj
23e4b7d8 813 copy ..\os2\$D\data.obj
e6ebb514 814 copy ..\os2\$D\dataobj.obj
77cd51c3 815 copy ..\os2\$D\dc.obj
ce44c50e
DW
816 copy ..\os2\$D\dcclient.obj
817 copy ..\os2\$D\dcmemory.obj
818 copy ..\os2\$D\dcprint.obj
819 copy ..\os2\$D\dcscreen.obj
77cd51c3 820 copy ..\os2\$D\dialog.obj
27476f73 821 copy ..\os2\$D\dirdlg.obj
f0a56ab0
DW
822 copy ..\os2\$D\dnd.obj
823 copy ..\os2\$D\filedlg.obj
21802234
DW
824 copy ..\os2\$D\font.obj
825 copy ..\os2\$D\fontdlg.obj
aa2097dd
DW
826 copy ..\os2\$D\fontenum.obj
827 copy ..\os2\$D\fontutil.obj
77cd51c3 828 copy ..\os2\$D\frame.obj
0371a691 829 copy ..\os2\$D\gauge.obj
97507cce 830 copy ..\os2\$D\gdiimage.obj
0371a691 831 copy ..\os2\$D\gdiobj.obj
fb9010ed
DW
832 copy ..\os2\$D\gsocket.obj
833 copy ..\os2\$D\helpwin.obj
834 copy ..\os2\$D\icon.obj
fb9010ed
DW
835 copy ..\os2\$D\iniconf.obj
836 copy ..\os2\$D\joystick.obj
837 copy ..\os2\$D\listbox.obj
75f11ad7
DW
838 copy ..\os2\$D\main.obj
839 copy ..\os2\$D\mdi.obj
840 copy ..\os2\$D\menu.obj
841 copy ..\os2\$D\menuitem.obj
842 copy ..\os2\$D\metafile.obj
1cd04aa2 843 copy ..\os2\$D\mimetype.obj
004fd0c8
DW
844
845$(OS2LIBOBJS2):
1cd04aa2 846 copy ..\os2\$D\minifram.obj
aa2097dd
DW
847 copy ..\os2\$D\msgdlg.obj
848 copy ..\os2\$D\nativdlg.obj
97507cce 849 copy ..\os2\$D\notebook.obj
cdf1e714 850 copy ..\os2\$D\ownerdrw.obj
11e59d47 851 copy ..\os2\$D\palette.obj
cdf1e714 852 copy ..\os2\$D\pen.obj
fb46a9a6 853 copy ..\os2\$D\pnghand.obj
cdf1e714
DW
854 copy ..\os2\$D\print.obj
855 copy ..\os2\$D\radiobox.obj
856 copy ..\os2\$D\radiobut.obj
409c9842
DW
857 copy ..\os2\$D\region.obj
858 copy ..\os2\$D\scrolbar.obj
859 copy ..\os2\$D\settings.obj
860 copy ..\os2\$D\slider.obj
861 copy ..\os2\$D\spinbutt.obj
862 copy ..\os2\$D\spinctrl.obj
863 copy ..\os2\$D\statbmp.obj
864 copy ..\os2\$D\statbox.obj
e6ebb514 865 copy ..\os2\$D\statline.obj
d90895ac 866 copy ..\os2\$D\stattext.obj
d90895ac
DW
867 copy ..\os2\$D\tabctrl.obj
868 copy ..\os2\$D\taskbar.obj
869 copy ..\os2\$D\textctrl.obj
870 copy ..\os2\$D\thread.obj
871 copy ..\os2\$D\timer.obj
16a12a3d 872 copy ..\os2\$D\toolbar.obj
d90895ac 873 copy ..\os2\$D\tooltip.obj
d90895ac
DW
874 copy ..\os2\$D\utils.obj
875 copy ..\os2\$D\utilsexc.obj
876 copy ..\os2\$D\wave.obj
77cd51c3
DW
877 copy ..\os2\$D\window.obj
878
0e320a79
DW
879# wxWindows library as DLL
880dll:
881 nmake -f makefile.va all FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
882
883cleandll:
884 nmake -f makefile.va clean FINAL=$(FINAL) DLL=1 WXMAKINGDLL=1 NEW_WXLIBNAME=$(NEW_WXLIBNAME)
885
886# wxWindows + app as DLL. Only affects main.cpp.
887dllapp:
888 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
889
890# wxWindows + app as DLL, for Netscape plugin - remove DllMain.
891dllnp:
892 nmake -f makefile.va all FINAL=$(FINAL) DLL=1
893
894# Use this to make dummy.obj and generate a PCH.
895# You might use the dll target, then the pch target, in order to
896# generate a DLL, then a PCH/dummy.obj for compiling your applications with.
897#
898# Explanation: Normally, when compiling a static version of wx.lib, your dummy.obj/PCH
899# are associated with wx.lib. When using a DLL version of wxWindows, however,
900# the DLL is compiled without a PCH, so you only need it for compiling the app.
901# In fact headers are compiled differently depending on whether a DLL is being made
902# or an app is calling the DLL exported functionality (WXDLLEXPORT is different
903# in each case) so you couldn't use the same PCH.
904pch:
905 nmake -f makefile.va pch1 WXUSINGDLL=1 FINAL=$(FINAL) NEW_WXLIBNAME=$(NEW_WXLIBNAME)
906
907pch1: dirs $(DUMMYOBJ)
908 echo $(DUMMYOBJ)
909
910!if "$(WXMAKINGDLL)" != "1"
911
912### Static library
913
9fea1a5d
DW
914$(WXDIR)\lib\wxcom1.lib: $(COMLIBOBJS1)
915 touch $(WXDIR)\lib\wxcom1.lib
916 del $(WXDIR)\lib\wxcom1.lib
917 ilib $(LIBFLAGS) $@ @<<
918 $**;
919<<
920
921$(WXDIR)\lib\wxcom2.lib: $(COMLIBOBJS2)
922 touch $(WXDIR)\lib\wxcom2.lib
923 del $(WXDIR)\lib\wxcom2.lib
924 ilib $(LIBFLAGS) $@ @<<
925 $**;
926<<
927
e6ebb514
DW
928$(WXDIR)\lib\wxcom3.lib: $(COMLIBOBJS3)
929 touch $(WXDIR)\lib\wxcom3.lib
930 del $(WXDIR)\lib\wxcom3.lib
931 ilib $(LIBFLAGS) $@ @<<
932 $**;
933<<
934
9fea1a5d
DW
935$(WXDIR)\lib\wxgen.lib: $(GENLIBOBJS)
936 touch $(WXDIR)\lib\wxgen.lib
937 del $(WXDIR)\lib\wxgen.lib
938 ilib $(LIBFLAGS) $@ @<<
939 $**;
940<<
9fea1a5d 941
16a12a3d
DW
942$(WXDIR)\lib\wxhtml.lib: $(HTMLLIBOBJS)
943 touch $(WXDIR)\lib\wxhtml.lib
944 del $(WXDIR)\lib\wxhtml.lib
945 ilib $(LIBFLAGS) $@ @<<
946 $**;
947<<
948
9fea1a5d
DW
949$(WXDIR)\lib\wxnones.lib: $(NONESSENTIALOBJS)
950 touch $(WXDIR)\lib\wxnones.lib
951 del $(WXDIR)\lib\wxnones.lib
952 ilib $(LIBFLAGS) $@ @<<
953 $**;
954<<
955
11e59d47
DW
956$(WXDIR)\lib\wxos21.lib: $(OS2LIBOBJS1)
957 touch $(WXDIR)\lib\wxos21.lib
958 del $(WXDIR)\lib\wxos21.lib
959 ilib $(LIBFLAGS) $@ @<<
960 $**;
961<<
962
963$(WXDIR)\lib\wxos22.lib: $(OS2LIBOBJS2)
964 touch $(WXDIR)\lib\wxos22.lib
965 del $(WXDIR)\lib\wxos22.lib
9fea1a5d
DW
966 ilib $(LIBFLAGS) $@ @<<
967 $**;
968<<
d8530167 969 del *.obj
9fea1a5d
DW
970
971$(WXDIR)\lib\wx.lib: \
972 $D\dummy.obj \
973 $(COMTEMPTGT1) \
974 $(COMTEMPTGT2) \
e6ebb514 975 $(COMTEMPTGT3) \
9fea1a5d 976 $(GENTEMPTGT) \
16a12a3d 977 $(HTMLTEMPTGT) \
9fea1a5d 978 $(NONESTEMPTGT) \
11e59d47
DW
979 $(OS2TEMPTGT1) \
980 $(OS2TEMPTGT2) \
9fea1a5d 981 $(PERIPH_LIBS)
de44a9f0 982 touch $(LIBTARGET)
0e320a79 983 del $(LIBTARGET)
9fea1a5d
DW
984 ilib $(LIBFLAGS) $@ @<<
985 $**;
0e320a79 986<<
d8530167
DW
987 del $(COMTEMPTGT1)
988 del $(COMTEMPTGT2)
989 del $(COMTEMPTGT3)
990 del $(GENTEMPTGT)
991 del $(HTMLTEMPTGT)
992 del $(NONESTEMPTGT)
993 del $(OS2TEMPTGT1)
994 del $(OS2TEMPTGT2)
0e320a79
DW
995
996!else
997
0e320a79 998# Update the dynamic link library
f6bcfd97 999$(WXDIR)\lib\wx22.dll: $(OBJECTS)
0e320a79
DW
1000 icc @<<
1001 /B" $(LINKFLAGS)" /Fe$@
1002 $(LIBS)
426d5745 1003 $(DUMMYOBJ)
0e320a79 1004 $(OBJECTS)
f6bcfd97 1005 $(WXDIR)\lib\wx22.def
0e320a79 1006<<
f6bcfd97 1007 implib $(WXDIR)\lib\wx22.lib $(WXDIR)\lib\wx22.def
0e320a79
DW
1008
1009!endif
1010
0e320a79
DW
1011# If taking wxWindows from CVS, setup.h doesn't exist yet.
1012$(WXDIR)\include\wx\os2\setup.h: $(WXDIR)\include\wx\os2\setup0.h
1013 copy "$(WXDIR)"\include\wx\os2\setup.h "$(WXDIR)"\include\wx\os2\setup.bak
1014 copy "$(WXDIR)"\include\wx\os2\setup0.h "$(WXDIR)"\include\wx\os2\setup.h
1015
1016..\common\$D\extended.obj: ..\common\extended.c
1017 icc @<<
1018$(CPPFLAGS2) /Fo$@ $(COMMDIR)\extended.c
1019<<
1020
1021..\common\$D\y_tab.obj: ..\common\y_tab.c ..\common\lex_yy.c
1022 icc @<<
1023$(CPPFLAGS2) /DUSE_DEFINE /DYY_USE_PROTOS /Fo$@ ..\common\y_tab.c
1024<<
1025
1026..\common\y_tab.c: ..\common\dosyacc.c
1027 copy "..\common"\dosyacc.c "..\common"\y_tab.c
1028
1029..\common\lex_yy.c: ..\common\doslex.c
1030 copy "..\common"\doslex.c "..\common"\lex_yy.c
1031
1032$(OBJECTS): $(WXDIR)/include/wx/setup.h
1033
1034..\common\$D\unzip.obj: ..\common\unzip.c
1035 icc @<<
1036$(CPPFLAGS2) /Fo$@ $(COMMDIR)\unzip.c
1037<<
1038
50c375d3
DW
1039png:
1040 cd $(WXDIR)\src\png
1041 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1042 cd $(WXDIR)\src\os2
1043
1044clean_png:
1045 cd $(WXDIR)\src\png
1046 nmake -f makefile.va clean
1047 cd $(WXDIR)\src\os2
1048
1049zlib:
1050 cd $(WXDIR)\src\zlib
1051 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1052 cd $(WXDIR)\src\os2
1053
1054clean_zlib:
1055 cd $(WXDIR)\src\zlib
1056 nmake -f makefile.va clean
1057 cd $(WXDIR)\src\os2
1058
1059jpeg:
1060 cd $(WXDIR)\src\jpeg
1061 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1062 cd $(WXDIR)\src\os2
1063
1064clean_jpeg:
1065 cd $(WXDIR)\src\jpeg
1066 nmake -f makefile.va clean
1067 cd $(WXDIR)\src\os2
1068
1069xpm:
1070 cd $(WXDIR)\src\xpm
1071 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1072 cd $(WXDIR)\src\os2
1073
1074clean_xpm:
1075 cd $(WXDIR)\src\xpm
1076 nmake -f makefile.va clean
1077 cd $(WXDIR)\src\os2
1078
ea51d98d
DW
1079tiff:
1080 cd $(WXDIR)\src\tiff
1081 nmake -f makefile.va FINAL=$(FINAL) DLL=$(DLL) WXMAKINGDLL=$(WXMAKINGDLL)
1082 cd $(WXDIR)\src\os2
1083
1084clean_tiff:
1085 cd $(WXDIR)\src\tiff
1086 nmake -f makefile.va clean
1087 cd $(WXDIR)\src\os2
1088
426d5745 1089clean: $(PERIPH_CLEAN_TARGET) clean_png clean_zlib clean_jpeg clean_xpm clean_tiff
50c375d3
DW
1090 erase /N $(GENDIR)\$D\*.obj
1091 erase /N $(COMMDIR)\$D\*.obj
319445fe 1092 erase /N $(HTMLDIR)\$D\*.obj
50c375d3 1093 erase /N $(OS2DIR)\$D\*.obj
319445fe
DW
1094 erase /N $(COMMDIR)\y_tab.c
1095 erase /N $(COMMDIR)\lex_yy.c
50c375d3 1096 rd $(D)
319445fe
DW
1097 rd ..\generic\$D
1098 rd ..\common\$D
1099 rd ..\html\$D
1100 rd ..\os2\$D
426d5745
DW
1101 del $(LIBTARGET)
1102!if "$(WXMAKINGDLL)" == "1"
f6bcfd97 1103 erase /N ..\..\lib\wx22.lib
426d5745 1104!endif
0e320a79
DW
1105
1106cleanall: clean
1107