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