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