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