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