]> git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/makefile.vc
79339bd8b64e8aa7d8c5c19c2dcd9df07e0684c7
[wxWidgets.git] / utils / dialoged / src / makefile.vc
1 #
2 # File: makefile.vc
3 # Author: Julian Smart
4 # Created: 1993
5 # Updated:
6 # Copyright: (c) 1993-1999 Julian Smart
7 #
8 # "%W% %G%"
9 #
10 # Makefile : Builds Dialog Editor (MS VC++).
11 # Use FINAL=1 argument to nmake to build final version with no debugging
12 # info
13
14 # Set WXDIR for your system
15 WXDIR = $(WXWIN)
16 THISDIR = $(WXDIR)\utils\dialoged\src
17 DOCDIR=$(WXDIR)\docs
18 LOCALDOCDIR=$(WXDIR)\utils\dialoged\docs
19
20 PROGRAM=dialoged
21
22 OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj\
23 winprop.obj edtree.obj edlist.obj symbtabl.obj winstyle.obj
24
25 !include $(WXDIR)\src\makeprog.vc
26
27
28 all: dialoged.exe
29
30 dialoged.obj: winprop.h reseditr.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
31 $(cc) @<<
32 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
33 <<
34
35 winprop.obj: winprop.h reseditr.h winprop.$(SRCSUFF) $(DUMMYOBJ)
36 $(cc) @<<
37 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
38 <<
39
40 reswrite.obj: winprop.h reseditr.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
41 $(cc) @<<
42 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
43 <<
44
45 reseditr.obj: winprop.h reseditr.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
46 $(cc) @<<
47 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
48 <<
49
50 edtree.obj: winprop.h reseditr.h edtree.h edtree.$(SRCSUFF) $(DUMMYOBJ)
51 $(cc) @<<
52 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
53 <<
54
55 edlist.obj: winprop.h reseditr.h edlist.h edlist.$(SRCSUFF) $(DUMMYOBJ)
56 $(cc) @<<
57 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
58 <<
59
60 dlghndlr.obj: winprop.h reseditr.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
61 $(cc) @<<
62 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
63 <<
64
65 symbtabl.obj: symbtabl.h symbtabl.$(SRCSUFF) $(DUMMYOBJ)
66 $(cc) @<<
67 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
68 <<
69
70 winstyle.obj: winstyle.h winstyle.$(SRCSUFF) $(DUMMYOBJ)
71 $(cc) @<<
72 $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
73 <<
74
75 DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
76 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
77 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
78
79 html: $(DOCDIR)\html\dialoged\dlged.htm
80 hlp: $(DOCDIR)\winhelp\dialoged.hlp
81 pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
82 ps: $(DOCDIR)\ps\dialoged.ps
83
84 $(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
85 cd $(LOCALDOCDIR)
86 -erase dialoged.ph
87 hc dialoged
88 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
89 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
90 cd $(THISDIR)
91
92 $(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
93 cd $(LOCALDOCDIR)
94 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
95 cd $(THISDIR)
96
97 $(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
98 cd $(LOCALDOCDIR)
99 -copy *.bmp *.wmf $(DOCDIR)\pdf
100 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
101 cd $(THISDIR)
102
103 $(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
104 cd $(LOCALDOCDIR)
105 -mkdir $(DOCDIR)\html\dialoged
106 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
107 -erase $(DOCDIR)\html\dialoged\*.con
108 -erase $(DOCDIR)\html\dialoged\*.ref
109 cd $(THISDIR)
110
111 $(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
112 cd $(LOCALDOCDIR)
113 -latex dialoged
114 -latex dialoged
115 -makeindx dialoged
116 -bibtex dialoged
117 -latex dialoged
118 -latex dialoged
119 cd $(THISDIR)
120
121 $(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
122 cd $(LOCALDOCDIR)
123 -dvips32 -o dialoged.ps dialoged
124 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps
125 cd $(THISDIR)
126
127