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