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