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