]> git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/makefile.vc
regenerated after Mattia's changes
[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
15 # N.B. This makefiles uses CPPFLAGS2 to disable precompiled headers so we
16 # can override optimization, which is necessary for correct behaviour under
17 # VC++ 5 (otherwise deleting an object causes a crash).
18
19 # Set WXDIR for your system
20 WXDIR = $(WXWIN)
21 THISDIR = $(WXDIR)\utils\dialoged\src
22 DOCDIR=$(WXDIR)\docs
23 LOCALDOCDIR=$(WXDIR)\utils\dialoged\docs
24
25 FINAL=0
26 !if "$(FINAL)" == "0"
27 EXTRALIBS=$(WXDIR)\lib\wxdeprecatedd.lib
28 !else
29 EXTRALIBS=$(WXDIR)\lib\wxdeprecated.lib
30 !endif
31
32 OVERRIDEFLAGS=/Od
33
34 PROGRAM=dialoged
35
36 OBJECTS = dialoged.obj reseditr.obj dlghndlr.obj reswrite.obj\
37 winprop.obj edtree.obj edlist.obj symbtabl.obj winstyle.obj
38
39 !include $(WXDIR)\src\makeprog.vc
40
41
42 all: dialoged.exe
43
44 dialoged.obj: winprop.h reseditr.h dialoged.$(SRCSUFF) $(DUMMYOBJ)
45 $(cc) @<<
46 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
47 <<
48
49 winprop.obj: winprop.h reseditr.h winprop.$(SRCSUFF) $(DUMMYOBJ)
50 $(cc) @<<
51 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
52 <<
53
54 reswrite.obj: winprop.h reseditr.h reswrite.$(SRCSUFF) $(DUMMYOBJ)
55 $(cc) @<<
56 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
57 <<
58
59 reseditr.obj: winprop.h reseditr.h reseditr.$(SRCSUFF) $(DUMMYOBJ)
60 $(cc) @<<
61 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
62 <<
63
64 edtree.obj: winprop.h reseditr.h edtree.h edtree.$(SRCSUFF) $(DUMMYOBJ)
65 $(cc) @<<
66 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
67 <<
68
69 edlist.obj: winprop.h reseditr.h edlist.h edlist.$(SRCSUFF) $(DUMMYOBJ)
70 $(cc) @<<
71 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
72 <<
73
74 dlghndlr.obj: winprop.h reseditr.h dlghndlr.$(SRCSUFF) $(DUMMYOBJ)
75 $(cc) @<<
76 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
77 <<
78
79 symbtabl.obj: symbtabl.h symbtabl.$(SRCSUFF) $(DUMMYOBJ)
80 $(cc) @<<
81 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
82 <<
83
84 winstyle.obj: winstyle.h winstyle.$(SRCSUFF) $(DUMMYOBJ)
85 $(cc) @<<
86 $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
87 <<
88
89 DOCSOURCES=$(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\body.tex\
90 $(LOCALDOCDIR)\bugs.tex $(LOCALDOCDIR)\changes.tex\
91 $(LOCALDOCDIR)\classes.tex $(LOCALDOCDIR)\tech.tex
92
93 html: $(DOCDIR)\html\dialoged\dlged.htm
94 htmlhelp: $(DOCDIR)\htmlhelp\dialoged.chm
95 htb: $(DOCDIR)\htb\dialoged.htb
96 hlp: $(DOCDIR)\winhelp\dialoged.hlp
97 pdfrtf: $(DOCDIR)\pdf\dialoged.rtf
98 ps: $(DOCDIR)\ps\dialoged.ps
99
100 $(DOCDIR)\winhelp\dialoged.hlp: $(LOCALDOCDIR)\dialoged.rtf $(LOCALDOCDIR)\dialoged.hpj
101 cd $(LOCALDOCDIR)
102 -erase dialoged.ph
103 hc dialoged
104 move dialoged.hlp $(DOCDIR)\winhelp\dialoged.hlp
105 move dialoged.cnt $(DOCDIR)\winhelp\dialoged.cnt
106 cd $(THISDIR)
107
108 $(LOCALDOCDIR)\dialoged.rtf: $(DOCSOURCES)
109 cd $(LOCALDOCDIR)
110 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(LOCALDOCDIR)\dialoged.rtf -twice -winhelp
111 cd $(THISDIR)
112
113 $(DOCDIR)\pdf\dialoged.rtf: $(DOCSOURCES)
114 cd $(LOCALDOCDIR)
115 -copy *.bmp *.wmf $(DOCDIR)\pdf
116 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\pdf\dialoged.rtf -twice -rtf
117 cd $(THISDIR)
118
119 $(DOCDIR)\html\dialoged\dlged.htm: $(DOCSOURCES)
120 cd $(LOCALDOCDIR)
121 -mkdir $(DOCDIR)\html\dialoged
122 -copy *.gif $(DOCDIR)\html\dialoged
123 -start /w tex2rtf $(LOCALDOCDIR)\dialoged.tex $(DOCDIR)\html\dialoged\dlged.htm -twice -html
124 -erase $(DOCDIR)\html\dialoged\*.con
125 -erase $(DOCDIR)\html\dialoged\*.ref
126 cd $(THISDIR)
127
128 $(DOCDIR)\htmlhelp\dialoged.chm : $(DOCDIR)\html\dialoged\dlged.htm $(DOCDIR)\html\dialoged\dlged.hhp
129 cd $(DOCDIR)\html\dialoged
130 -hhc dlged.hhp
131 move $(DOCDIR)\html\dialoged\dlged.chm $(DOCDIR)\htmlhelp\dialoged.chm
132 cd $(THISDIR)
133
134 # An htb file is a zip file containing the .htm, .gif, .hhp, .hhc and .hhk
135 # files, renamed to htb.
136 # This can then be used with e.g. helpview.
137 # Optionally, a cached version of the .hhp file can be generated with hhp2cached.
138 $(DOCDIR)\htb\dialoged.htb: $(DOCDIR)\html\dialoged\dlged.htm
139 cd $(DOCDIR)\html\dialoged
140 -erase dialoged.zip dialoged.htb
141 zip dialoged.zip *.htm *.gif *.hhp *.hhc *.hhk
142 -mkdir $(DOCDIR)\htb
143 move dialoged.zip $(DOCDIR)\htb\dialoged.htb
144 cd $(THISDIR)
145
146 $(LOCALDOCDIR)\dialoged.dvi: $(DOCSOURCES)
147 cd $(LOCALDOCDIR)
148 -latex dialoged
149 -latex dialoged
150 -makeindx dialoged
151 -bibtex dialoged
152 -latex dialoged
153 -latex dialoged
154 cd $(THISDIR)
155
156 $(WXDIR)\docs\ps\dialoged.ps: $(LOCALDOCDIR)\dialoged.dvi
157 cd $(LOCALDOCDIR)
158 -dvips32 -o dialoged.ps dialoged
159 move dialoged.ps $(WXDIR)\docs\ps\dialoged.ps
160 cd $(THISDIR)
161
162