]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # File: makefile.dos | |
3 | # Author: Julian Smart | |
4 | # Created: 1997 | |
5 | # Updated: | |
6 | # Copyright: (c) 1997, Julian Smart | |
7 | # | |
8 | # "%W% %G%" | |
9 | # | |
10 | # Makefile : Builds wxWindows library wx.lib for VC++ (16-bit) | |
11 | # Arguments: | |
12 | # | |
13 | # FINAL=1 argument to nmake to build version with no debugging info. | |
14 | # | |
15 | !include <..\makemsc.env> | |
16 | ||
17 | LIBTARGET=$(WXLIB) | |
18 | DUMMYOBJ=dummy.obj | |
19 | ||
20 | # Please set these according to the settings in wx_setup.h, so we can include | |
21 | # the appropriate libraries in wx.lib | |
22 | ||
23 | # This one overrides the others, to be consistent with the settings in wx_setup.h | |
24 | MINIMAL_WXWINDOWS_SETUP=0 | |
25 | ||
26 | USE_CTL3D=1 | |
27 | USE_XPM_IN_MSW=0 | |
28 | ||
29 | !if "$(MINIMAL_WXWINDOWS_SETUP)" == "1" | |
30 | USE_CTL3D=0 | |
31 | USE_IMAGE_LOADING_IN_MSW=0 | |
32 | USE_XPM_IN_MSW=0 | |
33 | USE_GNU_WXSTRING=0 | |
34 | !endif | |
35 | ||
36 | PERIPH_LIBS= | |
37 | PERIPH_TARGET= | |
38 | PERIPH_CLEAN_TARGET= | |
39 | ||
40 | # !if "$(USE_CTL3D)" == "1" | |
41 | # PERIPH_LIBS=d:\msdev\lib\ctl3d32.lib $(PERIPH_LIBS) | |
42 | # !endif | |
43 | ||
44 | !if "$(USE_XPM_IN_MSW)" == "1" | |
45 | PERIPH_LIBS=$(WXDIR)\contrib\wxxpm\xpm.lib $(PERIPH_LIBS) | |
46 | PERIPH_TARGET=xpm $(PERIPH_TARGET) | |
47 | PERIPH_CLEAN_TARGET=clean_xpm $(PERIPH_CLEAN_TARGET) | |
48 | !endif | |
49 | ||
50 | GENDIR=..\generic | |
51 | COMMDIR=..\common | |
52 | OLEDIR=.\ole | |
53 | MSWDIR=. | |
54 | ||
55 | DOCDIR = $(WXDIR)\docs | |
56 | ||
57 | GENERICOBJS= \ | |
58 | $(GENDIR)\choicdgg.obj \ | |
59 | $(GENDIR)\colrdlgg.obj \ | |
60 | $(GENDIR)\fontdlgg.obj \ | |
61 | $(GENDIR)\gridg.obj \ | |
62 | $(GENDIR)\helpxlp.obj \ | |
63 | $(GENDIR)\msgdlgg.obj \ | |
64 | $(GENDIR)\panelg.obj \ | |
65 | $(GENDIR)\printps.obj \ | |
66 | $(GENDIR)\prntdlgg.obj \ | |
67 | $(GENDIR)\scrolwin.obj \ | |
68 | $(GENDIR)\splitter.obj \ | |
69 | $(GENDIR)\statusbr.obj \ | |
70 | $(GENDIR)\tabg.obj \ | |
71 | $(GENDIR)\textdlgg.obj | |
72 | ||
73 | COMMONOBJS = \ | |
74 | $(COMMDIR)\config.obj \ | |
75 | $(COMMDIR)\cmndata.obj \ | |
76 | $(COMMDIR)\docview.obj \ | |
77 | $(COMMDIR)\docmdi.obj \ | |
78 | $(COMMDIR)\dynarray.obj \ | |
79 | $(COMMDIR)\event.obj \ | |
80 | $(COMMDIR)\file.obj \ | |
81 | $(COMMDIR)\filefn.obj \ | |
82 | $(COMMDIR)\framecmn.obj \ | |
83 | $(COMMDIR)\gdicmn.obj \ | |
84 | $(COMMDIR)\image.obj \ | |
85 | $(COMMDIR)\intl.obj \ | |
86 | $(COMMDIR)\helpbase.obj \ | |
87 | $(COMMDIR)\ipcbase.obj \ | |
88 | $(COMMDIR)\layout.obj \ | |
89 | $(COMMDIR)\log.obj \ | |
90 | $(COMMDIR)\memory.obj \ | |
91 | $(COMMDIR)\module.obj \ | |
92 | $(COMMDIR)\object.obj \ | |
93 | $(COMMDIR)\odbc.obj \ | |
94 | $(COMMDIR)\postscrp.obj \ | |
95 | $(COMMDIR)\process.obj \ | |
96 | $(COMMDIR)\prntbase.obj \ | |
97 | $(COMMDIR)\resource.obj \ | |
98 | $(COMMDIR)\tbarbase.obj \ | |
99 | $(COMMDIR)\tbarsmpl.obj \ | |
100 | $(COMMDIR)\textfile.obj \ | |
101 | $(COMMDIR)\timercmn.obj \ | |
102 | $(COMMDIR)\utilscmn.obj \ | |
103 | $(COMMDIR)\validate.obj \ | |
104 | $(COMMDIR)\valtext.obj \ | |
105 | $(COMMDIR)\date.obj \ | |
106 | $(COMMDIR)\wxexpr.obj \ | |
107 | $(COMMDIR)\hash.obj \ | |
108 | $(COMMDIR)\list.obj \ | |
109 | $(COMMDIR)\variant.obj \ | |
110 | $(COMMDIR)\string.obj \ | |
111 | $(COMMDIR)\time.obj \ | |
112 | $(COMMDIR)\y_tab.obj \ | |
113 | $(COMMDIR)\stream.obj \ | |
114 | $(COMMDIR)\wfstream.obj \ | |
115 | $(COMMDIR)\mstream.obj \ | |
116 | $(COMMDIR)\zstream.obj \ | |
117 | $(COMMDIR)\datstrm.obj \ | |
118 | $(COMMDIR)\extended.obj \ | |
119 | $(COMMDIR)\wincmn.obj | |
120 | ||
121 | # $(COMMDIR)\fileconf.obj # Doens't compile (nested classes) | |
122 | ||
123 | MSWOBJS = \ | |
124 | $(MSWDIR)\accel.obj \ | |
125 | $(MSWDIR)\app.obj \ | |
126 | $(MSWDIR)\bitmap.obj \ | |
127 | $(MSWDIR)\bmpbuttn.obj \ | |
128 | $(MSWDIR)\brush.obj \ | |
129 | $(MSWDIR)\button.obj \ | |
130 | $(MSWDIR)\checkbox.obj \ | |
131 | $(MSWDIR)\checklst.obj \ | |
132 | $(MSWDIR)\choice.obj \ | |
133 | $(MSWDIR)\clipbrd.obj \ | |
134 | $(MSWDIR)\colordlg.obj \ | |
135 | $(MSWDIR)\colour.obj \ | |
136 | $(MSWDIR)\combobox.obj \ | |
137 | $(MSWDIR)\control.obj \ | |
138 | $(MSWDIR)\curico.obj \ | |
139 | $(MSWDIR)\cursor.obj \ | |
140 | $(MSWDIR)\data.obj \ | |
141 | $(MSWDIR)\dc.obj \ | |
142 | $(MSWDIR)\dcmemory.obj \ | |
143 | $(MSWDIR)\dcclient.obj \ | |
144 | $(MSWDIR)\dcprint.obj \ | |
145 | $(MSWDIR)\dcscreen.obj \ | |
146 | $(MSWDIR)\dde.obj \ | |
147 | $(MSWDIR)\dialog.obj \ | |
148 | $(MSWDIR)\dib.obj \ | |
149 | $(MSWDIR)\dirdlg.obj \ | |
150 | $(MSWDIR)\filedlg.obj \ | |
151 | $(MSWDIR)\font.obj \ | |
152 | $(MSWDIR)\fontdlg.obj \ | |
153 | $(MSWDIR)\frame.obj \ | |
154 | $(MSWDIR)\gaugemsw.obj \ | |
155 | $(MSWDIR)\gdiobj.obj \ | |
156 | $(MSWDIR)\helpwin.obj \ | |
157 | $(MSWDIR)\icon.obj \ | |
158 | $(MSWDIR)\imaglist.obj \ | |
159 | $(MSWDIR)\joystick.obj \ | |
160 | $(MSWDIR)\listbox.obj \ | |
161 | $(MSWDIR)\listctrl.obj \ | |
162 | $(MSWDIR)\main.obj \ | |
163 | $(MSWDIR)\mdi.obj \ | |
164 | $(MSWDIR)\menu.obj\ | |
165 | $(MSWDIR)\menuitem.obj \ | |
166 | $(MSWDIR)\metafile.obj \ | |
167 | $(MSWDIR)\minifram.obj \ | |
168 | $(MSWDIR)\msgdlg.obj \ | |
169 | $(MSWDIR)\nativdlg.obj \ | |
170 | $(MSWDIR)\ownerdrw.obj \ | |
171 | $(MSWDIR)\palette.obj \ | |
172 | $(MSWDIR)\pen.obj \ | |
173 | $(MSWDIR)\penwin.obj \ | |
174 | $(MSWDIR)\printdlg.obj \ | |
175 | $(MSWDIR)\printwin.obj \ | |
176 | $(MSWDIR)\radiobox.obj \ | |
177 | $(MSWDIR)\radiobut.obj \ | |
178 | $(MSWDIR)\region.obj \ | |
179 | $(MSWDIR)\scrolbar.obj \ | |
180 | $(MSWDIR)\settings.obj \ | |
181 | $(MSWDIR)\slidrmsw.obj \ | |
182 | $(MSWDIR)\spinbutt.obj \ | |
183 | $(MSWDIR)\statbmp.obj \ | |
184 | $(MSWDIR)\statbox.obj \ | |
185 | $(MSWDIR)\stattext.obj \ | |
186 | $(MSWDIR)\tbarmsw.obj \ | |
187 | $(MSWDIR)\textctrl.obj \ | |
188 | $(MSWDIR)\timer.obj \ | |
189 | $(MSWDIR)\treectrl.obj \ | |
190 | $(MSWDIR)\utils.obj \ | |
191 | $(MSWDIR)\utilsexc.obj \ | |
192 | $(MSWDIR)\wave.obj \ | |
193 | $(MSWDIR)\window.obj \ | |
194 | $(OLEDIR)\droptgt.obj \ | |
195 | $(OLEDIR)\dropsrc.obj \ | |
196 | $(OLEDIR)\dataobj.obj \ | |
197 | $(OLEDIR)\oleutils.obj \ | |
198 | $(OLEDIR)\uuid.obj | |
199 | ||
200 | # $(MSWDIR)\registry.obj \ | |
201 | ||
202 | OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) | |
203 | ||
204 | # Normal, static library | |
205 | all: $(DUMMYOBJ) $(WXDIR)\lib\wx1.lib $(WXDIR)\lib\wx2.lib $(WXDIR)\lib\wx3.lib | |
206 | ||
207 | ||
208 | #$(WXDIR)\lib\wx.lib: dummy.obj $(OBJECTS) $(PERIPH_LIBS) | |
209 | # -erase $(LIBTARGET) | |
210 | # lib /PAGESIZE:128 @<< | |
211 | #$(LIBTARGET) | |
212 | #y | |
213 | #$(OBJECTS) $(PERIPH_LIBS) | |
214 | #nul | |
215 | #; | |
216 | #<< | |
217 | ||
218 | $(WXDIR)\lib\wx1.lib: $(COMMONOBJS) $(PERIPH_LIBS) | |
219 | -erase $(WXDIR)\lib\wx1.lib | |
220 | lib /PAGESIZE:128 @<< | |
221 | $(WXDIR)\lib\wx1.lib | |
222 | y | |
223 | $(COMMONOBJS) $(PERIPH_LIBS) | |
224 | nul | |
225 | ; | |
226 | << | |
227 | ||
228 | $(WXDIR)\lib\wx2.lib: $(GENERICOBJS) | |
229 | -erase $(WXDIR)\lib\wx2.lib | |
230 | lib /PAGESIZE:128 @<< | |
231 | $(WXDIR)\lib\wx2.lib | |
232 | y | |
233 | $(GENERICOBJS) | |
234 | nul | |
235 | ; | |
236 | << | |
237 | ||
238 | $(WXDIR)\lib\wx3.lib: $(MSWOBJS) | |
239 | -erase $(WXDIR)\lib\wx3.lib | |
240 | lib /PAGESIZE:128 @<< | |
241 | $(WXDIR)\lib\wx3.lib | |
242 | y | |
243 | $(MSWOBJS) | |
244 | nul | |
245 | ; | |
246 | << | |
247 | ||
248 | ######################################################## | |
249 | # Windows-specific objects | |
250 | ||
251 | dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
252 | cl @<< | |
253 | cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
254 | << | |
255 | ||
256 | #dummy.obj: dummy.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
257 | # cl $(CPPFLAGS) /YcWX/WXPREC.H $(DEBUG_FLAGS) /c /Tp $*.$(SRCSUFF) | |
258 | ||
259 | dummydll.obj: dummydll.$(SRCSUFF) $(WXDIR)\include\wx\wx.h | |
260 | cl @<< | |
261 | $(CPPFLAGS) /YcWX/WXPREC.H /c /Tp $*.$(SRCSUFF) | |
262 | << | |
263 | ||
264 | $(MSWDIR)/accel.obj: $*.$(SRCSUFF) | |
265 | cl @<< | |
266 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
267 | << | |
268 | ||
269 | $(MSWDIR)/app.obj: $*.$(SRCSUFF) | |
270 | cl @<< | |
271 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
272 | << | |
273 | ||
274 | $(MSWDIR)/bitmap.obj: $*.$(SRCSUFF) | |
275 | cl @<< | |
276 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
277 | << | |
278 | ||
279 | $(MSWDIR)/bmpbuttn.obj: $*.$(SRCSUFF) | |
280 | cl @<< | |
281 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
282 | << | |
283 | ||
284 | $(MSWDIR)/brush.obj: $*.$(SRCSUFF) | |
285 | cl @<< | |
286 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
287 | << | |
288 | ||
289 | $(MSWDIR)/button.obj: $*.$(SRCSUFF) | |
290 | cl @<< | |
291 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
292 | << | |
293 | ||
294 | $(MSWDIR)/choice.obj: $*.$(SRCSUFF) | |
295 | cl @<< | |
296 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
297 | << | |
298 | ||
299 | $(MSWDIR)/checkbox.obj: $*.$(SRCSUFF) | |
300 | cl @<< | |
301 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
302 | << | |
303 | ||
304 | $(MSWDIR)/checklst.obj: $*.$(SRCSUFF) | |
305 | cl @<< | |
306 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
307 | << | |
308 | ||
309 | $(MSWDIR)/clipbrd.obj: $*.$(SRCSUFF) | |
310 | cl @<< | |
311 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
312 | << | |
313 | ||
314 | $(MSWDIR)/colordlg.obj: $*.$(SRCSUFF) | |
315 | cl @<< | |
316 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
317 | << | |
318 | ||
319 | $(MSWDIR)/colour.obj: $*.$(SRCSUFF) | |
320 | cl @<< | |
321 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
322 | << | |
323 | ||
324 | $(MSWDIR)/combobox.obj: $*.$(SRCSUFF) | |
325 | cl @<< | |
326 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
327 | << | |
328 | ||
329 | $(MSWDIR)/control.obj: $*.$(SRCSUFF) | |
330 | cl @<< | |
331 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
332 | << | |
333 | ||
334 | $(MSWDIR)/curico.obj: $*.$(SRCSUFF) | |
335 | cl @<< | |
336 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
337 | << | |
338 | ||
339 | $(MSWDIR)/cursor.obj: $*.$(SRCSUFF) | |
340 | cl @<< | |
341 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
342 | << | |
343 | ||
344 | $(MSWDIR)/data.obj: $*.$(SRCSUFF) | |
345 | cl @<< | |
346 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
347 | << | |
348 | ||
349 | $(MSWDIR)/dc.obj: $*.$(SRCSUFF) | |
350 | cl @<< | |
351 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
352 | << | |
353 | ||
354 | $(MSWDIR)/dde.obj: $*.$(SRCSUFF) | |
355 | cl @<< | |
356 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
357 | << | |
358 | ||
359 | $(MSWDIR)/dcmemory.obj: $*.$(SRCSUFF) | |
360 | cl @<< | |
361 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
362 | << | |
363 | ||
364 | $(MSWDIR)/dcclient.obj: $*.$(SRCSUFF) | |
365 | cl @<< | |
366 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
367 | << | |
368 | ||
369 | $(MSWDIR)/dcprint.obj: $*.$(SRCSUFF) | |
370 | cl @<< | |
371 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
372 | << | |
373 | ||
374 | $(MSWDIR)/dcscreen.obj: $*.$(SRCSUFF) | |
375 | cl @<< | |
376 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
377 | << | |
378 | ||
379 | $(MSWDIR)/dialog.obj: $*.$(SRCSUFF) | |
380 | cl @<< | |
381 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
382 | << | |
383 | ||
384 | $(MSWDIR)/dib.obj: $*.$(SRCSUFF) | |
385 | cl @<< | |
386 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
387 | << | |
388 | ||
389 | $(MSWDIR)/dirdlg.obj: $*.$(SRCSUFF) | |
390 | cl @<< | |
391 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
392 | << | |
393 | ||
394 | $(MSWDIR)/filedlg.obj: $*.$(SRCSUFF) | |
395 | cl @<< | |
396 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
397 | << | |
398 | ||
399 | $(MSWDIR)/font.obj: $*.$(SRCSUFF) | |
400 | cl @<< | |
401 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
402 | << | |
403 | ||
404 | $(MSWDIR)/fontdlg.obj: $*.$(SRCSUFF) | |
405 | cl @<< | |
406 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
407 | << | |
408 | ||
409 | $(MSWDIR)/frame.obj: $*.$(SRCSUFF) | |
410 | cl @<< | |
411 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
412 | << | |
413 | ||
414 | $(MSWDIR)/gaugemsw.obj: $*.$(SRCSUFF) | |
415 | cl @<< | |
416 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
417 | << | |
418 | ||
419 | $(MSWDIR)/gdiobj.obj: $*.$(SRCSUFF) | |
420 | cl @<< | |
421 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
422 | << | |
423 | ||
424 | $(MSWDIR)/helpwin.obj: $*.$(SRCSUFF) | |
425 | cl @<< | |
426 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
427 | << | |
428 | ||
429 | $(MSWDIR)/icon.obj: $*.$(SRCSUFF) | |
430 | cl @<< | |
431 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
432 | << | |
433 | ||
434 | $(MSWDIR)/imaglist.obj: $*.$(SRCSUFF) | |
435 | cl @<< | |
436 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
437 | << | |
438 | ||
439 | $(MSWDIR)/joystick.obj: $*.$(SRCSUFF) | |
440 | cl @<< | |
441 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
442 | << | |
443 | ||
444 | $(MSWDIR)/listbox.obj: $*.$(SRCSUFF) | |
445 | cl @<< | |
446 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
447 | << | |
448 | ||
449 | $(MSWDIR)/listctrl.obj: $*.$(SRCSUFF) | |
450 | cl @<< | |
451 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
452 | << | |
453 | ||
454 | $(MSWDIR)/main.obj: $*.$(SRCSUFF) | |
455 | cl @<< | |
456 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
457 | << | |
458 | ||
459 | $(MSWDIR)/mdi.obj: $*.$(SRCSUFF) | |
460 | cl @<< | |
461 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
462 | << | |
463 | ||
464 | $(MSWDIR)/menu.obj: $*.$(SRCSUFF) | |
465 | cl @<< | |
466 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
467 | << | |
468 | ||
469 | $(MSWDIR)/menuitem.obj: $*.$(SRCSUFF) | |
470 | cl @<< | |
471 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
472 | << | |
473 | ||
474 | $(MSWDIR)/metafile.obj: $*.$(SRCSUFF) | |
475 | cl @<< | |
476 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
477 | << | |
478 | ||
479 | $(MSWDIR)/minifram.obj: $*.$(SRCSUFF) | |
480 | cl @<< | |
481 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
482 | << | |
483 | ||
484 | $(MSWDIR)/msgdlg.obj: $*.$(SRCSUFF) | |
485 | cl @<< | |
486 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
487 | << | |
488 | ||
489 | $(MSWDIR)/nativdlg.obj: $*.$(SRCSUFF) | |
490 | cl @<< | |
491 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
492 | << | |
493 | ||
494 | $(MSWDIR)/ownerdrw.obj: $*.$(SRCSUFF) | |
495 | cl @<< | |
496 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
497 | << | |
498 | ||
499 | $(MSWDIR)/palette.obj: $*.$(SRCSUFF) | |
500 | cl @<< | |
501 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
502 | << | |
503 | ||
504 | $(MSWDIR)/pen.obj: $*.$(SRCSUFF) | |
505 | cl @<< | |
506 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
507 | << | |
508 | ||
509 | $(MSWDIR)/penwin.obj: $*.$(SRCSUFF) | |
510 | cl @<< | |
511 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
512 | << | |
513 | ||
514 | $(MSWDIR)/printdlg.obj: $*.$(SRCSUFF) | |
515 | cl @<< | |
516 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
517 | << | |
518 | ||
519 | $(MSWDIR)/printwin.obj: $*.$(SRCSUFF) | |
520 | cl @<< | |
521 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
522 | << | |
523 | ||
524 | $(MSWDIR)/radiobox.obj: $*.$(SRCSUFF) | |
525 | cl @<< | |
526 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
527 | << | |
528 | ||
529 | $(MSWDIR)/radiobut.obj: $*.$(SRCSUFF) | |
530 | cl @<< | |
531 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
532 | << | |
533 | ||
534 | $(MSWDIR)/region.obj: $*.$(SRCSUFF) | |
535 | cl @<< | |
536 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
537 | << | |
538 | ||
539 | $(MSWDIR)/registry.obj: $*.$(SRCSUFF) | |
540 | cl @<< | |
541 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
542 | << | |
543 | ||
544 | $(MSWDIR)/scrolbar.obj: $*.$(SRCSUFF) | |
545 | cl @<< | |
546 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
547 | << | |
548 | ||
549 | $(MSWDIR)/settings.obj: $*.$(SRCSUFF) | |
550 | cl @<< | |
551 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
552 | << | |
553 | ||
554 | $(MSWDIR)/slidrmsw.obj: $*.$(SRCSUFF) | |
555 | cl @<< | |
556 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
557 | << | |
558 | ||
559 | $(MSWDIR)/spinbutt.obj: $*.$(SRCSUFF) | |
560 | cl @<< | |
561 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
562 | << | |
563 | ||
564 | $(MSWDIR)/statbmp.obj: $*.$(SRCSUFF) | |
565 | cl @<< | |
566 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
567 | << | |
568 | ||
569 | $(MSWDIR)/statbox.obj: $*.$(SRCSUFF) | |
570 | cl @<< | |
571 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
572 | << | |
573 | ||
574 | $(MSWDIR)/stattext.obj: $*.$(SRCSUFF) | |
575 | cl @<< | |
576 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
577 | << | |
578 | ||
579 | $(MSWDIR)/tbarmsw.obj: $*.$(SRCSUFF) | |
580 | cl @<< | |
581 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
582 | << | |
583 | ||
584 | $(MSWDIR)/textctrl.obj: $*.$(SRCSUFF) | |
585 | cl @<< | |
586 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
587 | << | |
588 | ||
589 | $(MSWDIR)/timer.obj: $*.$(SRCSUFF) | |
590 | cl @<< | |
591 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
592 | << | |
593 | ||
594 | $(MSWDIR)/treectrl.obj: $*.$(SRCSUFF) | |
595 | cl @<< | |
596 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
597 | << | |
598 | ||
599 | $(MSWDIR)/utils.obj: $*.$(SRCSUFF) | |
600 | cl @<< | |
601 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
602 | << | |
603 | ||
604 | $(MSWDIR)/utilsexc.obj: $*.$(SRCSUFF) | |
605 | cl @<< | |
606 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
607 | << | |
608 | ||
609 | $(MSWDIR)/wave.obj: $*.$(SRCSUFF) | |
610 | cl @<< | |
611 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
612 | << | |
613 | ||
614 | $(MSWDIR)/window.obj: $*.$(SRCSUFF) | |
615 | cl @<< | |
616 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
617 | << | |
618 | ||
619 | $(OLEDIR)/droptgt.obj: $*.$(SRCSUFF) | |
620 | cl @<< | |
621 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
622 | << | |
623 | ||
624 | $(OLEDIR)/dropsrc.obj: $*.$(SRCSUFF) | |
625 | cl @<< | |
626 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
627 | << | |
628 | ||
629 | $(OLEDIR)/dataobj.obj: $*.$(SRCSUFF) | |
630 | cl @<< | |
631 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
632 | << | |
633 | ||
634 | $(OLEDIR)/oleutils.obj: $*.$(SRCSUFF) | |
635 | cl @<< | |
636 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
637 | << | |
638 | ||
639 | $(OLEDIR)/uuid.obj: $*.$(SRCSUFF) | |
640 | cl @<< | |
641 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
642 | << | |
643 | ||
644 | ######################################################## | |
645 | # Common objects (always compiled) | |
646 | ||
647 | $(COMMDIR)/config.obj: $*.$(SRCSUFF) | |
648 | cl @<< | |
649 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
650 | << | |
651 | ||
652 | $(COMMDIR)/cmndata.obj: $*.$(SRCSUFF) | |
653 | cl @<< | |
654 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
655 | << | |
656 | ||
657 | $(COMMDIR)/docview.obj: $*.$(SRCSUFF) | |
658 | cl @<< | |
659 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
660 | << | |
661 | ||
662 | $(COMMDIR)/docmdi.obj: $*.$(SRCSUFF) | |
663 | cl @<< | |
664 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
665 | << | |
666 | ||
667 | $(COMMDIR)/dynarray.obj: $*.$(SRCSUFF) | |
668 | cl @<< | |
669 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
670 | << | |
671 | ||
672 | $(COMMDIR)/event.obj: $*.$(SRCSUFF) | |
673 | cl @<< | |
674 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
675 | << | |
676 | ||
677 | $(COMMDIR)/file.obj: $*.$(SRCSUFF) | |
678 | cl @<< | |
679 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
680 | << | |
681 | ||
682 | $(COMMDIR)/fileconf.obj: $*.$(SRCSUFF) | |
683 | cl @<< | |
684 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
685 | << | |
686 | ||
687 | $(COMMDIR)/filefn.obj: $*.$(SRCSUFF) | |
688 | cl @<< | |
689 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
690 | << | |
691 | ||
692 | $(COMMDIR)/framecmn.obj: $*.$(SRCSUFF) | |
693 | cl @<< | |
694 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
695 | << | |
696 | ||
697 | $(COMMDIR)/gdicmn.obj: $*.$(SRCSUFF) | |
698 | cl @<< | |
699 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
700 | << | |
701 | ||
702 | $(COMMDIR)/helpbase.obj: $*.$(SRCSUFF) | |
703 | cl @<< | |
704 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
705 | << | |
706 | ||
707 | $(COMMDIR)/intl.obj: $*.$(SRCSUFF) | |
708 | cl @<< | |
709 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
710 | << | |
711 | ||
712 | $(COMMDIR)/ipcbase.obj: $*.$(SRCSUFF) | |
713 | cl @<< | |
714 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
715 | << | |
716 | ||
717 | $(COMMDIR)/layout.obj: $*.$(SRCSUFF) | |
718 | cl @<< | |
719 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
720 | << | |
721 | ||
722 | $(COMMDIR)/log.obj: $*.$(SRCSUFF) | |
723 | cl @<< | |
724 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
725 | << | |
726 | ||
727 | $(COMMDIR)/memory.obj: $*.$(SRCSUFF) | |
728 | cl @<< | |
729 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
730 | << | |
731 | ||
732 | $(COMMDIR)/module.obj: $*.$(SRCSUFF) | |
733 | cl @<< | |
734 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
735 | << | |
736 | ||
737 | $(COMMDIR)/object.obj: $*.$(SRCSUFF) | |
738 | cl @<< | |
739 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
740 | << | |
741 | ||
742 | $(COMMDIR)/odbc.obj: $*.$(SRCSUFF) | |
743 | cl @<< | |
744 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
745 | << | |
746 | ||
747 | $(COMMDIR)/postscrp.obj: $*.$(SRCSUFF) | |
748 | cl @<< | |
749 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
750 | << | |
751 | ||
752 | $(COMMDIR)/process.obj: $*.$(SRCSUFF) | |
753 | cl @<< | |
754 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
755 | << | |
756 | ||
757 | $(COMMDIR)/prntbase.obj: $*.$(SRCSUFF) | |
758 | cl @<< | |
759 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
760 | << | |
761 | ||
762 | $(COMMDIR)/resource.obj: $*.$(SRCSUFF) | |
763 | cl @<< | |
764 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
765 | << | |
766 | ||
767 | $(COMMDIR)/tbarbase.obj: $*.$(SRCSUFF) | |
768 | cl @<< | |
769 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
770 | << | |
771 | ||
772 | $(COMMDIR)/tbarsmpl.obj: $*.$(SRCSUFF) | |
773 | cl @<< | |
774 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
775 | << | |
776 | ||
777 | $(COMMDIR)/textfile.obj: $*.$(SRCSUFF) | |
778 | cl @<< | |
779 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
780 | << | |
781 | ||
782 | $(COMMDIR)/timercmn.obj: $*.$(SRCSUFF) | |
783 | cl @<< | |
784 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
785 | << | |
786 | ||
787 | $(COMMDIR)/utilscmn.obj: $*.$(SRCSUFF) | |
788 | cl @<< | |
789 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
790 | << | |
791 | ||
792 | $(COMMDIR)/validate.obj: $*.$(SRCSUFF) | |
793 | cl @<< | |
794 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
795 | << | |
796 | ||
797 | $(COMMDIR)/valtext.obj: $*.$(SRCSUFF) | |
798 | cl @<< | |
799 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
800 | << | |
801 | ||
802 | $(COMMDIR)/date.obj: $*.$(SRCSUFF) | |
803 | cl @<< | |
804 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
805 | << | |
806 | ||
807 | $(COMMDIR)/wxexpr.obj: $*.$(SRCSUFF) | |
808 | cl @<< | |
809 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
810 | << | |
811 | ||
812 | $(COMMDIR)/hash.obj: $*.$(SRCSUFF) | |
813 | cl @<< | |
814 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
815 | << | |
816 | ||
817 | $(COMMDIR)/list.obj: $*.$(SRCSUFF) | |
818 | cl @<< | |
819 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
820 | << | |
821 | ||
822 | $(COMMDIR)/variant.obj: $*.$(SRCSUFF) | |
823 | cl @<< | |
824 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
825 | << | |
826 | ||
827 | $(COMMDIR)/string.obj: $*.$(SRCSUFF) | |
828 | cl @<< | |
829 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
830 | << | |
831 | ||
832 | $(COMMDIR)/matrix.obj: $*.$(SRCSUFF) | |
833 | cl @<< | |
834 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
835 | << | |
836 | ||
837 | $(COMMDIR)/wxstrgnu/wxstrgnu.obj: $*.$(SRCSUFF) | |
838 | cl @<< | |
839 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
840 | << | |
841 | ||
842 | $(COMMDIR)/wxstrgnu/wxregex.obj: $*.$(SRCSUFF) | |
843 | cl @<< | |
844 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
845 | << | |
846 | ||
847 | $(COMMDIR)/time.obj: $*.$(SRCSUFF) | |
848 | cl @<< | |
849 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
850 | << | |
851 | ||
852 | $(COMMDIR)/stream.obj: $*.$(SRCSUFF) | |
853 | cl @<< | |
854 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
855 | << | |
856 | ||
857 | $(COMMDIR)/wfstream.obj: $*.$(SRCSUFF) | |
858 | cl @<< | |
859 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
860 | << | |
861 | ||
862 | $(COMMDIR)/mstream.obj: $*.$(SRCSUFF) | |
863 | cl @<< | |
864 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
865 | << | |
866 | ||
867 | $(COMMDIR)/zstream.obj: $*.$(SRCSUFF) | |
868 | cl @<< | |
869 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
870 | << | |
871 | ||
872 | $(COMMDIR)/datstrm.obj: $*.$(SRCSUFF) | |
873 | cl @<< | |
874 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
875 | << | |
876 | ||
877 | $(COMMDIR)/extended.obj: $*.c | |
878 | cl @<< | |
879 | $(CPPFLAGS2) /Fo$@ /c /Tp $*.c | |
880 | << | |
881 | ||
882 | $(COMMDIR)/wincmn.obj: $*.$(SRCSUFF) | |
883 | cl @<< | |
884 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
885 | << | |
886 | ||
887 | $(COMMDIR)/y_tab.obj: $*.c $(COMMDIR)/lex_yy.c | |
888 | cl @<< | |
889 | $(CPPFLAGS2) -DUSE_DEFINE -DYY_USE_PROTOS /Fo$@ /I ..\common /c $*.c | |
890 | << | |
891 | ||
892 | $(COMMDIR)/y_tab.c: $(COMMDIR)/dosyacc.c | |
893 | copy $(COMMDIR)\dosyacc.c $(COMMDIR)\y_tab.c | |
894 | ||
895 | $(COMMDIR)/lex_yy.c: $(COMMDIR)/doslex.c | |
896 | copy $(COMMDIR)\doslex.c $(COMMDIR)\lex_yy.c | |
897 | ||
898 | ######################################################## | |
899 | # Generic objects (not always compiled, depending on | |
900 | # whether platforms have native implementations) | |
901 | ||
902 | $(GENDIR)/choicdgg.obj: $*.$(SRCSUFF) | |
903 | cl @<< | |
904 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
905 | << | |
906 | ||
907 | $(GENDIR)/colrdlgg.obj: $*.$(SRCSUFF) | |
908 | cl @<< | |
909 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
910 | << | |
911 | ||
912 | $(GENDIR)/fontdlgg.obj: $*.$(SRCSUFF) | |
913 | cl @<< | |
914 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
915 | << | |
916 | ||
917 | $(GENDIR)/gridg.obj: $*.$(SRCSUFF) | |
918 | cl @<< | |
919 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
920 | << | |
921 | ||
922 | $(GENDIR)/helpxlp.obj: $*.$(SRCSUFF) | |
923 | cl @<< | |
924 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
925 | << | |
926 | ||
927 | $(GENDIR)/msgdlgg.obj: $*.$(SRCSUFF) | |
928 | cl @<< | |
929 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
930 | << | |
931 | ||
932 | $(GENDIR)/panelg.obj: $*.$(SRCSUFF) | |
933 | cl @<< | |
934 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
935 | << | |
936 | ||
937 | $(GENDIR)/printps.obj: $*.$(SRCSUFF) | |
938 | cl @<< | |
939 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
940 | << | |
941 | ||
942 | $(GENDIR)/prntdlgg.obj: $*.$(SRCSUFF) | |
943 | cl @<< | |
944 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
945 | << | |
946 | ||
947 | $(GENDIR)/scrolwin.obj: $*.$(SRCSUFF) | |
948 | cl @<< | |
949 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
950 | << | |
951 | ||
952 | $(GENDIR)/splitter.obj: $*.$(SRCSUFF) | |
953 | cl @<< | |
954 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
955 | << | |
956 | ||
957 | $(GENDIR)/statusbr.obj: $*.$(SRCSUFF) | |
958 | cl @<< | |
959 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
960 | << | |
961 | ||
962 | $(GENDIR)/tabg.obj: $*.$(SRCSUFF) | |
963 | cl @<< | |
964 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
965 | << | |
966 | ||
967 | $(GENDIR)/textdlgg.obj: $*.$(SRCSUFF) | |
968 | cl @<< | |
969 | $(CPPFLAGS) /Fo$@ /c /Tp $*.$(SRCSUFF) | |
970 | << | |
971 | ||
972 | $(OBJECTS): $(WXDIR)/include/wx/setup.h | |
973 | ||
974 | # Peripheral components | |
975 | ||
976 | xpm: | |
977 | cd $(WXDIR)\contrib\wxxpm | |
978 | nmake -f makefile.dos FINAL=$(FINAL) | |
979 | cd $(WXDIR)\src\msw | |
980 | ||
981 | clean_xpm: | |
982 | cd $(WXDIR)\contrib\wxxpm | |
983 | nmake -f makefile.dos clean | |
984 | cd $(WXDIR)\src\msw | |
985 | ||
986 | clean: $(PERIPH_CLEAN_TARGET) | |
987 | -erase *.obj | |
988 | -erase ..\lib\*.lib | |
989 | -erase *.pdb | |
990 | -erase *.sbr | |
991 | -erase *.pch | |
992 | cd $(WXDIR)\src\generic | |
993 | -erase *.pdb | |
994 | -erase *.sbr | |
995 | -erase *.obj | |
996 | cd $(WXDIR)\src\common | |
997 | -erase *.pdb | |
998 | -erase *.sbr | |
999 | -erase *.obj | |
1000 | cd $(WXDIR)\src\msw\ole | |
1001 | -erase *.pdb | |
1002 | -erase *.sbr | |
1003 | -erase *.obj | |
1004 | cd $(WXDIR)\src\msw | |
1005 | ||
1006 | cleanall: clean | |
1007 | ||
1008 | # Making documents | |
1009 | docs: hlp | |
1010 | hlp: wxhlp faqhlp refhlp | |
1011 | wxhlp: $(DOCDIR)/winhelp/wx.hlp | |
1012 | faqhlp: $(DOCDIR)/winhelp/faq.hlp | |
1013 | refhlp: $(DOCDIR)/winhelp/techref.hlp | |
1014 | rtf: $(DOCDIR)/winhelp/wx.rtf | |
1015 | faqrtf: $(DOCDIR)/winhelp/faq.rtf | |
1016 | html: wxhtml faqhtml | |
1017 | wxhtml: $(DOCDIR)\html\wx\wx.htm | |
1018 | faqhtml: $(DOCDIR)\html\faq\faq.htm | |
1019 | ps: faqps wxps referencps | |
1020 | wxps: $(WXDIR)\docs\ps\wx.ps | |
1021 | faqps: $(WXDIR)\docs\ps\faq.ps | |
1022 | referencps: $(WXDIR)\docs\ps\referenc.ps | |
1023 | ||
1024 | alldocs: allhlp allhtml allps | |
1025 | ||
1026 | allhlp: wxhlp faqhlp | |
1027 | nmake -f makefile.dos hlp | |
1028 | cd $(WXDIR)\utils\wxprop\src | |
1029 | nmake -f makefile.dos hlp | |
1030 | cd $(WXDIR)\utils\dialoged\src | |
1031 | nmake -f makefile.dos hlp | |
1032 | cd $(THISDIR) | |
1033 | ||
1034 | # cd $(WXDIR)\utils\wxhelp\src | |
1035 | # nmake -f makefile.dos hlp | |
1036 | # cd $(WXDIR)\utils\wxhelp2\src | |
1037 | # nmake -f makefile.dos hlp | |
1038 | # cd $(WXDIR)\utils\prologio\src | |
1039 | # nmake -f makefile.dos hlp | |
1040 | # cd $(WXDIR)\utils\tex2rtf\src | |
1041 | # nmake -f makefile.dos hlp | |
1042 | # cd $(WXDIR)\utils\wxgraph\src | |
1043 | # nmake -f makefile.dos hlp | |
1044 | # cd $(WXDIR)\utils\wxchart\src | |
1045 | # nmake -f makefile.dos hlp | |
1046 | # cd $(WXDIR)\utils\wxtree\src | |
1047 | # nmake -f makefile.dos hlp | |
1048 | # cd $(WXDIR)\utils\wxbuild\src | |
1049 | # nmake -f makefile.dos hlp | |
1050 | # cd $(WXDIR)\utils\wxgrid\src | |
1051 | # nmake -f makefile.dos hlp | |
1052 | # cd $(WXDIR)\utils\wxtab\src | |
1053 | # nmake -f makefile.dos hlp | |
1054 | ||
1055 | # cd $(WXDIR)\utils\wxclips\src | |
1056 | # nmake -f makefile.dos hlp | |
1057 | # cd $(WXDIR)\utils\clips2c\src | |
1058 | # nmake -f makefile.dos hlp | |
1059 | ||
1060 | allhtml: wxhtml faqhtml | |
1061 | nmake -f makefile.dos html | |
1062 | cd $(WXDIR)\utils\wxprop\src | |
1063 | cd $(THISDIR) | |
1064 | ||
1065 | # nmake -f makefile.dos html | |
1066 | # cd $(WXDIR)\utils\dialoged\src | |
1067 | # nmake -f makefile.dos html | |
1068 | # cd $(WXDIR)\utils\hytext\src | |
1069 | # nmake -f makefile.dos html | |
1070 | # cd $(WXDIR)\utils\wxhelp\src | |
1071 | # nmake -f makefile.dos html | |
1072 | # cd $(WXDIR)\utils\wxhelp2\src | |
1073 | # nmake -f makefile.dos html | |
1074 | # cd $(WXDIR)\utils\prologio\src | |
1075 | # nmake -f makefile.dos html | |
1076 | # cd $(WXDIR)\utils\tex2rtf\src | |
1077 | # nmake -f makefile.dos html | |
1078 | # cd $(WXDIR)\utils\wxgraph\src | |
1079 | # nmake -f makefile.dos html | |
1080 | # cd $(WXDIR)\utils\wxchart\src | |
1081 | # nmake -f makefile.dos html | |
1082 | # cd $(WXDIR)\utils\wxtree\src | |
1083 | # nmake -f makefile.dos html | |
1084 | # cd $(WXDIR)\utils\wxtab\src | |
1085 | # nmake -f makefile.dos html | |
1086 | ||
1087 | # cd $(WXDIR)\utils\wxclips\src | |
1088 | # nmake -f makefile.dos html | |
1089 | # cd $(WXDIR)\utils\clips2c\src | |
1090 | # nmake -f makefile.dos html | |
1091 | ||
1092 | allps: wxps faqps | |
1093 | nmake -f makefile.dos ps | |
1094 | cd $(WXDIR)\utils\wxhelp\src | |
1095 | nmake -f makefile.dos ps | |
1096 | cd $(WXDIR)\utils\wxhelp2\src | |
1097 | nmake -f makefile.dos ps | |
1098 | cd $(WXDIR)\utils\tex2rtf\src | |
1099 | nmake -f makefile.dos ps | |
1100 | cd $(WXDIR)\utils\wxgraph\src | |
1101 | nmake -f makefile.dos ps | |
1102 | cd $(WXDIR)\utils\wxchart\src | |
1103 | nmake -f makefile.dos ps | |
1104 | cd $(WXDIR)\utils\wxtree\src | |
1105 | nmake -f makefile.dos ps | |
1106 | cd $(WXDIR)\utils\wxprop\src | |
1107 | nmake -f makefile.dos ps | |
1108 | cd $(WXDIR)\utils\dialoged\src | |
1109 | nmake -f makefile.dos ps | |
1110 | cd $(THISDIR) | |
1111 | ||
1112 | # cd $(WXDIR)\utils\wxtab\src | |
1113 | # nmake -f makefile.dos ps | |
1114 | # cd $(WXDIR)\utils\prologio\src | |
1115 | # nmake -f makefile.dos ps | |
1116 | # cd $(WXDIR)\utils\wxclips\src | |
1117 | # nmake -f makefile.dos ps | |
1118 | # cd $(WXDIR)\utils\clips2c\src | |
1119 | # nmake -f makefile.dos ps | |
1120 | ||
1121 | $(DOCDIR)/winhelp/wx.hlp: $(DOCDIR)/latex/wx/wx.rtf $(DOCDIR)/latex/wx/wx.hpj | |
1122 | cd $(DOCDIR)/latex/wx | |
1123 | -erase wx.ph | |
1124 | hc wx | |
1125 | move wx.hlp $(DOCDIR)\winhelp\wx.hlp | |
1126 | move wx.cnt $(DOCDIR)\winhelp\wx.cnt | |
1127 | cd $(THISDIR) | |
1128 | ||
1129 | $(DOCDIR)/winhelp/faq.hlp: $(DOCDIR)/latex/faq/faq.rtf $(DOCDIR)/latex/faq/faq.hpj | |
1130 | cd $(DOCDIR)/latex/faq | |
1131 | -erase faq.ph | |
1132 | hc faq | |
1133 | move faq.hlp $(DOCDIR)\winhelp\faq.hlp | |
1134 | move faq.cnt $(DOCDIR)\winhelp\faq.cnt | |
1135 | cd $(THISDIR) | |
1136 | ||
1137 | $(DOCDIR)/winhelp/techref.hlp: $(DOCDIR)/latex/techref/techref.rtf $(DOCDIR)/latex/techref/techref.hpj | |
1138 | cd $(DOCDIR)/latex/techref | |
1139 | -erase techref.ph | |
1140 | hc techref | |
1141 | move techref.hlp $(DOCDIR)\winhelp\techref.hlp | |
1142 | move techref.cnt $(DOCDIR)\winhelp\techref.cnt | |
1143 | cd $(THISDIR) | |
1144 | ||
1145 | $(DOCDIR)/latex/wx/wx.rtf: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/manual.tex | |
1146 | cd $(DOCDIR)\latex\wx | |
1147 | -start /w tex2rtf $(DOCDIR)/latex/wx/manual.tex $(DOCDIR)/latex/wx/wx.rtf -twice -winhelp | |
1148 | cd $(THISDIR) | |
1149 | ||
1150 | $(DOCDIR)/latex/faq/faq.rtf: $(DOCDIR)/latex/faq/faq.tex | |
1151 | cd $(DOCDIR)\latex\faq | |
1152 | -start /w tex2rtf $(DOCDIR)/latex/faq/faq.tex $(DOCDIR)/latex/faq/faq.rtf -twice -winhelp | |
1153 | cd $(THISDIR) | |
1154 | ||
1155 | $(DOCDIR)/latex/techref/techref.rtf: $(DOCDIR)/latex/techref/techref.tex | |
1156 | cd $(DOCDIR)\latex\techref | |
1157 | -start /w tex2rtf $(DOCDIR)/latex/techref/techref.tex $(DOCDIR)/latex/techref/techref.rtf -twice -winhelp | |
1158 | cd $(THISDIR) | |
1159 | ||
1160 | $(DOCDIR)\html\wx\wx.htm: $(DOCDIR)\latex\wx\classes.tex $(DOCDIR)\latex\wx\body.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)\latex\wx\manual.tex | |
1161 | cd $(DOCDIR)\latex\wx | |
1162 | -mkdir $(DOCDIR)\html\wx | |
1163 | -start /w tex2rtf $(DOCDIR)\latex\wx\manual.tex $(DOCDIR)\html\wx\wx.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini | |
1164 | -erase $(DOCDIR)\html\wx\*.con | |
1165 | -erase $(DOCDIR)\html\wx\*.ref | |
1166 | -erase $(DOCDIR)\latex\wx\*.con | |
1167 | -erase $(DOCDIR)\latex\wx\*.ref | |
1168 | cd $(THISDIR) | |
1169 | ||
1170 | $(DOCDIR)\html\faq\faq.htm: $(DOCDIR)\latex\faq\faq.tex | |
1171 | cd $(DOCDIR)\latex\faq | |
1172 | -mkdir $(DOCDIR)\html\faq | |
1173 | -start /w tex2rtf $(DOCDIR)\latex\faq\faq.tex $(DOCDIR)\html\faq\faq.htm -twice -html -macros $(DOCDIR)\tex2rtf.ini | |
1174 | -erase $(DOCDIR)\html\faq\*.con | |
1175 | -erase $(DOCDIR)\html\faq\*.ref | |
1176 | -erase $(DOCDIR)\latex\faq\*.con | |
1177 | -erase $(DOCDIR)\latexfaq\*.ref | |
1178 | cd $(THISDIR) | |
1179 | ||
1180 | $(WXDIR)\docs\latex\wx\manual.dvi: $(DOCDIR)/latex/wx/body.tex $(DOCDIR)/latex/wx/manual.tex | |
1181 | cd $(WXDIR)\docs\latex\wx | |
1182 | -latex manual | |
1183 | -latex manual | |
1184 | -makeindx manual | |
1185 | -bibtex manual | |
1186 | -latex manual | |
1187 | -latex manual | |
1188 | cd $(THISDIR) | |
1189 | ||
1190 | $(WXDIR)\docs\ps\wx.ps: $(WXDIR)\docs\latex\wx\manual.dvi | |
1191 | cd $(WXDIR)\docs\latex\wx | |
1192 | -dvips32 -o wx.ps manual | |
1193 | move wx.ps $(WXDIR)\docs\ps\wx.ps | |
1194 | cd $(THISDIR) | |
1195 | ||
1196 | $(WXDIR)\docs\latex\wx\referenc.dvi: $(DOCDIR)/latex/wx/classes.tex $(DOCDIR)/latex/wx/topics.tex $(DOCDIR)/latex/wx/referenc.tex | |
1197 | cd $(WXDIR)\docs\latex\wx | |
1198 | -latex referenc | |
1199 | -latex referenc | |
1200 | -makeindx referenc | |
1201 | -bibtex referenc | |
1202 | -latex referenc | |
1203 | -latex referenc | |
1204 | cd $(THISDIR) | |
1205 | ||
1206 | $(WXDIR)\docs\ps\referenc.ps: $(WXDIR)\docs\latex\wx\referenc.dvi | |
1207 | cd $(WXDIR)\docs\latex\wx | |
1208 | -dvips32 -o referenc.ps referenc | |
1209 | move referenc.ps $(WXDIR)\docs\ps\referenc.ps | |
1210 | cd $(THISDIR) | |
1211 | ||
1212 | $(WXDIR)\docs\latex\faq\faq.dvi: $(DOCDIR)/latex/faq/faq.tex | |
1213 | cd $(WXDIR)\docs\latex\faq | |
1214 | -latex faq | |
1215 | -latex faq | |
1216 | -makeindx faq | |
1217 | -latex faq | |
1218 | -latex faq | |
1219 | cd $(THISDIR) | |
1220 | ||
1221 | $(WXDIR)\docs\ps\faq.ps: $(WXDIR)\docs\latex\faq\faq.dvi | |
1222 | cd $(WXDIR)\docs\latex\faq | |
1223 | -dvips32 -o faq.ps faq | |
1224 | move faq.ps $(WXDIR)\docs\ps\faq.ps | |
1225 | cd $(THISDIR) | |
1226 | ||
1227 |