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