blob: 6b09ae39a3dc043c847c7a75dd0eb8882093c657 [file] [log] [blame]
David Horstmann7ba04a22024-09-03 17:36:30 +01001PROJECT_NAME = "Mbed TLS v4.0.0"
Krzysztof Stachowiaka0188d62018-01-19 16:21:11 +01002OUTPUT_DIRECTORY = ../apidoc/
Paul Bakker37ca75d2011-01-06 12:28:03 +00003FULL_PATH_NAMES = NO
Paul Bakker37ca75d2011-01-06 12:28:03 +00004OPTIMIZE_OUTPUT_FOR_C = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +00005EXTRACT_ALL = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +00006EXTRACT_PRIVATE = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +00007EXTRACT_STATIC = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +00008CASE_SENSE_NAMES = NO
Ronald Cron09de5832024-06-17 13:52:55 +02009INPUT = ../include ../tf-psa-crypto/include input ../tf-psa-crypto/drivers/builtin/include ../tests/include/alt-dummy
Ronald Cron51f228c2024-11-06 14:32:52 +010010EXCLUDE = ../tf-psa-crypto/drivers/builtin/include/mbedtls/build_info.h
Manuel Pégourié-Gonnard27d81392015-03-10 17:37:30 +000011FILE_PATTERNS = *.h
Paul Bakker37ca75d2011-01-06 12:28:03 +000012RECURSIVE = YES
Gilles Peskine11d3cf42017-12-22 15:34:37 +010013EXCLUDE_SYMLINKS = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +000014SOURCE_BROWSER = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +000015REFERENCED_BY_RELATION = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +000016REFERENCES_RELATION = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +000017ALPHABETICAL_INDEX = NO
Paul Bakker37ca75d2011-01-06 12:28:03 +000018HTML_OUTPUT = .
Paul Bakker37ca75d2011-01-06 12:28:03 +000019HTML_TIMESTAMP = YES
Andrzej Kurek47cfd152022-01-21 08:43:44 -050020SEARCHENGINE = YES
Paul Bakker37ca75d2011-01-06 12:28:03 +000021GENERATE_LATEX = NO
David Horstmanndbee8832023-03-22 17:35:14 +000022GENERATE_XML = YES
Mateusz Starzykbeb95b42021-05-20 14:41:22 +020023MACRO_EXPANSION = YES
Mateusz Starzykbeb95b42021-05-20 14:41:22 +020024EXPAND_ONLY_PREDEF = YES
Ronald Cron09de5832024-06-17 13:52:55 +020025INCLUDE_PATH = ../include ../tf-psa-crypto/include ../tf-psa-crypto/drivers/builtin/include
Mateusz Starzykbeb95b42021-05-20 14:41:22 +020026EXPAND_AS_DEFINED = MBEDTLS_PRIVATE
Paul Bakker37ca75d2011-01-06 12:28:03 +000027CLASS_DIAGRAMS = NO
Paul Bakker37ca75d2011-01-06 12:28:03 +000028HAVE_DOT = YES
Paul Bakker13a94a12013-09-10 16:17:15 +020029DOT_GRAPH_MAX_NODES = 200
Paul Bakker37ca75d2011-01-06 12:28:03 +000030MAX_DOT_GRAPH_DEPTH = 1000
Paul Bakker37ca75d2011-01-06 12:28:03 +000031DOT_TRANSPARENT = YES
Gilles Peskine8ea7d852023-02-14 19:15:40 +010032
Gilles Peskine2fb4e142023-02-23 13:37:54 +010033# We mostly use \retval declarations to document which error codes a function
Gilles Peskine4348a832023-02-23 13:03:30 +010034# can return. The reader can follow the hyperlink to the definition of the
35# constant to get the generic documentation of that error code. If we don't
36# have anything to say about the specific error code for the specific
37# function, we can leave the description part of the \retval command blank.
38# This is perfectly valid as far as Doxygen is concerned. However, with
39# Clang >=15, the -Wdocumentation option emits a warning for empty
40# descriptions.
Gilles Peskine8ea7d852023-02-14 19:15:40 +010041# https://github.com/Mbed-TLS/mbedtls/issues/6960
42# https://github.com/llvm/llvm-project/issues/60315
Gilles Peskine4348a832023-02-23 13:03:30 +010043# As a workaround, you can write something like
Gilles Peskine787f7c82023-02-21 10:21:12 +010044# \retval #PSA_ERROR_INSUFFICIENT_MEMORY \emptydescription
Gilles Peskine4348a832023-02-23 13:03:30 +010045# This avoids writing redundant text and keeps Clang happy.
Gilles Peskine8ea7d852023-02-14 19:15:40 +010046ALIASES += emptydescription=""
David Horstmann1d46bfb2023-03-14 14:20:38 +000047
David Horstmannb9f06742023-03-16 16:07:12 +000048# Define away Mbed TLS macros that make parsing definitions difficult.
49# MBEDTLS_DEPRECATED is not included in this list as it's important to
50# display deprecated status in the documentation.
51PREDEFINED = "MBEDTLS_CHECK_RETURN_CRITICAL=" \
52 "MBEDTLS_CHECK_RETURN_TYPICAL=" \
53 "MBEDTLS_CHECK_RETURN_OPTIONAL=" \
54 "MBEDTLS_PRINTF_ATTRIBUTE(a,b)=" \
Andrzej Kurek2b3c06e2023-07-03 06:52:37 -040055 "__DOXYGEN__" \
David Horstmannb9f06742023-03-16 16:07:12 +000056