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