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