• Home
  • Raw
  • Download

Lines Matching +full:doxyfile +full:- +full:path

1 # SPDX-License-Identifier: BSD-2-Clause
2 # Copyright (c) 2015 - 2020 Intel Corporation
3 # Copyright (c) 2018 - 2020 Fraunhofer SIT sponsored by Infineon Technologies AG
6 AC_INIT([tpm2-tss],
8 [https://github.com/tpm2-software/tpm2-tss/issues],
10 [https://github.com/tpm2-software/tpm2-tss])
13 subdir-objects])
14 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) #Backward compatible setting of "silent-rules"
18 …e Doxyfile lib/tss2-sys.pc lib/tss2-esys.pc lib/tss2-mu.pc lib/tss2-tcti-device.pc lib/tss2-tcti-m…
25 AX_IS_RELEASE(dash-version)
38 *nto-qnx*)
40 ADD_COMPILER_FLAG([-D_QNX_SOURCE])
41 LIBSOCKET_LDFLAGS="-lsocket"
58 AS_HELP_STRING([--with-runstatedir=<dir>],
59 [replacement for --runstatedir in Autoconf <2.70]),
61 AS_IF([test -z "$runstatedir"], [runstatedir="${localstatedir}/run"])
68 [AS_HELP_STRING([--with-userstatedir=<dir>],
69 … [sets the relative path in the user's home (default is ".local/share")])],,
74 [AS_HELP_STRING([--with-sysusersdir=<dir>],
80 [AS_HELP_STRING([--with-tmpfilesdir=<dir>],
86 [AS_HELP_STRING([--enable-unit],
98 [AS_HELP_STRING([--disable-esapi],
107 [AS_HELP_STRING([--enable-fapi],
114 AC_ARG_ENABLE([fapi-async-tests],
115 AS_HELP_STRING([--enable-fapi-async-tests],
123 AC_ARG_ENABLE([tcti-device-async],
124 AS_HELP_STRING([--enable-tcti-device-async],
131 AC_ARG_ENABLE([tcti-partial-reads],
132 AS_HELP_STRING([--enable-tcti-partial-reads],
140 [AS_HELP_STRING([--with-crypto={gcrypt,ossl}],
157 ], AC_MSG_ERROR([Bad value for --with-crypto $with_crypto]))])
161 AS_IF([test "x$enable_fapi" != xno -a "x$enable_esapi" = "xno"],
164 AS_IF([test "x$enable_fapi" != xno -a "x$with_crypto" != "xossl"],
168 PKG_CHECK_MODULES([JSON_C], [json-c]))
174 [AS_HELP_STRING([--with-tctidefaultmodule],
175 [The default TCTI module for ESAPI. (Default: libtss2-tcti-default.so)])],
179 [with_tctidefaultmodule=libtss2-tcti-default.so])
182 [AS_HELP_STRING([--with-tctidefaultconfig],
188 AC_ARG_ENABLE([tcti-device],
189 [AS_HELP_STRING([--disable-tcti-device],
190 [don't build the tcti-device module])],,
196 AC_ARG_ENABLE([tcti-mssim],
197 [AS_HELP_STRING([--disable-tcti-mssim],
198 [don't build the tcti-mssim module])],,
204 AC_ARG_ENABLE([tcti-fuzzing],
205 [AS_HELP_STRING([--enable-tcti-fuzzing],
206 [build the tcti-fuzzing module])],,
213 [AS_HELP_STRING([--enable-nodl],
225 [AS_HELP_STRING([--with-udevrulesdir=DIR],[udev rules directory])],,
230 [AS_HELP_STRING([--with-udevrulesprefix=XY],[prefix for udev rules file])],
232 AM_CONDITIONAL(WITH_UDEVRULESPREFIX, [test -n "$with_udevrulesprefix"])
237 [AS_HELP_STRING([--enable-integration],
240 AS_IF([test "x$enable_integration" = "xyes" -a "$HOSTOS" = "Linux"],
259 AS_IF([test "x$with_crypto" != xossl -o "x$enable_esapi" != xyes],
261 … AC_CHECK_HEADER(uthash.h, [], [AC_MSG_ERROR([Can not find uthash.h. Please install uthash-dev])])
270 [AS_HELP_STRING([--with-sanitizer={none,address,undefined}],
278 SANITIZER_CFLAGS="-fsanitize=address -fno-omit-frame-pointer"
279 SANITIZER_LDFLAGS="-lasan"
283 SANITIZER_CFLAGS="-fsanitize=undefined"
284 SANITIZER_LDFLAGS="-lubsan"
286 [AC_MSG_ERROR([Bad value for --with-sanitizer])])
293 [AS_HELP_STRING([--with-fuzzing={none,libfuzzer,ossfuzz}],
300 [ADD_FUZZING_FLAG([-fsanitize=fuzzer])],
304 ADD_FUZZING_FLAG([-lFuzzingEngine])],
305 [AC_MSG_ERROR([Bad value for --with-fuzzing])])
318 [AS_HELP_STRING([--with-maxloglevel={none,error,warning,info,debug,trace}],
334 [AC_MSG_ERROR([Bad value for --with-maxloglevel])])
337 [AS_HELP_STRING([--disable-defaultflags],
343 [ADD_COMPILER_FLAG([-O2])
345 ADD_COMPILER_FLAG([-std=c99])
346 ADD_COMPILER_FLAG([-Wall])
347 ADD_COMPILER_FLAG([-Wextra])
348 ADD_COMPILER_FLAG([-Wformat-security])
350 [ADD_COMPILER_FLAG([-Werror])])
351 ADD_COMPILER_FLAG([-fstack-protector-all])
352 ADD_COMPILER_FLAG([-fpic])
353 ADD_COMPILER_FLAG([-fPIC])
356 ADD_COMPILER_FLAG([-Wno-missing-braces])
357 ADD_COMPILER_FLAG([-Wstrict-overflow=5])
358 ADD_LINK_FLAG([-Wl,--no-undefined])
359 ADD_LINK_FLAG([-Wl,-z,noexecstack])
360 ADD_LINK_FLAG([-Wl,-z,now])
361 ADD_LINK_FLAG([-Wl,-z,relro])
365 [AS_HELP_STRING([--disable-weakcrypto],
371 AC_SUBST([PATH]) subst
373 dnl --------- Physical TPM device -----------------------
376 [AS_HELP_STRING([--with-ptpm=<device>],[TPM device])],
377 [AS_IF([test \( -w "$with_ptpm" \) -a \( -r "$with_ptpm" \)],
387 …[AS_HELP_STRING([--with-ptpmtests=<case>],[Comma-separated values of possible tests: destructive,m…
411 dnl --------- Doxy Gen -----------------------
422 DX_INIT_DOXYGEN($PACKAGE_NAME, [Doxyfile], [doxygen-doc])
423 AM_CONDITIONAL(DOXYMAN, [test $DX_FLAG_man -eq 1])
437 [AC_MSG_WARN("No build-in TCTI module enabled")])])])
441 …([Fuzzing TCTI is meant to be built as the only TCTI: use --disable-tcti-device --disable-tcti-mss…
443 …([Fuzzing TCTI is meant to be built as the only TCTI: use --disable-tcti-device --disable-tcti-mss…
461 tcti-device-async: $enable_tcti_device_async
462 tcti-partial-read: $enable_tcti_partial_reads