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