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