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