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