1 | # $Id: doxygen.mak,v 1.1 2002-06-19 01:59:27 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # This script contains the testcases for Doxygen version 1.2.16
|
---|
5 | #
|
---|
6 | # Note! We doesn't include any MAKE_INCLUDE_PROCESS file.
|
---|
7 | #
|
---|
8 |
|
---|
9 | # Include the setup.mak and testsuite.tools.mk.
|
---|
10 | PATH_ROOT = ..\..
|
---|
11 | !include $(PATH_ROOT)\$(BUILD_SETUP_MAK)
|
---|
12 | !include $(PATH_MAKE)\testsuite.tools.mk
|
---|
13 |
|
---|
14 | # Testsuite config for the process include.
|
---|
15 | TARGET_MODE = TESTCASE
|
---|
16 | TARGET_NAME = doxygen
|
---|
17 | MAKEFILE = $(TARGET_NAME).mak
|
---|
18 |
|
---|
19 | # Include the process rulez.
|
---|
20 | !include $(MAKE_INCLUDE_PROCESS)
|
---|
21 |
|
---|
22 |
|
---|
23 |
|
---|
24 | #
|
---|
25 | # These are the files which should be installed in order to run doxygen.
|
---|
26 | #
|
---|
27 | DOXYGEN = $(PATH_ROOT)\testsuite\bin\doxygen.exe
|
---|
28 | BIN_FILES =\
|
---|
29 | $(DOXYGEN)
|
---|
30 |
|
---|
31 |
|
---|
32 | #
|
---|
33 | # Main rule, this runs all the other rulez.
|
---|
34 | #
|
---|
35 | testcase: testcase-banner \
|
---|
36 | $(BIN_FILES) \
|
---|
37 | testcase-help \
|
---|
38 | testcase-kFileFormatBase
|
---|
39 | @$(ECHO) + Completed DoxyGen v1.2.16! $(CLRRST)
|
---|
40 |
|
---|
41 | testcase-banner:
|
---|
42 | @$(ECHO) + Running testcases for DoxyGen v1.2.16! $(CLRRST)
|
---|
43 |
|
---|
44 |
|
---|
45 |
|
---|
46 | #
|
---|
47 | # This testcase checks the --help output.
|
---|
48 | # BUGBUG: why doesn't DOXYGEN.EXE output an absolute path?
|
---|
49 | #
|
---|
50 | testcase-help: testcase-help-banner $(PATH_TARGET)\doxygen.help.stdout
|
---|
51 | -1 $(TS_PEC) $(DOXYGEN) --help > $(PATH_TARGET)\stdout 2> $(PATH_TARGET)\stderr
|
---|
52 | $(TS_TEST_FILE_Z) $(PATH_TARGET)\stderr
|
---|
53 | $(TS_TEST_FILE_NZ) $(PATH_TARGET)\stdout
|
---|
54 | $(TS_SED) "s/ [.][.].*\\doxygen.exe/ DOXYGEN.EXE/I" $(PATH_TARGET)\stdout | $(TS_CMP) - $(PATH_TARGET)\doxygen.help.stdout
|
---|
55 | @$(ECHO) ++ help done!$(CLRRST)
|
---|
56 |
|
---|
57 | testcase-help-banner:
|
---|
58 | @$(ECHO) ++ help$(CLRRST)
|
---|
59 |
|
---|
60 | # This is the output of testcase-help
|
---|
61 | $(PATH_TARGET)\doxygen.help.stdout: $(MAKEFILE)
|
---|
62 | @$(TOOL_ECHO) Creating$(CLRRST) <<$@
|
---|
63 | Doxygen version 1.2.16
|
---|
64 | Copyright Dimitri van Heesch 1997-2002
|
---|
65 |
|
---|
66 | You can use doxygen in a number of ways:
|
---|
67 |
|
---|
68 | 1) Use doxygen to generate a template configuration file:
|
---|
69 | DOXYGEN.EXE [-s] -g [configName]
|
---|
70 |
|
---|
71 | If - is used for configName doxygen will write to standard output.
|
---|
72 |
|
---|
73 | 2) Use doxygen to update an old configuration file:
|
---|
74 | DOXYGEN.EXE [-s] -u [configName]
|
---|
75 |
|
---|
76 | 3) Use doxygen to generate documentation using an existing configuration file:
|
---|
77 | DOXYGEN.EXE [configName]
|
---|
78 |
|
---|
79 | If - is used for configName doxygen will read from standard input.
|
---|
80 |
|
---|
81 | 4) Use doxygen to generate a template style sheet file for RTF, HTML or Latex.
|
---|
82 | RTF: DOXYGEN.EXE -w rtf styleSheetFile
|
---|
83 | HTML: DOXYGEN.EXE -w html headerFile footerFile styleSheetFile [configFile]
|
---|
84 | LaTeX: DOXYGEN.EXE -w latex headerFile styleSheetFile [configFile]
|
---|
85 |
|
---|
86 | 5) Use doxygen to generate an rtf extensions file
|
---|
87 | RTF: DOXYGEN.EXE -e rtf extensionsFile
|
---|
88 |
|
---|
89 | If -s is specified the comments in the config file will be omitted.
|
---|
90 | If configName is omitted `Doxyfile' will be used as a default.
|
---|
91 |
|
---|
92 | <<KEEP
|
---|
93 |
|
---|
94 |
|
---|
95 |
|
---|
96 | #
|
---|
97 | # Testcase where we try to run doxygen on tools/common/kFileFormatBase.[cpp|h].
|
---|
98 | #
|
---|
99 | testcase-kFileFormatBase: testcase-kFileFormatBase-banner \
|
---|
100 | $(PATH_TARGET)\kFileFormatBase.conf \
|
---|
101 | $(PATH_TARGET)\kFileFormatBase.stdout \
|
---|
102 | $(PATH_TARGET)\kFileFormatBase.html.dir \
|
---|
103 | $(PATH_TARGET)\kFileFormatBase.latex.dir
|
---|
104 | $(TS_PEC) $(DOXYGEN) $(PATH_TARGET)\kFileFormatBase.conf 2> $(PATH_TARGET)\stderr2 | $(TS_TEE) $(PATH_TARGET)\stdout2
|
---|
105 | $(TS_SED) "s/Read .* bytes/Read x bytes/" $(PATH_TARGET)\stdout2 \
|
---|
106 | | $(TS_SED) "s/Preprocessing .*[\/\\]kFile/Preprocessing kFile/" \
|
---|
107 | | $(TS_SED) "s/Parsing file .*[\/\\]kFile/Parsing file kFile/" \
|
---|
108 | | $(TS_CMP) - $(PATH_TARGET)\kFileFormatBase.stdout
|
---|
109 | $(TS_TEST_FILE_Z) $(PATH_TARGET)\kFileFormatBase.stderr2
|
---|
110 | $(TS_DIR_B) $(PATH_TARGET)\html | $(TS_SED) "s/.*\\//g" | $(TS_CMP) - $(PATH_TARGET)\kFileFormatBase.html.dir
|
---|
111 | $(TS_DIR_B) $(PATH_TARGET)\latex | $(TS_SED) "s/.*\\//g" | $(TS_CMP) - $(PATH_TARGET)\kFileFormatBase.latex.dir
|
---|
112 | $(TS_TEST_FILE_NZ) $(PATH_TARGET)\rtf\refman.rtf
|
---|
113 | $(TS_TEST_DIR) $(PATH_TARGET)\man\man3
|
---|
114 | $(TS_TEST_FILE_NZ) $(PATH_TARGET)\man\man3\kFileFormatBase.3
|
---|
115 | @$(ECHO) * kFileFormatBase done!$(CLRRST)
|
---|
116 |
|
---|
117 | testcase-kFileFormatBase-banner:
|
---|
118 | @$(ECHO) * kFileFormatBase$(CLRRST)
|
---|
119 |
|
---|
120 |
|
---|
121 | $(PATH_TARGET)\kFileFormatBase.conf: $(MAKEFILE)
|
---|
122 | @$(TOOL_ECHO) Creating$(CLRRST) <<$@
|
---|
123 | # Doxyfile 1.2.16
|
---|
124 | PROJECT_NAME = Odin32Testsuite-kFileFormatBase
|
---|
125 | INPUT = $(PATH_ROOT)\tools\common\kFileFormatBase.h $(PATH_ROOT)\tools\common\kFileFormatBase.cpp
|
---|
126 | GENERATE_HTML = YES
|
---|
127 | HTML_OUTPUT = $(PATH_TARGET)\html
|
---|
128 | GENERATE_HTMLHELP = YES
|
---|
129 | GENERATE_CHI = YES
|
---|
130 | GENERATE_TREEVIEW = YES
|
---|
131 | # INCLUDE_PATH = $(PATH_ROOT)\tools\common - doesn't work.
|
---|
132 | GENERATE_LATEX = YES
|
---|
133 | LATEX_OUTPUT = $(PATH_TARGET)\latex
|
---|
134 | GENERATE_XML = NO
|
---|
135 | # XML_OUTPUT = $(PATH_TARGET)\xml - doesn't work
|
---|
136 | GENERATE_MAN = YES
|
---|
137 | MAN_OUTPUT = $(PATH_TARGET)\man
|
---|
138 | GENERATE_RTF = YES
|
---|
139 | RTF_OUTPUT = $(PATH_TARGET)\rtf
|
---|
140 | SEARCHENGINE = NO
|
---|
141 | <<KEEP
|
---|
142 |
|
---|
143 | # stdout
|
---|
144 | $(PATH_TARGET)\kFileFormatBase.stdout: $(MAKEFILE)
|
---|
145 | @$(TOOL_ECHO) Creating$(CLRRST) <<$@
|
---|
146 | Searching for include files...
|
---|
147 | Searching for example files...
|
---|
148 | Searching for images...
|
---|
149 | Searching for dot files...
|
---|
150 | Searching for files to exclude
|
---|
151 | Reading input files...
|
---|
152 | Reading tag files
|
---|
153 | Preprocessing kFileFormatBase.h...
|
---|
154 | Preprocessing kFileFormatBase.cpp...
|
---|
155 | Read x bytes
|
---|
156 | Parsing input...
|
---|
157 | Parsing file kFileFormatBase.h...
|
---|
158 | Parsing file kFileFormatBase.cpp...
|
---|
159 | Freeing input...
|
---|
160 | Building group list...
|
---|
161 | Building namespace list...
|
---|
162 | Building file list...
|
---|
163 | Building class list...
|
---|
164 | Building example list...
|
---|
165 | Searching for documented variables...
|
---|
166 | Building member list...
|
---|
167 | Searching for friends...
|
---|
168 | Searching for documented defines...
|
---|
169 | Computing template instances...
|
---|
170 | Creating members for template instances...
|
---|
171 | Computing class relations...
|
---|
172 | Searching for enumerations...
|
---|
173 | Searching for member function documentation...
|
---|
174 | Building page list...
|
---|
175 | Search for main page...
|
---|
176 | Sorting lists...
|
---|
177 | Freeing entry tree
|
---|
178 | Determining which enums are documented
|
---|
179 | Computing member relations...
|
---|
180 | Building full member lists recursively...
|
---|
181 | Adding members to member groups.
|
---|
182 | Computing member references...
|
---|
183 | Inheriting documentation...
|
---|
184 | Adding source references...
|
---|
185 | Adding todo/test/bug list items...
|
---|
186 | Counting data structures...
|
---|
187 | Generating disk names...
|
---|
188 | Resolving user defined references...
|
---|
189 | Generating index page...
|
---|
190 | Generating file index...
|
---|
191 | Generating example documentation...
|
---|
192 | Generating file sources...
|
---|
193 | Generating code for file kFileFormatBase.h...
|
---|
194 | Generating file documentation...
|
---|
195 | Generating class documentation...
|
---|
196 | Generating annotated compound index...
|
---|
197 | Generating hierarchical class index...
|
---|
198 | Generating member index...
|
---|
199 | Generating docs for compound kFileFormatBase...
|
---|
200 | Generating page documentation...
|
---|
201 | Generating group documentation...
|
---|
202 | Generating namespace index...
|
---|
203 | Generating group index...
|
---|
204 | Generating example index...
|
---|
205 | Generating file member index...
|
---|
206 | Generating namespace member index...
|
---|
207 | Generating page index...
|
---|
208 | Generating graph info page...
|
---|
209 | Generating search index...
|
---|
210 | Generating style sheet...
|
---|
211 | Combining RTF output...
|
---|
212 | <<KEEP
|
---|
213 |
|
---|
214 | # html files created
|
---|
215 | $(PATH_TARGET)\kFileFormatBase.html.dir: $(MAKEFILE)
|
---|
216 | @$(TOOL_ECHO) Creating$(CLRRST) <<$@
|
---|
217 | annotated.html
|
---|
218 | classkFileFormatBase-members.html
|
---|
219 | classkFileFormatBase.html
|
---|
220 | doxygen.css
|
---|
221 | doxygen.png
|
---|
222 | files.html
|
---|
223 | ftv2blank.png
|
---|
224 | ftv2doc.png
|
---|
225 | ftv2folderclosed.png
|
---|
226 | ftv2folderopen.png
|
---|
227 | ftv2lastnode.png
|
---|
228 | ftv2link.png
|
---|
229 | ftv2mlastnode.png
|
---|
230 | ftv2mnode.png
|
---|
231 | ftv2node.png
|
---|
232 | ftv2plastnode.png
|
---|
233 | ftv2pnode.png
|
---|
234 | ftv2vertline.png
|
---|
235 | functions.html
|
---|
236 | index.hhc
|
---|
237 | index.hhk
|
---|
238 | index.hhp
|
---|
239 | index.html
|
---|
240 | kFileFormatBase_8h-source.html
|
---|
241 | main.html
|
---|
242 | tree.html
|
---|
243 | tree.js
|
---|
244 | treeview.js
|
---|
245 | <<KEEP
|
---|
246 |
|
---|
247 | # latex files created
|
---|
248 | $(PATH_TARGET)\kFileFormatBase.latex.dir: $(MAKEFILE)
|
---|
249 | @$(TOOL_ECHO) Creating$(CLRRST) <<$@
|
---|
250 | annotated.tex
|
---|
251 | classkFileFormatBase.tex
|
---|
252 | doxygen.sty
|
---|
253 | Makefile
|
---|
254 | refman.tex
|
---|
255 | <<KEEP
|
---|
256 |
|
---|
257 |
|
---|
258 |
|
---|
259 | #
|
---|
260 | # Clean rule
|
---|
261 | #
|
---|
262 | clean:
|
---|
263 | $(TOOL_RM) *.log $(PATH_TARGET)\html\* $(PATH_TARGET)\latex\* $(PATH_TARGET)\man\man3\*
|
---|
264 | $(TOOL_RM) $(PATH_TARGET)\rtf\* $(PATH_TARGET)\xml\*
|
---|
265 | -$(TOOL_RMDIR) $(PATH_TARGET)\html 2> nul
|
---|
266 | -$(TOOL_RMDIR) $(PATH_TARGET)\latex 2> nul
|
---|
267 | -$(TOOL_RMDIR) $(PATH_TARGET)\man\man3 2> nul
|
---|
268 | -$(TOOL_RMDIR) $(PATH_TARGET)\man 2> nul
|
---|
269 | -$(TOOL_RMDIR) $(PATH_TARGET)\rtf 2> nul
|
---|
270 | -$(TOOL_RMDIR) $(PATH_TARGET)\xml 2> nul
|
---|
271 | -$(TOOL_RM) $(PATH_TARGET)\*
|
---|
272 |
|
---|