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