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