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