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