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