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