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