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