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