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