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