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