From 0861b3311dafb3dfb78dd65c92776e4d66dd5b13 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 7 Jan 2019 14:57:23 +0000 Subject: * TROUSERS_0_3_14 - Changes to support OpenSSL 1.1.0 - Removed some warnings for proper builds - Changes to allow building on OS X - Fixed memory leaks - Fixed failure to recognize connections from localhost over IPv6 - Fixed for an exploitable local denial of service in tcsd * TROUSERS_0_3_13 - Changed exported functions which had a name too common, to avoid collision - Assessed daemon security using manual techniques and coverit - Fixed major security bugs and memory leaks - Added debug support to run tcsd with a different user/group - Daemon now properly closes sockets before shutting down * TROUSERS_0_3_12 - Added new network code for RPC, which supports IPv6 - Users of client applications can configure the hostname of the tcsd server they want to connect through the TSS_TCSD_HOSTNAME env var (only works if application didn't set a hostname in the context) - Added disable_ipv4 and disable_ipv6 config options for server * TROUSERS_0_3_11 - Fix build process for distros - License was changed from GPL to BSD - Many bugfixes - updated man pages --- crypto/external/cpl/trousers/dist/.gitignore | 32 + crypto/external/cpl/trousers/dist/.pc/.version | 1 + crypto/external/cpl/trousers/dist/AUTHORS | 5 +- crypto/external/cpl/trousers/dist/ChangeLog | 28 + crypto/external/cpl/trousers/dist/LICENSE | 96 +- crypto/external/cpl/trousers/dist/Makefile.am | 2 +- crypto/external/cpl/trousers/dist/Makefile.in | 10 +- crypto/external/cpl/trousers/dist/README | 4 +- crypto/external/cpl/trousers/dist/aclocal.m4 | 85 +- crypto/external/cpl/trousers/dist/bootstrap.sh | 5 + crypto/external/cpl/trousers/dist/configure | 6551 +++++++++++++------- crypto/external/cpl/trousers/dist/configure.ac | 412 ++ crypto/external/cpl/trousers/dist/dist/Makefile.am | 11 +- crypto/external/cpl/trousers/dist/dist/Makefile.in | 25 +- .../cpl/trousers/dist/dist/fedora/trousers.fc | 4 + .../cpl/trousers/dist/dist/fedora/trousers.spec.in | 2 +- .../cpl/trousers/dist/dist/fedora/trousers.te | 33 + .../external/cpl/trousers/dist/dist/tcsd.conf.in | 21 + .../cpl/trousers/dist/dist/trousers.spec.in | 2 +- crypto/external/cpl/trousers/dist/ltmain.sh | 33 +- crypto/external/cpl/trousers/dist/man/Makefile.in | 6 +- .../cpl/trousers/dist/man/man3/Makefile.am | 24 +- .../cpl/trousers/dist/man/man3/Makefile.in | 148 +- .../dist/man/man3/Tspi_Hash_GetHashValue.3 | 2 +- .../dist/man/man3/Tspi_Hash_SetHashValue.3 | 2 +- .../cpl/trousers/dist/man/man3/Tspi_Hash_Sign.3 | 4 +- .../dist/man/man3/Tspi_Hash_VerifySignature.3 | 2 +- .../trousers/dist/man/man3/Tspi_TPM_PcrExtend.3 | 3 +- .../cpl/trousers/dist/man/man3/Tspi_TPM_Quote2.3 | 100 + .../cpl/trousers/dist/man/man5/Makefile.in | 6 +- .../cpl/trousers/dist/man/man8/Makefile.in | 6 +- .../external/cpl/trousers/dist/man/man8/tcsd.8.in | 23 +- crypto/external/cpl/trousers/dist/src/Makefile.in | 6 +- .../cpl/trousers/dist/src/include/Makefile.am | 2 +- .../cpl/trousers/dist/src/include/Makefile.in | 8 +- .../dist/src/include/daa/anonymity_revocation.h | 62 + .../cpl/trousers/dist/src/include/daa/bi.h | 380 ++ .../cpl/trousers/dist/src/include/daa/bi_gmp.h | 295 + .../cpl/trousers/dist/src/include/daa/bi_openssl.h | 352 ++ .../trousers/dist/src/include/daa/daa_parameter.h | 87 + .../trousers/dist/src/include/daa/daa_structs.h | 385 ++ .../cpl/trousers/dist/src/include/daa/issuer.h | 71 + .../trousers/dist/src/include/daa/key_correct.h | 31 + .../cpl/trousers/dist/src/include/daa/list.h | 40 + .../cpl/trousers/dist/src/include/daa/platform.h | 115 + .../cpl/trousers/dist/src/include/daa/verifier.h | 110 + .../cpl/trousers/dist/src/include/hosttable.h | 1 - .../cpl/trousers/dist/src/include/obj_context.h | 2 +- .../cpl/trousers/dist/src/include/obj_daa.h | 2 +- .../cpl/trousers/dist/src/include/obj_daaarakey.h | 2 +- .../cpl/trousers/dist/src/include/obj_daacred.h | 2 +- .../trousers/dist/src/include/obj_daaissuerkey.h | 2 +- .../cpl/trousers/dist/src/include/obj_delfamily.h | 2 +- .../cpl/trousers/dist/src/include/obj_encdata.h | 2 +- .../cpl/trousers/dist/src/include/obj_hash.h | 2 +- .../cpl/trousers/dist/src/include/obj_migdata.h | 2 +- .../cpl/trousers/dist/src/include/obj_nv.h | 17 +- .../cpl/trousers/dist/src/include/obj_pcrs.h | 2 +- .../cpl/trousers/dist/src/include/obj_policy.h | 2 +- .../cpl/trousers/dist/src/include/obj_rsakey.h | 2 +- .../cpl/trousers/dist/src/include/obj_tpm.h | 2 +- .../trousers/dist/src/include/portable_endian.h | 115 + .../cpl/trousers/dist/src/include/rpc_tcstp.h | 3 +- .../cpl/trousers/dist/src/include/rpc_tcstp_tcs.h | 4 +- .../cpl/trousers/dist/src/include/rpc_tcstp_tsp.h | 4 +- .../cpl/trousers/dist/src/include/spi_utils.h | 7 + .../cpl/trousers/dist/src/include/tcs_tsp.h | 5 + .../cpl/trousers/dist/src/include/tcs_utils.h | 5 - .../cpl/trousers/dist/src/include/tcslog.h | 7 + .../cpl/trousers/dist/src/include/tsp_tcsi_param.h | 27 + .../cpl/trousers/dist/src/include/tss/TSP.idl | 762 +++ .../cpl/trousers/dist/src/include/tss/tpm.h | 4 + .../external/cpl/trousers/dist/src/tcs/Makefile.am | 2 +- .../external/cpl/trousers/dist/src/tcs/Makefile.in | 1077 ++-- .../trousers/dist/src/tcs/crypto/openssl/crypto.c | 13 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_admin.c | 40 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_aik.c | 15 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_audit.c | 15 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_auth.c | 10 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_bind.c | 5 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps.c | 5 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_caps_tpm.c | 15 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_certify.c | 5 +- .../dist/src/tcs/rpc/tcstp/rpc_changeauth.c | 10 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_cmk.c | 30 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_context.c | 2 + .../trousers/dist/src/tcs/rpc/tcstp/rpc_counter.c | 25 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_daa.c | 10 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_delegate.c | 40 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_dir.c | 10 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ek.c | 25 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_evlog.c | 22 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_key.c | 42 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_maint.c | 25 +- .../dist/src/tcs/rpc/tcstp/rpc_migration.c | 15 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_nv.c | 47 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_oper.c | 5 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_own.c | 10 +- .../dist/src/tcs/rpc/tcstp/rpc_pcr_extend.c | 15 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ps.c | 37 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_quote.c | 5 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_quote2.c | 5 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_random.c | 10 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_seal.c | 10 +- .../trousers/dist/src/tcs/rpc/tcstp/rpc_selftest.c | 5 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_sign.c | 5 +- .../cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_tick.c | 5 +- .../dist/src/tcs/rpc/tcstp/rpc_transport.c | 15 +- .../external/cpl/trousers/dist/src/tcs/tcs_aik.c | 1 + .../cpl/trousers/dist/src/tcs/tcs_context.c | 7 +- .../cpl/trousers/dist/src/tcs/tcs_context_key.c | 2 +- .../cpl/trousers/dist/src/tcs/tcs_evlog_biosem.c | 2 +- .../cpl/trousers/dist/src/tcs/tcs_evlog_imaem.c | 76 +- .../cpl/trousers/dist/src/tcs/tcs_key_mem_cache.c | 18 +- .../external/cpl/trousers/dist/src/tcs/tcs_pbg.c | 22 +- .../external/cpl/trousers/dist/src/tcs/tcs_utils.c | 6 - .../cpl/trousers/dist/src/tcs/tcsi_caps_tpm.c | 6 +- .../cpl/trousers/dist/src/tcs/tcsi_evlog.c | 11 +- .../external/cpl/trousers/dist/src/tcs/tcsi_nv.c | 17 +- .../external/cpl/trousers/dist/src/tcs/tcsi_ps.c | 30 +- .../cpl/trousers/dist/src/tcs/tcsi_transport.c | 2 +- .../cpl/trousers/dist/src/tcsd/Makefile.am | 4 +- .../cpl/trousers/dist/src/tcsd/Makefile.in | 30 +- .../cpl/trousers/dist/src/tddl/Makefile.am | 2 +- .../cpl/trousers/dist/src/tddl/Makefile.in | 27 +- .../cpl/trousers/dist/src/trspi/Makefile.in | 98 +- .../cpl/trousers/dist/src/trspi/crypto/Makefile.am | 1 + .../trousers/dist/src/trspi/crypto/openssl/hash.c | 15 +- .../trousers/dist/src/trspi/crypto/openssl/rsa.c | 64 +- .../dist/src/trspi/crypto/openssl/symmetric.c | 53 +- .../cpl/trousers/dist/src/trspi/trousers.c | 7 +- .../cpl/trousers/dist/src/tspi/Makefile.am | 3 +- .../cpl/trousers/dist/src/tspi/Makefile.in | 1240 ++-- .../cpl/trousers/dist/src/tspi/daa/Makefile.am | 31 + .../dist/src/tspi/daa/big_integer/test/Makefile.am | 9 + .../dist/src/tspi/daa/big_integer/test/multi_exp.c | 29 + .../dist/src/tspi/daa/big_integer/test/test.c | 296 + .../cpl/trousers/dist/src/tspi/daa/daa_debug.c | 294 + .../cpl/trousers/dist/src/tspi/daa/daa_debug.h | 66 + .../src/tspi/daa/daa_issuer/issue_credential.c | 68 +- .../dist/src/tspi/daa/daa_issuer/issuer_setup.c | 166 + .../tspi/daa/daa_issuer/key_correctness_proof.c | 26 +- .../src/tspi/daa/daa_issuer/key_verification.c | 147 + .../dist/src/tspi/daa/daa_platform/platform.c | 43 +- .../trousers/dist/src/tspi/daa/daa_platform/test.c | 142 + .../dist/src/tspi/daa/daa_platform/test_join.c | 505 ++ .../cpl/trousers/dist/src/tspi/daa/daa_structs.c | 44 +- .../src/tspi/daa/daa_verifier/test/Makefile.am | 7 + .../tspi/daa/daa_verifier/verifier_transaction.c | 102 +- .../cpl/trousers/dist/src/tspi/daa/test_sign.c | 241 + .../cpl/trousers/dist/src/tspi/gtk/callbacks.h | 58 + .../cpl/trousers/dist/src/tspi/gtk/interface.h | 30 + .../external/cpl/trousers/dist/src/tspi/gtk/main.c | 4 +- .../cpl/trousers/dist/src/tspi/gtk/support.h | 81 + crypto/external/cpl/trousers/dist/src/tspi/log.c | 5 +- crypto/external/cpl/trousers/dist/src/tspi/obj.c | 4 +- .../cpl/trousers/dist/src/tspi/obj_context.c | 58 +- .../external/cpl/trousers/dist/src/tspi/obj_daa.c | 151 + .../cpl/trousers/dist/src/tspi/obj_delfamily.c | 8 +- .../cpl/trousers/dist/src/tspi/obj_encdata.c | 9 +- .../cpl/trousers/dist/src/tspi/obj_migdata.c | 6 +- .../external/cpl/trousers/dist/src/tspi/obj_nv.c | 17 +- .../external/cpl/trousers/dist/src/tspi/obj_pcrs.c | 31 +- .../cpl/trousers/dist/src/tspi/obj_policy.c | 6 +- .../cpl/trousers/dist/src/tspi/obj_rsakey.c | 10 +- .../external/cpl/trousers/dist/src/tspi/obj_tpm.c | 4 +- .../cpl/trousers/dist/src/tspi/rpc/hosttable.c | 54 +- .../cpl/trousers/dist/src/tspi/rpc/tcstp/rpc.c | 127 +- .../trousers/dist/src/tspi/rpc/tcstp/rpc_admin.c | 2 +- .../trousers/dist/src/tspi/rpc/tcstp/rpc_audit.c | 3 +- .../trousers/dist/src/tspi/rpc/tcstp/rpc_certify.c | 2 +- .../cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_cmk.c | 7 +- .../dist/src/tspi/rpc/tcstp/rpc_delegate.c | 11 +- .../dist/src/tspi/rpc/tcstp/rpc_migration.c | 2 +- .../cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_nv.c | 14 - .../dist/src/tspi/rpc/tcstp/rpc_transport.c | 4 +- .../external/cpl/trousers/dist/src/tspi/ssl_ui.c | 3 +- .../external/cpl/trousers/dist/src/tspi/tsp_auth.c | 12 +- .../external/cpl/trousers/dist/src/tspi/tsp_caps.c | 2 + .../cpl/trousers/dist/src/tspi/tsp_context_mem.c | 7 + .../external/cpl/trousers/dist/src/tspi/tsp_daa.c | 4 +- .../cpl/trousers/dist/src/tspi/tsp_delegate.c | 10 +- .../external/cpl/trousers/dist/src/tspi/tsp_pcr.c | 4 +- .../cpl/trousers/dist/src/tspi/tsp_policy.c | 2 +- .../external/cpl/trousers/dist/src/tspi/tsp_ps.c | 2 +- .../cpl/trousers/dist/src/tspi/tsp_tcsi_param.c | 168 + .../cpl/trousers/dist/src/tspi/tsp_transport.c | 88 + .../cpl/trousers/dist/src/tspi/tspi_admin.c | 18 +- .../external/cpl/trousers/dist/src/tspi/tspi_aik.c | 9 +- .../cpl/trousers/dist/src/tspi/tspi_audit.c | 2 +- .../cpl/trousers/dist/src/tspi/tspi_certify.c | 28 +- .../cpl/trousers/dist/src/tspi/tspi_changeauth.c | 2 +- .../external/cpl/trousers/dist/src/tspi/tspi_cmk.c | 2 +- .../cpl/trousers/dist/src/tspi/tspi_context.c | 22 +- .../external/cpl/trousers/dist/src/tspi/tspi_dir.c | 2 +- .../external/cpl/trousers/dist/src/tspi/tspi_ek.c | 14 +- .../external/cpl/trousers/dist/src/tspi/tspi_key.c | 29 +- .../cpl/trousers/dist/src/tspi/tspi_maint.c | 1 - .../cpl/trousers/dist/src/tspi/tspi_migration.c | 8 +- .../external/cpl/trousers/dist/src/tspi/tspi_nv.c | 18 +- .../external/cpl/trousers/dist/src/tspi/tspi_ps.c | 10 +- .../cpl/trousers/dist/src/tspi/tspi_quote.c | 10 +- .../cpl/trousers/dist/src/tspi/tspi_quote2.c | 6 +- .../cpl/trousers/dist/src/tspi/tspi_selftest.c | 2 +- 204 files changed, 13079 insertions(+), 4325 deletions(-) create mode 100644 crypto/external/cpl/trousers/dist/.gitignore create mode 100644 crypto/external/cpl/trousers/dist/.pc/.version create mode 100755 crypto/external/cpl/trousers/dist/bootstrap.sh create mode 100644 crypto/external/cpl/trousers/dist/configure.ac create mode 100644 crypto/external/cpl/trousers/dist/dist/fedora/trousers.fc create mode 100644 crypto/external/cpl/trousers/dist/dist/fedora/trousers.te create mode 100644 crypto/external/cpl/trousers/dist/man/man3/Tspi_TPM_Quote2.3 create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/anonymity_revocation.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/bi.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/bi_gmp.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/bi_openssl.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/daa_parameter.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/daa_structs.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/issuer.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/key_correct.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/list.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/platform.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/daa/verifier.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/portable_endian.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/tsp_tcsi_param.h create mode 100644 crypto/external/cpl/trousers/dist/src/include/tss/TSP.idl create mode 100644 crypto/external/cpl/trousers/dist/src/trspi/crypto/Makefile.am create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/Makefile.am create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/Makefile.am create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/multi_exp.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/test.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/daa_debug.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/daa_debug.h create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issuer_setup.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/key_verification.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test_join.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/test/Makefile.am create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/daa/test_sign.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/gtk/callbacks.h create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/gtk/interface.h create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/gtk/support.h create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/obj_daa.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/tsp_tcsi_param.c create mode 100644 crypto/external/cpl/trousers/dist/src/tspi/tsp_transport.c (limited to 'crypto') diff --git a/crypto/external/cpl/trousers/dist/.gitignore b/crypto/external/cpl/trousers/dist/.gitignore new file mode 100644 index 00000000000..012c996219f --- /dev/null +++ b/crypto/external/cpl/trousers/dist/.gitignore @@ -0,0 +1,32 @@ +*.deps +*.o +*.la +*.libs +*.lo +*.a +*.spec +*~ +*Makefile +*Makefile.in +/.pc +/ltmain.sh +/aclocal.m4 +/autom4te.cache +/config.guess +/config.log +/config.status +/config.sub +/configure +/depcomp +/install-sh +/libtool +/missing +/dist/tcsd.conf +/man/man5/*.5 +/man/man8/*.8 +/src/tcsd/tcsd +/tools/ps_convert +/tools/ps_inspect +cscope.out +tags +compile diff --git a/crypto/external/cpl/trousers/dist/.pc/.version b/crypto/external/cpl/trousers/dist/.pc/.version new file mode 100644 index 00000000000..0cfbf08886f --- /dev/null +++ b/crypto/external/cpl/trousers/dist/.pc/.version @@ -0,0 +1 @@ +2 diff --git a/crypto/external/cpl/trousers/dist/AUTHORS b/crypto/external/cpl/trousers/dist/AUTHORS index badfc265f8e..c05aed4b849 100644 --- a/crypto/external/cpl/trousers/dist/AUTHORS +++ b/crypto/external/cpl/trousers/dist/AUTHORS @@ -4,9 +4,9 @@ All authors of this TSS have been funded by IBM. The TSS code was originally written for WIN32 by Ryan Catherman and ported to Linux initially by Seiji Munetoh and Taiga Nakamura as well as Ryan. -The code has since been modified by Seiji Munetoh and Kent Yoder. +The code has since been modified by Seiji Munetoh, Kent Yoder and Richard Maciel. -The code is currently maintained by Kent Yoder . +The code is currently maintained by Hon Ching(Vicky) Lo The manpages were originally written by Megan Schneider and Kathy Robertson and have been modified by Kent Yoder. @@ -16,6 +16,7 @@ Tom Lendacky Loulwa Salem Ramon Brandao Klaus Kiwi +Kent Yoder Specifically the NVRAM implementation: James Xu diff --git a/crypto/external/cpl/trousers/dist/ChangeLog b/crypto/external/cpl/trousers/dist/ChangeLog index 4508d5834f2..76262f3cb94 100644 --- a/crypto/external/cpl/trousers/dist/ChangeLog +++ b/crypto/external/cpl/trousers/dist/ChangeLog @@ -1,3 +1,31 @@ +* TROUSERS_0_3_14 +- Changes to support OpenSSL 1.1.0 +- Removed some warnings for proper builds +- Changes to allow building on OS X +- Fixed memory leaks +- Fixed failure to recognize connections from localhost over IPv6 +- Fixed for an exploitable local denial of service in tcsd + +* TROUSERS_0_3_13 +- Changed exported functions which had a name too common, to avoid collision +- Assessed daemon security using manual techniques and coverit +- Fixed major security bugs and memory leaks +- Added debug support to run tcsd with a different user/group +- Daemon now properly closes sockets before shutting down + +* TROUSERS_0_3_12 +- Added new network code for RPC, which supports IPv6 +- Users of client applications can configure the hostname of the tcsd server +they want to connect through the TSS_TCSD_HOSTNAME env var (only works if +application didn't set a hostname in the context) +- Added disable_ipv4 and disable_ipv6 config options for server + +* TROUSERS_0_3_11 +- Fix build process for distros +- License was changed from GPL to BSD +- Many bugfixes +- updated man pages + * TROUSERS_0_3_8 - Fix ssl_ui.c overflow diff --git a/crypto/external/cpl/trousers/dist/LICENSE b/crypto/external/cpl/trousers/dist/LICENSE index cdaf59a8a23..4cf214d012b 100644 --- a/crypto/external/cpl/trousers/dist/LICENSE +++ b/crypto/external/cpl/trousers/dist/LICENSE @@ -1,87 +1,15 @@ +Copyright (c) 2013, TrouSerS Project +All rights reserved. -THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -1. DEFINITIONS - -"Contribution" means: - - a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and - - b) in the case of each subsequent Contributor: - - i) changes to the Program, and - - ii) additions to the Program; - - where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program. - -"Contributor" means any person or entity that distributes the Program. - -"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program. - -"Program" means the Contributions distributed in accordance with this Agreement. - -"Recipient" means anyone who receives the Program under this Agreement, including all Contributors. - -2. GRANT OF RIGHTS - - a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form. - - b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder. - - c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program. - - d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement. - -3. REQUIREMENTS - -A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that: - - a) it complies with the terms and conditions of this Agreement; and - - b) its license agreement: - - i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose; - - ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits; - - iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and - - iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange. - -When the Program is made available in source code form: - - a) it must be made available under this Agreement; and - - b) a copy of this Agreement must be included with each copy of the Program. - -Contributors may not remove or alter any copyright notices contained within the Program. - -Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution. - -4. COMMERCIAL DISTRIBUTION - -Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense. - -For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages. - -5. NO WARRANTY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations. - -6. DISCLAIMER OF LIABILITY - -EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - -7. GENERAL - -If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. - -If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed. - -All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive. - -Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved. - -This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation. + Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + Neither the name of the TrouSerS Project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE +USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/crypto/external/cpl/trousers/dist/Makefile.am b/crypto/external/cpl/trousers/dist/Makefile.am index 35721e55f9b..4d28542bc06 100644 --- a/crypto/external/cpl/trousers/dist/Makefile.am +++ b/crypto/external/cpl/trousers/dist/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = src man dist tools +SUBDIRS = src man dist EXTRA_DIST = AUTHORS LICENSE NEWS NICETOHAVES README \ README.selinux TODO ChangeLog \ doc/LTC-TSS_LLD_08_r2.pdf \ diff --git a/crypto/external/cpl/trousers/dist/Makefile.in b/crypto/external/cpl/trousers/dist/Makefile.in index 92f45dd722f..e00e176b2e2 100644 --- a/crypto/external/cpl/trousers/dist/Makefile.in +++ b/crypto/external/cpl/trousers/dist/Makefile.in @@ -41,7 +41,7 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ NEWS TODO config.guess config.sub depcomp install-sh ltmain.sh \ missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ @@ -157,12 +157,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -170,6 +167,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -227,7 +225,7 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -SUBDIRS = src man dist tools +SUBDIRS = src man dist EXTRA_DIST = AUTHORS LICENSE NEWS NICETOHAVES README \ README.selinux TODO ChangeLog \ doc/LTC-TSS_LLD_08_r2.pdf \ @@ -538,7 +536,7 @@ distcheck: dist *.zip*) \ unzip $(distdir).zip ;;\ esac - chmod -R a-w $(distdir); chmod a+w $(distdir) + chmod -R a-w $(distdir); chmod u+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) diff --git a/crypto/external/cpl/trousers/dist/README b/crypto/external/cpl/trousers/dist/README index 2a0ea100582..86752c3e670 100644 --- a/crypto/external/cpl/trousers/dist/README +++ b/crypto/external/cpl/trousers/dist/README @@ -1,7 +1,7 @@ trousers README Trousers is an open-source TCG Software Stack (TSS), released under -the Common Public License. Trousers aims to be compliant with the +the BSD License. Trousers aims to be compliant with the 1.1b and 1.2 TSS specifications available from the Trusted Computing Group website: @@ -20,7 +20,7 @@ Discussion of the internals of the TrouSerS implementation: trousers-tech@lists.sf.net Possibly sensitive security related bugs: - Debora Velarde + Hon Ching(Vicky) Lo Run-of-the-mill bug reports should use the TrouSerS bug tracker: http://sourceforge.net/tracker/?group_id=126012&atid=704358 diff --git a/crypto/external/cpl/trousers/dist/aclocal.m4 b/crypto/external/cpl/trousers/dist/aclocal.m4 index 24077d5aea6..96528588c4f 100644 --- a/crypto/external/cpl/trousers/dist/aclocal.m4 +++ b/crypto/external/cpl/trousers/dist/aclocal.m4 @@ -13,8 +13,8 @@ m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],, -[m4_warning([this file was generated for autoconf 2.67. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, +[m4_warning([this file was generated for autoconf 2.63. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) @@ -2460,7 +2460,7 @@ linux*oldld* | linux*aout* | linux*coff*) ;; # This must be Linux ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu) +linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no @@ -2485,10 +2485,13 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) # before this can be enabled. hardcode_into_libs=yes + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -2500,18 +2503,6 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) dynamic_linker='GNU/Linux ld.so' ;; -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - netbsd*) version_type=sunos need_lib_prefix=no @@ -3099,11 +3090,11 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu) +linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else @@ -3720,7 +3711,7 @@ m4_if([$1], [CXX], [ ;; esac ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu) + linux* | k*bsd*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler @@ -3784,7 +3775,7 @@ m4_if([$1], [CXX], [ ;; esac ;; - netbsd* | netbsdelf*-gnu) + netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise @@ -4004,7 +3995,7 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu) + linux* | k*bsd*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) @@ -4209,9 +4200,6 @@ m4_if([$1], [CXX], [ cygwin* | mingw* | cegcc*) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' ;; - linux* | k*bsd*-gnu) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; @@ -4276,9 +4264,6 @@ dnl Note also adjust exclude_expsyms for C++ above. openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu) - _LT_TAGVAR(link_all_deplibs, $1)=no - ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes @@ -4300,7 +4285,6 @@ dnl Note also adjust exclude_expsyms for C++ above. fi supports_anon_versioning=no case `$LD -v 2>&1` in - *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... @@ -4392,7 +4376,7 @@ _LT_EOF _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; - gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + gnu* | linux* | tpf* | k*bsd*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in @@ -4462,7 +4446,7 @@ _LT_EOF fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -4637,7 +4621,6 @@ _LT_EOF if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - _LT_TAGVAR(link_all_deplibs, $1)=no else # not using gcc if test "$host_cpu" = ia64; then @@ -4876,7 +4859,7 @@ _LT_EOF _LT_TAGVAR(link_all_deplibs, $1)=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -5872,7 +5855,7 @@ if test "$_lt_caught_CXX_error" != yes; then _LT_TAGVAR(inherit_rpath, $1)=yes ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu) + linux* | k*bsd*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler @@ -7986,7 +7969,6 @@ m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- -# serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # @@ -8014,10 +7996,7 @@ m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) -AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) -AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) - +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi @@ -8030,6 +8009,7 @@ if test -n "$PKG_CONFIG"; then AC_MSG_RESULT([no]) PKG_CONFIG="" fi + fi[]dnl ])# PKG_PROG_PKG_CONFIG @@ -8038,20 +8018,21 @@ fi[]dnl # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # -# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -# only at the first occurence in configure.ac, so if the first place -# it's called might be skipped (such as if it is within an "if", you -# have to call PKG_CHECK_EXISTS manually +# +# Similar to PKG_CHECK_MODULES, make sure that the first instance of +# this or PKG_CHECK_MODULES is called, or make sure to call +# PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_default([$2], [:]) + m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) + # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], @@ -8104,7 +8085,6 @@ and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then - AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` @@ -8114,7 +8094,7 @@ if test $pkg_failed = yes; then # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - m4_default([$4], [AC_MSG_ERROR( + ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS @@ -8122,24 +8102,25 @@ $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. -_PKG_TEXT])[]dnl - ]) +_PKG_TEXT +])], + [AC_MSG_RESULT([no]) + $4]) elif test $pkg_failed = untried; then - AC_MSG_RESULT([no]) - m4_default([$4], [AC_MSG_FAILURE( + ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT -To get pkg-config, see .])[]dnl - ]) +To get pkg-config, see .])], + [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) - $3 + ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES diff --git a/crypto/external/cpl/trousers/dist/bootstrap.sh b/crypto/external/cpl/trousers/dist/bootstrap.sh new file mode 100755 index 00000000000..95c5936d212 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/bootstrap.sh @@ -0,0 +1,5 @@ +set -x +aclocal || exit 1 +libtoolize --force -c || exit 1 +automake --add-missing -c --foreign || exit 1 +autoconf || exit 1 diff --git a/crypto/external/cpl/trousers/dist/configure b/crypto/external/cpl/trousers/dist/configure index 51281ae1397..214b3f31b55 100755 --- a/crypto/external/cpl/trousers/dist/configure +++ b/crypto/external/cpl/trousers/dist/configure @@ -1,24 +1,20 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.67 for trousers 0.3.8. +# Generated by GNU Autoconf 2.63 for trousers 0.3.14. # # Report bugs to . # -# # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. -# -# +# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which @@ -26,15 +22,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; esac + fi + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + as_nl=' ' export as_nl @@ -42,13 +46,7 @@ export as_nl as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else @@ -59,7 +57,7 @@ else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; - case $arg in #( + case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; @@ -82,6 +80,13 @@ if test "${PATH_SEPARATOR+set}" != set; then } fi +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + # IFS # We need space, tab and new line, in precisely that order. Quoting is @@ -91,15 +96,15 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( +case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done IFS=$as_save_IFS ;; @@ -111,16 +116,12 @@ if test "x$as_myself" = x; then fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 + { (exit 1); exit 1; } fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' @@ -132,300 +133,330 @@ export LC_ALL LANGUAGE=C export LANGUAGE +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + # CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH +$as_unset CDPATH + if test "x$CONFIG_SHELL" = x; then - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'='\"\$@\"' - setopt NO_GLOB_SUBST + if (eval ":") 2>/dev/null; then + as_have_required=yes else - case \`(set -o) 2>/dev/null\` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac + as_have_required=no fi -" - as_required="as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } + + if test $as_have_required = yes && (eval ": +(as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} exitcode=0 -as_fn_success || { exitcode=1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : - -else - exitcode=1; echo positional parameters were not saved. -fi -test x\$exitcode = x0 || exit 1" - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -test \$(( 1 + 1 )) = 2 || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=yes +if as_func_success; then + : else - as_have_required=no + exitcode=1 + echo as_func_success failed. fi - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_found=false + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test \$exitcode = 0) || { (exit 1); exit 1; } + +( + as_lineno_1=\$LINENO + as_lineno_2=\$LINENO + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } +") 2> /dev/null; then + : +else + as_candidate_shells= + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - as_found=: - case $as_dir in #( + case $as_dir in /*) for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : - CONFIG_SHELL=$as_shell as_have_required=yes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : - break 2 -fi -fi + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac - as_found=false done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : - CONFIG_SHELL=$SHELL as_have_required=yes -fi; } IFS=$as_save_IFS - if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi + for as_shell in $as_candidate_shells $SHELL; do + # Try only shells that exist, to save several forks. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { ("$as_shell") 2> /dev/null <<\_ASEOF +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac - if test x$as_have_required = xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} = xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org and -$0: trousers-tech@lists.sf.net about your system, including -$0: any error possibly output before this message. Then -$0: install a modern shell, or manually run the script -$0: under such a shell if you do have one." - fi - exit 1 -fi fi + + +: +_ASEOF +}; then + CONFIG_SHELL=$as_shell + as_have_required=yes + if { "$as_shell" 2> /dev/null <<\_ASEOF +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + fi -SHELL=${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE= GREP_OPTIONS= -unset CLICOLOR_FORCE GREP_OPTIONS -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} + +: +(as_func_return () { + (exit $1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 } -as_unset=as_fn_unset -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' +if as_func_ret_success; then + : else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = "$1" ); then + : else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith + exitcode=1 + echo positional parameters were not saved. +fi +test $exitcode = 0) || { (exit 1); exit 1; } -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error +( + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr +_ASEOF +}; then + break +fi + +fi + + done + + if test "x$CONFIG_SHELL" != x; then + for as_var in BASH_ENV ENV + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + done + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + + if test $as_have_required = no; then + echo This script requires a shell more modern than all the + echo shells that I found on your system. Please install a + echo modern shell, or manually run the script under such a + echo shell if you do have one. + { (exit 1); exit 1; } +fi + + +fi + +fi + + + +(eval "as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : else - as_expr=false + exitcode=1 + echo as_func_success failed. fi -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : else - as_basename=false + exitcode=1 + echo as_func_ret_success failed. fi -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then + : else - as_dirname=false + exitcode=1 + echo positional parameters were not saved. fi -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` +test \$exitcode = 0") || { + echo No shell found that supports shell functions. + echo Please tell bug-autoconf@gnu.org about your system, + echo including any error possibly output before this message. + echo This can help us improve future autoconf versions. + echo Configuration will now proceed without shell functions. +} -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - as_lineno_1=$LINENO as_lineno_1a=$LINENO - as_lineno_2=$LINENO as_lineno_2a=$LINENO - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= @@ -442,7 +473,8 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the @@ -452,18 +484,29 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits exit } + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( +case `echo -n x` in -n*) - case `echo 'xy\c'` in + case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; + *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then @@ -493,7 +536,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' + as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false @@ -512,10 +555,10 @@ else if test -d "$1"; then test -d "$1/."; else - case $1 in #( + case $1 in -*)set "./$1";; esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' @@ -530,6 +573,7 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} @@ -678,11 +722,10 @@ fi -test -n "$DJDIR" || exec 7<&0 &1 +exec 7<&0 &1 # Name of the host. -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` @@ -697,14 +740,14 @@ cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='trousers' PACKAGE_TARNAME='trousers' -PACKAGE_VERSION='0.3.8' -PACKAGE_STRING='trousers 0.3.8' +PACKAGE_VERSION='0.3.14' +PACKAGE_STRING='trousers 0.3.14' PACKAGE_BUGREPORT='trousers-tech@lists.sf.net' -PACKAGE_URL='' # Factoring default headers for most tests. ac_includes_default="\ @@ -865,14 +908,14 @@ OPENSSL_UI_FALSE OPENSSL_UI_TRUE GTK_LIBS GTK_CFLAGS -PKG_CONFIG_LIBDIR -PKG_CONFIG_PATH PKG_CONFIG HAVE_GTK_FALSE HAVE_GTK_TRUE EGREP GREP CPP +NOUSERCHECK_FALSE +NOUSERCHECK_TRUE CRYPTOLIB CRYPTO_PACKAGE am__fastdepCC_FALSE @@ -892,6 +935,7 @@ LDFLAGS CFLAGS CC OPENSSL_LIB_DIR +TCSD_LDFLAGS am__untar am__tar AMTAR @@ -957,7 +1001,6 @@ bindir program_transform_name prefix exec_prefix -PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION @@ -974,6 +1017,7 @@ enable_dependency_tracking enable_gcov enable_gprof enable_strict_spec_compliance +enable_usercheck with_gmp with_gui with_api @@ -994,8 +1038,6 @@ LIBS CPPFLAGS CPP PKG_CONFIG -PKG_CONFIG_PATH -PKG_CONFIG_LIBDIR GTK_CFLAGS GTK_LIBS' @@ -1060,9 +1102,8 @@ do fi case $ac_option in - *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *=) ac_optarg= ;; - *) ac_optarg=yes ;; + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. @@ -1107,7 +1148,8 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 + { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1133,7 +1175,8 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" + { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 + { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1337,7 +1380,8 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 + { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1353,7 +1397,8 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" + { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 + { (exit 1); exit 1; }; } ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1383,17 +1428,17 @@ do | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" + -*) { $as_echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; - esac + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; @@ -1410,13 +1455,15 @@ done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error $? "missing argument to $ac_option" + { $as_echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 + { (exit 1); exit 1; }; } ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1439,7 +1486,8 @@ do [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" + { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' @@ -1453,8 +1501,8 @@ target=$target_alias if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used" >&2 + $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1469,9 +1517,11 @@ test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - as_fn_error $? "working directory cannot be determined" + { $as_echo "$as_me: error: working directory cannot be determined" >&2 + { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - as_fn_error $? "pwd does not report name of working directory" + { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 + { (exit 1); exit 1; }; } # Find the source files, if location was not specified. @@ -1510,11 +1560,13 @@ else fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" + { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" + cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 + { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then @@ -1540,7 +1592,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures trousers 0.3.8 to adapt to many kinds of systems. +\`configure' configures trousers 0.3.14 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1554,7 +1606,7 @@ Configuration: --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages + -q, --quiet, --silent do not print \`checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files @@ -1611,7 +1663,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of trousers 0.3.8:";; + short | recursive ) echo "Configuration of trousers 0.3.14:";; esac cat <<\_ACEOF @@ -1627,6 +1679,9 @@ Optional Features: --enable-strict-spec-compliance build TrouSerS as strictly spec compliant [default=off] + --disable-usercheck build TrouSerS without checking and setting of + user/group tss [default=on] (Caution: This is + intended for development purposes only.) --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] @@ -1635,515 +1690,110 @@ Optional Features: Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-openssl=PATH Location of openssl libs/includes - --with-gmp build TrouSerS with the GMP math lib (used in DAA) - --with-gui type of gui popup (gtk/none) [default=gtk] - --with-api Version of the TSS API to build [default=1.2] - --with-pic try to use only PIC/non-PIC objects [default=use - both] - --with-gnu-ld assume the C compiler uses GNU ld [default=no] - -Some influential environment variables: - CC C compiler command - CFLAGS C compiler flags - LDFLAGS linker flags, e.g. -L if you have libraries in a - nonstandard directory - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CPP C preprocessor - PKG_CONFIG path to pkg-config utility - PKG_CONFIG_PATH - directories to add to pkg-config's search path - PKG_CONFIG_LIBDIR - path overriding pkg-config's built-in search path - GTK_CFLAGS C compiler flags for GTK, overriding pkg-config - GTK_LIBS linker flags for GTK, overriding pkg-config - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -Report bugs to . -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -trousers configure 0.3.8 -generated by GNU Autoconf 2.67 - -Copyright (C) 2010 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## - -# ac_fn_c_try_compile LINENO -# -------------------------- -# Try to compile conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext - if { { ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compile") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_compile - -# ac_fn_c_try_link LINENO -# ----------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_link () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - rm -f conftest.$ac_objext conftest$ac_exeext - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information - # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would - # interfere with the next link command; also delete a directory that is - # left behind by Apple's compiler. We do this before executing the actions. - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_link - -# ac_fn_c_try_cpp LINENO -# ---------------------- -# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -ac_fn_c_try_cpp () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err - ac_status=$? - if test -s conftest.err; then - grep -v '^ *+' conftest.err >conftest.er1 - cat conftest.er1 >&5 - mv -f conftest.er1 conftest.err - fi - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } > conftest.i && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then : - ac_retval=0 -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_retval=1 -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval - -} # ac_fn_c_try_cpp - -# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists, giving a warning if it cannot be compiled using -# the include files in INCLUDES and setting the cache variable VAR -# accordingly. -ac_fn_c_check_header_mongrel () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if eval "test \"\${$3+set}\"" = set; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : - $as_echo_n "(cached) " >&6 -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -$as_echo_n "checking $2 usability... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_header_compiler=yes -else - ac_header_compiler=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -$as_echo_n "checking $2 presence... " >&6; } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <$2> -_ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - ac_header_preproc=yes -else - ac_header_preproc=no -fi -rm -f conftest.err conftest.i conftest.$ac_ext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( - yes:no: ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} - ;; - no:yes:* ) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## ----------------------------------------- ## -## Report this to trousers-tech@lists.sf.net ## -## ----------------------------------------- ##" - ) | sed "s/^/$as_me: WARNING: /" >&2 - ;; -esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=\$ac_header_compiler" -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -fi - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_header_mongrel - -# ac_fn_c_try_run LINENO -# ---------------------- -# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -# that executables *can* be run. -ac_fn_c_try_run () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - if { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then : - ac_retval=0 -else - $as_echo "$as_me: program exited with status $ac_status" >&5 - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-openssl=PATH Location of openssl libs/includes + --with-gmp build TrouSerS with the GMP math lib (used in DAA) + --with-gui type of gui popup (gtk/none) [default=gtk] + --with-api Version of the TSS API to build [default=1.2] + --with-pic try to use only PIC/non-PIC objects [default=use + both] + --with-gnu-ld assume the C compiler uses GNU ld [default=no] - ac_retval=$ac_status -fi - rm -rf conftest.dSYM conftest_ipa8_conftest.oo - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - as_fn_set_status $ac_retval +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + PKG_CONFIG path to pkg-config utility + GTK_CFLAGS C compiler flags for GTK, overriding pkg-config + GTK_LIBS linker flags for GTK, overriding pkg-config -} # ac_fn_c_try_run +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. -# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -# ------------------------------------------------------- -# Tests whether HEADER exists and can be compiled using the include files in -# INCLUDES, setting the cache variable VAR accordingly. -ac_fn_c_check_header_compile () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -#include <$2> +Report bugs to . _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_status=$? fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -} # ac_fn_c_check_header_compile - -# ac_fn_c_check_func LINENO FUNC VAR -# ---------------------------------- -# Tests whether FUNC exists, setting the cache variable VAR accordingly -ac_fn_c_check_func () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Define $2 to an innocuous variant, in case declares $2. - For example, HP-UX 11i declares gettimeofday. */ -#define $2 innocuous_$2 - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $2 (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. -#undef $2 +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $2 (); -/* The GNU C library defines this for functions which it implements - to always fail with ENOSYS. Some functions are actually named - something starting with __ and the normal name is an alias. */ -#if defined __stub_$2 || defined __stub___$2 -choke me -#endif +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -int -main () -{ -return $2 (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_func -# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -# --------------------------------------------- -# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -# accordingly. -ac_fn_c_check_decl () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - as_decl_name=`echo $2|sed 's/ *(.*//'` - as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -if eval "test \"\${$3+set}\"" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -#ifndef $as_decl_name -#ifdef __cplusplus - (void) $as_decl_use; -#else - (void) $as_decl_name; -#endif -#endif +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +trousers configure 0.3.14 +generated by GNU Autoconf 2.63 - ; - return 0; -} +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - eval "$3=yes" -else - eval "$3=no" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + exit fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} - -} # ac_fn_c_check_decl cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by trousers $as_me 0.3.8, which was -generated by GNU Autoconf 2.67. Invocation command line was +It was created by trousers $as_me 0.3.14, which was +generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -2179,8 +1829,8 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" - done + $as_echo "PATH: $as_dir" +done IFS=$as_save_IFS } >&5 @@ -2217,9 +1867,9 @@ do ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) - as_fn_append ac_configure_args1 " '$ac_arg'" + ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else @@ -2235,13 +1885,13 @@ do -* ) ac_must_keep_next=true ;; esac fi - as_fn_append ac_configure_args " '$ac_arg'" + ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done -{ ac_configure_args0=; unset ac_configure_args0;} -{ ac_configure_args1=; unset ac_configure_args1;} +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there @@ -2253,9 +1903,11 @@ trap 'exit_status=$? { echo - $as_echo "## ---------------- ## + cat <<\_ASBOX +## ---------------- ## ## Cache variables. ## -## ---------------- ##" +## ---------------- ## +_ASBOX echo # The following way of writing the cache mishandles newlines in values, ( @@ -2264,13 +1916,13 @@ trap 'exit_status=$? case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; + *) $as_unset $ac_var ;; esac ;; esac done @@ -2289,9 +1941,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; ) echo - $as_echo "## ----------------- ## + cat <<\_ASBOX +## ----------------- ## ## Output variables. ## -## ----------------- ##" +## ----------------- ## +_ASBOX echo for ac_var in $ac_subst_vars do @@ -2304,9 +1958,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; echo if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## + cat <<\_ASBOX +## ------------------- ## ## File substitutions. ## -## ------------------- ##" +## ------------------- ## +_ASBOX echo for ac_var in $ac_subst_files do @@ -2320,9 +1976,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; fi if test -s confdefs.h; then - $as_echo "## ----------- ## + cat <<\_ASBOX +## ----------- ## ## confdefs.h. ## -## ----------- ##" +## ----------- ## +_ASBOX echo cat confdefs.h echo @@ -2336,39 +1994,37 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; exit $exit_status ' 0 for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h -$as_echo "/* confdefs.h */" > confdefs.h - # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF + cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF + cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF + cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF @@ -2377,12 +2033,7 @@ _ACEOF ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=./$CONFIG_SITE;; - */*) ac_site_file1=$CONFIG_SITE;; - *) ac_site_file1=./$CONFIG_SITE;; - esac + ac_site_file1=$CONFIG_SITE elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site @@ -2393,23 +2044,19 @@ fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue - if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 + if test -r "$ac_site_file"; then + { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5 ; } + . "$ac_site_file" fi done if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular file. - if test /dev/null != "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; @@ -2417,7 +2064,7 @@ $as_echo "$as_me: loading cache $cache_file" >&6;} esac fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 + { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi @@ -2432,11 +2079,11 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; @@ -2446,17 +2093,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 + { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 + { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 + { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 + { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac @@ -2468,20 +2115,43 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 + { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## + + + + + + + + + + + + + + + + + + + + + + + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -2514,7 +2184,9 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do fi done if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 +$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} + { (exit 1); exit 1; }; } fi # These three variables are undocumented and unsupported, @@ -2528,27 +2200,35 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 +$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} + { (exit 1); exit 1; }; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +{ $as_echo "$as_me:$LINENO: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } -if test "${ac_cv_build+set}" = set; then : +if test "${ac_cv_build+set}" = set; then $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && - as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 +$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} + { (exit 1); exit 1; }; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 +$as_echo "$as_me: error: invalid value of canonical build" >&2;} + { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' @@ -2564,24 +2244,28 @@ IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +{ $as_echo "$as_me:$LINENO: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } -if test "${ac_cv_host+set}" = set; then : +if test "${ac_cv_host+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} + { (exit 1); exit 1; }; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 +$as_echo "$as_me: error: invalid value of canonical host" >&2;} + { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -2597,24 +2281,28 @@ IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 +{ $as_echo "$as_me:$LINENO: checking target system type" >&5 $as_echo_n "checking target system type... " >&6; } -if test "${ac_cv_target+set}" = set; then : +if test "${ac_cv_target+set}" = set; then $as_echo_n "(cached) " >&6 else if test "x$target_alias" = x; then ac_cv_target=$ac_cv_host else ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || - as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 +$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} + { (exit 1); exit 1; }; } fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 $as_echo "$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; -*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; +*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 +$as_echo "$as_me: error: invalid value of canonical target" >&2;} + { (exit 1); exit 1; }; };; esac target=$ac_cv_target ac_save_IFS=$IFS; IFS='-' @@ -2652,10 +2340,10 @@ am__api_version='1.11' # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then : +if test "${ac_cv_path_install+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -2663,11 +2351,11 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in #(( - ./ | .// | /[cC]/* | \ + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. @@ -2704,7 +2392,7 @@ case $as_dir/ in #(( ;; esac - done +done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir @@ -2720,7 +2408,7 @@ fi INSTALL=$ac_install_sh fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -2731,7 +2419,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 +{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 @@ -2742,11 +2430,15 @@ am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) - as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;; + { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 +$as_echo "$as_me: error: unsafe absolute working directory name" >&2;} + { (exit 1); exit 1; }; };; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) - as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;; + { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 +$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} + { (exit 1); exit 1; }; };; esac # Do `set' in a subshell so we don't clobber the current shell's @@ -2768,8 +2460,11 @@ if ( # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". - as_fn_error $? "ls -t appears to fail. Make sure there is not a broken -alias in your environment" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&5 +$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&2;} + { (exit 1); exit 1; }; } fi test "$2" = conftest.file @@ -2778,10 +2473,13 @@ then # Ok. : else - as_fn_error $? "newly created file is older than distributed files! -Check your system clock" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! +Check your system clock" >&5 +$as_echo "$as_me: error: newly created file is older than distributed files! +Check your system clock" >&2;} + { (exit 1); exit 1; }; } fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +{ $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" @@ -2809,7 +2507,7 @@ if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 + { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi @@ -2830,9 +2528,9 @@ if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : +if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then @@ -2843,24 +2541,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -2870,9 +2568,9 @@ if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then @@ -2883,24 +2581,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -2909,7 +2607,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -2922,10 +2620,10 @@ fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 +{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then - if test "${ac_cv_path_mkdir+set}" = set; then : + if test "${ac_cv_path_mkdir+set}" = set; then $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -2933,7 +2631,7 @@ for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in mkdir gmkdir; do + for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( @@ -2945,12 +2643,11 @@ do esac done done - done +done IFS=$as_save_IFS fi - test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else @@ -2958,10 +2655,11 @@ fi # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. + test -d ./--version && rmdir ./--version MKDIR_P="$ac_install_sh -d" fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 +{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" @@ -2974,9 +2672,9 @@ for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AWK+set}" = set; then : +if test "${ac_cv_prog_AWK+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then @@ -2987,24 +2685,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 + { $as_echo "$as_me:$LINENO: result: $AWK" >&5 $as_echo "$AWK" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -3012,11 +2710,11 @@ fi test -n "$AWK" && break done -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF @@ -3024,7 +2722,7 @@ SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF -# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; @@ -3034,11 +2732,11 @@ esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -3058,7 +2756,9 @@ if test "`cd $srcdir && pwd`" != "`pwd`"; then am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then - as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} + { (exit 1); exit 1; }; } fi fi @@ -3074,7 +2774,7 @@ fi # Define the identity of the package. PACKAGE='trousers' - VERSION='0.3.8' + VERSION='0.3.14' cat >>confdefs.h <<_ACEOF @@ -3117,8 +2817,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' # Debugging support # Check whether --enable-debug was given. -if test "${enable_debug+set}" = set; then : - enableval=$enable_debug; { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling debugging at user request ***" >&5 +if test "${enable_debug+set}" = set; then + enableval=$enable_debug; { $as_echo "$as_me:$LINENO: result: *** Enabling debugging at user request ***" >&5 $as_echo "*** Enabling debugging at user request ***" >&6; } fi @@ -3140,34 +2840,39 @@ fi # Arch specific stuff case $target in - *ppc64* | *powerpc64* | *x86_64*) - CFLAGS="$CFLAGS -m64" - ;; + *darwin*) + TCSD_LDFLAGS="" + ;; *solaris*) CFLAGS="$CFLAGS -DSOLARIS" ;; *) + TCSD_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" ;; esac + + # Non-standard OpenSSL location -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Non-standard OpenSSL location" >&5 +{ $as_echo "$as_me:$LINENO: checking Non-standard OpenSSL location" >&5 $as_echo_n "checking Non-standard OpenSSL location... " >&6; } # Check whether --with-openssl was given. -if test "${with_openssl+set}" = set; then : +if test "${with_openssl+set}" = set; then withval=$with_openssl; OPENSSL_INCLUDE_DIR="$withval/include" OPENSSL_LIB_DIR="$withval/lib" if [ ! -d $OPENSSL_INCLUDE_DIR -o ! -d $OPENSSL_LIB_DIR ]; then - as_fn_error $? "$OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: $OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!" >&5 +$as_echo "$as_me: error: $OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!" >&2;} + { (exit 1); exit 1; }; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } CFLAGS="$CFLAGS -L$OPENSSL_LIB_DIR -I$OPENSSL_INCLUDE_DIR" fi else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -3188,7 +2893,7 @@ am__doit: .PHONY: am__doit END # If we don't find an include directive, just comment out the code. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 +{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= @@ -3216,12 +2921,12 @@ if test "$am__include" = "#"; then fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 +{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. -if test "${enable_dependency_tracking+set}" = set; then : +if test "${enable_dependency_tracking+set}" = set; then enableval=$enable_dependency_tracking; fi @@ -3246,9 +2951,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3259,24 +2964,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -3286,9 +2991,9 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3299,24 +3004,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -3325,7 +3030,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -3339,9 +3044,9 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3352,24 +3057,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -3379,9 +3084,9 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3393,18 +3098,18 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then @@ -3423,10 +3128,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -3438,9 +3143,9 @@ if test -z "$CC"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -3451,24 +3156,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -3482,9 +3187,9 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -3495,24 +3200,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -3525,7 +3230,7 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -3536,37 +3241,57 @@ fi fi -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5 ; } +{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; }; } # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" +{ (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -3582,8 +3307,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } +{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: @@ -3599,17 +3324,17 @@ do done rm -f $ac_rmfiles -if { { ac_try="$ac_link_default" +if { (ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -3626,7 +3351,7 @@ do # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -3645,41 +3370,84 @@ test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi -if test -z "$ac_file"; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -$as_echo "$as_me: failed program was:" >&5 + +{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +if test -z "$ac_file"; then + $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables +See \`config.log' for more details." >&5 +$as_echo "$as_me: error: C compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; }; } +fi + +ac_exeext=$ac_cv_exeext + +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error 77 "C compiler cannot create executables -See \`config.log' for more details" "$LINENO" 5 ; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } +{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +$as_echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; }; } + fi + fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -ac_exeext=$ac_cv_exeext +{ $as_echo "$as_me:$LINENO: result: yes" >&5 +$as_echo "yes" >&6; } rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } -if { { ac_try="$ac_link" +if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -3694,83 +3462,32 @@ for ac_file in conftest.exe conftest conftest.*; do esac done else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details" "$LINENO" 5 ; } +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; }; } fi -rm -f conftest conftest$ac_cv_exeext -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 + +rm -f conftest$ac_cv_exeext +{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -FILE *f = fopen ("conftest.out", "w"); - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -ac_clean_files="$ac_clean_files conftest.out" -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then - { { ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } - if { ac_try='./conftest$ac_cv_exeext' - { { case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details" "$LINENO" 5 ; } - fi - fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -ac_clean_files=$ac_clean_files_save -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then : +if test "${ac_cv_objext+set}" = set; then $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -3782,17 +3499,17 @@ main () } _ACEOF rm -f conftest.o conftest.obj -if { { ac_try="$ac_compile" +if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 (eval "$ac_compile") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then : + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in @@ -3805,23 +3522,31 @@ else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot compute suffix of object files: cannot compile -See \`config.log' for more details" "$LINENO" 5 ; } +{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; }; } fi + rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : +if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -3835,16 +3560,37 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else - ac_compiler_gnu=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes @@ -3853,16 +3599,20 @@ else fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : +if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -3873,11 +3623,35 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CFLAGS="" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -3888,12 +3662,36 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + : else - ac_c_werror_flag=$ac_save_c_werror_flag + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -3904,17 +3702,42 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS @@ -3931,14 +3754,18 @@ else CFLAGS= fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : +if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include @@ -3995,9 +3822,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : + rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi + rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done @@ -4008,19 +3858,17 @@ fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 + { $as_echo "$as_me:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac -if test "x$ac_cv_prog_cc_c89" != xno; then : -fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -4030,9 +3878,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then @@ -4140,7 +3988,7 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type @@ -4156,14 +4004,18 @@ fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_DigestUpdate in -lcrypto" >&5 +{ $as_echo "$as_me:$LINENO: checking for EVP_DigestUpdate in -lcrypto" >&5 $as_echo_n "checking for EVP_DigestUpdate in -lcrypto... " >&6; } -if test "${ac_cv_lib_crypto_EVP_DigestUpdate+set}" = set; then : +if test "${ac_cv_lib_crypto_EVP_DigestUpdate+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcrypto $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4181,21 +4033,48 @@ return EVP_DigestUpdate (); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_crypto_EVP_DigestUpdate=yes else - ac_cv_lib_crypto_EVP_DigestUpdate=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_crypto_EVP_DigestUpdate=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_EVP_DigestUpdate" >&5 $as_echo "$ac_cv_lib_crypto_EVP_DigestUpdate" >&6; } -if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = x""yes; then : +if test "x$ac_cv_lib_crypto_EVP_DigestUpdate" = x""yes; then CRYPTO_PACKAGE='openssl' else - as_fn_error $? "openssl is currently the only supported crypto library for trousers. Please install openssl from http://www.openssl.org or the -devel package from your distro" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: openssl is currently the only supported crypto library for trousers. Please install openssl from http://www.openssl.org or the -devel package from your distro" >&5 +$as_echo "$as_me: error: openssl is currently the only supported crypto library for trousers. Please install openssl from http://www.openssl.org or the -devel package from your distro" >&2;} + { (exit 1); exit 1; }; } fi @@ -4203,18 +4082,18 @@ CRYPTOLIB=-lcrypto # Check whether --enable-gcov was given. -if test "${enable_gcov+set}" = set; then : +if test "${enable_gcov+set}" = set; then enableval=$enable_gcov; CFLAGS="$CFLAGS -ftest-coverage -fprofile-arcs" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling gcov at user request ***" >&5 + { $as_echo "$as_me:$LINENO: result: *** Enabling gcov at user request ***" >&5 $as_echo "*** Enabling gcov at user request ***" >&6; } fi # profiling support # Check whether --enable-gprof was given. -if test "${enable_gprof+set}" = set; then : +if test "${enable_gprof+set}" = set; then enableval=$enable_gprof; CFLAGS="$CFLAGS -pg" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling profiling at user request ***" >&5 + { $as_echo "$as_me:$LINENO: result: *** Enabling profiling at user request ***" >&5 $as_echo "*** Enabling profiling at user request ***" >&6; } fi @@ -4222,14 +4101,34 @@ fi SPEC_COMP=0 # strict spec compliance # Check whether --enable-strict-spec-compliance was given. -if test "${enable_strict_spec_compliance+set}" = set; then : +if test "${enable_strict_spec_compliance+set}" = set; then enableval=$enable_strict_spec_compliance; CFLAGS="$CFLAGS -DTSS_SPEC_COMPLIANCE" SPEC_COMP=1 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling spec compliance at user request ***" >&5 + { $as_echo "$as_me:$LINENO: result: *** Enabling spec compliance at user request ***" >&5 $as_echo "*** Enabling spec compliance at user request ***" >&6; } fi +# user+group checking +# Check whether --enable-usercheck was given. +if test "${enable_usercheck+set}" = set; then + enableval=$enable_usercheck; if test "x$enableval" = "xno"; then + CFLAGS="$CFLAGS -DNOUSERCHECK" + { $as_echo "$as_me:$LINENO: result: *** Disabling user checking at user request ***" >&5 +$as_echo "*** Disabling user checking at user request ***" >&6; } +fi + +fi + + if test "x$enable_usercheck" = "xno"; then + NOUSERCHECK_TRUE= + NOUSERCHECK_FALSE='#' +else + NOUSERCHECK_TRUE='#' + NOUSERCHECK_FALSE= +fi + + # daa math lib: gmp or openssl (default openssl) MATH_DEFINE=BI_OPENSSL ac_ext=c @@ -4237,14 +4136,14 @@ ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then : + if test "${ac_cv_prog_CPP+set}" = set; then $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -4259,7 +4158,11 @@ do # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include @@ -4268,34 +4171,78 @@ do #endif Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + : else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + # Broken: fails on valid input. continue fi -rm -f conftest.err conftest.i conftest.$ac_ext + +rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then # Broken: success on invalid input. continue else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + # Passes both tests. ac_preproc_ok=: break fi -rm -f conftest.err conftest.i conftest.$ac_ext + +rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then break fi @@ -4307,7 +4254,7 @@ fi else ac_cv_prog_CPP=$CPP fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes @@ -4318,7 +4265,11 @@ do # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include @@ -4327,40 +4278,87 @@ do #endif Syntax error _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : - +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + : else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + # Broken: fails on valid input. continue fi -rm -f conftest.err conftest.i conftest.$ac_ext + +rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF -if ac_fn_c_try_cpp "$LINENO"; then : +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then # Broken: success on invalid input. continue else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + # Passes both tests. ac_preproc_ok=: break fi -rm -f conftest.err conftest.i conftest.$ac_ext + +rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.i conftest.err conftest.$ac_ext -if $ac_preproc_ok; then : - +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : else - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details" "$LINENO" 5 ; } +{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; }; } fi ac_ext=c @@ -4370,9 +4368,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then : +if test "${ac_cv_path_GREP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -4383,7 +4381,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do + for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue @@ -4403,7 +4401,7 @@ case `"$ac_path_GREP" --version 2>&1` in $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val + ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" @@ -4418,24 +4416,26 @@ esac $ac_path_GREP_found && break 3 done done - done +done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then - as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then : +if test "${ac_cv_path_EGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -4449,7 +4449,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do + for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue @@ -4469,7 +4469,7 @@ case `"$ac_path_EGREP" --version 2>&1` in $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val + ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" @@ -4484,10 +4484,12 @@ esac $ac_path_EGREP_found && break 3 done done - done +done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then - as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP @@ -4495,17 +4497,21 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then : +if test "${ac_cv_header_stdc+set}" = set; then $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include @@ -4520,23 +4526,48 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else - ac_cv_header_stdc=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_header_stdc=no fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then : - + $EGREP "memchr" >/dev/null 2>&1; then + : else ac_cv_header_stdc=no fi @@ -4546,14 +4577,18 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then : - + $EGREP "free" >/dev/null 2>&1; then + : else ac_cv_header_stdc=no fi @@ -4563,10 +4598,14 @@ fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes; then : else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include @@ -4593,33 +4632,118 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + $as_echo "$as_me: program exited with status $ac_status" >&5 +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -else - ac_cv_header_stdc=no +( exit $ac_status ) +ac_cv_header_stdc=no fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -rf conftest.dSYM +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi + fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then -$as_echo "#define STDC_HEADERS 1" >>confdefs.h +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. + + + + + + + + + for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : +do +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + eval "$as_ac_Header=yes" +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_Header=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +as_val=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF @@ -4631,15 +4755,20 @@ done # Check whether --with-gmp was given. -if test "${with_gmp+set}" = set; then : - withval=$with_gmp; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmp_rand in -lgmp" >&5 +if test "${with_gmp+set}" = set; then + withval=$with_gmp; +{ $as_echo "$as_me:$LINENO: checking for __gmp_rand in -lgmp" >&5 $as_echo_n "checking for __gmp_rand in -lgmp... " >&6; } -if test "${ac_cv_lib_gmp___gmp_rand+set}" = set; then : +if test "${ac_cv_lib_gmp___gmp_rand+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgmp $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4657,18 +4786,43 @@ return __gmp_rand (); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_gmp___gmp_rand=yes else - ac_cv_lib_gmp___gmp_rand=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_gmp___gmp_rand=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmp_rand" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmp_rand" >&5 $as_echo "$ac_cv_lib_gmp___gmp_rand" >&6; } -if test "x$ac_cv_lib_gmp___gmp_rand" = x""yes; then : +if test "x$ac_cv_lib_gmp___gmp_rand" = x""yes; then cat >>confdefs.h <<_ACEOF #define HAVE_LIBGMP 1 _ACEOF @@ -4677,12 +4831,151 @@ _ACEOF fi - for ac_header in gmp.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" -if test "x$ac_cv_header_gmp_h" = x""yes; then : + +for ac_header in gmp.h +do +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +fi +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +$as_echo_n "checking $ac_header usability... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +$as_echo_n "checking $ac_header presence... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## ----------------------------------------- ## +## Report this to trousers-tech@lists.sf.net ## +## ----------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + +fi +as_val=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_GMP_H 1 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi @@ -4690,7 +4983,7 @@ fi done MATH_DEFINE=BI_GMP - { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Enabling GMP lib at user request ***" >&5 + { $as_echo "$as_me:$LINENO: result: *** Enabling GMP lib at user request ***" >&5 $as_echo "*** Enabling GMP lib at user request ***" >&6; } fi @@ -4698,11 +4991,150 @@ fi case "$MATH_DEFINE" in BI_OPENSSL) - for ac_header in openssl/bn.h openssl/engine.h -do : - as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + + +for ac_header in openssl/bn.h openssl/engine.h +do +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +fi +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 +$as_echo_n "checking $ac_header usability... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 +$as_echo_n "checking $ac_header presence... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## ----------------------------------------- ## +## Report this to trousers-tech@lists.sf.net ## +## ----------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + +fi +as_val=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF @@ -4718,7 +5150,7 @@ CFLAGS="$CFLAGS -D$MATH_DEFINE" GUI=openssl # Check whether --with-gui was given. -if test "${with_gui+set}" = set; then : +if test "${with_gui+set}" = set; then withval=$with_gui; GUI=$withval fi @@ -4728,17 +5160,13 @@ if test "x$GUI" = "xgtk"; then pkg_modules="gtk+-2.0 >= 2.0.0" - - - - if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -4751,14 +5179,14 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS ;; @@ -4766,10 +5194,10 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 + { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -4779,9 +5207,9 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in @@ -4794,14 +5222,14 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS ;; @@ -4809,10 +5237,10 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -4821,7 +5249,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -4834,31 +5262,32 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 + { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi + fi pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 +{ $as_echo "$as_me:$LINENO: checking for GTK" >&5 $as_echo_n "checking for GTK... " >&6; } if test -n "$GTK_CFLAGS"; then pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null` else pkg_failed=yes @@ -4870,11 +5299,11 @@ if test -n "$GTK_LIBS"; then pkg_cv_GTK_LIBS="$GTK_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 + { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5 ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null` else pkg_failed=yes @@ -4886,8 +5315,6 @@ fi if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes @@ -4902,7 +5329,9 @@ fi # Put the nasty error message in config.log where it belongs echo "$GTK_PKG_ERRORS" >&5 - if false; then + { $as_echo "$as_me:$LINENO: result: no" >&5 +$as_echo "no" >&6; } + if false; then HAVE_GTK_TRUE= HAVE_GTK_FALSE='#' else @@ -4910,10 +5339,10 @@ else HAVE_GTK_FALSE= fi - as_fn_error $? "Please install the gtk2-devel package for your distro or select another gui option." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: Please install the gtk2-devel package for your distro or select another gui option." >&5 +$as_echo "$as_me: error: Please install the gtk2-devel package for your distro or select another gui option." >&2;} + { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } if false; then HAVE_GTK_TRUE= HAVE_GTK_FALSE='#' @@ -4922,11 +5351,13 @@ else HAVE_GTK_FALSE= fi - as_fn_error $? "Please install the gtk2-devel package for your distro or select another gui option." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: Please install the gtk2-devel package for your distro or select another gui option." >&5 +$as_echo "$as_me: error: Please install the gtk2-devel package for your distro or select another gui option." >&2;} + { (exit 1); exit 1; }; } else GTK_CFLAGS=$pkg_cv_GTK_CFLAGS GTK_LIBS=$pkg_cv_GTK_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } if true; then HAVE_GTK_TRUE= @@ -4967,11 +5398,13 @@ fi elif test "x$GUI" = "xnone"; then if test $SPEC_COMP -eq 1; then - as_fn_error $? "Popups must be enabled in strict spec compliance mode" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: Popups must be enabled in strict spec compliance mode" >&5 +$as_echo "$as_me: error: Popups must be enabled in strict spec compliance mode" >&2;} + { (exit 1); exit 1; }; } fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** Disabling GUI popups at user request ***" >&5 + { $as_echo "$as_me:$LINENO: result: *** Disabling GUI popups at user request ***" >&5 $as_echo "*** Disabling GUI popups at user request ***" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: *** WARNING: This may break apps! ***" >&5 + { $as_echo "$as_me:$LINENO: result: *** WARNING: This may break apps! ***" >&5 $as_echo "*** WARNING: This may break apps! ***" >&6; } CFLAGS="$CFLAGS -DTSS_NO_GUI" if false; then @@ -4991,7 +5424,9 @@ else fi else - as_fn_error $? "\"gtk\", \"openssl\" and \"none\" are the only supported gui options for trousers" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: \"gtk\", \"openssl\" and \"none\" are the only supported gui options for trousers" >&5 +$as_echo "$as_me: error: \"gtk\", \"openssl\" and \"none\" are the only supported gui options for trousers" >&2;} + { (exit 1); exit 1; }; } fi # @@ -5021,14 +5456,17 @@ RPC="tcstp" API=1.2 # Check whether --with-api was given. -if test "${with_api+set}" = set; then : +if test "${with_api+set}" = set; then withval=$with_api; API=$withval fi if test "x$API" != "x1.1" && test "x$API" != "x1.2"; then - as_fn_error $? "\"1.1\" and \"1.2\" are the only supported API versions for trousers. - Custom API build options are available by editing 'configure.in'." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: \"1.1\" and \"1.2\" are the only supported API versions for trousers. + Custom API build options are available by editing 'configure.in'." >&5 +$as_echo "$as_me: error: \"1.1\" and \"1.2\" are the only supported API versions for trousers. + Custom API build options are available by editing 'configure.in'." >&2;} + { (exit 1); exit 1; }; } fi if test "x$API" = "x1.1" || test "x$API" = "x1.2"; then @@ -5618,26 +6056,159 @@ else fi -#GETTEXT_PACKAGE=trousers -#AC_SUBST(GETTEXT_PACKAGE) -#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE") +#GETTEXT_PACKAGE=trousers +#AC_SUBST(GETTEXT_PACKAGE) +#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE") + +#ALL_LINGUAS="" +#AM_GLIB_GNU_GETTEXT + +# end Glade section + +if test "${ac_cv_header_pthread_h+set}" = set; then + { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5 +$as_echo_n "checking for pthread.h... " >&6; } +if test "${ac_cv_header_pthread_h+set}" = set; then + $as_echo_n "(cached) " >&6 +fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 +$as_echo "$ac_cv_header_pthread_h" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:$LINENO: checking pthread.h usability" >&5 +$as_echo_n "checking pthread.h usability... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:$LINENO: checking pthread.h presence" >&5 +$as_echo_n "checking pthread.h presence... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi -#ALL_LINGUAS="" -#AM_GLIB_GNU_GETTEXT +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } -# end Glade section +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { $as_echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { $as_echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5 +$as_echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5 +$as_echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## ----------------------------------------- ## +## Report this to trousers-tech@lists.sf.net ## +## ----------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ $as_echo "$as_me:$LINENO: checking for pthread.h" >&5 +$as_echo_n "checking for pthread.h... " >&6; } +if test "${ac_cv_header_pthread_h+set}" = set; then + $as_echo_n "(cached) " >&6 +else + ac_cv_header_pthread_h=$ac_header_preproc +fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5 +$as_echo "$ac_cv_header_pthread_h" >&6; } -ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" -if test "x$ac_cv_header_pthread_h" = x""yes; then : +fi +if test "x$ac_cv_header_pthread_h" = x""yes; then -$as_echo "#define HAVE_PTHREAD_H 1" >>confdefs.h +cat >>confdefs.h <<\_ACEOF +#define HAVE_PTHREAD_H 1 +_ACEOF fi # Check whether --enable-static was given. -if test "${enable_static+set}" = set; then : +if test "${enable_static+set}" = set; then enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; @@ -5675,9 +6246,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -5688,24 +6259,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -5715,9 +6286,9 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -5728,24 +6299,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -5754,7 +6325,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -5768,9 +6339,9 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -5781,24 +6352,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -5808,9 +6379,9 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -5822,18 +6393,18 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then @@ -5852,10 +6423,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -5867,9 +6438,9 @@ if test -z "$CC"; then do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then : +if test "${ac_cv_prog_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -5880,24 +6451,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 + { $as_echo "$as_me:$LINENO: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -5911,9 +6482,9 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -5924,24 +6495,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -5954,7 +6525,7 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -5965,42 +6536,62 @@ fi fi -test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "no acceptable C compiler found in \$PATH -See \`config.log' for more details" "$LINENO" 5 ; } +{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +$as_echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; }; } # Provide some information about the compiler. -$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 -for ac_option in --version -v -V -qversion; do - { { ac_try="$ac_compiler $ac_option >&5" +{ (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -$as_echo "$ac_try_echo"; } >&5 - (eval "$ac_compiler $ac_option >&5") 2>conftest.err +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? - if test -s conftest.err; then - sed '10a\ -... rest of stderr output deleted ... - 10q' conftest.err >conftest.er1 - cat conftest.er1 >&5 - fi - rm -f conftest.er1 conftest.err - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } -done + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then : +if test "${ac_cv_c_compiler_gnu+set}" = set; then $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -6014,16 +6605,37 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else - ac_compiler_gnu=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes @@ -6032,16 +6644,20 @@ else fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then : +if test "${ac_cv_prog_cc_g+set}" = set; then $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -6052,11 +6668,35 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else - CFLAGS="" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CFLAGS="" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -6067,12 +6707,36 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + : else - ac_c_werror_flag=$ac_save_c_werror_flag + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -6083,17 +6747,42 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS @@ -6110,14 +6799,18 @@ else CFLAGS= fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then : +if test "${ac_cv_prog_cc_c89+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include @@ -6174,9 +6867,32 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - if ac_fn_c_try_compile "$LINENO"; then : + rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi + rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done @@ -6187,19 +6903,17 @@ fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 + { $as_echo "$as_me:$LINENO: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 + { $as_echo "$as_me:$LINENO: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac -if test "x$ac_cv_prog_cc_c89" != xno; then : -fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -6209,9 +6923,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 +{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } -if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then @@ -6319,7 +7033,7 @@ else fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 +{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type @@ -6336,7 +7050,7 @@ fi case `pwd` in *\ * | *\ *) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 + { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac @@ -6359,9 +7073,9 @@ macro_revision='1.3017' ltmain="$ac_aux_dir/ltmain.sh" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 +{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } -if test "${ac_cv_path_SED+set}" = set; then : +if test "${ac_cv_path_SED+set}" = set; then $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ @@ -6369,7 +7083,7 @@ else ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed - { ac_script=; unset ac_script;} + $as_unset ac_script || ac_script= if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST @@ -6378,7 +7092,7 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in sed gsed; do + for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue @@ -6398,7 +7112,7 @@ case `"$ac_path_SED" --version 2>&1` in $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val + ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" @@ -6413,17 +7127,19 @@ esac $ac_path_SED_found && break 3 done done - done +done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then - as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 +$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} + { (exit 1); exit 1; }; } fi else ac_cv_path_SED=$SED fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed @@ -6441,9 +7157,9 @@ Xsed="$SED -e 1s/^X//" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 +{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } -if test "${ac_cv_path_FGREP+set}" = set; then : +if test "${ac_cv_path_FGREP+set}" = set; then $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 @@ -6457,7 +7173,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in fgrep; do + for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue @@ -6477,7 +7193,7 @@ case `"$ac_path_FGREP" --version 2>&1` in $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - as_fn_arith $ac_count + 1 && ac_count=$as_val + ac_count=`expr $ac_count + 1` if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" @@ -6492,10 +7208,12 @@ esac $ac_path_FGREP_found && break 3 done done - done +done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then - as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } fi else ac_cv_path_FGREP=$FGREP @@ -6503,7 +7221,7 @@ fi fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" @@ -6529,7 +7247,7 @@ test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : +if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no @@ -6538,7 +7256,7 @@ fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 + { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) @@ -6568,13 +7286,13 @@ $as_echo_n "checking for ld used by $CC... " >&6; } ;; esac elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 + { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 + { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi -if test "${lt_cv_path_LD+set}" = set; then : +if test "${lt_cv_path_LD+set}" = set; then $as_echo_n "(cached) " >&6 else if test -z "$LD"; then @@ -6605,16 +7323,18 @@ fi LD="$lt_cv_path_LD" if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 + { $as_echo "$as_me:$LINENO: result: $LD" >&5 $as_echo "$LD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if test "${lt_cv_prog_gnu_ld+set}" = set; then : +if test "${lt_cv_prog_gnu_ld+set}" = set; then $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. @@ -6627,7 +7347,7 @@ case `$LD -v 2>&1 &5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld @@ -6639,9 +7359,9 @@ with_gnu_ld=$lt_cv_prog_gnu_ld -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 +{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -if test "${lt_cv_path_NM+set}" = set; then : +if test "${lt_cv_path_NM+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$NM"; then @@ -6688,7 +7408,7 @@ else : ${lt_cv_path_NM=no} fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" @@ -6699,9 +7419,9 @@ else do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DUMPBIN+set}" = set; then : +if test "${ac_cv_prog_DUMPBIN+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then @@ -6712,24 +7432,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 + { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -6743,9 +7463,9 @@ if test -z "$DUMPBIN"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : +if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then @@ -6756,24 +7476,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -6786,7 +7506,7 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -6806,44 +7526,44 @@ test -z "$NM" && NM=nm -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 +{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } -if test "${lt_cv_nm_interface+set}" = set; then : +if test "${lt_cv_nm_interface+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:6816: $ac_compile\"" >&5) + (eval echo "\"\$as_me:7536: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:6819: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:7539: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:6822: output\"" >&5) + (eval echo "\"\$as_me:7542: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 +{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 + { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 +{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } -if test "${lt_cv_sys_max_cmd_len+set}" = set; then : +if test "${lt_cv_sys_max_cmd_len+set}" = set; then $as_echo_n "(cached) " >&6 else i=0 @@ -6961,10 +7681,10 @@ else fi if test -n $lt_cv_sys_max_cmd_len ; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 + { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 + { $as_echo "$as_me:$LINENO: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len @@ -6978,7 +7698,7 @@ max_cmd_len=$lt_cv_sys_max_cmd_len : ${MV="mv -f"} : ${RM="rm -f"} -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 +{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no @@ -6988,17 +7708,17 @@ xsi_shell=no && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 +{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 $as_echo "$xsi_shell" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 +{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 $as_echo "$lt_shell_append" >&6; } @@ -7033,14 +7753,14 @@ esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 +{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } -if test "${lt_cv_ld_reload_flag+set}" = set; then : +if test "${lt_cv_ld_reload_flag+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in @@ -7069,9 +7789,9 @@ esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OBJDUMP+set}" = set; then : +if test "${ac_cv_prog_OBJDUMP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then @@ -7082,24 +7802,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 + { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -7109,9 +7829,9 @@ if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : +if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then @@ -7122,24 +7842,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OBJDUMP="objdump" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -7148,7 +7868,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -7168,9 +7888,9 @@ test -z "$OBJDUMP" && OBJDUMP=objdump -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 +{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } -if test "${lt_cv_deplibs_check_method+set}" = set; then : +if test "${lt_cv_deplibs_check_method+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' @@ -7285,11 +8005,11 @@ irix5* | irix6* | nonstopux*) ;; # This must be Linux ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu) +linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; -netbsd* | netbsdelf*-gnu) +netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else @@ -7364,7 +8084,7 @@ tpf*) esac fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method @@ -7384,9 +8104,9 @@ test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_AR+set}" = set; then : +if test "${ac_cv_prog_AR+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$AR"; then @@ -7397,24 +8117,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="${ac_tool_prefix}ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 + { $as_echo "$as_me:$LINENO: result: $AR" >&5 $as_echo "$AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -7424,9 +8144,9 @@ if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : +if test "${ac_cv_prog_ac_ct_AR+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then @@ -7437,24 +8157,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="ar" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -7463,7 +8183,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -7489,9 +8209,9 @@ test -z "$AR_FLAGS" && AR_FLAGS=cru if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_STRIP+set}" = set; then : +if test "${ac_cv_prog_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then @@ -7502,24 +8222,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 + { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -7529,9 +8249,9 @@ if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then @@ -7542,24 +8262,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -7568,7 +8288,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -7588,9 +8308,9 @@ test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_RANLIB+set}" = set; then : +if test "${ac_cv_prog_RANLIB+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then @@ -7601,24 +8321,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 + { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -7628,9 +8348,9 @@ if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then @@ -7641,24 +8361,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -7667,7 +8387,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -7745,9 +8465,9 @@ compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 +{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : +if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then $as_echo_n "(cached) " >&6 else @@ -7863,18 +8583,18 @@ void nm_test_func(void){} int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s "$nlist"; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" @@ -7927,11 +8647,11 @@ _LT_EOF lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext}; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" @@ -7965,10 +8685,10 @@ if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 + { $as_echo "$as_me:$LINENO: result: failed" >&5 $as_echo "failed" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 + { $as_echo "$as_me:$LINENO: result: ok" >&5 $as_echo "ok" >&6; } fi @@ -7994,7 +8714,7 @@ fi # Check whether --enable-libtool-lock was given. -if test "${enable_libtool_lock+set}" = set; then : +if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi @@ -8006,11 +8726,11 @@ case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" @@ -8024,12 +8744,12 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 8027 "configure"' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + echo '#line 8747 "configure"' > conftest.$ac_ext + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) @@ -8063,11 +8783,11 @@ x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in @@ -8116,9 +8836,9 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 + { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } -if test "${lt_cv_cc_needs_belf+set}" = set; then : +if test "${lt_cv_cc_needs_belf+set}" = set; then $as_echo_n "(cached) " >&6 else ac_ext=c @@ -8127,7 +8847,11 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -8138,13 +8862,38 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then lt_cv_cc_needs_belf=yes else - lt_cv_cc_needs_belf=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + lt_cv_cc_needs_belf=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -8152,7 +8901,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf @@ -8162,11 +8911,11 @@ $as_echo "$lt_cv_cc_needs_belf" >&6; } sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in @@ -8192,9 +8941,9 @@ need_locks="$enable_libtool_lock" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then @@ -8205,24 +8954,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 + { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8232,9 +8981,9 @@ if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then @@ -8245,24 +8994,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8271,7 +9020,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -8284,9 +9033,9 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_NMEDIT+set}" = set; then : +if test "${ac_cv_prog_NMEDIT+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then @@ -8297,24 +9046,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 + { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8324,9 +9073,9 @@ if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then @@ -8337,24 +9086,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_NMEDIT="nmedit" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8363,7 +9112,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -8376,9 +9125,9 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_LIPO+set}" = set; then : +if test "${ac_cv_prog_LIPO+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then @@ -8389,24 +9138,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 + { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8416,9 +9165,9 @@ if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : +if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then @@ -8429,24 +9178,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_LIPO="lipo" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8455,7 +9204,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -8468,9 +9217,9 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL+set}" = set; then : +if test "${ac_cv_prog_OTOOL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then @@ -8481,24 +9230,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 + { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8508,9 +9257,9 @@ if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : +if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then @@ -8521,24 +9270,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL="otool" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8547,7 +9296,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -8560,9 +9309,9 @@ fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_OTOOL64+set}" = set; then : +if test "${ac_cv_prog_OTOOL64+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then @@ -8573,24 +9322,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 + { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8600,9 +9349,9 @@ if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : +if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then @@ -8613,24 +9362,24 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL64="otool64" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done - done +done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 + { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -8639,7 +9388,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -8675,9 +9424,9 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 + { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } -if test "${lt_cv_apple_cc_single_mod+set}" = set; then : +if test "${lt_cv_apple_cc_single_mod+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no @@ -8702,18 +9451,22 @@ else rm -f conftest.* fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 + { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -8724,17 +9477,42 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then lt_cv_ld_exported_symbols_list=yes else - lt_cv_ld_exported_symbols_list=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + lt_cv_ld_exported_symbols_list=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } case $host_os in rhapsody* | darwin1.[012]) @@ -8771,13 +9549,62 @@ $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } ;; esac + for ac_header in dlfcn.h -do : - ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -" -if test "x$ac_cv_header_dlfcn_h" = x""yes; then : +do +as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 +$as_echo_n "checking for $ac_header... " >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + eval "$as_ac_Header=yes" +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_Header=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +ac_res=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +as_val=`eval 'as_val=${'$as_ac_Header'} + $as_echo "$as_val"'` + if test "x$as_val" = x""yes; then cat >>confdefs.h <<_ACEOF -#define HAVE_DLFCN_H 1 +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi @@ -8797,7 +9624,7 @@ done # Check whether --enable-shared was given. -if test "${enable_shared+set}" = set; then : +if test "${enable_shared+set}" = set; then enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; @@ -8830,7 +9657,7 @@ fi # Check whether --with-pic was given. -if test "${with_pic+set}" = set; then : +if test "${with_pic+set}" = set; then withval=$with_pic; pic_mode="$withval" else pic_mode=default @@ -8846,7 +9673,7 @@ test -z "$pic_mode" && pic_mode=default # Check whether --enable-fast-install was given. -if test "${enable_fast_install+set}" = set; then : +if test "${enable_fast_install+set}" = set; then enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; @@ -8927,9 +9754,9 @@ if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 +{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } -if test "${lt_cv_objdir+set}" = set; then : +if test "${lt_cv_objdir+set}" = set; then $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null @@ -8942,7 +9769,7 @@ else fi rmdir .libs 2>/dev/null fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir @@ -9035,9 +9862,9 @@ test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 + { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in @@ -9088,10 +9915,10 @@ fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -9101,9 +9928,9 @@ fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 + { $as_echo "$as_me:$LINENO: checking for file" >&5 $as_echo_n "checking for file... " >&6; } -if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : +if test "${lt_cv_path_MAGIC_CMD+set}" = set; then $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in @@ -9154,10 +9981,10 @@ fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 + { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi @@ -9234,9 +10061,9 @@ lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 + { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : +if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no @@ -9252,11 +10079,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9255: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10082: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9259: \$? = $ac_status" >&5 + echo "$as_me:10086: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -9269,7 +10096,7 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then @@ -9289,7 +10116,7 @@ fi lt_prog_compiler_pic= lt_prog_compiler_static= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 +{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if test "$GCC" = yes; then @@ -9421,7 +10248,7 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_static='-non_shared' ;; - linux* | k*bsd*-gnu | kopensolaris*-gnu) + linux* | k*bsd*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) @@ -9561,7 +10388,7 @@ case $host_os in lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 $as_echo "$lt_prog_compiler_pic" >&6; } @@ -9573,9 +10400,9 @@ $as_echo "$lt_prog_compiler_pic" >&6; } # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 + { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no @@ -9591,11 +10418,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9594: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10421: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:9598: \$? = $ac_status" >&5 + echo "$as_me:10425: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -9608,7 +10435,7 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then @@ -9632,9 +10459,9 @@ fi # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 +{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -if test "${lt_cv_prog_compiler_static_works+set}" = set; then : +if test "${lt_cv_prog_compiler_static_works+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no @@ -9660,7 +10487,7 @@ else LDFLAGS="$save_LDFLAGS" fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then @@ -9675,9 +10502,9 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 + { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then : +if test "${lt_cv_prog_compiler_c_o+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no @@ -9696,11 +10523,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9699: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10526: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9703: \$? = $ac_status" >&5 + echo "$as_me:10530: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -9722,7 +10549,7 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } @@ -9730,9 +10557,9 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 + { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -if test "${lt_cv_prog_compiler_c_o+set}" = set; then : +if test "${lt_cv_prog_compiler_c_o+set}" = set; then $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no @@ -9751,11 +10578,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:9754: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10581: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9758: \$? = $ac_status" >&5 + echo "$as_me:10585: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -9777,7 +10604,7 @@ else $RM conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } @@ -9786,7 +10613,7 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 + { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* @@ -9794,10 +10621,10 @@ $as_echo_n "checking if we can lock with hard links... " >&6; } touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 + { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 + { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi @@ -9810,7 +10637,7 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 + { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= @@ -9870,9 +10697,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie openbsd*) with_gnu_ld=no ;; - linux* | k*bsd*-gnu) - link_all_deplibs=no - ;; esac ld_shlibs=yes @@ -9894,7 +10718,6 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie fi supports_anon_versioning=no case `$LD -v 2>&1` in - *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... @@ -9986,7 +10809,7 @@ _LT_EOF archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; - gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) + gnu* | linux* | tpf* | k*bsd*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in @@ -10056,7 +10879,7 @@ _LT_EOF fi ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= @@ -10231,7 +11054,6 @@ _LT_EOF if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi - link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then @@ -10257,7 +11079,11 @@ _LT_EOF allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -10268,7 +11094,27 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -10282,9 +11128,16 @@ aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpat if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" @@ -10297,7 +11150,11 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi else # Determine the default libpath from the value encoded in an # empty executable. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -10308,7 +11165,27 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then lt_aix_libpath_sed=' /Import File Strings/,/^$/ { @@ -10322,9 +11199,16 @@ aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpat if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" @@ -10536,16 +11420,42 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi # implicitly export all symbols. save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ + cat >conftest.$ac_ext <<_ACEOF int foo(void) {} _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' @@ -10558,7 +11468,7 @@ rm -f core conftest.err conftest.$ac_objext \ link_all_deplibs=yes ;; - netbsd* | netbsdelf*-gnu) + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else @@ -10801,7 +11711,7 @@ rm -f core conftest.err conftest.$ac_objext \ fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 +{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no @@ -10838,16 +11748,16 @@ x|xyes) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 + { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } 2>conftest.err; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext @@ -10861,11 +11771,11 @@ $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } then archive_cmds_need_lc=no else @@ -10876,7 +11786,7 @@ $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } cat conftest.err 1>&5 fi $RM conftest* - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 + { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 $as_echo "$archive_cmds_need_lc" >&6; } ;; esac @@ -11040,7 +11950,7 @@ esac - { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 + { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then @@ -11448,7 +12358,7 @@ linux*oldld* | linux*aout* | linux*coff*) ;; # This must be Linux ELF. -linux* | k*bsd*-gnu | kopensolaris*-gnu) +linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no @@ -11462,7 +12372,11 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int @@ -11473,13 +12387,41 @@ main () return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then + if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then shlibpath_overrides_runpath=yes fi + +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir @@ -11488,10 +12430,13 @@ rm -f core conftest.err conftest.$ac_objext \ # before this can be enabled. hardcode_into_libs=yes + # Add ABI-specific directories to the system library path. + sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" + # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" + sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -11503,18 +12448,6 @@ rm -f core conftest.err conftest.$ac_objext \ dynamic_linker='GNU/Linux ld.so' ;; -netbsdelf*-gnu) - version_type=linux - need_lib_prefix=no - need_version=no - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' - soname_spec='${libname}${release}${shared_ext}$major' - shlibpath_var=LD_LIBRARY_PATH - shlibpath_overrides_runpath=no - hardcode_into_libs=yes - dynamic_linker='NetBSD ld.elf_so' - ;; - netbsd*) version_type=sunos need_lib_prefix=no @@ -11703,7 +12636,7 @@ uts4*) dynamic_linker=no ;; esac -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 +{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no @@ -11805,7 +12738,7 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 + { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || @@ -11830,7 +12763,7 @@ else # directories. hardcode_action=unsupported fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 +{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || @@ -11875,14 +12808,18 @@ else darwin*) # if libdl is installed we need to link against it - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then : +if test "${ac_cv_lib_dl_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -11900,18 +12837,43 @@ return dlopen (); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_dl_dlopen=yes else - ac_cv_lib_dl_dlopen=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else @@ -11924,18 +12886,106 @@ fi ;; *) - ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -if test "x$ac_cv_func_shl_load" = x""yes; then : + { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 +$as_echo_n "checking for shl_load... " >&6; } +if test "${ac_cv_func_shl_load+set}" = set; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define shl_load to an innocuous variant, in case declares shl_load. + For example, HP-UX 11i declares gettimeofday. */ +#define shl_load innocuous_shl_load + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char shl_load (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef shl_load + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char shl_load (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_shl_load || defined __stub___shl_load +choke me +#endif + +int +main () +{ +return shl_load (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then + ac_cv_func_shl_load=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_shl_load=no +fi + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 +$as_echo "$ac_cv_func_shl_load" >&6; } +if test "x$ac_cv_func_shl_load" = x""yes; then lt_cv_dlopen="shl_load" else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 + { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } -if test "${ac_cv_lib_dld_shl_load+set}" = set; then : +if test "${ac_cv_lib_dld_shl_load+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -11953,32 +13003,145 @@ return shl_load (); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_dld_shl_load=yes else - ac_cv_lib_dld_shl_load=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dld_shl_load=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } -if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : +if test "x$ac_cv_lib_dld_shl_load" = x""yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else - ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -if test "x$ac_cv_func_dlopen" = x""yes; then : + { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 +$as_echo_n "checking for dlopen... " >&6; } +if test "${ac_cv_func_dlopen+set}" = set; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define dlopen to an innocuous variant, in case declares dlopen. + For example, HP-UX 11i declares gettimeofday. */ +#define dlopen innocuous_dlopen + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char dlopen (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef dlopen + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char dlopen (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_dlopen || defined __stub___dlopen +choke me +#endif + +int +main () +{ +return dlopen (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then + ac_cv_func_dlopen=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_dlopen=no +fi + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 +$as_echo "$ac_cv_func_dlopen" >&6; } +if test "x$ac_cv_func_dlopen" = x""yes; then lt_cv_dlopen="dlopen" else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 + { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } -if test "${ac_cv_lib_dl_dlopen+set}" = set; then : +if test "${ac_cv_lib_dl_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -11996,28 +13159,57 @@ return dlopen (); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_dl_dlopen=yes else - ac_cv_lib_dl_dlopen=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dl_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } -if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : +if test "x$ac_cv_lib_dl_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 + { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } -if test "${ac_cv_lib_svld_dlopen+set}" = set; then : +if test "${ac_cv_lib_svld_dlopen+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -12035,28 +13227,57 @@ return dlopen (); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_svld_dlopen=yes else - ac_cv_lib_svld_dlopen=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_svld_dlopen=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } -if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : +if test "x$ac_cv_lib_svld_dlopen" = x""yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 + { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } -if test "${ac_cv_lib_dld_dld_link+set}" = set; then : +if test "${ac_cv_lib_dld_dld_link+set}" = set; then $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -12074,18 +13295,43 @@ return dld_link (); return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then ac_cv_lib_dld_dld_link=yes else - ac_cv_lib_dld_dld_link=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_dld_dld_link=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } -if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : +if test "x$ac_cv_lib_dld_dld_link" = x""yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi @@ -12124,9 +13370,9 @@ fi save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 + { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self+set}" = set; then : +if test "${lt_cv_dlopen_self+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -12135,7 +13381,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12138 "configure" +#line 13384 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12194,11 +13440,11 @@ int main () return status; } _LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in @@ -12215,14 +13461,14 @@ rm -fr conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 + { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -if test "${lt_cv_dlopen_self_static+set}" = set; then : +if test "${lt_cv_dlopen_self_static+set}" = set; then $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : @@ -12231,7 +13477,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12234 "configure" +#line 13480 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12290,11 +13536,11 @@ int main () return status; } _LT_EOF - if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in @@ -12311,7 +13557,7 @@ rm -fr conftest* fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 +{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi @@ -12350,12 +13596,12 @@ fi striplib= old_striplib= -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 +{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough @@ -12364,15 +13610,15 @@ else if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } fi ;; *) - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } ;; esac @@ -12390,12 +13636,12 @@ fi # Report which library types will actually be built - { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 + { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 + { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 + { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no @@ -12416,14 +13662,14 @@ $as_echo_n "checking whether to build shared libraries... " >&6; } fi ;; esac - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 + { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 + { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 + { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } @@ -12459,14 +13705,19 @@ CC="$lt_save_CC" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 + + { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } -if test "${ac_cv_c_bigendian+set}" = set; then : +if test "${ac_cv_c_bigendian+set}" = set; then $as_echo_n "(cached) " >&6 else ac_cv_c_bigendian=unknown # See if we're dealing with a universal compiler. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __APPLE_CC__ not a universal capable compiler @@ -12474,34 +13725,46 @@ else typedef int dummy; _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then # Check for potential -arch flags. It is not universal unless - # there are at least two -arch flags with different values. - ac_arch= - ac_prev= - for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do - if test -n "$ac_prev"; then - case $ac_word in - i?86 | x86_64 | ppc | ppc64) - if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then - ac_arch=$ac_word - else - ac_cv_c_bigendian=universal - break - fi - ;; - esac - ac_prev= - elif test "x$ac_word" = "x-arch"; then - ac_prev=arch - fi - done + # there are some -arch flags. Note that *ppc* also matches + # ppc64. This check is also rather less than ideal. + case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( + *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; + esac +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_c_bigendian = unknown; then # See if sys/param.h defines the BYTE_ORDER macro. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include @@ -12519,9 +13782,30 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then # It does; now see whether it defined to BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include @@ -12537,18 +13821,49 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes else - ac_cv_c_bigendian=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_c_bigendian=no fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include @@ -12563,9 +13878,30 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then # It does; now see whether it defined to _BIG_ENDIAN or not. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include @@ -12580,20 +13916,51 @@ main () return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_c_bigendian=yes else - ac_cv_c_bigendian=no + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_c_bigendian=no fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test $ac_cv_c_bigendian = unknown; then # Compile a test program. - if test "$cross_compiling" = yes; then : + if test "$cross_compiling" = yes; then # Try to guess by grepping values from an object file. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; @@ -12619,7 +13986,24 @@ return use_ascii (foo) == use_ebcdic (foo); return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ac_cv_c_bigendian=yes fi @@ -12631,10 +14015,20 @@ if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_bigendian=unknown fi fi +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + fi + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default int @@ -12654,61 +14048,368 @@ main () return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then ac_cv_c_bigendian=no else - ac_cv_c_bigendian=yes + $as_echo "$as_me: program exited with status $ac_status" >&5 +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_c_bigendian=yes fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext +rm -rf conftest.dSYM +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi + fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 +{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 $as_echo "$ac_cv_c_bigendian" >&6; } case $ac_cv_c_bigendian in #( yes) -$as_echo "#define _BIG_ENDIAN 1" >>confdefs.h +cat >>confdefs.h <<\_ACEOF +#define _BIG_ENDIAN 1 +_ACEOF ;; #( no) ;; #( universal) -$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h +cat >>confdefs.h <<\_ACEOF +#define AC_APPLE_UNIVERSAL_BUILD 1 +_ACEOF ;; #( *) - as_fn_error $? "unknown endianness - presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; + { { $as_echo "$as_me:$LINENO: error: unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" >&5 +$as_echo "$as_me: error: unknown endianness + presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} + { (exit 1); exit 1; }; } ;; esac -ac_fn_c_check_decl "$LINENO" "htole32" "ac_cv_have_decl_htole32" "$ac_includes_default" -if test "x$ac_cv_have_decl_htole32" = x""yes; then : +{ $as_echo "$as_me:$LINENO: checking whether htole32 is declared" >&5 +$as_echo_n "checking whether htole32 is declared... " >&6; } +if test "${ac_cv_have_decl_htole32+set}" = set; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef htole32 + (void) htole32; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_htole32=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_htole32=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_htole32" >&5 +$as_echo "$ac_cv_have_decl_htole32" >&6; } +if test "x$ac_cv_have_decl_htole32" = x""yes; then + +cat >>confdefs.h <<\_ACEOF +#define HTOLE_DEFINED 1 +_ACEOF + +fi + +if test "${ac_cv_header_sys_byteorder_h+set}" = set; then + { $as_echo "$as_me:$LINENO: checking for sys/byteorder.h" >&5 +$as_echo_n "checking for sys/byteorder.h... " >&6; } +if test "${ac_cv_header_sys_byteorder_h+set}" = set; then + $as_echo_n "(cached) " >&6 +fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_byteorder_h" >&5 +$as_echo "$ac_cv_header_sys_byteorder_h" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:$LINENO: checking sys/byteorder.h usability" >&5 +$as_echo_n "checking sys/byteorder.h usability... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } + +# Is the header present? +{ $as_echo "$as_me:$LINENO: checking sys/byteorder.h presence" >&5 +$as_echo_n "checking sys/byteorder.h presence... " >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: sys/byteorder.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: sys/byteorder.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: sys/byteorder.h: present but cannot be compiled" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: sys/byteorder.h: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: sys/byteorder.h: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: sys/byteorder.h: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: proceeding with the preprocessor's result" >&5 +$as_echo "$as_me: WARNING: sys/byteorder.h: proceeding with the preprocessor's result" >&2;} + { $as_echo "$as_me:$LINENO: WARNING: sys/byteorder.h: in the future, the compiler will take precedence" >&5 +$as_echo "$as_me: WARNING: sys/byteorder.h: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## ----------------------------------------- ## +## Report this to trousers-tech@lists.sf.net ## +## ----------------------------------------- ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ $as_echo "$as_me:$LINENO: checking for sys/byteorder.h" >&5 +$as_echo_n "checking for sys/byteorder.h... " >&6; } +if test "${ac_cv_header_sys_byteorder_h+set}" = set; then + $as_echo_n "(cached) " >&6 +else + ac_cv_header_sys_byteorder_h=$ac_header_preproc +fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_byteorder_h" >&5 +$as_echo "$ac_cv_header_sys_byteorder_h" >&6; } + +fi +if test "x$ac_cv_header_sys_byteorder_h" = x""yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_BYTEORDER_H 1 +_ACEOF + +fi + + +{ $as_echo "$as_me:$LINENO: checking for daemon" >&5 +$as_echo_n "checking for daemon... " >&6; } +if test "${ac_cv_func_daemon+set}" = set; then + $as_echo_n "(cached) " >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define daemon to an innocuous variant, in case declares daemon. + For example, HP-UX 11i declares gettimeofday. */ +#define daemon innocuous_daemon + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char daemon (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef daemon + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char daemon (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_daemon || defined __stub___daemon +choke me +#endif -$as_echo "#define HTOLE_DEFINED 1" >>confdefs.h +int +main () +{ +return daemon (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then + ac_cv_func_daemon=yes +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + ac_cv_func_daemon=no fi -ac_fn_c_check_header_mongrel "$LINENO" "sys/byteorder.h" "ac_cv_header_sys_byteorder_h" "$ac_includes_default" -if test "x$ac_cv_header_sys_byteorder_h" = x""yes; then : - -$as_echo "#define HAVE_BYTEORDER_H 1" >>confdefs.h - +rm -rf conftest.dSYM +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext fi +{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 +$as_echo "$ac_cv_func_daemon" >&6; } +if test "x$ac_cv_func_daemon" = x""yes; then - -ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon" -if test "x$ac_cv_func_daemon" = x""yes; then : - -$as_echo "#define HAVE_DAEMON 1" >>confdefs.h +cat >>confdefs.h <<\_ACEOF +#define HAVE_DAEMON 1 +_ACEOF fi if test "x${GCC}" = "xyes"; then - CFLAGS="$CFLAGS -W -Wall -Werror -Wno-unused-parameter -Wsign-compare" + CFLAGS="$CFLAGS -W -Wall -Wno-unused-parameter -Wsign-compare" fi CFLAGS="$CFLAGS -I../include \ @@ -12732,7 +14433,7 @@ elif test x"${prefix}" = x"NONE"; then localstatedir="/usr/local/var" fi -ac_config_files="$ac_config_files dist/tcsd.conf dist/fedora/trousers.spec dist/trousers.spec Makefile src/Makefile src/include/Makefile src/tcs/Makefile src/tddl/Makefile src/tspi/Makefile src/trspi/Makefile src/tcsd/Makefile tools/Makefile man/man8/tcsd.8 man/man5/tcsd.conf.5 dist/Makefile man/Makefile man/man3/Makefile man/man5/Makefile man/man8/Makefile" +ac_config_files="$ac_config_files dist/tcsd.conf dist/fedora/trousers.spec dist/trousers.spec Makefile src/Makefile src/include/Makefile src/tcs/Makefile src/tddl/Makefile src/tspi/Makefile src/trspi/Makefile src/tcsd/Makefile man/man8/tcsd.8 man/man5/tcsd.conf.5 dist/Makefile man/Makefile man/man3/Makefile man/man5/Makefile man/man8/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -12761,13 +14462,13 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 + *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) { eval $ac_var=; unset $ac_var;} ;; + *) $as_unset $ac_var ;; esac ;; esac done @@ -12775,8 +14476,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" @@ -12799,11 +14500,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 + { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 + { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi @@ -12853,15 +14554,14 @@ DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= -U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs @@ -12877,292 +14577,515 @@ else fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then - as_fn_error $? "conditional \"AMDEP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${NOUSERCHECK_TRUE}" && test -z "${NOUSERCHECK_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"NOUSERCHECK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"NOUSERCHECK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GTK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GTK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GTK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then - as_fn_error $? "conditional \"OPENSSL_UI\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"OPENSSL_UI\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"OPENSSL_UI\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then - as_fn_error $? "conditional \"OPENSSL_UI\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"OPENSSL_UI\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"OPENSSL_UI\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GTK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then - as_fn_error $? "conditional \"HAVE_GTK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HAVE_GTK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${OPENSSL_UI_TRUE}" && test -z "${OPENSSL_UI_FALSE}"; then - as_fn_error $? "conditional \"OPENSSL_UI\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"OPENSSL_UI\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"OPENSSL_UI\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_HASH_TRUE}" && test -z "${TSS_BUILD_HASH_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_HASH\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_HASH\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_HASH\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_GETSET_TRUE}" && test -z "${TSS_BUILD_GETSET_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_GETSET\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_GETSET\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_GETSET\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_RANDOM_TRUE}" && test -z "${TSS_BUILD_RANDOM_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_RANDOM\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_RANDOM\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_RANDOM\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_CAPS_TRUE}" && test -z "${TSS_BUILD_CAPS_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_CAPS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CAPS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_CAPS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_CAPS_TPM_TRUE}" && test -z "${TSS_BUILD_CAPS_TPM_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_CAPS_TPM\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CAPS_TPM\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_CAPS_TPM\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_POLICY_TRUE}" && test -z "${TSS_BUILD_POLICY_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_POLICY\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_POLICY\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_POLICY\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_DIR_TRUE}" && test -z "${TSS_BUILD_DIR_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_DIR\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DIR\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_DIR\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_PCR_EVENTS_TRUE}" && test -z "${TSS_BUILD_PCR_EVENTS_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_PCR_EVENTS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_EVENTS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_EVENTS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_SIGN_TRUE}" && test -z "${TSS_BUILD_SIGN_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_SIGN\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SIGN\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_SIGN\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_QUOTE_TRUE}" && test -z "${TSS_BUILD_QUOTE_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_QUOTE\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_QUOTE\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_PCR_COMP_TRUE}" && test -z "${TSS_BUILD_PCR_COMP_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_SEAL_TRUE}" && test -z "${TSS_BUILD_SEAL_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_SEAL\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEAL\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_SEAL\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_CHANGEAUTH_TRUE}" && test -z "${TSS_BUILD_CHANGEAUTH_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_CHANGEAUTH\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CHANGEAUTH\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_CHANGEAUTH\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_BIND_TRUE}" && test -z "${TSS_BUILD_BIND_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_BIND\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_BIND\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_BIND\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_OWN_TRUE}" && test -z "${TSS_BUILD_OWN_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_OWN\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_OWN\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_OWN\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_EK_TRUE}" && test -z "${TSS_BUILD_EK_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_EK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_EK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_EK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_PS_TRUE}" && test -z "${TSS_BUILD_PS_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_PS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_PS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_ADMIN_TRUE}" && test -z "${TSS_BUILD_ADMIN_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_ADMIN\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ADMIN\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_ADMIN\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_AIK_TRUE}" && test -z "${TSS_BUILD_AIK_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_AIK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AIK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_AIK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_CERTIFY_TRUE}" && test -z "${TSS_BUILD_CERTIFY_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_CERTIFY\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CERTIFY\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_CERTIFY\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_MAINT_TRUE}" && test -z "${TSS_BUILD_MAINT_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_MAINT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_MAINT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_MAINT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_MIGRATION_TRUE}" && test -z "${TSS_BUILD_MIGRATION_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_MIGRATION\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_MIGRATION\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_MIGRATION\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_KEY_TRUE}" && test -z "${TSS_BUILD_KEY_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_KEY\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_KEY\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_KEY\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_PCR_EXTEND_TRUE}" && test -z "${TSS_BUILD_PCR_EXTEND_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_PCR_EXTEND\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_EXTEND\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_EXTEND\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_SELFTEST_TRUE}" && test -z "${TSS_BUILD_SELFTEST_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_SELFTEST\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SELFTEST\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_SELFTEST\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_TSS12\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TSS12\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_TSS12\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_DAA\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DAA\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_DAA\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP12\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_COUNTER\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_COUNTER\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_COUNTER\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_TICK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TICK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_TICK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_TRANSPORT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_ASN1\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASN1\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_ASN1\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_NV\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_NV\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_AUDIT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUDIT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_AUDIT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_SEALX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEALX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_SEALX\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_DELEGATION\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DELEGATION\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_DELEGATION\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_QUOTE2\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE2\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_QUOTE2\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_CMK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CMK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_CMK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_TSS12_TRUE}" && test -z "${TSS_BUILD_TSS12_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_TSS12\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TSS12\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_TSS12\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_DAA_TRUE}" && test -z "${TSS_BUILD_DAA_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_DAA\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DAA\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_DAA\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_PCR_COMP12_TRUE}" && test -z "${TSS_BUILD_PCR_COMP12_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_PCR_COMP12\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_PCR_COMP12\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_COUNTER_TRUE}" && test -z "${TSS_BUILD_COUNTER_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_COUNTER\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_COUNTER\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_COUNTER\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_TICK_TRUE}" && test -z "${TSS_BUILD_TICK_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_TICK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TICK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_TICK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_TRANSPORT_TRUE}" && test -z "${TSS_BUILD_TRANSPORT_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_TRANSPORT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_TRANSPORT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_ASN1_TRUE}" && test -z "${TSS_BUILD_ASN1_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_ASN1\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASN1\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_ASN1\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_NV_TRUE}" && test -z "${TSS_BUILD_NV_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_NV\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_NV\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_AUDIT_TRUE}" && test -z "${TSS_BUILD_AUDIT_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_AUDIT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUDIT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_AUDIT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_SEALX_TRUE}" && test -z "${TSS_BUILD_SEALX_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_SEALX\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SEALX\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_SEALX\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_DELEGATION_TRUE}" && test -z "${TSS_BUILD_DELEGATION_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_DELEGATION\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_DELEGATION\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_DELEGATION\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_QUOTE2_TRUE}" && test -z "${TSS_BUILD_QUOTE2_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_QUOTE2\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_QUOTE2\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_QUOTE2\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_CMK_TRUE}" && test -z "${TSS_BUILD_CMK_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_CMK\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_CMK\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_CMK\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_NV_LIST_TRUE}" && test -z "${TSS_BUILD_NV_LIST_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_NV_LIST\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_NV_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_NV_SUPPORT_TRUE}" && test -z "${TSS_BUILD_NV_SUPPORT_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_NV_SUPPORT\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_NV_SUPPORT\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_NV_SUPPORT\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_GET_FLAGS_TRUE}" && test -z "${TSS_BUILD_GET_FLAGS_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_GET_FLAGS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_GET_FLAGS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_GET_FLAGS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_PCRS_LIST_TRUE}" && test -z "${TSS_BUILD_PCRS_LIST_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_PCRS_LIST\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_PCRS_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_PCRS_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_HASH_LIST_TRUE}" && test -z "${TSS_BUILD_HASH_LIST_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_HASH_LIST\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_HASH_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_HASH_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_ENCDATA_LIST_TRUE}" && test -z "${TSS_BUILD_ENCDATA_LIST_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_ENCDATA_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_RSAKEY_LIST_TRUE}" && test -z "${TSS_BUILD_RSAKEY_LIST_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_RSAKEY_LIST\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_AUTH_TRUE}" && test -z "${TSS_BUILD_AUTH_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_AUTH\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_AUTH\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_AUTH\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_ASYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_ASYM_CRYPTO_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_ASYM_CRYPTO\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${TSS_BUILD_SYM_CRYPTO_TRUE}" && test -z "${TSS_BUILD_SYM_CRYPTO_FALSE}"; then - as_fn_error $? "conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"TSS_BUILD_SYM_CRYPTO\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then - as_fn_error $? "conditional \"am__fastdepCC\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } fi @@ -13170,10 +15093,9 @@ fi ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 +cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -13183,18 +15105,17 @@ cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 debug=false ac_cs_recheck=false ac_cs_silent=false - SHELL=\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which @@ -13202,15 +15123,23 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; esac + fi + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + as_nl=' ' export as_nl @@ -13218,13 +15147,7 @@ export as_nl as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='print -r --' - as_echo_n='print -rn --' -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else @@ -13235,7 +15158,7 @@ else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; - case $arg in #( + case $arg in *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; @@ -13258,6 +15181,13 @@ if test "${PATH_SEPARATOR+set}" != set; then } fi +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + # IFS # We need space, tab and new line, in precisely that order. Quoting is @@ -13267,15 +15197,15 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in #(( +case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break - done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done IFS=$as_save_IFS ;; @@ -13287,16 +15217,12 @@ if test "x$as_myself" = x; then fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - exit 1 + { (exit 1); exit 1; } fi -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} = xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' @@ -13308,89 +15234,7 @@ export LC_ALL LANGUAGE=C export LANGUAGE -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=$1; test $as_status -eq 0 && as_status=1 - if test "$4"; then - as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=; unset $1;} -} -as_unset=as_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. Take -# advantage of any shell optimizations that allow amortized linear growth over -# repeated appends, instead of the typical quadratic growth present in naive -# implementations. -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : - eval 'as_fn_append () - { - eval $1+=\$2 - }' -else - as_fn_append () - { - eval $1=\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The arguments -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=$(( $* )) - }' -else - as_fn_arith () - { - as_val=`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - +# Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -13404,12 +15248,8 @@ else as_basename=false fi -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi +# Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ @@ -13429,25 +15269,76 @@ $as_echo X/"$0" | } s/.*/./; q'` -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits +# CDPATH. +$as_unset CDPATH + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in #((((( +case `echo -n x` in -n*) - case `echo 'xy\c'` in + case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. - xy) ECHO_C='\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=' ';; + *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then @@ -13476,56 +15367,8 @@ fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" - - -} # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then - as_mkdir_p='mkdir -p "$as_dir"' + as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false @@ -13544,10 +15387,10 @@ else if test -d "$1"; then test -d "$1/."; else - case $1 in #( + case $1 in -*)set "./$1";; esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' @@ -13562,19 +15405,13 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# Save the log message, to keep $0 and so on meaningful, and to +# Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by trousers $as_me 0.3.8, which was -generated by GNU Autoconf 2.67. Invocation command line was +This file was extended by trousers $as_me 0.3.14, which was +generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -13602,15 +15439,13 @@ _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. +\`$as_me' instantiates files from templates according to the +current configuration. -Usage: $0 [OPTION]... [TAG]... +Usage: $0 [OPTION]... [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit - --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files @@ -13624,17 +15459,16 @@ $config_files Configuration commands: $config_commands -Report bugs to ." +Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -trousers config.status 0.3.8 -configured by $0, generated by GNU Autoconf 2.67, - with options \\"\$ac_cs_config\\" +trousers config.status 0.3.14 +configured by $0, generated by GNU Autoconf 2.63, + with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2008 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -13652,16 +15486,11 @@ ac_need_defaults=: while test $# != 0 do case $1 in - --*=?*) + --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; - --*=) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg= - ac_shift=: - ;; *) ac_option=$1 ac_optarg=$2 @@ -13675,17 +15504,14 @@ do ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - '') as_fn_error $? "missing file argument" ;; esac - as_fn_append CONFIG_FILES " '$ac_optarg'" + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; @@ -13694,10 +15520,11 @@ do ac_cs_silent=: ;; # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; + -*) { $as_echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; - *) as_fn_append ac_config_targets " $1" + *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac @@ -14016,7 +15843,6 @@ do "src/tspi/Makefile") CONFIG_FILES="$CONFIG_FILES src/tspi/Makefile" ;; "src/trspi/Makefile") CONFIG_FILES="$CONFIG_FILES src/trspi/Makefile" ;; "src/tcsd/Makefile") CONFIG_FILES="$CONFIG_FILES src/tcsd/Makefile" ;; - "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; "man/man8/tcsd.8") CONFIG_FILES="$CONFIG_FILES man/man8/tcsd.8" ;; "man/man5/tcsd.conf.5") CONFIG_FILES="$CONFIG_FILES man/man5/tcsd.conf.5" ;; "dist/Makefile") CONFIG_FILES="$CONFIG_FILES dist/Makefile" ;; @@ -14025,7 +15851,9 @@ do "man/man5/Makefile") CONFIG_FILES="$CONFIG_FILES man/man5/Makefile" ;; "man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;; - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; esac done @@ -14051,7 +15879,7 @@ $debug || trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 - trap 'as_fn_exit 1' 1 2 13 15 + trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. @@ -14062,7 +15890,11 @@ $debug || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +} || +{ + $as_echo "$as_me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -14070,13 +15902,7 @@ $debug || if test -n "$CONFIG_FILES"; then -ac_cr=`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" = x; then - eval ac_cr=\$\'\\r\' -fi +ac_cr=' ' ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' @@ -14093,18 +15919,24 @@ _ACEOF echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } +ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -14126,7 +15958,7 @@ s/'"$ac_delim"'$// t delim :nl h -s/\(.\{148\}\)..*/\1/ +s/\(.\{148\}\).*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p @@ -14140,7 +15972,7 @@ s/.\{148\}// t nl :delim h -s/\(.\{148\}\)..*/\1/ +s/\(.\{148\}\).*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p @@ -14193,28 +16025,22 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 +$as_echo "$as_me: error: could not setup config files machinery" >&2;} + { (exit 1); exit 1; }; } _ACEOF -# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ s/:*$// -x -s/\(=[ ]*\).*/\1/ -G -s/\n// s/^[^=]*=[ ]*$// }' fi @@ -14232,7 +16058,9 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 +$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} + { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -14260,10 +16088,12 @@ do [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} + { (exit 1); exit 1; }; };; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" + ac_file_inputs="$ac_file_inputs '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't @@ -14274,7 +16104,7 @@ do `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. @@ -14287,7 +16117,9 @@ $as_echo "$as_me: creating $ac_file" >&6;} case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } ;; esac ;; esac @@ -14315,7 +16147,47 @@ $as_echo X"$ac_file" | q } s/.*/./; q'` - as_dir="$ac_dir"; as_fn_mkdir_p + { as_dir="$ac_dir" + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in @@ -14372,6 +16244,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= + ac_sed_dataroot=' /datarootdir/ { p @@ -14381,11 +16254,12 @@ ac_sed_dataroot=' /@docdir@/p /@infodir@/p /@localedir@/p -/@mandir@/p' +/@mandir@/p +' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 @@ -14395,7 +16269,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; + s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF @@ -14424,26 +16298,30 @@ s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&5 + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&2;} +which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } ;; - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -14538,7 +16416,47 @@ $as_echo X"$file" | q } s/.*/./; q'` - as_dir=$dirpart/$fdir; as_fn_mkdir_p + { as_dir=$dirpart/$fdir + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done @@ -15185,12 +17103,15 @@ _LT_EOF done # for ac_tag -as_fn_exit 0 +{ (exit 0); exit 0; } _ACEOF +chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } # configure is writing to config.log, and then calls config.status. @@ -15211,10 +17132,10 @@ if test "$no_create" != yes; then exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit 1 + $ac_cs_success || { (exit 1); exit 1; } fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 + { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi diff --git a/crypto/external/cpl/trousers/dist/configure.ac b/crypto/external/cpl/trousers/dist/configure.ac new file mode 100644 index 00000000000..b9626afe8ee --- /dev/null +++ b/crypto/external/cpl/trousers/dist/configure.ac @@ -0,0 +1,412 @@ +# +# configure.ac for the trousers project +# + +AC_INIT(trousers, 0.3.14, trousers-tech@lists.sf.net) + +TSS_SPEC_MAJOR=1 +TSS_SPEC_MINOR=2 +TSS_VER_MAJOR=0 +TSS_VER_MINOR=3 + +# compute $target +AC_CANONICAL_TARGET +AM_INIT_AUTOMAKE([foreign subdir-objects 1.6]) + +# Debugging support +AC_ARG_ENABLE([debug], + [AC_HELP_STRING([--enable-debug], [turn on all trousers debugging flags [default=off]])], + AC_MSG_RESULT([*** Enabling debugging at user request ***]),) + +# If the user has not set CFLAGS, do something appropriate +test_CFLAGS=${CFLAGS+set} +if test "$test_CFLAGS" != set; then + if test "x$enable_debug" = "xyes"; then + CFLAGS="-O0 -g -DTSS_DEBUG -Wreturn-type" +# CFLAGS="-O0 -g -DTSS_DEBUG -Wreturn-type -DTCSD_SINGLE_THREAD_DEBUG" + else + CFLAGS="-O2" + fi +else + if test "x$enable_debug" = "xyes"; then + CFLAGS="${CFLAGS} -O0 -g -DTSS_DEBUG -Wreturn-type" + fi +fi + +# Arch specific stuff +case $target in + *darwin*) + TCSD_LDFLAGS="" + ;; + *solaris*) + CFLAGS="$CFLAGS -DSOLARIS" + ;; + *) + TCSD_LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now" + ;; +esac + +AC_SUBST(TCSD_LDFLAGS) + +# Non-standard OpenSSL location +AC_MSG_CHECKING([Non-standard OpenSSL location]) +AC_ARG_WITH(openssl, + AC_HELP_STRING([--with-openssl=PATH], [Location of openssl libs/includes]), + [OPENSSL_INCLUDE_DIR="$withval/include" + OPENSSL_LIB_DIR="$withval/lib" + if [[ ! -d $OPENSSL_INCLUDE_DIR -o ! -d $OPENSSL_LIB_DIR ]]; then + AC_MSG_ERROR([$OPENSSL_INCLUDE_DIR or $OPENSSL_LIB_DIR doen't exist!]) + else + AC_MSG_RESULT([yes]) + CFLAGS="$CFLAGS -L$OPENSSL_LIB_DIR -I$OPENSSL_INCLUDE_DIR" + AC_SUBST([OPENSSL_LIB_DIR]) + fi], + [AC_MSG_RESULT([no]) + AC_SUBST([OPENSSL_LIB_DIR], []) ] ) + +# The tspi Makefile will look for trspi/crypto/@CRYPTO_PACKAGE@/crypto.c +# Future crypto packages can go in their own subdir of trspi/crypto +# and a check for them should be made here +AC_CHECK_LIB([crypto], [EVP_DigestUpdate], + [CRYPTO_PACKAGE='openssl'], + [AC_MSG_ERROR([openssl is currently the only supported crypto library for trousers. Please install openssl from http://www.openssl.org or the -devel package from your distro])]) +AC_SUBST([CRYPTO_PACKAGE]) +AC_SUBST(CRYPTOLIB, -lcrypto) + +AC_ARG_ENABLE(gcov, + [AC_HELP_STRING([--enable-gcov], [turn on gcov code coverage flags [default=off]])], + [CFLAGS="$CFLAGS -ftest-coverage -fprofile-arcs" + AC_MSG_RESULT([*** Enabling gcov at user request ***])],) + +# profiling support +AC_ARG_ENABLE(gprof, + [AC_HELP_STRING([--enable-gprof], [enable profiling with gprof [default=off]])], + [CFLAGS="$CFLAGS -pg" + AC_MSG_RESULT([*** Enabling profiling at user request ***])],) + +SPEC_COMP=0 +# strict spec compliance +AC_ARG_ENABLE(strict-spec-compliance, + [AC_HELP_STRING([--enable-strict-spec-compliance], [build TrouSerS as strictly spec compliant [default=off]])], + [CFLAGS="$CFLAGS -DTSS_SPEC_COMPLIANCE" + SPEC_COMP=1 + AC_MSG_RESULT([*** Enabling spec compliance at user request ***])],) + +# user+group checking +AC_ARG_ENABLE(usercheck, + [AC_HELP_STRING([--disable-usercheck], [build TrouSerS without checking and setting of user/group tss [default=on] (Caution: This is intended for development purposes only.)])], + [AS_IF([test "x$enableval" = "xno"], [CFLAGS="$CFLAGS -DNOUSERCHECK" + AC_MSG_RESULT([*** Disabling user checking at user request ***])])],) +AM_CONDITIONAL(NOUSERCHECK, [test "x$enable_usercheck" = "xno"]) + +# daa math lib: gmp or openssl (default openssl) +MATH_DEFINE=BI_OPENSSL +AC_ARG_WITH([gmp], + AC_HELP_STRING([--with-gmp], [build TrouSerS with the GMP math lib (used in DAA)]), + [AC_CHECK_LIB(gmp, [__gmp_rand], [], []) + AC_CHECK_HEADERS([gmp.h]) + MATH_DEFINE=BI_GMP + AC_MSG_RESULT([*** Enabling GMP lib at user request ***]) ] +) + +case "$MATH_DEFINE" in +BI_OPENSSL) + AC_CHECK_HEADERS([ openssl/bn.h openssl/engine.h]) + ;; +esac +CFLAGS="$CFLAGS -D$MATH_DEFINE" + +GUI=openssl +AC_ARG_WITH(gui, + [AC_HELP_STRING([--with-gui], [type of gui popup (gtk/none) [default=gtk]])], + [GUI=$withval], + []) + +if test "x$GUI" = "xgtk"; then + # section imported from Glade compile + pkg_modules="gtk+-2.0 >= 2.0.0" + PKG_CHECK_MODULES(GTK, + [$pkg_modules], + AM_CONDITIONAL(HAVE_GTK, true), + [AM_CONDITIONAL(HAVE_GTK, false) + AC_MSG_ERROR([Please install the gtk2-devel package for your distro or select another gui option.]) ]) + AM_CONDITIONAL(OPENSSL_UI, false) + AC_SUBST(GTK_CFLAGS) + AC_SUBST(GTK_LIBS) +elif test "x$GUI" = "xopenssl"; then + # We know we have OpenSSL + AM_CONDITIONAL(OPENSSL_UI, true) + AM_CONDITIONAL(HAVE_GTK, false) +elif test "x$GUI" = "xnone"; then + if test $SPEC_COMP -eq 1; then + AC_MSG_ERROR([Popups must be enabled in strict spec compliance mode]) + fi + AC_MSG_RESULT([*** Disabling GUI popups at user request ***]) + AC_MSG_RESULT([*** WARNING: This may break apps! ***]) + CFLAGS="$CFLAGS -DTSS_NO_GUI" + AM_CONDITIONAL(HAVE_GTK, false) + AM_CONDITIONAL(OPENSSL_UI, false) +else + AC_MSG_ERROR(["gtk", "openssl" and "none" are the only supported gui options for trousers]) +fi + +# +# The default port that the TCS daemon listens on +# +AC_SUBST(TCSD_DEFAULT_PORT, 30003) +# +# The RPC mechanism to build into both libtspi and the tcsd +# +# AC_SUBST(RPC, "soap") +AC_SUBST(RPC, "tcstp") + +# +# API= The TSS API level to build by default. +# +# To build a 1.1 TSS, set API=1.1 (./configure --with-api=1.1) +# To build a 1.2 TSS, set API=1.2 (./configure --with-api=1.2) +# +# In order to build a custom TSS API, set API to the lowest API level that +# contains the APIs you need. For instance, if you need only APIs that are +# a subset of the TSS 1.1 API, set this to 1.1. If you need any of the 1.2 +# APIs, you'll need to set this to 1.2. Send mail to trousers-tech@lists.sf.net +# if you have questions. +# +API=1.2 +AC_ARG_WITH(api, + [AC_HELP_STRING([--with-api], [Version of the TSS API to build [default=1.2]])], + [API=$withval], + []) + +if test "x$API" != "x1.1" && test "x$API" != "x1.2"; then + AC_MSG_ERROR(["1.1" and "1.2" are the only supported API versions for trousers. + Custom API build options are available by editing 'configure.in'.]) +fi + +if test "x$API" = "x1.1" || test "x$API" = "x1.2"; then + # Tspi_Hash_GetHashValue,SetHashValue,UpdateHashValue + AM_CONDITIONAL(TSS_BUILD_HASH, true) + # Tspi_{Get|Set}Attribdata,{Get|Set}AttribUint32 + AM_CONDITIONAL(TSS_BUILD_GETSET, true) + # Tspi_TPM_GetRandom,StirRandom + AM_CONDITIONAL(TSS_BUILD_RANDOM, true) + # Tspi_GetCapability (for TSP and TCS capabilities) + AM_CONDITIONAL(TSS_BUILD_CAPS, true) + # Tspi_TPM_GetCapability (for TPM chip capabilities) + AM_CONDITIONAL(TSS_BUILD_CAPS_TPM, true) + # Tspi_GetPolicyObject, Tspi_Policy_SetSecret,FlushSecret,AssignToObject + AM_CONDITIONAL(TSS_BUILD_POLICY, true) + # Tspi_TPM_DirWrite,DirRead + AM_CONDITIONAL(TSS_BUILD_DIR, true) + # Tspi_TPM_GetEvent,GetEvents,GetEventLog + AM_CONDITIONAL(TSS_BUILD_PCR_EVENTS, true) + # Tspi_Hash_Sign,VerifySignature + AM_CONDITIONAL(TSS_BUILD_SIGN, true) + # Tspi_TPM_Quote + AM_CONDITIONAL(TSS_BUILD_QUOTE, true) + # Tspi_PcrComposite_{Set|Get}PcrValue,SelectPcrIndex + AM_CONDITIONAL(TSS_BUILD_PCR_COMP, true) + # Tspi_Data_Seal,Unseal + AM_CONDITIONAL(TSS_BUILD_SEAL, true) + # Tspi_ChangeAuth,ChangeAuthAsym + AM_CONDITIONAL(TSS_BUILD_CHANGEAUTH, true) + # Tspi_Data_Bind,Unbind + AM_CONDITIONAL(TSS_BUILD_BIND, true) + # Tspi_TPM_TakeOwnership,ClearOwner (REQ: EK) + AM_CONDITIONAL(TSS_BUILD_OWN, true) + # Tspi_TPM_CreateEndorsementKey,GetPubEndorsementKey + AM_CONDITIONAL(TSS_BUILD_EK, true) + # Tspi_Context_RegisterKey,UnregisterKey,LoadKeyByUUID,GetKeyByUUID,GetKeyByPublicInfo, + # GetRegisteredKeysByUUID + AM_CONDITIONAL(TSS_BUILD_PS, true) + # Tspi_TPM_{Set|Get}Status + AM_CONDITIONAL(TSS_BUILD_ADMIN, true) + # Tspi_TPM_CollateIdentityRequest,ActivateIdentity + AM_CONDITIONAL(TSS_BUILD_AIK, true) + # Tspi_Key_CertifyKey + AM_CONDITIONAL(TSS_BUILD_CERTIFY, true) + # Tspi_TPM_CreateMaintenanceArchive,KillMaintenanceFeature,LoadMaintenancePubKey, + # CheckMaintenancePubKey + AM_CONDITIONAL(TSS_BUILD_MAINT, true) + # Tspi_TPM_AuthorizeMigrationTicket,Key_CreateMigrationBlob,ConvertMigrationBlob + AM_CONDITIONAL(TSS_BUILD_MIGRATION, true) + # Tspi_Context_LoadKeyByBlob,Key_LoadKey,UnloadKey,CreateKey,WrapKey,GetPubKey + AM_CONDITIONAL(TSS_BUILD_KEY, true) + # Tspi_TPM_PcrExtend,PcrRead,PcrReset + AM_CONDITIONAL(TSS_BUILD_PCR_EXTEND, true) + # Tspi_TPM_SelfTestFull,CertifySelfTest,GetTestResult + AM_CONDITIONAL(TSS_BUILD_SELFTEST, true) +fi + +if test "x$API" = "x1.2"; then + AM_CONDITIONAL(TSS_BUILD_TSS12, true) + # Don't build DAA until the API is fixed - KEY + AM_CONDITIONAL(TSS_BUILD_DAA, false) + AM_CONDITIONAL(TSS_BUILD_PCR_COMP12, true) + AM_CONDITIONAL(TSS_BUILD_COUNTER, true) + AM_CONDITIONAL(TSS_BUILD_TICK, true) + AM_CONDITIONAL(TSS_BUILD_TRANSPORT, true) + AM_CONDITIONAL(TSS_BUILD_ASN1, true) + AM_CONDITIONAL(TSS_BUILD_NV, true) + AM_CONDITIONAL(TSS_BUILD_AUDIT, true) + AM_CONDITIONAL(TSS_BUILD_SEALX, true) + AM_CONDITIONAL(TSS_BUILD_DELEGATION, true) + AM_CONDITIONAL(TSS_BUILD_QUOTE2,true) + # CMK depends on MIGRATION + AM_CONDITIONAL(TSS_BUILD_CMK, true) +else + AM_CONDITIONAL(TSS_BUILD_TSS12, false) + AM_CONDITIONAL(TSS_BUILD_DAA, false) + AM_CONDITIONAL(TSS_BUILD_PCR_COMP12, false) + AM_CONDITIONAL(TSS_BUILD_COUNTER, false) + AM_CONDITIONAL(TSS_BUILD_TICK, false) + AM_CONDITIONAL(TSS_BUILD_TRANSPORT, false) + AM_CONDITIONAL(TSS_BUILD_ASN1, false) + AM_CONDITIONAL(TSS_BUILD_NV, false) + AM_CONDITIONAL(TSS_BUILD_AUDIT, false) + AM_CONDITIONAL(TSS_BUILD_SEALX, false) + AM_CONDITIONAL(TSS_BUILD_DELEGATION, false) + AM_CONDITIONAL(TSS_BUILD_QUOTE2,false) + AM_CONDITIONAL(TSS_BUILD_CMK, false) +fi + +# +# There's no need to edit anything below, these conditionals control the building +# of files that support the files above, which all contain TSS APIs +# +AM_CONDITIONAL(TSS_BUILD_NV_LIST, test -z $TSS_BUILD_NV_TRUE) +AM_CONDITIONAL(TSS_BUILD_NV_SUPPORT, test -z $TSS_BUILD_NV_TRUE) +AM_CONDITIONAL(TSS_BUILD_GET_FLAGS, test -z $TSS_BUILD_ADMIN_TRUE || \ + test -z $TSS_BUILD_CAPS_TPM_TRUE) +AM_CONDITIONAL(TSS_BUILD_PCRS_LIST, test -z $TSS_BUILD_SEAL_TRUE || \ + test -z $TSS_BUILD_QUOTE_TRUE || \ + test -z $TSS_BUILD_PCRS_TRUE || \ + test -z $TSS_BUILD_PCR_COMP_TRUE || \ + test -z $TSS_BUILD_SEALX_TRUE) +AM_CONDITIONAL(TSS_BUILD_HASH_LIST, test -z $TSS_BUILD_SIGN_TRUE || test -z $TSS_BUILD_HASH_TRUE) +AM_CONDITIONAL(TSS_BUILD_ENCDATA_LIST, test -z $TSS_BUILD_SEAL_TRUE || \ + test -z $TSS_BUILD_CHANGEAUTH_TRUE || \ + test -z $TSS_BUILD_BIND_TRUE || \ + test -z $TSS_BUILD_SEALX_TRUE) +AM_CONDITIONAL(TSS_BUILD_RSAKEY_LIST, test -z $TSS_BUILD_ADMIN_TRUE || \ + test -z $TSS_BUILD_EK_TRUE || \ + test -z $TSS_BUILD_MIGRATION_TRUE || \ + test -z $TSS_BUILD_MAINT_TRUE || \ + test -z $TSS_BUILD_CERTIFY_TRUE || \ + test -z $TSS_BUILD_AIK_TRUE || \ + test -z $TSS_BUILD_QUOTE_TRUE || \ + test -z $TSS_BUILD_BIND_TRUE || \ + test -z $TSS_BUILD_CHANGEAUTH_TRUE || \ + test -z $TSS_BUILD_OWN_TRUE || \ + test -z $TSS_BUILD_SIGN_TRUE || \ + test -z $TSS_BUILD_PS_TRUE || \ + test -z $TSS_BUILD_SEAL_TRUE || \ + test -z $TSS_BUILD_DAA_TRUE || \ + test -z $TSS_BUILD_KEY_TRUE || \ + test -z $TSS_BUILD_SEALX_TRUE) +AM_CONDITIONAL(TSS_BUILD_AUTH, test -z $TSS_BUILD_HASH_TRUE || \ + test -z $TSS_BUILD_CAPS_TRUE || \ + test -z $TSS_BUILD_CAPS_TPM_TRUE || \ + test -z $TSS_BUILD_POLICY_TRUE || \ + test -z $TSS_BUILD_DIR_TRUE || \ + test -z $TSS_BUILD_PCR_EVENTS_TRUE || \ + test -z $TSS_BUILD_SIGN_TRUE || \ + test -z $TSS_BUILD_QUOTE_TRUE || \ + test -z $TSS_BUILD_PCR_COMP_TRUE || \ + test -z $TSS_BUILD_SEAL_TRUE || \ + test -z $TSS_BUILD_SEALX_TRUE || \ + test -z $TSS_BUILD_CHANGEAUTH_TRUE || \ + test -z $TSS_BUILD_BIND_TRUE || \ + test -z $TSS_BUILD_OWN_TRUE || \ + test -z $TSS_BUILD_PS_TRUE || \ + test -z $TSS_BUILD_ADMIN_TRUE || \ + test -z $TSS_BUILD_AIK_TRUE || \ + test -z $TSS_BUILD_EK_TRUE || \ + test -z $TSS_BUILD_CERTIFY_TRUE || \ + test -z $TSS_BUILD_MAINT_TRUE || \ + test -z $TSS_BUILD_MIGRATION_TRUE || \ + test -z $TSS_BUILD_KEY_TRUE || \ + test -z $TSS_BUILD_PCR_EXTEND_TRUE || \ + test -z $TSS_BUILD_SELFTEST_TRUE || \ + test -z $TSS_BUILD_DAA_TRUE) +AM_CONDITIONAL(TSS_BUILD_ASYM_CRYPTO, test -z $TSS_BUILD_AIK_TRUE || \ + test -z $TSS_BUILD_CERTIFY_TRUE || \ + test -z $TSS_BUILD_QUOTE_TRUE || \ + test -z $TSS_BUILD_EK_TRUE || \ + test -z $TSS_BUILD_CHANGEAUTH_TRUE || \ + test -z $TSS_BUILD_BIND_TRUE || \ + test -z $TSS_BUILD_OWN_TRUE || \ + test -z $TSS_BUILD_SELFTEST_TRUE || \ + test -z $TSS_BUILD_SIGN_TRUE || \ + test -z $TSS_BUILD_KEY_TRUE || \ + test -z $TSS_BUILD_DAA_TRUE) +AM_CONDITIONAL(TSS_BUILD_SYM_CRYPTO, test -z $TSS_BUILD_AIK_TRUE || \ + test -z $TSS_BUILD_TRANSPORT_TRUE) + +#GETTEXT_PACKAGE=trousers +#AC_SUBST(GETTEXT_PACKAGE) +#AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE") + +dnl Add the languages which your application supports here. +#ALL_LINGUAS="" +#AM_GLIB_GNU_GETTEXT + +# end Glade section + +AC_CHECK_HEADER(pthread.h, [AC_DEFINE(HAVE_PTHREAD_H, 1, [pthread header])]) + +AC_DISABLE_STATIC +AC_PROG_CC +AC_PROG_LIBTOOL + +AC_C_BIGENDIAN([AC_DEFINE(_BIG_ENDIAN, 1, [big-endian host])]) +AC_CHECK_DECL(htole32, [AC_DEFINE(HTOLE_DEFINED, 1, [htole32 function is available])]) +AC_CHECK_HEADER(sys/byteorder.h, [AC_DEFINE(HAVE_BYTEORDER_H, 1, [sys/byteorder.h header])]) +AC_CHECK_FUNC(daemon, [ AC_DEFINE(HAVE_DAEMON, 1, [daemon function is available]) ]) + +if test "x${GCC}" = "xyes"; then + CFLAGS="$CFLAGS -W -Wall -Wno-unused-parameter -Wsign-compare" +fi + +CFLAGS="$CFLAGS -I../include \ + -DTCSD_DEFAULT_PORT=${TCSD_DEFAULT_PORT} -DTSS_VER_MAJOR=${TSS_VER_MAJOR} \ + -DTSS_VER_MINOR=${TSS_VER_MINOR} -DTSS_SPEC_MAJOR=${TSS_SPEC_MAJOR} \ + -DTSS_SPEC_MINOR=${TSS_SPEC_MINOR}" +#CFLAGS="$CFLAGS -I../include -std=c99 -pedantic -W -Wall" +KERNEL_VERSION=`uname -r` +AC_SUBST(CFLAGS) + +# When we build the rpms, prefix will be /usr. This'll do some things that make sense, +# like put our sbin stuff in /usr/sbin and our library in /usr/lib. It'll do some other +# things that don't make sense like put our config file in /usr/etc. So, I'll just hack +# it here. If the --prefix option isn't specified during configure, let it all go to +# /usr/local, even /usr/local/etc. :-P +if test x"${prefix}" = x"/usr"; then + sysconfdir="/etc" + localstatedir="/var" + mandir="/usr/share/man" +elif test x"${prefix}" = x"NONE"; then + localstatedir="/usr/local/var" +fi + +AC_OUTPUT(dist/tcsd.conf \ + dist/fedora/trousers.spec \ + dist/trousers.spec \ + Makefile \ + src/Makefile \ + src/include/Makefile \ + src/tcs/Makefile \ + src/tddl/Makefile \ + src/tspi/Makefile \ + src/trspi/Makefile \ + src/tcsd/Makefile \ + man/man8/tcsd.8 \ + man/man5/tcsd.conf.5 \ + dist/Makefile \ + man/Makefile \ + man/man3/Makefile \ + man/man5/Makefile \ + man/man8/Makefile) + +echo "CFLAGS=$CFLAGS" + diff --git a/crypto/external/cpl/trousers/dist/dist/Makefile.am b/crypto/external/cpl/trousers/dist/dist/Makefile.am index 4c0a11a6dd2..372736adae9 100644 --- a/crypto/external/cpl/trousers/dist/dist/Makefile.am +++ b/crypto/external/cpl/trousers/dist/dist/Makefile.am @@ -1,17 +1,26 @@ EXTRA_DIST = system.data.auth system.data.noauth \ fedora/fedora.initrd.tcsd + install: install-exec-hook if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi +if !NOUSERCHECK /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf +endif install-exec-hook: + /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi' +if !NOUSERCHECK /usr/sbin/groupadd tss || true /usr/sbin/useradd -r tss -g tss || true - /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi' /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm +endif uninstall-hook: + rm ${DESTDIR}/@sysconfdir@/tcsd.conf + rmdir ${DESTDIR}/@localstatedir@/lib/tpm +if !NOUSERCHECK /usr/sbin/userdel tss || true /usr/sbin/groupdel tss || true +endif diff --git a/crypto/external/cpl/trousers/dist/dist/Makefile.in b/crypto/external/cpl/trousers/dist/dist/Makefile.in index d5945af0b84..c0fd5faaac3 100644 --- a/crypto/external/cpl/trousers/dist/dist/Makefile.in +++ b/crypto/external/cpl/trousers/dist/dist/Makefile.in @@ -38,7 +38,7 @@ subdir = dist DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/tcsd.conf.in $(srcdir)/trousers.spec.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -102,12 +102,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -115,6 +112,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -365,21 +363,24 @@ uninstall-am: mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ uninstall uninstall-am uninstall-hook + install: install-exec-hook if test ! -e ${DESTDIR}/@sysconfdir@/tcsd.conf; then mkdir -p ${DESTDIR}/@sysconfdir@ && cp tcsd.conf ${DESTDIR}/@sysconfdir@; fi - /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true - /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf +@NOUSERCHECK_FALSE@ /bin/chown tss:tss ${DESTDIR}/@sysconfdir@/tcsd.conf || true +@NOUSERCHECK_FALSE@ /bin/chmod 0600 ${DESTDIR}/@sysconfdir@/tcsd.conf install-exec-hook: - /usr/sbin/groupadd tss || true - /usr/sbin/useradd -r tss -g tss || true /bin/sh -c 'if [ ! -e ${DESTDIR}/@localstatedir@/lib/tpm ];then mkdir -p ${DESTDIR}/@localstatedir@/lib/tpm; fi' - /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true - /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm +@NOUSERCHECK_FALSE@ /usr/sbin/groupadd tss || true +@NOUSERCHECK_FALSE@ /usr/sbin/useradd -r tss -g tss || true +@NOUSERCHECK_FALSE@ /bin/chown tss:tss ${DESTDIR}/@localstatedir@/lib/tpm || true +@NOUSERCHECK_FALSE@ /bin/chmod 0700 ${DESTDIR}/@localstatedir@/lib/tpm uninstall-hook: - /usr/sbin/userdel tss || true - /usr/sbin/groupdel tss || true + rm ${DESTDIR}/@sysconfdir@/tcsd.conf + rmdir ${DESTDIR}/@localstatedir@/lib/tpm +@NOUSERCHECK_FALSE@ /usr/sbin/userdel tss || true +@NOUSERCHECK_FALSE@ /usr/sbin/groupdel tss || true # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/crypto/external/cpl/trousers/dist/dist/fedora/trousers.fc b/crypto/external/cpl/trousers/dist/dist/fedora/trousers.fc new file mode 100644 index 00000000000..37d8e665a0d --- /dev/null +++ b/crypto/external/cpl/trousers/dist/dist/fedora/trousers.fc @@ -0,0 +1,4 @@ +/usr/sbin/tcsd system_u:object_r:tcsd_exec_t +/etc/tcsd.conf system_u:object_r:tcsd_config_t +/var/lib/tpm(/.*)? system_u:object_r:tcsd_readwrite_t +/dev/tpm(.*) system_u:object_r:tcsd_device_t diff --git a/crypto/external/cpl/trousers/dist/dist/fedora/trousers.spec.in b/crypto/external/cpl/trousers/dist/dist/fedora/trousers.spec.in index 6b02ad03fe5..635e713ccd4 100644 --- a/crypto/external/cpl/trousers/dist/dist/fedora/trousers.spec.in +++ b/crypto/external/cpl/trousers/dist/dist/fedora/trousers.spec.in @@ -9,7 +9,7 @@ Name: %{name} Summary: Implementation of the TCG's Software Stack v1.1 Specification Version: %{version} Release: %{release} -License: CPL +License: BSD Group: Development/Libraries Source: %{name}-%{version}.tar.gz Url: http://www.sf.net/projects/trousers diff --git a/crypto/external/cpl/trousers/dist/dist/fedora/trousers.te b/crypto/external/cpl/trousers/dist/dist/fedora/trousers.te new file mode 100644 index 00000000000..b2446333c35 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/dist/fedora/trousers.te @@ -0,0 +1,33 @@ +type tcsd_device_t, device_type, dev_fs; +type tcsd_readwrite_t, file_type; +type tcsd_config_t, file_type, sysadmfile; +daemon_domain(tcsd, `') +general_domain_access(tcsd_t) +allow unconfined_t tcsd_t:process transition; +type_transition unconfined_t tcsd_exec_t:process tcsd_t; +allow tcsd_t tcsd_exec_t:dir r_dir_perms; +allow tcsd_t etc_t:file { read getattr lock ioctl }; +allow tcsd_t etc_t:lnk_file { read getattr }; +allow tcsd_t devtty_t:chr_file { ioctl read getattr lock write append }; +allow tcsd_t devpts_t:chr_file { ioctl read getattr lock write append }; +can_network(tcsd_t) +read_sysctl(tcsd_t, full) +r_dir_file(tcsd_t, usr_t) +r_dir_file(tcsd_t, tcsd_config_t) +rw_dir_file(tcsd_t, tcsd_readwrite_t) +allow tcsd_t tcsd_readwrite_t:file { setattr }; +allow tcsd_t tcsd_readwrite_t:dir { setattr }; +allow tcsd_t tcsd_device_t:chr_file { ioctl read getattr lock write append }; +allow tcsd_t { random_device_t }:chr_file { read getattr }; +allow tcsd_t lib_t:dir r_dir_perms; +allow tcsd_t lib_t:file { rx_file_perms execmod }; +allow tcsd_t lib_t:lnk_file r_file_perms; +allow tcsd_t lib_t:file { rx_file_perms execmod }; +allow tcsd_t lib_t:lnk_file r_file_perms; +allow tcsd_t lib_t:file { rx_file_perms execmod }; +allow tcsd_t lib_t:lnk_file r_file_perms; +allow tcsd_t var_lib_t:dir r_dir_perms; +allow tcsd_t var_lib_t:file { rx_file_perms execmod }; +allow tcsd_t var_lib_t:lnk_file r_file_perms; +allow tcsd_t port_type:tcp_socket { send_msg recv_msg name_bind }; +allow tcsd_t self:capability { chown net_bind_service dac_override fowner fsetid }; diff --git a/crypto/external/cpl/trousers/dist/dist/tcsd.conf.in b/crypto/external/cpl/trousers/dist/dist/tcsd.conf.in index 215c23f6bbb..2bf23e0a856 100644 --- a/crypto/external/cpl/trousers/dist/dist/tcsd.conf.in +++ b/crypto/external/cpl/trousers/dist/dist/tcsd.conf.in @@ -168,3 +168,24 @@ # all_platform_classes = PC_11,PDA_12,SERVER_12,MOBILE_12 # +# +# Option: disable_ipv4 +# Values: 0 or 1 +# Description: This options determines if the TCSD will bind itself to the +# machine's local IPv4 addresses in order to receive requisitions through +# its TCP port. Value of 1 disables IPv4 support, so clients cannot reach +# TCSD using that protocol. +# +# disable_ipv4 = 0 +# + +# +# Option: disable_ipv6 +# Values: 0 or 1 +# Description: This options determines if the TCSD will bind itself to the +# machine's local IPv6 addresses in order to receive requisitions through +# its TCP port. Value of 1 disables IPv6 support, so clients cannot reach +# TCSD using that protocol. +# +# disable_ipv6 = 0 +# diff --git a/crypto/external/cpl/trousers/dist/dist/trousers.spec.in b/crypto/external/cpl/trousers/dist/dist/trousers.spec.in index c49ece430b1..b298b0e8143 100644 --- a/crypto/external/cpl/trousers/dist/dist/trousers.spec.in +++ b/crypto/external/cpl/trousers/dist/dist/trousers.spec.in @@ -15,7 +15,7 @@ Name: %{name} Summary: Implementation of the TCG's Software Stack v1.1 Specification Version: %{version} Release: %{release} -License: CPL +License: BSD Group: Productivity/Security Source: %{name}-%{version}.tar.gz Url: http://www.sf.net/projects/trousers diff --git a/crypto/external/cpl/trousers/dist/ltmain.sh b/crypto/external/cpl/trousers/dist/ltmain.sh index fa4b1e1f8ae..a72f2fd78bf 100755 --- a/crypto/external/cpl/trousers/dist/ltmain.sh +++ b/crypto/external/cpl/trousers/dist/ltmain.sh @@ -65,7 +65,7 @@ # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) -# $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu3 +# $progname: (GNU libtool) 2.2.6b # automake: $automake_version # autoconf: $autoconf_version # @@ -73,7 +73,7 @@ PROGRAM=ltmain.sh PACKAGE=libtool -VERSION="2.2.6b Debian-2.2.6b-2ubuntu3" +VERSION=2.2.6b TIMESTAMP="" package_revision=1.3017 @@ -5033,10 +5033,7 @@ func_mode_link () case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; - link) - libs="$deplibs %DEPLIBS%" - test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" - ;; + link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then @@ -5347,19 +5344,19 @@ func_mode_link () # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" - tmp_libs= - for deplib in $dependency_libs; do - deplibs="$deplib $deplibs" - if $opt_duplicate_deps ; then - case "$tmp_libs " in - *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; - esac - fi - tmp_libs="$tmp_libs $deplib" - done elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if $opt_duplicate_deps ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done continue fi # $pass = conv @@ -5896,7 +5893,6 @@ func_mode_link () if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do - path= case $deplib in -L*) path="$deplib" ;; *.la) @@ -6210,9 +6206,6 @@ func_mode_link () revision="$number_minor" lt_irix_increment=no ;; - *) - func_fatal_configuration "$modename: unknown library version type \`$version_type'" - ;; esac ;; no) diff --git a/crypto/external/cpl/trousers/dist/man/Makefile.in b/crypto/external/cpl/trousers/dist/man/Makefile.in index b0e288cb6cf..2f09886aba9 100644 --- a/crypto/external/cpl/trousers/dist/man/Makefile.in +++ b/crypto/external/cpl/trousers/dist/man/Makefile.in @@ -37,7 +37,7 @@ target_triplet = @target@ subdir = man DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -141,12 +141,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -154,6 +151,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ diff --git a/crypto/external/cpl/trousers/dist/man/man3/Makefile.am b/crypto/external/cpl/trousers/dist/man/man3/Makefile.am index 0cf612714c0..1a8268e3934 100644 --- a/crypto/external/cpl/trousers/dist/man/man3/Makefile.am +++ b/crypto/external/cpl/trousers/dist/man/man3/Makefile.am @@ -73,18 +73,20 @@ man3_MANS = Tspi_ChangeAuth.3 \ Tspi_TPM_SetStatus.3 \ Tspi_TPM_StirRandom.3 \ Tspi_TPM_TakeOwnership.3 \ - Tspi_DAA_IssueCredential.3 \ - Tspi_DAA_VerifySignature.3 \ - Tspi_DAA_IssueInit.3 \ - Tspi_TPM_DAA_JoinCreateDaaPubKey.3 \ - Tspi_DAA_IssuerKeyVerification.3 \ - Tspi_TPM_DAA_JoinInit.3 \ - Tspi_DAA_IssueSetup.3 \ - Tspi_TPM_DAA_JoinStoreCredential.3 \ - Tspi_DAA_VerifyInit.3 \ - Tspi_TPM_DAA_Sign.3 \ Tspi_TPM_GetAuditDigest.3 \ Tspi_TPM_OwnerGetSRKPubKey.3 \ - Tspi_TPM_Quote.3 \ + Tspi_TPM_Quote2.3 \ Tspi_TPM_CMKSetRestrictions.3 +if TSS_BUILD_DAA +man3_MANS += Tspi_DAA_IssueCredential.3 \ + Tspi_DAA_VerifySignature.3 \ + Tspi_DAA_IssueInit.3 \ + Tspi_TPM_DAA_JoinCreateDaaPubKey.3 \ + Tspi_DAA_IssuerKeyVerification.3 \ + Tspi_TPM_DAA_JoinInit.3 \ + Tspi_DAA_IssueSetup.3 \ + Tspi_TPM_DAA_JoinStoreCredential.3 \ + Tspi_DAA_VerifyInit.3 \ + Tspi_TPM_DAA_Sign.3 +endif EXTRA_DIST = $(man3_MANS) diff --git a/crypto/external/cpl/trousers/dist/man/man3/Makefile.in b/crypto/external/cpl/trousers/dist/man/man3/Makefile.in index 8f3147ad772..e9ae4ad4240 100644 --- a/crypto/external/cpl/trousers/dist/man/man3/Makefile.in +++ b/crypto/external/cpl/trousers/dist/man/man3/Makefile.in @@ -34,10 +34,21 @@ POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ target_triplet = @target@ +@TSS_BUILD_DAA_TRUE@am__append_1 = Tspi_DAA_IssueCredential.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_DAA_VerifySignature.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_DAA_IssueInit.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_TPM_DAA_JoinCreateDaaPubKey.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_DAA_IssuerKeyVerification.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_TPM_DAA_JoinInit.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_DAA_IssueSetup.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_TPM_DAA_JoinStoreCredential.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_DAA_VerifyInit.3 \ +@TSS_BUILD_DAA_TRUE@ Tspi_TPM_DAA_Sign.3 + subdir = man/man3 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -126,12 +137,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -139,6 +147,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -196,96 +205,47 @@ target_vendor = @target_vendor@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -man3_MANS = Tspi_ChangeAuth.3 \ - Tspi_ChangeAuthAsym.3 \ - Tspi_Context_Close.3 \ - Tspi_Context_CloseObject.3 \ - Tspi_Context_Connect.3 \ - Tspi_Context_Create.3 \ - Tspi_Context_CreateObject.3 \ - Tspi_Context_FreeMemory.3 \ - Tspi_Context_GetCapability.3 \ - Tspi_Context_GetDefaultPolicy.3 \ - Tspi_Context_GetKeyByPublicInfo.3 \ - Tspi_Context_GetKeyByUUID.3 \ - Tspi_Context_GetRegisteredKeysByUUID.3 \ - Tspi_Context_GetRegisteredKeysByUUID2.3 \ - Tspi_Context_GetTpmObject.3 \ - Tspi_Context_LoadKeyByBlob.3 \ - Tspi_Context_LoadKeyByUUID.3 \ - Tspi_Context_RegisterKey.3 \ - Tspi_Context_UnregisterKey.3 \ - Tspi_Data_Bind.3 \ - Tspi_Data_Seal.3 \ - Tspi_Data_Unbind.3 \ - Tspi_Data_Unseal.3 \ - Tspi_DecodeBER_TssBlob.3 \ - Tspi_EncodeDER_TssBlob.3 \ - Tspi_GetAttribData.3 \ - Tspi_GetAttribUint32.3 \ - Tspi_GetPolicyObject.3 \ - Tspi_Hash_GetHashValue.3 \ - Tspi_Hash_SetHashValue.3 \ - Tspi_Hash_Sign.3 \ - Tspi_Hash_UpdateHashValue.3 \ - Tspi_Hash_VerifySignature.3 \ - Tspi_Key_CertifyKey.3 \ - Tspi_Key_ConvertMigrationBlob.3 \ - Tspi_Key_CreateKey.3 \ - Tspi_Key_CreateMigrationBlob.3 \ - Tspi_Key_GetPubKey.3 \ - Tspi_Key_LoadKey.3 \ - Tspi_Key_UnloadKey.3 \ - Tspi_Key_WrapKey.3 \ - Tspi_PcrComposite_GetPcrValue.3 \ - Tspi_PcrComposite_SelectPcrIndex.3 \ - Tspi_PcrComposite_SetPcrValue.3 \ - Tspi_Policy_AssignToObject.3 \ - Tspi_Policy_FlushSecret.3 \ - Tspi_Policy_SetSecret.3 \ - Tspi_SetAttribData.3 \ - Tspi_SetAttribUint32.3 \ - Tspi_TPM_AuthorizeMigrationTicket.3 \ - Tspi_TPM_CertifySelfTest.3 \ - Tspi_TPM_CheckMaintenancePubKey.3 \ - Tspi_TPM_ClearOwner.3 \ - Tspi_TPM_CollateIdentityRequest.3 \ - Tspi_TPM_CreateEndorsementKey.3 \ - Tspi_TPM_CreateMaintenanceArchive.3 \ - Tspi_TPM_DirRead.3 \ - Tspi_TPM_DirWrite.3 \ - Tspi_TPM_GetCapability.3 \ - Tspi_TPM_GetEvent.3 \ - Tspi_TPM_GetEventLog.3 \ - Tspi_TPM_GetEvents.3 \ - Tspi_TPM_GetPubEndorsementKey.3 \ - Tspi_TPM_GetRandom.3 \ - Tspi_TPM_GetStatus.3 \ - Tspi_TPM_GetTestResult.3 \ - Tspi_TPM_KillMaintenanceFeature.3 \ - Tspi_TPM_LoadMaintenancePubKey.3 \ - Tspi_TPM_PcrRead.3 \ - Tspi_TPM_PcrExtend.3 \ - Tspi_TPM_Quote.3 \ - Tspi_TPM_SelfTestFull.3 \ - Tspi_TPM_SetStatus.3 \ - Tspi_TPM_StirRandom.3 \ - Tspi_TPM_TakeOwnership.3 \ - Tspi_DAA_IssueCredential.3 \ - Tspi_DAA_VerifySignature.3 \ - Tspi_DAA_IssueInit.3 \ - Tspi_TPM_DAA_JoinCreateDaaPubKey.3 \ - Tspi_DAA_IssuerKeyVerification.3 \ - Tspi_TPM_DAA_JoinInit.3 \ - Tspi_DAA_IssueSetup.3 \ - Tspi_TPM_DAA_JoinStoreCredential.3 \ - Tspi_DAA_VerifyInit.3 \ - Tspi_TPM_DAA_Sign.3 \ - Tspi_TPM_GetAuditDigest.3 \ - Tspi_TPM_OwnerGetSRKPubKey.3 \ - Tspi_TPM_Quote.3 \ - Tspi_TPM_CMKSetRestrictions.3 - +man3_MANS = Tspi_ChangeAuth.3 Tspi_ChangeAuthAsym.3 \ + Tspi_Context_Close.3 Tspi_Context_CloseObject.3 \ + Tspi_Context_Connect.3 Tspi_Context_Create.3 \ + Tspi_Context_CreateObject.3 Tspi_Context_FreeMemory.3 \ + Tspi_Context_GetCapability.3 Tspi_Context_GetDefaultPolicy.3 \ + Tspi_Context_GetKeyByPublicInfo.3 Tspi_Context_GetKeyByUUID.3 \ + Tspi_Context_GetRegisteredKeysByUUID.3 \ + Tspi_Context_GetRegisteredKeysByUUID2.3 \ + Tspi_Context_GetTpmObject.3 Tspi_Context_LoadKeyByBlob.3 \ + Tspi_Context_LoadKeyByUUID.3 Tspi_Context_RegisterKey.3 \ + Tspi_Context_UnregisterKey.3 Tspi_Data_Bind.3 Tspi_Data_Seal.3 \ + Tspi_Data_Unbind.3 Tspi_Data_Unseal.3 Tspi_DecodeBER_TssBlob.3 \ + Tspi_EncodeDER_TssBlob.3 Tspi_GetAttribData.3 \ + Tspi_GetAttribUint32.3 Tspi_GetPolicyObject.3 \ + Tspi_Hash_GetHashValue.3 Tspi_Hash_SetHashValue.3 \ + Tspi_Hash_Sign.3 Tspi_Hash_UpdateHashValue.3 \ + Tspi_Hash_VerifySignature.3 Tspi_Key_CertifyKey.3 \ + Tspi_Key_ConvertMigrationBlob.3 Tspi_Key_CreateKey.3 \ + Tspi_Key_CreateMigrationBlob.3 Tspi_Key_GetPubKey.3 \ + Tspi_Key_LoadKey.3 Tspi_Key_UnloadKey.3 Tspi_Key_WrapKey.3 \ + Tspi_PcrComposite_GetPcrValue.3 \ + Tspi_PcrComposite_SelectPcrIndex.3 \ + Tspi_PcrComposite_SetPcrValue.3 Tspi_Policy_AssignToObject.3 \ + Tspi_Policy_FlushSecret.3 Tspi_Policy_SetSecret.3 \ + Tspi_SetAttribData.3 Tspi_SetAttribUint32.3 \ + Tspi_TPM_AuthorizeMigrationTicket.3 Tspi_TPM_CertifySelfTest.3 \ + Tspi_TPM_CheckMaintenancePubKey.3 Tspi_TPM_ClearOwner.3 \ + Tspi_TPM_CollateIdentityRequest.3 \ + Tspi_TPM_CreateEndorsementKey.3 \ + Tspi_TPM_CreateMaintenanceArchive.3 Tspi_TPM_DirRead.3 \ + Tspi_TPM_DirWrite.3 Tspi_TPM_GetCapability.3 \ + Tspi_TPM_GetEvent.3 Tspi_TPM_GetEventLog.3 \ + Tspi_TPM_GetEvents.3 Tspi_TPM_GetPubEndorsementKey.3 \ + Tspi_TPM_GetRandom.3 Tspi_TPM_GetStatus.3 \ + Tspi_TPM_GetTestResult.3 Tspi_TPM_KillMaintenanceFeature.3 \ + Tspi_TPM_LoadMaintenancePubKey.3 Tspi_TPM_PcrRead.3 \ + Tspi_TPM_PcrExtend.3 Tspi_TPM_Quote.3 Tspi_TPM_SelfTestFull.3 \ + Tspi_TPM_SetStatus.3 Tspi_TPM_StirRandom.3 \ + Tspi_TPM_TakeOwnership.3 Tspi_TPM_GetAuditDigest.3 \ + Tspi_TPM_OwnerGetSRKPubKey.3 Tspi_TPM_Quote2.3 \ + Tspi_TPM_CMKSetRestrictions.3 $(am__append_1) EXTRA_DIST = $(man3_MANS) all: all-am diff --git a/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_GetHashValue.3 b/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_GetHashValue.3 index ffe7f54e8a4..b45b8affd64 100644 --- a/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_GetHashValue.3 +++ b/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_GetHashValue.3 @@ -93,6 +93,6 @@ Software Specification version 1.1 Golden .SH "SEE ALSO" .PP -\fBTspi_Hash_UpdateHash\fR(3), \fBTspi_Hash_Sign\fR(3), +\fBTspi_Hash_UpdateHashValue\fR(3), \fBTspi_Hash_Sign\fR(3), \fBTspi_Hash_VerifySignature\fR(3), \fBTspi_Hash_SetHashValue\fR(3). diff --git a/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_SetHashValue.3 b/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_SetHashValue.3 index b157c717196..cd16ba15e6b 100644 --- a/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_SetHashValue.3 +++ b/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_SetHashValue.3 @@ -93,6 +93,6 @@ Software Specification version 1.1 Golden .SH "SEE ALSO" .PP -\fBTspi_Hash_UpdateHash\fR(3), \fBTspi_Hash_Sign\fR(3), +\fBTspi_Hash_UpdateHashValue\fR(3), \fBTspi_Hash_Sign\fR(3), \fBTspi_Hash_GetHashValue\fR(3). diff --git a/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_Sign.3 b/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_Sign.3 index c286e8578c1..6d46fc5cce7 100644 --- a/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_Sign.3 +++ b/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_Sign.3 @@ -48,7 +48,7 @@ Tspi_Hash_Sign \- sign the hash data of an object with a signing key \fBTspi_Hash_Sign\fR signs the hash data of an object with a given signing key. The data must be set at the hash instance associated with \fIhHash\fR by calling -\fBTspi_Hash_SetHashValue\fR or \fBTspi_Hash_UpdateHash\fR. The +\fBTspi_Hash_SetHashValue\fR or \fBTspi_Hash_UpdateHashValue\fR. The \fBTspi_Hash_Sign\fR method allocates a memory block for the \fIprgbSignature\fR data. This memory must be released using \fBTspi_Context_FreeMemory\fR. @@ -103,6 +103,6 @@ Specification version 1.1 Golden .SH "SEE ALSO" .PP -\fBTspi_Hash_UpdateHash\fR(3), \fBTspi_Hash_SetHashValue\fR(3), +\fBTspi_Hash_UpdateHashValue\fR(3), \fBTspi_Hash_SetHashValue\fR(3), \fBTspi_Hash_VerifySignature\fR(3). diff --git a/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_VerifySignature.3 b/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_VerifySignature.3 index d6d7f872203..47ffd745a7c 100644 --- a/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_VerifySignature.3 +++ b/crypto/external/cpl/trousers/dist/man/man3/Tspi_Hash_VerifySignature.3 @@ -100,6 +100,6 @@ Software Specification version 1.1 Golden .SH "SEE ALSO" .PP -\fBTspi_Hash_UpdateHash\fR(3), \fBTspi_Hash_SetHashValue\fR(3), +\fBTspi_Hash_UpdateHashValue\fR(3), \fBTspi_Hash_SetHashValue\fR(3), \fBTspi_Hash_Sign\fR(3), \fRTspi_Hash_GetHashValue\fR(3). diff --git a/crypto/external/cpl/trousers/dist/man/man3/Tspi_TPM_PcrExtend.3 b/crypto/external/cpl/trousers/dist/man/man3/Tspi_TPM_PcrExtend.3 index cd01713f8bb..dbd74937989 100644 --- a/crypto/external/cpl/trousers/dist/man/man3/Tspi_TPM_PcrExtend.3 +++ b/crypto/external/cpl/trousers/dist/man/man3/Tspi_TPM_PcrExtend.3 @@ -60,8 +60,7 @@ The \fIulPcrIndex\fR parameter is the index of the PCR to extend. .SS ulPcrDataLength The \fIulPcrDataLength\fR parameter is the length in bytes of the \fIpbPcrData\fR parameter. .SS pbPcrData -The \fIpbPcrData\fR parameter is a pointer to data to be hashed by the TSS, which will -be used in the extend operation. +The \fIpbPcrData\fR parameter is a pointer to data which will be used in the extend operation. .SS pPcrEvent The \fIpPcrEvent\fR parameter is the TSS_PCR_EVENT structure to be passed to the TCS to record the extend event. If \fIpPcrEvent\fR is not NULL, the application should diff --git a/crypto/external/cpl/trousers/dist/man/man3/Tspi_TPM_Quote2.3 b/crypto/external/cpl/trousers/dist/man/man3/Tspi_TPM_Quote2.3 new file mode 100644 index 00000000000..30cb1c0242e --- /dev/null +++ b/crypto/external/cpl/trousers/dist/man/man3/Tspi_TPM_Quote2.3 @@ -0,0 +1,100 @@ +.\" Copyright (C) 2007 International Business Machines Corporation +.\" Written by Ramon Brandão based on the Trusted Computing Group Software Stack Specification Version 1.2 +.\" +.de Sh \" Subsection +.br +.if t .Sp +.ne 5 +.PP +\fB\\$1\fR +.PP +.. +.de Sp \" Vertical space (when we can't use .PP) +.if t .sp .5v +.if n .sp +.. +.de Ip \" List item +.br +.ie \\n(.$>=3 .ne \\$3 +.el .ne 3 +.IP "\\$1" \\$2 +.. +.TH "Tspi_TPM_Quote2" 3 "2007-04-03" "TSS 1.2" "TCG Software Stack Developer's Reference" +.SH NAME +Tspi_TPM_Quote2 \- retreive a signed set of PCR values with a more complete view than Tspi_TPM_Quote. +.SH "SYNOPSIS" +.ad l +.hy 0 +.nf +.B #include +.B #include +.B #include +.B #include +.B #include +.B #include +.B #include +.sp +.BI "TSS_RESULT Tspi_TPM_Quote2(TSS_HTPM " hTPM ", TSS_HKEY " hIdentKey "," +.BI " TSS_BOOL " fAddVersion ", TSS_HPCRS " hPcrComposite "," +.BI " TSS_VALIDATION* " pValidationData ", UINT32* " versionInfoSize "," +.BI " BYTE** " versionInfo ");" +.fi +.sp +.ad +.hy +.SH "DESCRIPTION" +.PP +\fBTspi_TPM_Quote2\fR quotes a TCG system, providing the requestor +with a more complete view of the current platform configuration, +than \fBTspi_TPM_Quote\fR. + +.SH "PARAMETERS" +.PP +.SS hTPM +Handle of the TPM object. +.PP +.SS hIdentKey +Handle of the signature key object. +.PP +.SS fAddVersion +If TRUE, the TPM version is added to the output. If FALSE, the TPM version +isn't added to the output. +.PP +.SS hPcrComposite +Handle of the PCR composite object, which contains the PCRs to be quoted. +.PP +.SS pValidationData +Validation data structure +[IN] Provide externalData information required to compute the signature. +[OUT] On successful completion of the command, the structure provides a buffer containing the validation data and a buffer containing the data the validation data was computed form. +.PP +.SS versionInfoSize +The size of the bytestream returned by versionInfo. If the \fIfAddVersion\fR is False +this is zero. +.PP +.SS versionInfo +The version information returned as a byte stream reflecting the data in +TSS_CAP_VERSION_INFO if the fAddVersion is TRUE. Else it's NULL. +.PP + +.SH "RETURN CODES" +.PP +\fBTspi_TPM_Quote\fR returns TSS_SUCCESS on success, otherwise one of the following values are returned: +.TP +.SM TSS_E_INVALID_HANDLE - \fIhTPM\fR, \fIhIdentKey\fR or \fIhPcrComposite\fR is not a valid handle. +.TP +.SM TSS_E_BAD_PARAMETER +.TP +.SM TSS_E_INTERNAL_ERROR - An error occurred internal to the TSS. + +.SH "CONFORMING TO" + +.PP +\fBTspi_TPM_Quote2\fR conforms to the Trusted Computing Group Software Specification version 1.2 +.SH "SEE ALSO" + +.PP +\fBTspi_TPM_Quote\fR(3). + + + diff --git a/crypto/external/cpl/trousers/dist/man/man5/Makefile.in b/crypto/external/cpl/trousers/dist/man/man5/Makefile.in index 70a567726f8..d6aae06da63 100644 --- a/crypto/external/cpl/trousers/dist/man/man5/Makefile.in +++ b/crypto/external/cpl/trousers/dist/man/man5/Makefile.in @@ -38,7 +38,7 @@ subdir = man/man5 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/tcsd.conf.5.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -127,12 +127,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -140,6 +137,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ diff --git a/crypto/external/cpl/trousers/dist/man/man8/Makefile.in b/crypto/external/cpl/trousers/dist/man/man8/Makefile.in index 8acde08256e..0632b8d14fd 100644 --- a/crypto/external/cpl/trousers/dist/man/man8/Makefile.in +++ b/crypto/external/cpl/trousers/dist/man/man8/Makefile.in @@ -38,7 +38,7 @@ subdir = man/man8 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/tcsd.8.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -127,12 +127,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -140,6 +137,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ diff --git a/crypto/external/cpl/trousers/dist/man/man8/tcsd.8.in b/crypto/external/cpl/trousers/dist/man/man8/tcsd.8.in index 721538ec15f..bdac8103b88 100644 --- a/crypto/external/cpl/trousers/dist/man/man8/tcsd.8.in +++ b/crypto/external/cpl/trousers/dist/man/man8/tcsd.8.in @@ -28,12 +28,14 @@ tcsd \- daemon that manages Trusted Computing resources .hy 0 .B tcsd .RB [ \-f ] +.RB [ \-e ] .RB [ \-c\ \ ] +.RB [ \-h ] .SH "DESCRIPTION" .PP -Trousers is an open-source TCG Software Stack (TSS), released under the Common -Public License. Trousers aims to be compliant with the current (1.1b) and +Trousers is an open-source TCG Software Stack (TSS), released under the BSD +License. Trousers aims to be compliant with the current (1.1b) and upcoming (1.2) TSS specifications available from the Trusted Computing Group website: http://www.trustedcomputinggroup.org. @@ -44,13 +46,21 @@ requests to the TPM should go through the TSS stack. The \fBtcsd\fR manages TPM resources and handles requests from TSP's both local and remote. .TP -\fB\-f\fR +\fB\-f,\ \-\-foreground\fR run the daemon in the foreground .TP -\fB\-c \fR +\fB\-e\fR +attempt to connect to software TPMs over TCP + +.TP +\fB\-c,\ \-\-config \fR use the provided configuration file rather than the default configuration file +.TP +\fB\-h,\ \-\-help\fR +display help message + .SH "ACCESS CONTROL" .PP There are two types of access control for the \fBtcsd\fR, access to the @@ -93,8 +103,9 @@ can be supressed by setting the TSS_DEBUG_OFF environment variable. .SH "DEVICE DRIVERS" .PP \fBtcsd\fR is compatible with the IBM Research TPM device driver available -from http://www.research.ibm.com/gsal/tcpa and the TPM device driver available -from http://sf.net/projects/tmpdd +from http://ibmswtpm.sourceforge.net/ and the TPM device driver available +from http://sf.net/projects/tpmdd, which is also available in the upstream +Linux kernel and many Linux distros. .SH "CONFORMING TO" .PP diff --git a/crypto/external/cpl/trousers/dist/src/Makefile.in b/crypto/external/cpl/trousers/dist/src/Makefile.in index 117ca15512b..2404e8d1c6b 100644 --- a/crypto/external/cpl/trousers/dist/src/Makefile.in +++ b/crypto/external/cpl/trousers/dist/src/Makefile.in @@ -37,7 +37,7 @@ target_triplet = @target@ subdir = src DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -141,12 +141,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -154,6 +151,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ diff --git a/crypto/external/cpl/trousers/dist/src/include/Makefile.am b/crypto/external/cpl/trousers/dist/src/include/Makefile.am index 2adec8a9391..7be09e725c1 100644 --- a/crypto/external/cpl/trousers/dist/src/include/Makefile.am +++ b/crypto/external/cpl/trousers/dist/src/include/Makefile.am @@ -39,5 +39,5 @@ noinst_HEADERS = auth_mgr.h authsess.h biosem.h capabilities.h \ tcslog.h tcsps.h tcs_tsp.h tcs_utils.h \ tddl.h threads.h trousers_types.h tsp_audit.h \ tsp_delegate.h tsplog.h tspps.h tsp_seal.h \ - linux/tpm.h + linux/tpm.h tsp_tcsi_param.h diff --git a/crypto/external/cpl/trousers/dist/src/include/Makefile.in b/crypto/external/cpl/trousers/dist/src/include/Makefile.in index 45445ca6651..007a1d09e6c 100644 --- a/crypto/external/cpl/trousers/dist/src/include/Makefile.in +++ b/crypto/external/cpl/trousers/dist/src/include/Makefile.in @@ -40,7 +40,7 @@ DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(trousersinclude_HEADERS) \ $(tssinclude_HEADERS) ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -131,12 +131,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -144,6 +141,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -241,7 +239,7 @@ noinst_HEADERS = auth_mgr.h authsess.h biosem.h capabilities.h \ tcslog.h tcsps.h tcs_tsp.h tcs_utils.h \ tddl.h threads.h trousers_types.h tsp_audit.h \ tsp_delegate.h tsplog.h tspps.h tsp_seal.h \ - linux/tpm.h + linux/tpm.h tsp_tcsi_param.h all: all-am diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/anonymity_revocation.h b/crypto/external/cpl/trousers/dist/src/include/daa/anonymity_revocation.h new file mode 100644 index 00000000000..383346dac6a --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/anonymity_revocation.h @@ -0,0 +1,62 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef ANONYMITY_REVOCATION_H_ +#define ANONYMITY_REVOCATION_H_ + +#include "bi.h" +#include "daa_structs.h" + +/** + * Cramer Shoup public key (CSPublicKey.java) + */ +typedef struct tdCS_PUBLIC_KEY { + bi_ptr eta; + bi_ptr lambda1; + bi_ptr lambda2; + bi_ptr lambda3; +} CS_PUBLIC_KEY; + +typedef struct tdCS_ENCRYPTION_RESULT { + bi_ptr c1; + bi_ptr c2; + bi_ptr c3; + bi_ptr c4; +} CS_ENCRYPTION_RESULT; + +CS_ENCRYPTION_RESULT *create_CS_ENCRYPTION_RESULT( bi_ptr c1, bi_ptr c2, bi_ptr c3, bi_ptr c4); + +/* + * Cramer-Shoup Encryption Result including randomness. + * + * from com.ibm.zurich.tcg.daa.anonymityrevocationCSEncryptionResultRandomness +*/ +typedef struct tdCS_ENCRYPTION_RESULT_RANDOMNESS { + bi_ptr randomness; + CS_ENCRYPTION_RESULT *result; +} CS_ENCRYPTION_RESULT_RANDOMNESS; + +/* + * Cramer-Shoup EncryptionProof + * from com.ibm.zurich.tcg.daa.anonymityrevocation.CSEncryptionProof + */ +CS_ENCRYPTION_RESULT_RANDOMNESS *compute_ecryption_proof( + const bi_ptr msg, + const bi_ptr delta1, + const bi_ptr delta2, + const bi_ptr delta3, + const bi_ptr randomness, + const CS_PUBLIC_KEY *key, + const struct tdTSS_DAA_PK_internal *daa_key, + const BYTE *condition, + const int conditionLength, + const EVP_MD *messageDigest); + +#endif /*ANONYMITY_REVOCATION_H_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/bi.h b/crypto/external/cpl/trousers/dist/src/include/daa/bi.h new file mode 100644 index 00000000000..4d69ed3f32f --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/bi.h @@ -0,0 +1,380 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef BI_H_ +#define BI_H_ + +#include +#include +#include +// for the BIGNUM definition +#include + +#include "list.h" + +#define INLINE +#undef INLINE_DECL +#define INLINE_DECL static inline + +void * (*bi_alloc)(size_t size); + +// keep the list of allocated memory, usually used for the format functions +extern list_ptr allocs; + +/************************************************************************************ + TYPE DEF +*************************************************************************************/ + +#ifdef BI_GMP +#include "bi_gmp.h" +#endif + +#ifdef BI_OPENSSL +#include "bi_openssl.h" +#endif + +/************************************************************************************ + TYPE DEF +*************************************************************************************/ + +struct _bi_array{ + bi_ptr *array; + int length; +}; + +typedef struct _bi_array bi_array[1]; +typedef struct _bi_array *bi_array_ptr; + +/*********************************************************************************** + CONSTANT +*************************************************************************************/ + +extern bi_t bi_0; +extern bi_t bi_1; +extern bi_t bi_2; + +/*********************************************************************************** + TEMPORARY (WORK) +*************************************************************************************/ + +/* +extern bi_t bi_tmp; +extern bi_t bi_tmp1; +extern bi_t bi_tmp2; +extern bi_t bi_tmp3; +extern bi_t bi_tmp4; +extern bi_t bi_tmp5; +extern bi_t bi_tmp6; +extern bi_t bi_tmp7; +extern bi_t bi_tmp8; +extern bi_t bi_tmp9; +*/ + +/*********************************************************************************** + MACROS +*************************************************************************************/ +#define ALLOC_BI_ARRAY() (bi_array_ptr)malloc( sizeof( bi_array)) + +#if 0 +#define BI_SAVE( a, b) do { bi_save( a, #a, b); } while(0); +#define BI_SAVE_ARRAY( a, b) do { bi_save_array( a, #a, b); } while(0); +#define BI_LOAD( a, b) do { bi_load( a, b); } while(0); +#define BI_LOAD_ARRAY( a, b) do { bi_load_array( a, b); } while(0); +#endif + +#ifdef BI_DEBUG +#define DUMP_BI(field) do { \ + fprintf(stderr, "%s=%s [%ld]\n", #field, bi_2_hex_char( field), bi_nbin_size(field));\ + } while(0); + +#define DUMP_BI_ARRAY(field) do { dump_bi_array( #field, field); } while(0); + +#else +#define DUMP_BI(field) + +#define DUMP_BI_ARRAY(field) +#endif + +/* to free only defines bi_ptr */ +#define FREE_BI(a) do { if( (a) != NULL) bi_free_ptr( a); } while(0); + +/*********************************************************************************** + DUMP LIB +*************************************************************************************/ + +char *dump_byte_array(int len, unsigned char *array); + +/* convert and return it into a byte array of length */ +unsigned char *retrieve_byte_array( int *len, const char *strings); + +/*********************************************************************************** + LIBRARY MANAGEMENT +*************************************************************************************/ +/* + initialize the library + bi_alloc_p allocation function used only for exporting a bi struct, so for bi_2_nbin + if define as NULL, a stdlib malloc() will be used +*/ +void bi_init( void * (*bi_alloc_p)(size_t size)); + +/* release resources used by the library */ +void bi_release(void); + +/* return >0 if the library was initialized */ +int bi_is_initialized(void); + +/* free the list of internally allocated memory, usually used for the format functions */ +void bi_flush_memory(void); + +/*********************************************************************************** + ALLOCATION & BASIC SETTINGS +*************************************************************************************/ + +/* create a big integer */ +bi_ptr bi_new( bi_ptr result); + +/* create a big integer pointer */ +bi_ptr bi_new_ptr(void); + +/* free resources allocated to the big integer */ +void bi_free(const bi_ptr i); + +/* free resources allocated to the big integer pointer */ +void bi_free_ptr(const bi_ptr i); + +/* return the current number of bits of the number */ +long bi_length( const bi_ptr res); + +/* create a array */ +void bi_new_array( bi_array_ptr array, const int length); + +/* create a array */ +void bi_new_array2( bi_array_ptr array, const int length); + +/* free resources allocated to the big integer */ +void bi_free_array(bi_array_ptr array); + +/* copy length pointers from the array to array */ +void bi_copy_array(bi_array_ptr src, + int offset_src, + bi_array_ptr dest, + int offset_dest, + int length); + +// for debugging +void dump_bi_array( char *field, const bi_array_ptr array); + +/*********************************************************************************** + SAFE RANDOM +*************************************************************************************/ + +bi_ptr compute_random_number( bi_ptr result, const bi_ptr element); + +#if 0 +/*********************************************************************************** + SAVE / LOAD +*************************************************************************************/ + +/* load an big integer in the already open ("r") file */ +void bi_load( bi_ptr bi, FILE *file); + +/* load an big integer array in the already open ("r") file */ +void bi_load_array( bi_array_ptr array, FILE *file); + +/* save an big integer array in the already open ("w") file */ +void bi_save_array( const bi_array_ptr array, const char *name, FILE *file); + +/* save an big integer in the already open ("w") file */ +void bi_save( const bi_ptr bi,const char *name, FILE *file); +#endif + +/*********************************************************************************** + CONVERSION +*************************************************************************************/ + +/* dump the big integer as hexadecimal */ +char *bi_2_hex_char(const bi_ptr i); + + /* dump the big integer as decimal */ +char *bi_2_dec_char(const bi_ptr i); + + /* set to the same value as */ + /* := */ +bi_ptr bi_set( bi_ptr i, const bi_ptr value); + +/* set with the value represented by given hexadecimal */ + /* := */ +bi_ptr bi_set_as_hex( bi_ptr i, const char *value); + +/* set with the value represented by given decimal */ + /* := */ +bi_ptr bi_set_as_dec( bi_ptr i, const char *value); + +/* set with the value represented by unsigned int */ + /* := */ +bi_ptr bi_set_as_si( bi_ptr result, const int value); + +/* return (long)bi_t */ +long bi_get_si(const bi_ptr i); + +/* return the size of a network byte order representation of */ +long bi_nbin_size(const bi_ptr i); + +/* return a BYTE * - in network byte order - and update the length */ +/* the result is allocated internally */ +unsigned char *bi_2_nbin( int *length, const bi_ptr i); + +/* return a BYTE * - in network byte order - and update the length */ +/* different from bi_2_nbin: you should reserve enough memory for the storage */ +void bi_2_nbin1( int *length, unsigned char *, const bi_ptr i); + +/* return a bi_ptr that correspond to the big endian encoded BYTE array of length */ +bi_ptr bi_set_as_nbin( const unsigned long length, const unsigned char *buffer); + +/* + convert to a byte array of length result, + the beginning of this buffer is feel with '0' if needed +*/ +void bi_2_byte_array( unsigned char *result, int length, bi_ptr bi); + +/* convert a bi to a openssl BIGNUM struct */ +BIGNUM *bi_2_BIGNUM( const bi_ptr); + + +/*********************************************************************************** + BITS OPERATION +*************************************************************************************/ +/* set the bit to 1 */ +bi_ptr bi_setbit( bi_ptr result, const int bit); + +/* := << */ +bi_ptr bi_shift_left( bi_ptr result, const bi_ptr i, const int n); + +/* := >> */ +bi_ptr bi_shift_right( bi_ptr result, const bi_ptr i, const int n); + +/*********************************************************************************** + NUMBER THEORIE OPERATION +*************************************************************************************/ +/* create a random of length bits */ +/* res := random( length) */ +bi_ptr bi_urandom( bi_ptr res, const long length); + +/* res := mod */ +bi_ptr bi_mod(bi_ptr res, const bi_ptr n, const bi_ptr m); + +/* res := mod */ +bi_ptr bi_mod_si(bi_ptr res, const bi_ptr n, const long m); + +/* generate prime number of bits */ +bi_ptr bi_generate_prime( bi_ptr i, const long length); + +/* +return true (>0, bigger is better, but this is contextual to the plugin) +if is a probably prime +*/ +int bi_is_probable_prime( const bi_ptr i); + +/* result := (inverse of ) mod */ +/* if the inverse exist, return >0, otherwise 0 */ +int bi_invert_mod( bi_ptr result, const bi_ptr i, const bi_ptr m); + +/* generate a safe prime number of bits */ +/* by safe we mean a prime p so that (p-1)/2 is also prime */ +bi_ptr bi_generate_safe_prime( bi_ptr result, const long bit_length); + +/* return in the greatest common divisor of and */ +/* := gcd( , ) */ +bi_ptr bi_gcd( bi_ptr result, bi_ptr a, bi_ptr b); + +/*********************************************************************************** + BASIC MATH OPERATION +*************************************************************************************/ + +/* := result++ */ +bi_ptr bi_inc(bi_ptr result); + +/* := result-- */ +bi_ptr bi_dec(bi_ptr result); + +/* := - */ +bi_ptr bi_negate( bi_ptr result); + +/* set by the multiplication of by the long */ +/* := * */ +bi_ptr bi_mul_si( bi_ptr result, const bi_ptr i, const long n); + +/* := * */ +bi_ptr bi_mul( bi_ptr result, const bi_ptr i, const bi_ptr n); + +/* set by the division of by the long */ +/* := / */ +bi_ptr bi_div_si( bi_ptr result, const bi_ptr i, const long n); + +/* := / */ +bi_ptr bi_div( bi_ptr result, const bi_ptr i, const bi_ptr n); + +/* set by the addition of by the long */ +/* := + */ +bi_ptr bi_add_si( bi_ptr result, const bi_ptr i, const long n); + +/* := + */ +bi_ptr bi_add( bi_ptr result, const bi_ptr i, const bi_ptr n); + +/* := - */ +bi_ptr bi_sub_si( bi_ptr result, const bi_ptr i, const long n); + +/* := - */ +bi_ptr bi_sub( bi_ptr result, const bi_ptr i, const bi_ptr n); + +/* := ( ^ ) mod */ +bi_ptr bi_mod_exp_si( bi_ptr result, const bi_ptr g, const bi_ptr e, const long m); + +/* := ( ^ ) mod */ +bi_ptr bi_mod_exp( bi_ptr result, const bi_ptr g, const bi_ptr e, const bi_ptr m); + +/* +multiple-exponentiation + := mod( Multi( i, i), number of byte ) with 0 <= i <= +bi_t[] is used for commodity (bi-ptr[] need allocation for each bi_ptr, something made +in the stack with bi_t) +*/ +bi_ptr bi_multi_mod_exp( bi_ptr result, + const int n, + const bi_t g[], + const long e[], + const int m); + +/*********************************************************************************** + COMPARAISON +*************************************************************************************/ +/* n1n2 return positive value +*/ +int bi_cmp( const bi_ptr n1, const bi_ptr n2); + +/* n1n2 return positive value +*/ +int bi_cmp_si( const bi_ptr n1, const int n2); + +/* n1 == n2 return 1 (true) + else return 0 +*/ +int bi_equals( const bi_ptr n1, const bi_ptr n2); + +/* n1 == n2 return 1 (true) + else return 0 +*/ +int bi_equals_si( const bi_ptr n1, const int n2); + +#endif /*BI_H_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/bi_gmp.h b/crypto/external/cpl/trousers/dist/src/include/daa/bi_gmp.h new file mode 100644 index 00000000000..8e0f6110c26 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/bi_gmp.h @@ -0,0 +1,295 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef BI_GMP_ +#define BI_GMP_ + +#include +// needed for OPENSSL_free +#include + +typedef mpz_t bi_t; +typedef mpz_ptr bi_ptr; + +extern gmp_randstate_t state; + +/* initialized the given big integer */ +INLINE_DECL bi_ptr bi_new(bi_t i) { + mpz_init( i); + return i; +} + +/* create a big integer pointer */ +INLINE_DECL bi_ptr bi_new_ptr(void) { + mpz_ptr res; + + res = (mpz_ptr)malloc( sizeof( mpz_t)); + if( res == NULL) return NULL; + mpz_init( res); + return res; +} + +/* free resources allocated to the big integer */ +INLINE_DECL void bi_free(const bi_ptr i) { + mpz_clear( i); +} + +/* free resources allocated to the big integer pointer */ +INLINE_DECL void bi_free_ptr(const bi_ptr i) { + mpz_clear( i); + free( i); +} + +/* return the current number of bits of the number */ +INLINE_DECL long bi_length( const bi_ptr res) { + return mpz_sizeinbase( res, 2); +} + +/*********************************************************************************** + CONVERSIONS +*************************************************************************************/ + + +/* return an hex dump of the given big integer */ +INLINE_DECL char *bi_2_hex_char(const bi_ptr i) { + char *ret; + + gmp_asprintf( &ret, "%ZX", i); + list_add( allocs, ret); + return ret; +} + +/* return an hex dump of the given big integer */ +INLINE_DECL char *bi_2_dec_char(const bi_ptr i) { + char *ret; + + gmp_asprintf( &ret, "%Zd", i); + list_add( allocs, ret); + return ret; +} + +/* set to the same value as the big integer */ +INLINE_DECL bi_ptr bi_set( bi_ptr result, const bi_ptr value) { + mpz_set( result, value); + return result; +} + +/* set the initialized variable to the value represented by the given hex format stirng */ +INLINE_DECL bi_ptr bi_set_as_hex( bi_ptr result, const char *value) { + mpz_set_str( result, value, 16); + return result; +} + +/* set the initialized variable to the value represented by the given hex format stirng */ +INLINE_DECL bi_ptr bi_set_as_dec( bi_ptr result, const char *value) { + mpz_set_str( result, value, 10); + return result; +} + +/* set with the value represented by unsigned int */ +/* := */ +INLINE_DECL bi_ptr bi_set_as_si( bi_ptr result, const int value) { + mpz_set_si( result, value); + return result; +} + +/* return (long)bi_t */ +INLINE_DECL long bi_get_si(const bi_ptr i) { + return mpz_get_si( i); +} + +/* convert a bi type to a openssl BIGNUM struct */ +INLINE_DECL BIGNUM *bi_2_BIGNUM( const bi_ptr i) { + BIGNUM *result; + char *value = bi_2_hex_char( i); + + BN_hex2bn( &result, value); + return result; +} + +/* set with the value represented by the given openssl BIGNUM struct */ +INLINE_DECL bi_ptr bi_set_as_BIGNUM( bi_ptr i, BIGNUM *bn) { + char *value = BN_bn2hex( bn); + + if( value == NULL) return NULL; + bi_set_as_hex( i, value); + OPENSSL_free( value); + return i; +} + +/*********************************************************************************** + BASIC MATH OPERATION +*************************************************************************************/ + +/* := result + 1 */ +INLINE_DECL bi_ptr bi_inc(bi_ptr result) { + mpz_add_ui( result, result, 1); + return result; +} + +/* := result - 1 */ +INLINE_DECL bi_ptr bi_dec(bi_ptr result) { + mpz_sub_ui( result, result, 1); + return result; +} + +/* set by the division of by the long */ +/* := / */ +INLINE_DECL bi_ptr bi_div_si( bi_ptr result, const bi_ptr i, const long n) { + mpz_div_ui( result, i, n); + return result; +} + +/* := / */ +INLINE_DECL bi_ptr bi_div( bi_ptr result, const bi_ptr i, const bi_ptr n) { + mpz_div( result, i, n); + return result; +} + +/* := - */ +INLINE_DECL bi_ptr bi_negate( bi_ptr result) { + mpz_neg( result, result); + return result; +} + +/* multiply the given big integer by the give long and return the result in */ +INLINE_DECL bi_ptr bi_mul_si( bi_ptr result, const bi_ptr i, const long n) { + mpz_mul_si( result, i, n); + return result; +} + + /* := * */ +INLINE_DECL bi_ptr bi_mul( bi_ptr result, const bi_ptr i, const bi_ptr n) { + mpz_mul( result, i, n); + return result; +} + +/* := + */ +INLINE_DECL bi_ptr bi_add_si( bi_ptr result, const bi_ptr i, const long n) { + mpz_add_ui( result, i, n); + return result; +} + +/* := + */ +INLINE_DECL bi_ptr bi_add( bi_ptr result, const bi_ptr i, const bi_ptr n) { + mpz_add( result, i, n); + return result; +} + +/* := - */ +INLINE_DECL bi_ptr bi_sub_si( bi_ptr result, const bi_ptr i, const long n) { + // n should be unsigned + mpz_sub_ui( result, i, n); + return result; +} + +/* := - */ +INLINE_DECL bi_ptr bi_sub( bi_ptr result, const bi_ptr i, const bi_ptr n) { + mpz_sub( result, result, n); + return result; +} + +/* := ( ^ ) mod */ +INLINE_DECL bi_ptr bi_mod_exp( bi_ptr result, const bi_ptr g, const bi_ptr e, const bi_ptr m) { + mpz_powm( result, g, e, m); + return result; +} + +/* := ( ^ ) mod */ +INLINE_DECL bi_ptr bi_mod_exp_si( bi_ptr result, const bi_ptr g, const bi_ptr e, const long m) { + mpz_t bi_m; + + mpz_init( bi_m); + mpz_set_si( bi_m, m); + mpz_powm( result, g, e, bi_m); + mpz_clear( bi_m); + return result; +} + +/*********************************************************************************** + BITS OPERATION +*************************************************************************************/ +/* set the bit to 1 */ +INLINE_DECL bi_ptr bi_setbit(bi_ptr result, const int bit) { + mpz_setbit( result, bit); + return result; +} + +/* := << */ +INLINE_DECL bi_ptr bi_shift_left( bi_ptr result, const bi_ptr i, const int n) { + mpz_mul_2exp( result, i, n); + return result; +} + +/* := >> */ +INLINE_DECL bi_ptr bi_shift_right( bi_ptr result, const bi_ptr i, const int n) { + mpz_div_2exp( result, i, n); + return result; +} + +/*********************************************************************************** + COMPARAISON +*************************************************************************************/ +/* n1n2 return positive value +*/ +INLINE_DECL int bi_cmp( const bi_ptr n1, const bi_ptr n2) { + return mpz_cmp( n1, n2); +} + +/* n1n2 return positive value +*/ +INLINE_DECL int bi_cmp_si( const bi_ptr n1, const int n2) { + return mpz_cmp_ui( n1, n2); +} + +/* n1 == n2 return 1 (true) + * else return 0 +*/ +INLINE_DECL int bi_equals( const bi_ptr n1, const bi_ptr n2) { + return mpz_cmp( n1, n2) == 0 ? 1 : 0; +} + +/* n1 == n2 return 1 (true) + * else return 0 +*/ +INLINE_DECL int bi_equals_si( const bi_ptr n1, const int n2) { + return mpz_cmp_ui( n1, n2) == 0 ? 1 : 0; +} + +/* create a random of length bits */ +/* res := random( length) */ +INLINE_DECL bi_ptr bi_urandom( bi_ptr result, const long length) { + mpz_urandomb( result, state, length); + return result; +} + +/* res := mod */ +INLINE_DECL bi_ptr bi_mod_si( bi_ptr result, const bi_ptr n, const long m) { + mpz_mod_ui( result, n, m); + return result; +} + +/* res := mod */ +INLINE_DECL bi_ptr bi_mod( bi_ptr result, const bi_ptr n, const bi_ptr m) { + mpz_mod( result, n, m); + return result; +} + +/* result := (inverse of ) mod */ +/* if the inverse exist, return >0, otherwise 0 */ +INLINE_DECL int bi_invert_mod( bi_ptr result, const bi_ptr i, const bi_ptr m) { + return mpz_invert( result, i, m); +} + +#endif /*BI_GMP_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/bi_openssl.h b/crypto/external/cpl/trousers/dist/src/include/daa/bi_openssl.h new file mode 100644 index 00000000000..8bd3f1db6a4 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/bi_openssl.h @@ -0,0 +1,352 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef BI_OPENSSL_ +#define BI_OPENSSL_ + +#include +#include + +typedef struct bignum_st bi_t[1]; + +typedef struct bignum_st *bi_ptr; + +extern BN_CTX *context; + + +INLINE_DECL bi_ptr bi_new(bi_ptr result) { + BN_init( result); + return result; +} + +/* create a big integer pointer */ +INLINE_DECL bi_ptr bi_new_ptr(void) { + return BN_new(); +} + +/* free resources allocated to the big integer */ +INLINE_DECL void bi_free(const bi_ptr i) { + BN_free( i); +} + +/* free resources allocated to the big integer pointer */ +INLINE_DECL void bi_free_ptr(const bi_ptr i) { + BN_free( i); +} + +/* := result++ */ +INLINE_DECL bi_ptr bi_inc(bi_ptr result) { + BN_add_word( result, 1); + return result; +} + +/* := result-- */ +INLINE_DECL bi_ptr bi_dec(bi_ptr result) { + BN_sub_word( result, 1); + return result; +} + +/* return the current number of bits of the number */ +INLINE_DECL long bi_length( const bi_ptr res) { + return BN_num_bits( res); +} + +/*********************************************************************************** + BASIC MATH OPERATION +*************************************************************************************/ +/* := - */ +INLINE_DECL bi_ptr bi_negate( bi_ptr result) { + BIGNUM *n = result; + n->neg = ( n->neg == 0 ? 1 : 0); + return result; +} + +INLINE_DECL bi_ptr bi_mul_si( bi_ptr result, const bi_ptr i, const long n) { + BN_copy( result, i); + BN_mul_word( result, n); + return result; +} + +/* := * */ +INLINE_DECL bi_ptr bi_mul( bi_ptr result, const bi_ptr i, const bi_ptr n) { + BN_mul( result, i, n, context); + return result; +} + +INLINE_DECL bi_ptr bi_add_si( bi_ptr result, const bi_ptr i, const long n) { + BN_copy( result, i); + BN_add_word( result, n); + return result; +} + +/* := + */ +INLINE_DECL bi_ptr bi_add( bi_ptr result, const bi_ptr i, const bi_ptr n) { + BN_add( result, i, n); + return result; +} + +/* := - */ +INLINE_DECL bi_ptr bi_sub_si( bi_ptr result, const bi_ptr i, const long n) { + // n should be unsigned + BN_copy( result, i); // result := i + BN_sub_word( result, n); // result := result - n + return result; +} + +/* := - */ +INLINE_DECL bi_ptr bi_sub( bi_ptr result, const bi_ptr i, const bi_ptr n) { + BN_sub( result, i, n); + return result; +} + +/* := ( ^ ) mod */ +INLINE_DECL bi_ptr bi_mod_exp( bi_ptr result, const bi_ptr g, const bi_ptr e, const bi_ptr m) { + BN_mod_exp( result, g, e, m, context); // result := (g ^ e) mod bi_m + return result; +} + +/* set by the division of by the long */ +/* := / */ +INLINE_DECL bi_ptr bi_div_si( bi_ptr result, const bi_ptr i, const long n) { + BN_copy( result, i); + BN_div_word( result, n); + return result; +} + +/* := / */ +INLINE_DECL bi_ptr bi_div( bi_ptr result, const bi_ptr i, const bi_ptr n) { + BN_div( result, NULL, i, n, context); + return result; +} + +/*********************************************************************************** + COMPARAISON +*************************************************************************************/ +/* n1n2 return positive value +*/ +INLINE_DECL int bi_cmp( const bi_ptr n1, const bi_ptr n2) { + return BN_cmp( n1, n2); +} + +/* n1n2 return positive value +*/ +INLINE_DECL int bi_cmp_si( const bi_ptr n1, const int n2) { + BIGNUM *temp = BN_new(); + BN_set_word( temp, n2); + int res = BN_cmp( n1, temp); + BN_free( temp); + return res; +} + +/* n1 == n2 return 1 (true) + * else return 0 +*/ +INLINE_DECL int bi_equals( const bi_ptr n1, const bi_ptr n2) { + return BN_cmp( n1, n2) == 0 ? 1 :0; +} + +/* n1 == n2 return 1 (true) + * else return 0 +*/ +INLINE_DECL int bi_equals_si( const bi_ptr n1, const int n2) { + return BN_is_word( n1, n2); +} + +/*********************************************************************************** + CONVERSIONS +*************************************************************************************/ + +INLINE_DECL char *bi_2_hex_char(const bi_ptr i) { + char *result = BN_bn2hex( i); + + if( result == NULL) { + return NULL; + } + list_add( allocs, result); + return result; +} + +INLINE_DECL char *bi_2_dec_char(const bi_ptr i) { + char *result = BN_bn2dec( i); + + if( result == NULL) { + return NULL; + } + list_add( allocs, result); + return result; +} + +INLINE_DECL bi_ptr bi_set( bi_ptr result, const bi_ptr value) { + BN_copy( result, value); + return result; +} + +INLINE_DECL bi_ptr bi_set_as_hex( bi_ptr result, const char *value) { + BN_hex2bn( &result, value); + return result; +} + +INLINE_DECL bi_ptr bi_set_as_dec( bi_ptr result, const char *value) { + BN_dec2bn( &result, value); + return result; +} + +/* set with the value represented by unsigned int */ + /* := */ +INLINE_DECL bi_ptr bi_set_as_si( bi_ptr result, const int value) { + if( value < 0) { + BN_set_word( result, -value); + result->neg=1; + } else + BN_set_word( result, value); + return result; +} + +/* return (long)bi_t */ +INLINE_DECL long bi_get_si(const bi_ptr i) { + long result = BN_get_word( i); + + if( i->neg == 1) { + return -result; + } + return result; +} + +/* return the size of a network byte order representation of */ +INLINE_DECL long bi_nbin_size(const bi_ptr i) { + return BN_num_bytes( i); +} + +/* return a BYTE * in network byte order - big endian - and update the length */ +INLINE_DECL unsigned char *bi_2_nbin( int *length, const bi_ptr i) { + unsigned char *ret; + + *length = BN_num_bytes( i); + ret = (unsigned char *)bi_alloc( *length * 2); + if( ret == NULL) return NULL; + BN_bn2bin( i, ret); + return ret; +} + +/* return a BYTE * - in network byte order - and update the length */ +/* different from bi_2_nbin: you should reserve enough memory for the storage */ +INLINE_DECL void bi_2_nbin1( int *length, unsigned char *buffer, const bi_ptr i) { + *length = BN_num_bytes( i); + BN_bn2bin( i, buffer); +} + +/* return a bi_ptr that correspond to the big endian encoded BYTE array of length */ +INLINE_DECL bi_ptr bi_set_as_nbin( const unsigned long length, const unsigned char *buffer) { + bi_ptr ret_bi = bi_new_ptr(); + + if( ret_bi == NULL) return NULL; + if( BN_bin2bn( buffer, length, ret_bi) == NULL) { + bi_free( ret_bi); + return NULL; + } + return ret_bi; +} + +/* convert a bi to a openssl BIGNUM struct */ +INLINE_DECL BIGNUM *bi_2_BIGNUM( const bi_ptr i) { + return i; +} + +/* set with the value represented by the given openssl BIGNUM struct */ +INLINE_DECL bi_ptr bi_set_as_BIGNUM( bi_ptr i, BIGNUM *bn) { + return bi_set( i, bn); +} + +/*********************************************************************************** + BITS OPERATION +*************************************************************************************/ +/* set the bit to 1 */ +INLINE_DECL bi_ptr bi_setbit(bi_ptr result, const int bit) { + BN_set_bit( result, bit); + return result; +} + +/* := << */ +INLINE_DECL bi_ptr bi_shift_left( bi_ptr result, const bi_ptr i, const int n) { + BN_lshift( result, i, n); + return result; +} + +/* := >> */ +INLINE_DECL bi_ptr bi_shift_right( bi_ptr result, const bi_ptr i, const int n) { + BN_rshift( result, i, n); + return result; +} + +/* create a random of length bits */ +/* res := random( length) */ +INLINE_DECL bi_ptr bi_urandom( bi_ptr result, const long length) { + /* + * will be a generated cryptographically strong pseudo-random number of length + * + */ + BN_rand( result, length, -1, 0); + return result; +} + + +/* res := mod */ +INLINE_DECL bi_ptr bi_mod_si( bi_ptr result, const bi_ptr n, const long m) { + BIGNUM *mod = BN_new(); + BN_set_word( mod, m); + BN_mod( result, n, mod, context); + BN_free( mod); + return result; +} + +/* res := mod */ +INLINE_DECL bi_ptr bi_mod( bi_ptr result, const bi_ptr n, const bi_ptr m) { + BN_mod( result, n, m, context); + if( result->neg == 1) { + result->neg=0; + BN_sub( result, m, result); + } + return result; +} + +/* result := (inverse of ) mod */ +/* if the inverse exist, return >0, otherwise 0 */ +INLINE_DECL int bi_invert_mod( bi_ptr result, const bi_ptr i, const bi_ptr m) { + while( ERR_get_error() != 0); + BN_mod_inverse( result, i, m, context); + return ERR_get_error() == 0 ? 1 : 0; +} + +/* generate a prime number of bits */ +INLINE_DECL bi_ptr bi_generate_prime( bi_ptr result, const long bit_length) { + BN_generate_prime(result, bit_length, 0, NULL, NULL, NULL, NULL); + return result; +} + +/* generate a safe prime number of bits */ +/* by safe we mean a prime p so that (p-1)/2 is also prime */ +INLINE_DECL bi_ptr bi_generate_safe_prime( bi_ptr result, const long bit_length) { + BN_generate_prime(result, bit_length, 1, NULL, NULL, NULL, NULL); + return result; +} + +/* return in the greatest common divisor of and */ +/* := gcd( , ) */ +INLINE_DECL bi_ptr bi_gcd( bi_ptr result, bi_ptr a, bi_ptr b) { + BN_gcd( result, a, b, context); + return result; +} + + +#endif /*BI_OPENSSL_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/daa_parameter.h b/crypto/external/cpl/trousers/dist/src/include/daa/daa_parameter.h new file mode 100644 index 00000000000..f1f3447c75a --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/daa_parameter.h @@ -0,0 +1,87 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef DAA_PARAMETER_H_ +#define DAA_PARAMETER_H_ + +// for message digest +//#include +#include "trousers/tss.h" +//#include "spi_internal_types.h" +#include "spi_utils.h" + +#define DAA_PARAM_TSS_VERSION_LENGTH (4) +static const BYTE DAA_PARAM_TSS_VERSION[] = { 1, 2, 0, 0 }; + +#define DAA_PARAM_DEFAULT_CRYPTO_PROVIDER_NAME "BC" + +// Name of default hash function +#define DAA_PARAM_MESSAGE_DIGEST_ALGORITHM "SHA1" + +// Name of hash function used independently in TSS +#define DAA_PARAM_MESSAGE_DIGEST_ALGORITHM_TSS "SHA1" + +// l_n (bits) +#define DAA_PARAM_SIZE_RSA_MODULUS (2048) + +// l_f (bits) +#define DAA_PARAM_SIZE_F_I (104) + +// l_q (2 * SIZE_F_I) +#define DAA_PARAM_SIZE_RHO (208) + +// l_e +#define DAA_PARAM_SIZE_EXPONENT_CERTIFICATE (368) + +// lPrime_e +#define DAA_PARAM_SIZE_INTERVAL_EXPONENT_CERTIFICATE (120) + +// l_zero +#define DAA_PARAM_SAFETY_MARGIN (80) + +// Byte length of TPM message digest (sha-1) +#define DAA_PARAM_LENGTH_MESSAGE_DIGEST (20) + +// Byte length of TSS message digest (sha-256) +#define DAA_PARAM_LENGTH_MESSAGE_DIGEST_TSS (32) + +// l_H depends on the message digest algo +#define DAA_PARAM_SIZE_MESSAGE_DIGEST (160) +// 8 * LENGTH_MESSAGE_DIGEST; + +// l_GAMMA +#define DAA_PARAM_SIZE_MODULUS_GAMMA (1632) + +#define DAA_PARAM_SIZE_SPLIT_EXPONENT (1024) + +// TPM asym key size (bits) +#define DAA_PARAM_KEY_SIZE (2048) + +// Default RSA public key exponent (Fermat 4) +#define DAA_PARAM_LENGTH_MFG1_ANONYMITY_REVOCATION (25) +// (SIZE_RHO-1)/8; + +#define DAA_PARAM_LENGTH_MFG1_GAMMA (214) +// (SIZE_MODULUS_GAMMA + SIZE_SAFETY_MARGIN)/8; + +#define DAA_PARAM_SIZE_RND_VALUE_CERTIFICATE (2536) + +// (bits) +#define DAA_PARAM_SIZE_RANDOMIZED_ATTRIBUTES (DAA_PARAM_SIZE_F_I+DAA_PARAM_SAFETY_MARGIN+DAA_PARAM_SIZE_MESSAGE_DIGEST) + +#define TSS_FLAG_DAA_SIGN_IDENTITY_KEY 0 +#define TSS_FLAG_DAA_SIGN_MESSAGE_HASH 1 + + +extern EVP_MD *DAA_PARAM_get_message_digest(void); + +extern char *err_string(TSS_RESULT r); + +#endif /*DAA_PARAMETER_H_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/daa_structs.h b/crypto/external/cpl/trousers/dist/src/include/daa/daa_structs.h new file mode 100644 index 00000000000..5b06762a81a --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/daa_structs.h @@ -0,0 +1,385 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef DAA_STRUCT_H_ +#define DAA_STRUCT_H_ + +#include +#include +#include + +#include "tss/tcs.h" +#include "bi.h" +#include "arpa/inet.h" + +// for message digest +#include + +#define init_tss_version(b) \ +do {\ + (b)->versionInfo.bMajor = DAA_PARAM_TSS_VERSION[0];\ + (b)->versionInfo.bMinor = DAA_PARAM_TSS_VERSION[1];\ + (b)->versionInfo.bRevMajor = DAA_PARAM_TSS_VERSION[2];\ + (b)->versionInfo.bRevMinor = DAA_PARAM_TSS_VERSION[3];\ +} while(0); + +BYTE *convert_alloc( TCS_CONTEXT_HANDLE tcsContext, + UINT32 length, + BYTE *source); + +BYTE *copy_alloc( TCS_CONTEXT_HANDLE tcsContext, + UINT32 length, + BYTE *source); + +void store_bi( UINT32 *length, + BYTE **buffer, + const bi_ptr i, + void * (*daa_alloc)(size_t size, TSS_HOBJECT object), + TSS_HOBJECT object); + +/* length is in network format: big indian */ +void dump_field( int length, BYTE *buffer); + +/******************************************************************************************** + TSS_DAA_ATTRIB_COMMIT + ********************************************************************************************/ + +typedef struct tdTSS_DAA_ATTRIB_COMMIT_internal { + bi_ptr beta; + bi_ptr sMu; +} TSS_DAA_ATTRIB_COMMIT_internal; + +TSS_DAA_ATTRIB_COMMIT_internal *create_TSS_DAA_ATTRIB_COMMIT( bi_ptr beta, bi_ptr sMu); + +/******************************************************************************************** + * TSS_DAA_SELECTED_ATTRIB + * this struct is used internally and externally, only a call to internal_2_DAA_SELECTED_ATTRIB + * DAA_SELECTED_ATTRIB_2_internal will change the struct to be internal or external + ********************************************************************************************/ + +void i_2_e_TSS_DAA_SELECTED_ATTRIB( TSS_DAA_SELECTED_ATTRIB *selected_attrib); + +void e_2_i_TSS_DAA_SELECTED_ATTRIB( TSS_DAA_SELECTED_ATTRIB *selected_attrib); + +/* work ONLY with internal format */ +BYTE *to_bytes_TSS_DAA_SELECTED_ATTRIB_internal( int *length, TSS_DAA_SELECTED_ATTRIB *selected_attrib); + +/* +create a TSS_DAA_SELECTED_ATTRIB of length with given selected attributes. +example of selections of the second and third attributes upon 5: +create_TSS_DAA_SELECTED_ATTRIB( &selected_attrib, 5, 0, 1, 1, 0, 0); +*/ +void create_TSS_DAA_SELECTED_ATTRIB( TSS_DAA_SELECTED_ATTRIB *attrib, int length, ...); + +/******************************************************************************************** + * DAA PRIVATE KEY + ********************************************************************************************/ + +/** + * DAA private key. Contains p', q' and the product of it, where n = p*q, p = + * 2*p'+1 and q = 2*q'+1. n is part of the public key. + * (from com.ibm.zurich.tcg.daa.issuer.DAAPrivateKey.java) + */ +typedef struct { + bi_ptr p_prime; + bi_ptr q_prime; + bi_ptr productPQprime; +} DAA_PRIVATE_KEY_internal; + +/** + * allocate: ret->p_prime + * ret->q_prime + * ret->productPQprime + */ +DAA_PRIVATE_KEY_internal *create_TSS_DAA_PRIVATE_KEY( + bi_ptr pPrime, + bi_ptr qPrime +); +#if 0 +int save_DAA_PRIVATE_KEY( + FILE *file, + const DAA_PRIVATE_KEY_internal *private_key +); + +DAA_PRIVATE_KEY_internal *load_DAA_PRIVATE_KEY( + FILE *file +); +TSS_DAA_PRIVATE_KEY* i_2_e_TSS_DAA_PRIVATE_KEY( + DAA_PRIVATE_KEY_internal *private_key_internal, + void * (*daa_alloc)(size_t size, TSS_HOBJECT object), + TSS_HOBJECT object +); + +DAA_PRIVATE_KEY_internal *e_2_i_TSS_DAA_PRIVATE_KEY( + TSS_DAA_PRIVATE_KEY *private_key +); + +#endif +/******************************************************************************************** + * TSS_DAA_PK + ********************************************************************************************/ + +typedef struct tdTSS_DAA_PK_internal { + bi_ptr modulus; + bi_ptr capitalS; + bi_ptr capitalZ; + bi_ptr capitalR0; + bi_ptr capitalR1; + bi_ptr gamma; + bi_ptr capitalGamma; + bi_ptr rho; + bi_array_ptr capitalRReceiver; + bi_array_ptr capitalRIssuer; + bi_array_ptr capitalY; + int issuerBaseNameLength; + BYTE *issuerBaseName; + // capitalSprime calculated at each init of this structure as : + // (capitalS ^ ( 1 << DAA_PARAM_SIZE_SPLIT_EXPONENT)) % modulus + bi_ptr capitalSprime; +} TSS_DAA_PK_internal; + +TSS_DAA_PK_internal *create_DAA_PK( + const bi_ptr modulus, + const bi_ptr capitalS, + const bi_ptr capitalZ, + const bi_ptr capitalR0, + const bi_ptr capitalR1, + const bi_ptr gamma, + const bi_ptr capitalGamma, + const bi_ptr rho, + const bi_array_ptr capitalRReceiver, + const bi_array_ptr capitalRIssuer, + int issuerBaseNameLength, + BYTE * const issuerBaseName); + +/* + * create anf feel a TSS_DAA_PK structures + */ +TSS_DAA_PK_internal *e_2_i_TSS_DAA_PK( + TSS_DAA_PK *pk +); + +TSS_DAA_PK *i_2_e_TSS_DAA_PK( + TSS_DAA_PK_internal *pk_internal, + void * (*daa_alloc)(size_t size, TSS_HOBJECT object), + TSS_HOBJECT param_alloc +); +#if 0 + +/* moved to daa_debug.h */ +int save_DAA_PK_internal( + FILE *file, + const TSS_DAA_PK_internal *pk_internal +); + +TSS_DAA_PK_internal *load_DAA_PK_internal( + FILE *file +); + +#endif + +void dump_DAA_PK_internal( + char *name, + TSS_DAA_PK_internal *pk_internal +); + +TPM_DAA_ISSUER *convert2issuer_settings( + TSS_DAA_PK_internal *pk_internal +); + +void free_TSS_DAA_PK_internal( + TSS_DAA_PK_internal *pk_internal +); + +void free_TSS_DAA_PK( TSS_DAA_PK *pk); + +BYTE *issuer_2_byte_array( + TPM_DAA_ISSUER *tpm_daa_issuer, + int *length +); + +/******************************************************************************************** + * TSS_DAA_PK_PROOF + ********************************************************************************************/ + +typedef struct tdTSS_DAA_PK_PROOF_internal { + BYTE *challenge; + int length_challenge; + bi_array_ptr *response; + int length_response; +} TSS_DAA_PK_PROOF_internal; + +TSS_DAA_PK_PROOF_internal *create_DAA_PK_PROOF( + BYTE* const challenge, + const int length_challenge, + bi_array_ptr *response, + int length_reponse); + +/* + * create anf feel a TSS_DAA_PK structures + */ +TSS_DAA_PK *TSS_convert_DAA_PK_PROOF( + TSS_DAA_PK_PROOF_internal *proof +); +#if 0 +int save_DAA_PK_PROOF_internal( + FILE *file, + TSS_DAA_PK_PROOF_internal *pk_internal +); + +TSS_DAA_PK_PROOF_internal *load_DAA_PK_PROOF_internal( + FILE *file +); +#endif +TSS_DAA_PK_PROOF_internal *e_2_i_TSS_DAA_PK_PROOF( + TSS_DAA_PK_PROOF *pk_proof +); + +TSS_DAA_PK_PROOF *i_2_e_TSS_DAA_PK_PROOF( + TSS_DAA_PK_PROOF_internal*pk_internal_proof, + void * (*daa_alloc)(size_t size, TSS_HOBJECT object), + TSS_HOBJECT param_alloc +); + +/* + * Encode the DAA_PK like java.security.Key#getEncoded + */ +BYTE *encoded_DAA_PK_internal( + int *result_length, + const TSS_DAA_PK_internal *pk +); + +/******************************************************************************************** + * KEY PAIR WITH PROOF + ********************************************************************************************/ + +typedef struct tdKEY_PAIR_WITH_PROOF_internal { + TSS_DAA_PK_internal *pk; + DAA_PRIVATE_KEY_internal *private_key; + TSS_DAA_PK_PROOF_internal *proof; +} KEY_PAIR_WITH_PROOF_internal; + +#if 0 + +/* moved to daa_debug.h */ + +int save_KEY_PAIR_WITH_PROOF( + FILE *file, + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof +); + +KEY_PAIR_WITH_PROOF_internal *load_KEY_PAIR_WITH_PROOF( + FILE *file +); + +#endif + +TSS_DAA_KEY_PAIR *get_TSS_DAA_KEY_PAIR( + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof, + void * (*daa_alloc)(size_t size, TSS_HOBJECT object), + TSS_HOBJECT param_alloc +); + + +/******************************************************************************************** + * TSS_DAA_PSEUDONYM_PLAIN + ********************************************************************************************/ + +typedef struct { + bi_ptr nV; +} TSS_DAA_PSEUDONYM_PLAIN_internal; + +TSS_DAA_PSEUDONYM_PLAIN_internal *create_TSS_DAA_PSEUDONYM_PLAIN( + bi_ptr nV +); + +/******************************************************************************************** + * TSS_DAA_PSEUDONYM_ENCRYPTED + ********************************************************************************************/ + +typedef struct { + bi_ptr sTau; + struct tdCS_ENCRYPTION_RESULT *cs_enc_result; +} TSS_DAA_PSEUDONYM_ENCRYPTED_internal; + + +/******************************************************************************************** + * TSS_DAA_SIGNATURE + ********************************************************************************************/ + +typedef struct { + bi_ptr zeta; + bi_ptr capitalT; + int challenge_length; + BYTE *challenge; + int nonce_tpm_length; + BYTE *nonce_tpm; + bi_ptr sV; + bi_ptr sF0; + bi_ptr sF1; + bi_ptr sE; + int sA_length; + bi_array_ptr sA; +} TSS_DAA_SIGNATURE_internal; + +TSS_DAA_SIGNATURE_internal *e_2_i_TSS_DAA_SIGNATURE( + TSS_DAA_SIGNATURE*signature +); + +void free_TSS_DAA_SIGNATURE_internal( + TSS_DAA_SIGNATURE_internal *signature +); + +/******************************************************************************************** + * TSS_DAA_JOIN_ISSUER_SESSION + ********************************************************************************************/ + +typedef struct td_TSS_DAA_JOIN_ISSUER_SESSION_internal { + TPM_DAA_ISSUER *issuerAuthKey; + TSS_DAA_PK_PROOF_internal *issuerKeyPair; + TSS_DAA_IDENTITY_PROOF *identityProof; + bi_ptr capitalUprime; + int daaCounter; + int nonceIssuerLength; + BYTE *nonceIssuer; + int nonceEncryptedLength; + BYTE *nonceEncrypted; +} TSS_DAA_JOIN_ISSUER_SESSION_internal; + + +/******************************************************************************************** + TSS_DAA_CRED_ISSUER +********************************************************************************************/ +#if 0 +TSS_DAA_CRED_ISSUER *load_TSS_DAA_CRED_ISSUER( FILE *file); + +int save_TSS_DAA_CRED_ISSUER( FILE *file, TSS_DAA_CRED_ISSUER *credential); + +#endif +/******************************************************************************************** + TSS_DAA_CREDENTIAL +********************************************************************************************/ +#if 0 +TSS_DAA_CREDENTIAL *load_TSS_DAA_CREDENTIAL( FILE *file); + +int save_TSS_DAA_CREDENTIAL( + FILE *file, + TSS_DAA_CREDENTIAL *credential +); + +#endif + +/******************************************************************************************** + TPM_DAA_ISSUER +********************************************************************************************/ + +void free_TPM_DAA_ISSUER( TPM_DAA_ISSUER *tpm_daa_issuer); + +#endif /*DAA_STRUCT_H_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/issuer.h b/crypto/external/cpl/trousers/dist/src/include/daa/issuer.h new file mode 100644 index 00000000000..59b6a71d821 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/issuer.h @@ -0,0 +1,71 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006-2007 + * + */ +#ifndef __ISSUER_H__ +#define __ISSUER_H__ + +#include "daa/daa_structs.h" +#include "daa/daa_parameter.h" +#include "tsplog.h" + + +TSS_RESULT +generate_key_pair(int num_attributes_issuer, + int num_attributes_receiver, + int base_nameLength, + BYTE *base_name, + KEY_PAIR_WITH_PROOF_internal **key_pair_with_proof +); + +TSS_DAA_PK_PROOF_internal *generate_proof( + const bi_ptr product_PQ_prime, + const TSS_DAA_PK_internal *public_key, + const bi_ptr xz, + const bi_ptr x0, + const bi_ptr x1, + bi_array_ptr x); + +#if 0 +TSPICALL +Tspi_DAA_IssueInit_internal( + TSS_HDAA hDAA, // in + TSS_HKEY issuerAuthPK, // in + TSS_HKEY issuerKeyPair, // in + TSS_DAA_IDENTITY_PROOF identityProof, // in + UINT32 capitalUprimeLength, // in + BYTE* capitalUprime, // in + UINT32 daaCounter, // in + UINT32* nonceIssuerLength, // out + BYTE** nonceIssuer, // out + UINT32* authenticationChallengeLength, // out + BYTE** authenticationChallenge, // out + TSS_DAA_JOIN_ISSUER_SESSION* joinSession // out +); + +TSPICALL +Tspi_DAA_IssueCredential_internal( + TSS_HDAA hDAA, // in + UINT32 attributesIssuerLength, // in + BYTE** attributesIssuer, // in + TSS_DAA_CREDENTIAL_REQUEST credentialRequest, // in + TSS_DAA_JOIN_ISSUER_SESSION joinSession, // in + TSS_DAA_CRED_ISSUER* credIssuer // out +); +#endif +TSS_RESULT +compute_join_challenge_issuer( TSS_DAA_PK_internal *pk_intern, + bi_ptr v_prime_prime, + bi_ptr capitalA, + bi_ptr capital_Atilde, + UINT32 nonceReceiverLength, + BYTE *nonceReceiver, + UINT32 *c_primeLength, + BYTE **c_prime); // out allocation + +#endif diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/key_correct.h b/crypto/external/cpl/trousers/dist/src/include/daa/key_correct.h new file mode 100644 index 00000000000..a6ce7d9ebb2 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/key_correct.h @@ -0,0 +1,31 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef KEY_CORRECT_H_ +#define KEY_CORRECT_H_ + +#include "daa/daa_structs.h" +#include "daa/daa_parameter.h" +#include "tsplog.h" + + /** + * Verifies if the parameters Z,R0,R1,RReceiver and RIssuer of the public key + * were correctly computed. + * + * @param pk + * the public key, which one wants to verfy. + */ +TSS_RESULT +is_pk_correct( TSS_DAA_PK_internal *public_key, + TSS_DAA_PK_PROOF_internal *proof, + int *isCorrect +); + +#endif /*KEY_CORRECTNESS_PROOF_H_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/list.h b/crypto/external/cpl/trousers/dist/src/include/daa/list.h new file mode 100644 index 00000000000..27071d5f0e8 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/list.h @@ -0,0 +1,40 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2004 + * + */ + +#ifndef LIST_H_ +#define LIST_H_ + +/* simple linked list template */ +struct _list_t { + void *obj; + struct _list_t *next; // pointer to next node +}; + +typedef struct _list_t node_t; // each link is a list "node" + +typedef struct { + node_t *head; // pointer to first node + node_t *current; + node_t *previous; +} list_struct; + +typedef list_struct* list_ptr; +typedef list_struct list_t[1]; + + +list_ptr list_new(); + +void list_add(list_ptr list, void * obj); + +void list_dump(list_ptr list); + +void list_freeall(list_ptr list); + +#endif /*LIST_H_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/platform.h b/crypto/external/cpl/trousers/dist/src/include/daa/platform.h new file mode 100644 index 00000000000..e49474224e8 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/platform.h @@ -0,0 +1,115 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef PLATFORM_H_ +#define PLATFORM_H_ + +#include "bi.h" +#include "daa_structs.h" + +#if 0 +// for RSA key +#include + +TSPICALL +Tspi_TPM_DAA_Sign_internal(TSS_HDAA hDAA, // in + TSS_HTPM hTPM, // in + TSS_HKEY hDaaCredential, // in + TSS_DAA_SELECTED_ATTRIB revealAttributes, // in + UINT32 verifierBaseNameLength, // in + BYTE* verifierBaseName, // in + UINT32 verifierNonceLength, // in + BYTE* verifierNonce, // in + TSS_DAA_SIGN_DATA signData, // in + TSS_DAA_SIGNATURE* daaSignature // out +); + +TSS_RESULT +Tspi_TPM_DAA_JoinInit_internal(TSS_HDAA hDAA, + TSS_HTPM hTPM, + int daa_counter, + TSS_DAA_PK *issuer_pk, + int issuer_authentication_PKLengh, + RSA **issuer_authentication_PK, + int issuer_authentication_PK_signaturesLength, + BYTE **issuer_authentication_PK_signatures, + int *capital_UprimeLength, + BYTE **capital_Uprime, + TSS_DAA_IDENTITY_PROOF *identity_proof, + TSS_DAA_JOIN_SESSION *joinSession +); + +TSPICALL Tspi_TPM_DAA_JoinCreateDaaPubKey_internal +( + TSS_HDAA hDAA, // in + TSS_HTPM hTPM, // in + UINT32 authenticationChallengeLength, // in + BYTE* authenticationChallenge, // in + UINT32 nonceIssuerLength, // in + BYTE* nonceIssuer, // in + UINT32 attributesPlatformLength, // in + BYTE** attributesPlatform, // in + TSS_DAA_JOIN_SESSION* joinSession, // in, out + TSS_DAA_CREDENTIAL_REQUEST* credentialRequest // out +); + +// allocation: endorsementKey as BYTE * +TSS_RESULT get_public_EK( + TSS_HDAA hDAA, + UINT32 *endorsementKeyLength, + BYTE **endorsementKey +); + +#endif + +TSS_RESULT +compute_join_challenge_host(TSS_HDAA_CREDENTIAL,//TSS_HDAA hDAA, + TSS_DAA_PK_internal *pk_internal, + bi_ptr capitalU, + bi_ptr capital_Uprime, + bi_ptr capital_utilde, + bi_ptr capital_utilde_prime, + bi_ptr capital_ni, + bi_ptr capital_ni_tilde, + UINT32 commitments_proofLength, + TSS_DAA_ATTRIB_COMMIT_internal * + commitments_proof, + UINT32 nonceIssuerLength, + BYTE* nonceIssuer, + UINT32 *resultLength, + BYTE **result +); + +#if 0 + +TSPICALL +Tspi_TPM_DAA_JoinStoreCredential_internal(TSS_HDAA hDAA, // in + TSS_HTPM hTPM, // in + TSS_DAA_CRED_ISSUER credIssuer, // in + TSS_DAA_JOIN_SESSION joinSession, // in + TSS_HKEY* hDaaCredential // out +); + +TSPICALL +Tspi_TPM_DAA_Sign_internal(TSS_HDAA hDAA, // in + TSS_HTPM hTPM, // in + TSS_HKEY hDaaCredential, // in + TSS_DAA_SELECTED_ATTRIB revealAttributes, // in + UINT32 verifierBaseNameLength, // in + BYTE* verifierBaseName, // in + UINT32 verifierNonceLength, // in + BYTE* verifierNonce, // in + TSS_DAA_SIGN_DATA signData, // in + TSS_DAA_SIGNATURE* daaSignature // out +); + +#endif + +#endif diff --git a/crypto/external/cpl/trousers/dist/src/include/daa/verifier.h b/crypto/external/cpl/trousers/dist/src/include/daa/verifier.h new file mode 100644 index 00000000000..f177948b302 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/daa/verifier.h @@ -0,0 +1,110 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#ifndef VERIFIER_H_ +#define VERIFIER_H_ + +#include "bi.h" +#include "daa_structs.h" +#include "anonymity_revocation.h" +#include "daa_parameter.h" +#include "tsplog.h" + +/* + * Transaction of a DAA Verifier to verify a signature (VerifierTransaction.java) + */ +typedef struct { + BYTE *baseName; + int baseName_length; + EVP_MD *digest; + BYTE *nonce; + int nonce_length; + int is_anonymity_revocation_enabled; // boolean + BYTE *anonymity_revocation_condition; + int anonymity_revocation_condition_length; + CS_PUBLIC_KEY *anonymity_revocator_pk; + // private TssDaaSelectedAttrib[] selectedAttributes2Commit; + TSS_DAA_SELECTED_ATTRIB **selected_attributes2commit; + int selected_attributes2commitLength; +} DAA_VERIFIER_TRANSACTION; + +/* the return (BYTE *) should be free after usage */ +BYTE *compute_bytes( int seedLength, BYTE *seed, int length, const EVP_MD *digest); + +bi_ptr compute_zeta( int nameLength, unsigned char *name, TSS_DAA_PK_internal *issuer_pk); + +bi_ptr project_into_group_gamma( bi_ptr base, TSS_DAA_PK_internal *issuer_pk); +#if 0 +TSPICALL Tspi_DAA_VerifyInit_internal +( + TSS_HDAA hDAA, // in + UINT32* nonceVerifierLength, // out + BYTE** nonceVerifier, // out + UINT32 baseNameLength, // out + BYTE ** baseName // out +); + +TSPICALL Tspi_DAA_VerifySignature_internal +( TSS_HDAA hDAA, // in + TSS_DAA_SIGNATURE signature, // in + TSS_HKEY hPubKeyIssuer, // in + TSS_DAA_SIGN_DATA sign_data, // in + UINT32 attributes_length, // in + BYTE **attributes, // in + UINT32 nonce_verifierLength, // out + BYTE *nonce_verifier, // out + UINT32 base_nameLength, // out + BYTE *base_name, // out + TSS_BOOL *isCorrect // out +); +#else +TSS_RESULT +Tspi_DAA_VerifySignature +( + TSS_HDAA_CREDENTIAL hDAACredential, // in + TSS_HDAA_ISSUER_KEY hIssuerKey, // in + TSS_HDAA_ARA_KEY hARAKey, // in + TSS_HHASH hARACondition, // in + UINT32 attributesLength, // in + UINT32 attributesLength2, // in + BYTE** attributes, // in + UINT32 verifierNonceLength, // in + BYTE* verifierNonce, // in + UINT32 verifierBaseNameLength, // in + BYTE* verifierBaseName, // in + TSS_HOBJECT signData, // in + TSS_DAA_SIGNATURE* daaSignature, // in + TSS_BOOL* isCorrect // out +); + +#endif + +BYTE *compute_sign_challenge_host( + int *result_length, + EVP_MD *digest, + TSS_DAA_PK_internal *issuer_pk, + int nonce_verifierLength, + BYTE *nonce_verifier, + int selected_attributes2commitLength, + TSS_DAA_SELECTED_ATTRIB **selected_attributes2commit, + int is_anonymity_revocation_enabled, + bi_ptr zeta, + bi_ptr capital_t, + bi_ptr capital_tilde, + int attribute_commitmentsLength, + TSS_DAA_ATTRIB_COMMIT_internal **attribute_commitments, + TSS_DAA_ATTRIB_COMMIT_internal **attribute_commitment_proofs, + bi_ptr capital_nv, + bi_ptr capital_tilde_v, + CS_PUBLIC_KEY *anonymity_revocator_pk, + CS_ENCRYPTION_RESULT *encryption_result_rand, + CS_ENCRYPTION_RESULT *encryption_result_proof); + +#endif /*VERIFIER_H_*/ diff --git a/crypto/external/cpl/trousers/dist/src/include/hosttable.h b/crypto/external/cpl/trousers/dist/src/include/hosttable.h index edc820b414c..be5dd1c461a 100644 --- a/crypto/external/cpl/trousers/dist/src/include/hosttable.h +++ b/crypto/external/cpl/trousers/dist/src/include/hosttable.h @@ -33,7 +33,6 @@ struct host_table { MUTEX_DECLARE(lock); }; -extern struct host_table *ht; struct host_table_entry *get_table_entry(TCS_CONTEXT_HANDLE); void put_table_entry(struct host_table_entry *); TSS_RESULT __tspi_add_table_entry(TSS_HCONTEXT, BYTE *, int, struct host_table_entry **); diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_context.h b/crypto/external/cpl/trousers/dist/src/include/obj_context.h index 855e7d445e6..d864d11b7ff 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_context.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_context.h @@ -86,7 +86,7 @@ struct tcs_api_table *obj_context_get_tcs_api(TSS_HCONTEXT); #define CONTEXT_LIST_DECLARE struct obj_list context_list #define CONTEXT_LIST_DECLARE_EXTERN extern struct obj_list context_list -#define CONTEXT_LIST_INIT() list_init(&context_list) +#define CONTEXT_LIST_INIT() tspi_list_init(&context_list) #define CONTEXT_LIST_CONNECT(a,b) obj_connectContext_list(&context_list, a, b) #define CONTEXT_LIST_CLOSE(a) obj_list_close(&context_list, &__tspi_obj_context_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_daa.h b/crypto/external/cpl/trousers/dist/src/include/obj_daa.h index d7e21a9adf7..d25f7c7ebd4 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_daa.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_daa.h @@ -32,7 +32,7 @@ TSS_RESULT obj_daa_set_session_handle(TSS_HDAA, UINT32); #define DAA_LIST_DECLARE struct obj_list daa_list #define DAA_LIST_DECLARE_EXTERN extern struct obj_list daa_list -#define DAA_LIST_INIT() list_init(&daa_list) +#define DAA_LIST_INIT() tspi_list_init(&daa_list) #define DAA_LIST_CONNECT(a,b) obj_connectContext_list(&daa_list, a, b) #define DAA_LIST_CLOSE(a) obj_list_close(&daa_list, &daa_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_daaarakey.h b/crypto/external/cpl/trousers/dist/src/include/obj_daaarakey.h index 9997f094563..99e906d9ad1 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_daaarakey.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_daaarakey.h @@ -32,7 +32,7 @@ TSS_RESULT obj_daaarakey_set_session_handle(TSS_HDAA_ISSUER_KEY, UINT32); #define DAAARAKEY_LIST_DECLARE struct obj_list daaarakey_list #define DAAARAKEY_LIST_DECLARE_EXTERN extern struct obj_list daaarakey_list -#define DAAARAKEY_LIST_INIT() list_init(&daaarakey_list) +#define DAAARAKEY_LIST_INIT() tspi_list_init(&daaarakey_list) #define DAAARAKEY_LIST_CONNECT(a,b) obj_connectContext_list(&daaarakey_list, a, b) #define DAAARAKEY_LIST_CLOSE(a) obj_list_close(&daaarakey_list, &daaarakey_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_daacred.h b/crypto/external/cpl/trousers/dist/src/include/obj_daacred.h index 4e1aa170aa5..357a23e8aaa 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_daacred.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_daacred.h @@ -32,7 +32,7 @@ TSS_RESULT obj_daacred_set_session_handle(TSS_HDAA_CREDENTIAL, UINT32); #define DAACRED_LIST_DECLARE struct obj_list daacred_list #define DAACRED_LIST_DECLARE_EXTERN extern struct obj_list daacred_list -#define DAACRED_LIST_INIT() list_init(&daacred_list) +#define DAACRED_LIST_INIT() tspi_list_init(&daacred_list) #define DAACRED_LIST_CONNECT(a,b) obj_connectContext_list(&daacred_list, a, b) #define DAACRED_LIST_CLOSE(a) obj_list_close(&daacred_list, &daacred_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_daaissuerkey.h b/crypto/external/cpl/trousers/dist/src/include/obj_daaissuerkey.h index 5a1e5abb6ce..9eb69dfd047 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_daaissuerkey.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_daaissuerkey.h @@ -32,7 +32,7 @@ TSS_RESULT obj_daaissuerkey_set_session_handle(TSS_HDAA_ISSUER_KEY, UINT32); #define DAAISSUERKEY_LIST_DECLARE struct obj_list daaissuerkey_list #define DAAISSUERKEY_LIST_DECLARE_EXTERN extern struct obj_list daaissuerkey_list -#define DAAISSUERKEY_LIST_INIT() list_init(&daaissuerkey_list) +#define DAAISSUERKEY_LIST_INIT() tspi_list_init(&daaissuerkey_list) #define DAAISSUERKEY_LIST_CONNECT(a,b) obj_connectContext_list(&daaissuerkey_list, a, b) #define DAAISSUERKEY_LIST_CLOSE(a) obj_list_close(&daaissuerkey_list, \ &daaissuerkey_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_delfamily.h b/crypto/external/cpl/trousers/dist/src/include/obj_delfamily.h index 238bd56e5d0..4c91a84fece 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_delfamily.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_delfamily.h @@ -45,7 +45,7 @@ TSS_RESULT obj_delfamily_get_label(TSS_HDELFAMILY, BYTE *); #define DELFAMILY_LIST_DECLARE struct obj_list delfamily_list #define DELFAMILY_LIST_DECLARE_EXTERN extern struct obj_list delfamily_list -#define DELFAMILY_LIST_INIT() list_init(&delfamily_list) +#define DELFAMILY_LIST_INIT() tspi_list_init(&delfamily_list) #define DELFAMILY_LIST_CONNECT(a,b) obj_connectContext_list(&delfamily_list, a, b) #define DELFAMILY_LIST_CLOSE(a) obj_list_close(&delfamily_list, &delfamily_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_encdata.h b/crypto/external/cpl/trousers/dist/src/include/obj_encdata.h index 922a07a1acd..ad7f28cbda7 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_encdata.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_encdata.h @@ -52,7 +52,7 @@ TSS_RESULT obj_encdata_get_seal_protect_mode(TSS_HENCDATA, UINT32 *); #define ENCDATA_LIST_DECLARE struct obj_list encdata_list #define ENCDATA_LIST_DECLARE_EXTERN extern struct obj_list encdata_list -#define ENCDATA_LIST_INIT() list_init(&encdata_list) +#define ENCDATA_LIST_INIT() tspi_list_init(&encdata_list) #define ENCDATA_LIST_CONNECT(a,b) obj_connectContext_list(&encdata_list, a, b) #define ENCDATA_LIST_CLOSE(a) obj_list_close(&encdata_list, &encdata_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_hash.h b/crypto/external/cpl/trousers/dist/src/include/obj_hash.h index a835f7af8d2..d621138d5be 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_hash.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_hash.h @@ -34,7 +34,7 @@ TSS_RESULT obj_hash_update_value(TSS_HHASH, UINT32, BYTE *); #define HASH_LIST_DECLARE struct obj_list hash_list #define HASH_LIST_DECLARE_EXTERN extern struct obj_list hash_list -#define HASH_LIST_INIT() list_init(&hash_list) +#define HASH_LIST_INIT() tspi_list_init(&hash_list) #define HASH_LIST_CONNECT(a,b) obj_connectContext_list(&hash_list, a, b) #define HASH_LIST_CLOSE(a) obj_list_close(&hash_list, &__tspi_hash_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_migdata.h b/crypto/external/cpl/trousers/dist/src/include/obj_migdata.h index 24327970dda..d082aea8df2 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_migdata.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_migdata.h @@ -118,7 +118,7 @@ TSS_RESULT obj_migdata_calc_sig_data_digest(struct tr_migdata_obj *); #define MIGDATA_LIST_DECLARE struct obj_list migdata_list #define MIGDATA_LIST_DECLARE_EXTERN extern struct obj_list migdata_list -#define MIGDATA_LIST_INIT() list_init(&migdata_list) +#define MIGDATA_LIST_INIT() tspi_list_init(&migdata_list) #define MIGDATA_LIST_CONNECT(a,b) obj_connectContext_list(&migdata_list, a, b) #define MIGDATA_LIST_CLOSE(a) obj_list_close(&migdata_list, &migdata_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_nv.h b/crypto/external/cpl/trousers/dist/src/include/obj_nv.h index 53e66656475..088b999dc64 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_nv.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_nv.h @@ -2,21 +2,6 @@ * The Initial Developer of the Original Code is Intel Corporation. * Portions created by Intel Corporation are Copyright (C) 2007 Intel Corporation. * All Rights Reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the Common Public License as published by - * IBM Corporation; either version 1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * Common Public License for more details. - * - * You should have received a copy of the Common Public License - * along with this program; if not, a copy can be viewed at - * http://www.opensource.org/licenses/cpl1.0.php. - * * trousers - An open source TCG Software Stack * * Author: james.xu@intel.com Rossey.liu@intel.com @@ -83,7 +68,7 @@ TSS_RESULT obj_nvstore_create_pcrshortinfo(TSS_HNVSTORE, TSS_HPCRS, UINT32 *, BY #define NVSTORE_LIST_DECLARE struct obj_list nvstore_list #define NVSTORE_LIST_DECLARE_EXTERN extern struct obj_list nvstore_list -#define NVSTORE_LIST_INIT() list_init(&nvstore_list) +#define NVSTORE_LIST_INIT() tspi_list_init(&nvstore_list) #define NVSTORE_LIST_CONNECT(a,b) obj_connectContext_list(&nvstore_list, a, b) #define NVSTORE_LIST_CLOSE(a) obj_list_close(&nvstore_list, &nvstore_free, a) #else diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_pcrs.h b/crypto/external/cpl/trousers/dist/src/include/obj_pcrs.h index f6cc08102a2..44981b156c0 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_pcrs.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_pcrs.h @@ -48,7 +48,7 @@ TSS_RESULT obj_pcrs_set_locality(TSS_HPCRS, UINT32); #define PCRS_LIST_DECLARE struct obj_list pcrs_list #define PCRS_LIST_DECLARE_EXTERN extern struct obj_list pcrs_list -#define PCRS_LIST_INIT() list_init(&pcrs_list) +#define PCRS_LIST_INIT() tspi_list_init(&pcrs_list) #define PCRS_LIST_CONNECT(a,b) obj_connectContext_list(&pcrs_list, a, b) #define PCRS_LIST_CLOSE(a) obj_list_close(&pcrs_list, &pcrs_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_policy.h b/crypto/external/cpl/trousers/dist/src/include/obj_policy.h index 9686275756c..d42cc418d8b 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_policy.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_policy.h @@ -178,7 +178,7 @@ TSS_RESULT obj_policy_get_delegate_public(struct tsp_object *, TPM_DELEGATE_PUBL #define POLICY_LIST_DECLARE struct obj_list policy_list #define POLICY_LIST_DECLARE_EXTERN extern struct obj_list policy_list -#define POLICY_LIST_INIT() list_init(&policy_list) +#define POLICY_LIST_INIT() tspi_list_init(&policy_list) #define POLICY_LIST_CONNECT(a,b) obj_connectContext_list(&policy_list, a, b) #define POLICY_LIST_CLOSE(a) obj_list_close(&policy_list, &__tspi_policy_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_rsakey.h b/crypto/external/cpl/trousers/dist/src/include/obj_rsakey.h index 48c09316dd6..4f15d257e8b 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_rsakey.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_rsakey.h @@ -110,7 +110,7 @@ TSS_RESULT obj_rsakey_set_srk_pubkey(BYTE *); #define RSAKEY_LIST_DECLARE struct obj_list rsakey_list #define RSAKEY_LIST_DECLARE_EXTERN extern struct obj_list rsakey_list -#define RSAKEY_LIST_INIT() list_init(&rsakey_list) +#define RSAKEY_LIST_INIT() tspi_list_init(&rsakey_list) #define RSAKEY_LIST_CONNECT(a,b) obj_connectContext_list(&rsakey_list, a, b) #define RSAKEY_LIST_CLOSE(a) obj_list_close(&rsakey_list, &__tspi_rsakey_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/obj_tpm.h b/crypto/external/cpl/trousers/dist/src/include/obj_tpm.h index 9eb1db70101..b90812f4f8c 100644 --- a/crypto/external/cpl/trousers/dist/src/include/obj_tpm.h +++ b/crypto/external/cpl/trousers/dist/src/include/obj_tpm.h @@ -71,7 +71,7 @@ TSS_RESULT obj_tpm_get_cred(TSS_HTPM, TSS_FLAG, UINT32 *, BYTE **); #define TPM_LIST_DECLARE struct obj_list tpm_list #define TPM_LIST_DECLARE_EXTERN extern struct obj_list tpm_list -#define TPM_LIST_INIT() list_init(&tpm_list) +#define TPM_LIST_INIT() tspi_list_init(&tpm_list) #define TPM_LIST_CONNECT(a,b) obj_connectContext_list(&tpm_list, a, b) #define TPM_LIST_CLOSE(a) obj_list_close(&tpm_list, &tpm_free, a) diff --git a/crypto/external/cpl/trousers/dist/src/include/portable_endian.h b/crypto/external/cpl/trousers/dist/src/include/portable_endian.h new file mode 100644 index 00000000000..df0742d2793 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/portable_endian.h @@ -0,0 +1,115 @@ +// "License": Public Domain +// I, Mathias Panzenböck, place this file hereby into the public domain. Use it at your own risk for whatever you like. + +#ifndef PORTABLE_ENDIAN_H__ +#define PORTABLE_ENDIAN_H__ + +#if (defined(_WIN16) || defined(_WIN32) || defined(_WIN64)) && !defined(__WINDOWS__) + +# define __WINDOWS__ + +#endif + +#if defined(__linux__) || defined(__CYGWIN__) + +# include + +#elif defined(__APPLE__) + +# include + +# define htobe16(x) OSSwapHostToBigInt16(x) +# define htole16(x) OSSwapHostToLittleInt16(x) +# define be16toh(x) OSSwapBigToHostInt16(x) +# define le16toh(x) OSSwapLittleToHostInt16(x) + +# define htobe32(x) OSSwapHostToBigInt32(x) +# define htole32(x) OSSwapHostToLittleInt32(x) +# define be32toh(x) OSSwapBigToHostInt32(x) +# define le32toh(x) OSSwapLittleToHostInt32(x) + +# define htobe64(x) OSSwapHostToBigInt64(x) +# define htole64(x) OSSwapHostToLittleInt64(x) +# define be64toh(x) OSSwapBigToHostInt64(x) +# define le64toh(x) OSSwapLittleToHostInt64(x) + +# define __BYTE_ORDER BYTE_ORDER +# define __BIG_ENDIAN BIG_ENDIAN +# define __LITTLE_ENDIAN LITTLE_ENDIAN +# define __PDP_ENDIAN PDP_ENDIAN + +#elif defined(__OpenBSD__) + +# include + +#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) + +# include + +# define be16toh(x) betoh16(x) +# define le16toh(x) letoh16(x) + +# define be32toh(x) betoh32(x) +# define le32toh(x) letoh32(x) + +# define be64toh(x) betoh64(x) +# define le64toh(x) letoh64(x) + +#elif defined(__WINDOWS__) + +# include +# include + +# if BYTE_ORDER == LITTLE_ENDIAN + +# define htobe16(x) htons(x) +# define htole16(x) (x) +# define be16toh(x) ntohs(x) +# define le16toh(x) (x) + +# define htobe32(x) htonl(x) +# define htole32(x) (x) +# define be32toh(x) ntohl(x) +# define le32toh(x) (x) + +# define htobe64(x) htonll(x) +# define htole64(x) (x) +# define be64toh(x) ntohll(x) +# define le64toh(x) (x) + +# elif BYTE_ORDER == BIG_ENDIAN + + /* that would be xbox 360 */ +# define htobe16(x) (x) +# define htole16(x) __builtin_bswap16(x) +# define be16toh(x) (x) +# define le16toh(x) __builtin_bswap16(x) + +# define htobe32(x) (x) +# define htole32(x) __builtin_bswap32(x) +# define be32toh(x) (x) +# define le32toh(x) __builtin_bswap32(x) + +# define htobe64(x) (x) +# define htole64(x) __builtin_bswap64(x) +# define be64toh(x) (x) +# define le64toh(x) __builtin_bswap64(x) + +# else + +# error byte order not supported + +# endif + +# define __BYTE_ORDER BYTE_ORDER +# define __BIG_ENDIAN BIG_ENDIAN +# define __LITTLE_ENDIAN LITTLE_ENDIAN +# define __PDP_ENDIAN PDP_ENDIAN + +#else + +# error platform not supported + +#endif + +#endif diff --git a/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp.h b/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp.h index ed79911bb00..20328eeda4f 100644 --- a/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp.h +++ b/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp.h @@ -31,10 +31,11 @@ struct tcsd_packet_hdr { struct tcsd_comm_data { BYTE *buf; - int buf_size; + UINT32 buf_size; struct tcsd_packet_hdr hdr; } STRUCTURE_PACKING_ATTRIBUTE; #define TCSD_INIT_TXBUF_SIZE 1024 +#define TCSD_INCR_TXBUF_SIZE 4096 #endif diff --git a/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp_tcs.h b/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp_tcs.h index 9f328146a85..57eab275409 100644 --- a/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp_tcs.h +++ b/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp_tcs.h @@ -392,8 +392,8 @@ void LoadBlob_LOADKEY_INFO(UINT64 *, BYTE *, TCS_LOADKEY_INFO *); void UnloadBlob_LOADKEY_INFO(UINT64 *, BYTE *, TCS_LOADKEY_INFO *); void LoadBlob_PCR_EVENT(UINT64 *, BYTE *, TSS_PCR_EVENT *); TSS_RESULT UnloadBlob_PCR_EVENT(UINT64 *, BYTE *, TSS_PCR_EVENT *); -int setData(TCSD_PACKET_TYPE, int, void *, int, struct tcsd_comm_data *); -UINT32 getData(TCSD_PACKET_TYPE, int, void *, int, struct tcsd_comm_data *); +int setData(TCSD_PACKET_TYPE, unsigned int, void *, int, struct tcsd_comm_data *); +UINT32 getData(TCSD_PACKET_TYPE, unsigned int, void *, int, struct tcsd_comm_data *); void initData(struct tcsd_comm_data *, int); int recv_from_socket(int, void *, int); int send_to_socket(int, void *, int); diff --git a/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp_tsp.h b/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp_tsp.h index 79f5e9f4f38..2d53a00fc11 100644 --- a/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp_tsp.h +++ b/crypto/external/cpl/trousers/dist/src/include/rpc_tcstp_tsp.h @@ -22,7 +22,9 @@ void initData(struct tcsd_comm_data *, int); TSS_RESULT sendTCSDPacket(struct host_table_entry *); TSS_RESULT send_init(struct host_table_entry *); TSS_RESULT tcs_sendit(struct host_table_entry *); -short get_port(); + +/* Underlying socket-related calls */ +TSS_RESULT get_socket(struct host_table_entry *hte, int *sd); /* Context commands always included */ TSS_RESULT RPC_OpenContext_TP(struct host_table_entry *, UINT32 *, TCS_CONTEXT_HANDLE *); diff --git a/crypto/external/cpl/trousers/dist/src/include/spi_utils.h b/crypto/external/cpl/trousers/dist/src/include/spi_utils.h index f93e8771b64..11255b20a21 100644 --- a/crypto/external/cpl/trousers/dist/src/include/spi_utils.h +++ b/crypto/external/cpl/trousers/dist/src/include/spi_utils.h @@ -44,9 +44,16 @@ MUTEX_DECLARE_EXTERN(mem_cache_lock); #define TSS_PSFILE_INCREMENT_NUM_KEYS 1 #define TSS_PSFILE_DECREMENT_NUM_KEYS 0 +#ifdef __GNUC__ +#define __no_optimize __attribute__((optimize("O0"))) +#else +#define __no_optimize +#endif + void *calloc_tspi(TSS_HCONTEXT, UINT32); TSS_RESULT free_tspi(TSS_HCONTEXT, void *); TSS_RESULT __tspi_add_mem_entry(TSS_HCONTEXT, void *); +void * __no_optimize __tspi_memset(void *, int, size_t); /* secrets.c */ diff --git a/crypto/external/cpl/trousers/dist/src/include/tcs_tsp.h b/crypto/external/cpl/trousers/dist/src/include/tcs_tsp.h index bba32580a28..fdca21e545e 100644 --- a/crypto/external/cpl/trousers/dist/src/include/tcs_tsp.h +++ b/crypto/external/cpl/trousers/dist/src/include/tcs_tsp.h @@ -90,4 +90,9 @@ struct key_disk_cache /* needed by execute transport in the TSP */ #define TSS_TPM_TXBLOB_HDR_LEN (sizeof(UINT16) + (2 * sizeof(UINT32))) +#define TSS_TPM_TXBLOB_SIZE (4096) +#define TSS_TXBLOB_WRAPPEDCMD_OFFSET (TSS_TPM_TXBLOB_HDR_LEN + sizeof(UINT32)) +#define TSS_MAX_AUTHS_CAP (1024) +#define TSS_REQ_MGR_MAX_RETRIES (5) + #endif diff --git a/crypto/external/cpl/trousers/dist/src/include/tcs_utils.h b/crypto/external/cpl/trousers/dist/src/include/tcs_utils.h index 71cf3f7496f..0f0f4ce84e9 100644 --- a/crypto/external/cpl/trousers/dist/src/include/tcs_utils.h +++ b/crypto/external/cpl/trousers/dist/src/include/tcs_utils.h @@ -92,11 +92,6 @@ TSS_RESULT owner_evict_init(); #define EVENT_LOG_final() #endif -#define TSS_TPM_TXBLOB_SIZE (4096) -#define TSS_TXBLOB_WRAPPEDCMD_OFFSET (TSS_TPM_TXBLOB_HDR_LEN + sizeof(UINT32)) -#define TSS_MAX_AUTHS_CAP (1024) -#define TSS_REQ_MGR_MAX_RETRIES (5) - #define next( x ) x = x->next TSS_RESULT key_mgr_dec_ref_count(TCS_KEY_HANDLE); diff --git a/crypto/external/cpl/trousers/dist/src/include/tcslog.h b/crypto/external/cpl/trousers/dist/src/include/tcslog.h index 36fdce004d7..cb63c48f173 100644 --- a/crypto/external/cpl/trousers/dist/src/include/tcslog.h +++ b/crypto/external/cpl/trousers/dist/src/include/tcslog.h @@ -72,6 +72,12 @@ TSS_RESULT LogTCSERR(TSS_RESULT, char *, int); TSS_RESULT LogTDDLERR(TSS_RESULT, char *, int); void LogTPMERR(TSS_RESULT, char *, int); +#define LogDebugBacktrace() \ + do { \ + void *bt_data[10]; \ + backtrace_symbols_fd(&bt_data, 10, stdout); \ + } while (0) + #else #define LogDebug(fmt, ...) #define LogDebugFn(fmt, ...) @@ -89,6 +95,7 @@ void LogTPMERR(TSS_RESULT, char *, int); #define LogInfo(fmt, ...) LogMessage(stdout, LOG_INFO, APPID, fmt, ##__VA_ARGS__) #define LogTPMERR(a,b,c) +#define LogDebugBacktrace() #endif void LogBlobData(char *appid, unsigned long sizeOfBlob, unsigned char *blob); diff --git a/crypto/external/cpl/trousers/dist/src/include/tsp_tcsi_param.h b/crypto/external/cpl/trousers/dist/src/include/tsp_tcsi_param.h new file mode 100644 index 00000000000..bc000d4bcc6 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/tsp_tcsi_param.h @@ -0,0 +1,27 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2005, 2007, 2013 + * + */ + +/* Defines which environment var is responsible for setting the port to + * which the client will connect */ +#define PORT_ENV_VAR "TSS_TCSD_PORT" + +/* Defines which envionment var is responsible for setting the hostname to + * which the client will connect */ +#define HOSTNAME_ENV_VAR "TSS_TCSD_HOSTNAME" + +#define TCP_PORT_STR_MAX_LEN 6 + +/* Prototypes for functions which retrieve tcsd hostname and port + * information */ +TSS_RESULT +get_tcsd_port(char port_str[TCP_PORT_STR_MAX_LEN]); + +TSS_RESULT +get_tcsd_hostname(char **host_str, unsigned *len); diff --git a/crypto/external/cpl/trousers/dist/src/include/tss/TSP.idl b/crypto/external/cpl/trousers/dist/src/include/tss/TSP.idl new file mode 100644 index 00000000000..40f95b788da --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/include/tss/TSP.idl @@ -0,0 +1,762 @@ +/*++ + ++++TSP.idl + + Interface declarations for the TSS Service Provider + - COM interface for Windows based platforms + +--*/ +import "oaidl.idl"; // include ODL base types +import "ocidl.idl"; + +//import the header files from TSS v1.2 +import "tss_typedef.h"; +import "tss_structs.h"; + +// forward declaration +interface ITCPAPolicy; +interface ITCPAKey; + +/* +Missing: +TSS_RESULT Tspi_Context_Create +TSS_RESULT Tspi_Context_Close +TSS_RESULT Tspi_Context_FreeMemory +*/ + + //ITCPAAttrib Interface + [ + local, + object, + uuid(FBCD9C2E-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAAttrib Interface"), + pointer_default(unique) + ] + interface ITCPAAttrib : IUnknown + { + [helpstring("method SetAttribUint32")] + HRESULT SetAttribUint32([in] TSS_FLAG attribFlag, + [in] TSS_FLAG subFlags, + [in] UINT32 ulAttrib); + + [helpstring("method GetAttribUint32")] + HRESULT GetAttribUint32([in] TSS_FLAG attribFlag, + [in] TSS_FLAG subFlags, + [out] UINT32* pulAttrib); + + [helpstring("method SetAttribData")] + HRESULT SetAttribData([in] TSS_FLAG attribFlag, + [in] TSS_FLAG subFlags, + [in] UINT32 ulAttribDataSize, + [in, ptr, size_is(ulAttribDataSize)] BYTE* pbAttribData); + + [helpstring("method GetAttribData")] + HRESULT GetAttribData([in] TSS_FLAG attribFlag, + [in] TSS_FLAG subFlags, + [out] UINT32* pulAttribDataSize, + [out, size_is(, *pulAttribDataSize)] BYTE** ppbAttribData); + } + + //ITCPAAuth Interface + [ + local, + object, + uuid(FBCD9C2F-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAAuth Interface"), + pointer_default(unique) + ] + interface ITCPAAuth : IUnknown + { + [helpstring("method GetPolicyObject")] + HRESULT GetPolicyObject([in] TSS_FLAG PolicyType, + [out] ITCPAPolicy** ppPolicyObject); + + [helpstring("method ChangeAuth")] + HRESULT ChangeAuth([in] IUnknown* PpParentObject, + [in] ITCPAPolicy* PpNewPolicy); + +// HRESULT ChangeAuthAsym + + }; + + [ + object, + uuid(FBCD9C2D-72CB-47BB-99DD-2317551491DE), + helpstring("ITCPAPcrs Interface"), + pointer_default(unique) + ] + interface ITCPAPcrs : IUnknown + { + [helpstring("method SetPcrValue")] + HRESULT SetPcrValue([in] UINT32 ulPCRIndex, + [in] UINT32 ulPcrValueLength, + [in, size_is(ulPcrValueLength)] BYTE* pbPcrValue); + + [helpstring("method GetPcrValue")] + HRESULT GetPcrValue([in] UINT32 ulPCRIndex, + [out] UINT32* pulPcrValueLength, + [out, size_is(, *pulPcrValueLength)] BYTE** ppbPcrValue); + + [helpstring("method SelectPcrIndex")] + HRESULT SelectPcrIndex([in] UINT32 ulPCRIndex); + + }; + + //ITCPAKey Interface + [ + object, + uuid(FBCD9C27-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAKey Interface"), + pointer_default(unique) + ] + interface ITCPAKey : IUnknown + { + [helpstring("method LoadKey")] + HRESULT LoadKey([in] ITCPAKey* pUnwrappingKey); + + [helpstring("method CreateKey")] + HRESULT CreateKey([in] ITCPAKey* pUnwrappingKey, + [in] ITCPAPcrs* pPcrComosite); + + [helpstring("method WrapKey")] + HRESULT WrapKey([in] ITCPAKey* pWrappinKey, + [in] ITCPAPcrs* pPcrComposite); + + [helpstring("method CertifyKey")] + HRESULT CertifyKey([in] ITCPAKey* pCertifyingKey, + [in, out, ptr] TSS_VALIDATION* pValidation); + + [helpstring("method GetPubKey")] + HRESULT GetPubKey([out] UINT32* pulPubKeyLength, + [out, size_is(, *pulPubKeyLength)] BYTE** ppbPubKey); + + [helpstring("method UnLoadKey")] + HRESULT UnLoadKey(); + }; + + // ITCPAMigration + [ + local, + object, + uuid(FBCD9C30-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAMigration Interface"), + pointer_default(unique) + ] + interface ITCPAMigration : IUnknown + { + [helpstring("method CreateMigrationBlob")] + HRESULT CreateMigrationBlob([in] ITCPAKey *pParentKey, + [in] UINT32 ulMigTicketLength, + [in, size_is(ulMigTicketLength)] BYTE* rgbMigTicket, + [out] UINT32 *pulRandomLength, + [out, size_is(, *pulRandomLength)] BYTE **prgbRandom, + [out] UINT32 *pulMigrationBlobLength, + [out, size_is(, *pulMigrationBlobLength)] BYTE **prgbMigBlob); + + [helpstring("method ConvertMigrationBlob")] + HRESULT ConvertMigrationBlob([in] ITCPAKey *pParentKey, + [in] UINT32 ulRandomLength, + [in, size_is(ulRandomLength)] BYTE *rgbRandom, + [in] UINT32 ulMigrationBlobLength, + [in, size_is(ulMigrationBlobLength)] BYTE *rgbMigBlob); + }; + + //ITCPAEncData Interface + [ + uuid(FBCD9C29-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAEncData Interface"), + pointer_default(unique) + ] + interface ITCPAEncData : IUnknown + { + [helpstring("method Seal")] + HRESULT Seal([in] ITCPAKey* pEncKey, + [in] UINT32 ulDataLength, + [in, size_is(ulDataLength)] BYTE* pbData, + [in] ITCPAPcrs* pPcrComposite); + + [helpstring("method Unseal")] + HRESULT Unseal([in] ITCPAKey* pKey, + [out] UINT32* pulUnsealedDataLength, + [out, size_is(, *pulUnsealedDataLength)] BYTE** ppbData); + + [helpstring("method Bind")] + HRESULT Bind([in] ITCPAKey* pEncKey, + [in] UINT32 ulDataLength, + [in, size_is(ulDataLength)] BYTE* pbData); + + [helpstring("method Unbind")] + HRESULT Unbind([in] ITCPAKey* pKey, + [out] UINT32* pulUnboundDataLength, + [out, size_is(, *pulUnboundDataLength)] BYTE** ppbData); + + }; + + //ITCPAHash Interface + [ + local, + object, + uuid(FBCD9C2B-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAHash Interface"), + pointer_default(unique) + ] + interface ITCPAHash : IUnknown + { + [helpstring("method SetHashValue")] + HRESULT SetHashValue([in] UINT32 ulHashValueLength, + [in, size_is(ulHashValueLength)] BYTE* pbHash); + + [helpstring("method GetHashValue")] + HRESULT GetHashValue([out] UINT32* pulHashValueLength, + [out, size_is(, *pulHashValueLength)] BYTE** ppbHash); + + [helpstring("method UpdateHashValue")] + HRESULT UpdateHashValue([in] UINT32 ulDataLength, + [in, size_is(ulDataLength)] BYTE* pbData); + + [helpstring("method Sign")] + HRESULT Sign([in] ITCPAKey* pKey, + [out] UINT32* pulSignatureLength, + [out, size_is(, *pulSignatureLength)] BYTE** ppbSignature); + + [helpstring("method VerifySignature")] + HRESULT VerifySignature([in] ITCPAKey* pKey, + [in] UINT32 ulSignatureLength, + [in, size_is(ulSignatureLength)] BYTE* pbSignature); + + }; + + //ITCPAPolicy Interface + [ + uuid(FBCD9C1E-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAPolicy Interface"), + pointer_default(unique) + ] + interface ITCPAPolicy : IUnknown + { + [helpstring("method SetSecret")] + HRESULT SetSecret([in] TSS_FLAG SecretMode, + [in] UINT32 ulSecretLength, + [in, ptr, size_is(ulSecretLength)] BYTE* pbSecret); + + [helpstring("method FlushSecret")] + HRESULT FlushSecret(); + + [helpstring("method AssignToObject")] + HRESULT AssignToObject([in] IUnknown* pUnkObject); + + }; + + //ITCPAAdministration Interface + [ + local, + object, + uuid(FBCD9C24-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAAdministration Interface"), + pointer_default(unique) + ] + interface ITCPAAdministration : IUnknown + { + [helpstring("method SelfTestFull")] + HRESULT SelfTestFull(); + + [helpstring("method GetTestResult")] + HRESULT GetTestResult([out] UINT32* pulTestResultLength, + [out, size_is(, *pulTestResultLength)] BYTE** ppbTestResult); + + [helpstring("method CertifySelfTest")] + HRESULT CertifySelfTest([in] ITCPAKey* phKey, + [in, out, ptr] TSS_VALIDATION* pValidationData); + + [helpstring("method CreateEndorsementKey")] + HRESULT CreateEndorsementKey([in] ITCPAKey* pEndorsementKey, + [in, out, ptr] TSS_VALIDATION* pValidation); + + [helpstring("method GetPubEndorsementKey")] + HRESULT GetPubEndorsementKey([in] BOOL fOwnerAuthorized, + [in, out, ptr] TSS_VALIDATION* pValidation, + [out] ITCPAKey** ppEndorsementKey); + + [helpstring("method TakeOwnerShip")] + HRESULT TakeOwnerShip([in] ITCPAKey* pKeySRK, + [in] ITCPAKey* pEndorsementKeyPubKey); + + [helpstring("method ClearOwner")] + HRESULT ClearOwner([in] BOOL fForcedClear); + + [helpstring("method SetStatus")] + HRESULT SetStatus([in] TSS_FLAG statusFlag, + [in] BOOL fTpmState); + + [helpstring("method GetStatus")] + HRESULT GetStatus([in] TSS_FLAG statusFlag, + [out] BOOL* pfTpmState); + + [helpstring("method AuthorizeMigrationTicket")] + HRESULT AuthorizeMigrationTicket([in] ITCPAKey* pMigrationKey, + [in] UINT32 MigrationScheme, + [out] UINT32* pulMigTicketLength, + [out, size_is(, *pulMigTicketLength)] BYTE** ppbMigTicket); + } + + //ITCPAIntegrity Interface + [ + local, + object, + uuid(FBCD9C22-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAIntegrity Interface"), + pointer_default(unique) + ] + interface ITCPAIntegrity : IUnknown + { + [helpstring("method PcrExtend")] + HRESULT PcrExtend([in] UINT32 ulPcrIndex, + [in] UINT32 ulPcrDataLength, + [in, size_is(ulPcrDataLength)] BYTE* pbPcrData, + [in, ptr] TSS_PCR_EVENT* pEventInfo, + [out] UINT32* pulPcrValueLength, + [out, size_is(, *pulPcrValueLength)] BYTE** ppbPcrValue); + + [helpstring("method PcrRead")] + HRESULT PcrRead([in] UINT32 ulPcrIndex, + [out] UINT32* pulPcrValueLength, + [out, size_is(, *pulPcrValueLength)] BYTE** ppbPcrValue); + + [helpstring("method DirWrite")] + HRESULT DirWrite([in] UINT32 ulDirIndex, + [in] UINT32 ulDirDataLength, + [in, size_is(ulDirDataLength)] BYTE* pbDirData); + + [helpstring("method DirRead")] + HRESULT DirRead([in] UINT32 ulDirIndex, + [out] UINT32* pulDirDataLength, + [out, size_is(, *pulDirDataLength)] BYTE** pbDirData); + + [helpstring("method Quote")] + HRESULT Quote([in] ITCPAKey* pIdentKey, + [in] ITCPAPcrs* pPcrComposite, + [in, out, ptr] TSS_VALIDATION* pValidation); + }; + + //ITCPAIdentityCreation Interface + [ + object, + uuid(FBCD9C23-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAIdentityCreation Interface"), + pointer_default(unique) + ] + interface ITCPAIdentityCreation: IUnknown + { + [helpstring("method CollateIdentityRequest")] + HRESULT CollateIdentityRequest([in] ITCPAKey* pKeySRK, + [in] ITCPAKey* pCAPubKey, + [in] UINT32 ulIdentityLabelLength, + [in, size_is(ulIdentityLabelLength)] BYTE* rgbIdentityLabelData, + [in] ITCPAKey* pIdentityKey, + [in] TSS_ALGORITHM_ID algID, + [out] UINT32* pulTCPAIdentityReqLength, + [out, size_is(, *pulTCPAIdentityReqLength)] BYTE** prgbTCPAIdentityReq); + + [helpstring("method ActivateIdentity")] + HRESULT ActivateIdentity([in] ITCPAKey* pIdentityKey, + [in] UINT32 ulAsymCAContentsBlobLength, + [in, size_is(ulAsymCAContentsBlobLength)] BYTE* rgbAsymCAContentsBlob, + [in] UINT32 ulSymCAAttestationBlobLength, + [in, size_is(ulSymCAAttestationBlobLength)] BYTE* rgbSymCAAttestationBlob, + [out] UINT32* pulCredentialLength, + [out, size_is(, *pulCredentialLength)] BYTE** prgbCredential); + + }; // end of ITCPAIdentityCreation + + //ITCPAMaintenance Interface + [ + local, + object, + uuid(FBCD9C25-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAMaintenance Interface"), + pointer_default(unique) + ] + interface ITCPAMaintenance: IUnknown + { + +// HRESULT CreateMaintenanceArchive +// HRESULT KillMaintenanceFeature +// HRESULT LoadMaintenancePubKey +// HRESULT CheckMaintenancePubKey + + }; + + //ITCPATpm Interface + [ + uuid(FBCD9C21-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPATpm Interface"), + pointer_default(unique) + ] + interface ITCPATpm : IUnknown + { + [helpstring("method GetRandom")] + HRESULT GetRandom([in] UINT32 ulRandomDataLength, + [out, size_is(, ulRandomDataLength)] BYTE** ppbData); + + [helpstring("method StirRandom")] + HRESULT StirRandom([in] UINT32 ulEntropyDataLength, + [in, size_is(ulEntropyDataLength)] BYTE* pbData); + + [helpstring("method GetCapability")] + HRESULT GetCapability([in] TSS_FLAG CapArea, + [in] UINT32 ulSubCapLength, + [in, ptr, size_is(ulSubCapLength)] BYTE* pbSubCap, + [out] UINT32* pulRespDataLength, + [out, size_is(, *pulRespDataLength)] BYTE** ppbRespData); + + [helpstring("method GetCapabilitySigned")] + HRESULT GetCapabilitySigned([in] ITCPAKey* pKey, + [in] TSS_FLAG CapArea, + [in] UINT32 ulSubCapLength, + [in, ptr, size_is(ulSubCapLength)] BYTE* pbSubCap, + [in, out, ptr] TSS_VALIDATION *pValidation, + [out] UINT32* pulRespDataLength, + [out, size_is(, *pulRespDataLength)] BYTE** ppbRespData); + +// HRESULT GetEvent +// HRESULT GetEvents +// HRESULT GetEventLog + + }; + + //ITCPAPersistentStorage Interface + [ + local, + object, + uuid(FBCD9C1C-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAPersistentStorage Interface"), + pointer_default(unique) + ] + interface ITCPAPersistentStorage: IUnknown + { + [helpstring("method LoadKeyByUUID")] + HRESULT LoadKeyByUUID([in] TSS_FLAG persistentStorageType, + [in] TSS_UUID uuidData, + [out] ITCPAKey** ppKey); + + [helpstring("method RegisterKey")] + HRESULT RegisterKey([in] ITCPAKey* pKey, + [in] TSS_FLAG persistentStorageType, + [in] TSS_UUID uuidKey, + [in] TSS_FLAG persistentStorageTypeParent, + [in] TSS_UUID uuidParentKey); + + [helpstring("method UnregisterKey")] + HRESULT UnregisterKey([in] TSS_FLAG persistentStorageType, + [in] TSS_UUID uuidKey, + [out] ITCPAKey** ppKey); + + [helpstring("method DeleteKeyByUUID")] + HRESULT DeleteKeyByUUID([in] TSS_FLAG persistentStorageType, + [in] TSS_UUID uuidData); + + [helpstring("method GetKeyByUUID")] + HRESULT GetKeyByUUID([in] TSS_FLAG persistentStorageType, + [in] TSS_UUID uuidData, + [out] ITCPAKey** ppKey); + + [helpstring("method GetKeyByPublicInfo")] + HRESULT GetKeyByPublicInfo([in] TSS_FLAG persistentStorageType, + [in] TSS_ALGORITHM_ID ulAlgId, + [in] UINT32 ulPublicInfoLength, + [in, size_is(ulPublicInfoLength)] BYTE* pbPublicInfo, + [out] ITCPAKey** ppKey); + + [helpstring("method GetRegisteredKeysByUUID")] + HRESULT GetRegisteredKeysByUUID([in] TSS_FLAG ulPersistentStorageType, + [in] LPOLESTR wszKeyGuid, + [out] UINT32* pulKeyHierarchySize, + [out, size_is(, *pulKeyHierarchySize)] TSS_KM_KEYINFO** ppKeyHierarchy); + } + + //ITCPAContext Interface + [ + local, + object, + uuid(FBCD9C1B-72CB-47BB-99DD-2317551491DE), + + helpstring("ITCPAContext Interface"), + pointer_default(unique) + ] + interface ITCPAContext : IUnknown + { + [helpstring("method Connect")] + HRESULT Connect([in, ptr] LPOLESTR wszRemoteMachine); + + [helpstring("method CreateObject")] + HRESULT CreateObject([in] UINT32 ulObjectType, + [in] UINT32 ulInitFlags, + [out] IUnknown** ppUnkObject); + +// HRESULT CloseObject + + + [helpstring("method LoadKeyByBlob")] + HRESULT LoadKeyByBlob([in] ITCPAKey* pUnwrappingKey, + [in] UINT32 ulBlobLength, + [in, size_is(ulBlobLength)] BYTE* pbBlobData, + [out] ITCPAKey** ppKey); + + [helpstring("method GetTPMObject")] + HRESULT GetTPMObject([out] ITCPATpm** ppTPMObject); + + [helpstring("method GetDefaultPolicy")] + HRESULT GetDefaultPolicy([out] ITCPAPolicy** ppPolicyObject); + + [helpstring("method GetCapability")] + HRESULT GetCapability([in] TSS_FLAG ulCapArea, + [in] UINT32 ulSubCapLength, + [in, ptr, size_is(ulSubCapLength)] BYTE* pbSubCap, + [out] UINT32* pulRespDataLength, + [out, size_is(, *pulRespDataLength)] BYTE** ppbRespData); + }; + + //ITCPANonVolatileStorage Interface + [ + object, + uuid(4730c51b-8998-43f6-993b-80befea1d404), + + helpstring("ITCPANonVolatileStorage Interface"), + pointer_default(unique) + ] + interface ITCPANonVolatileStorage : IUnknown + { + [helpstring("method DefineSpace")] + HRESULT DefineSpace([in] ITCPAPcrs* pPCRsRead, + [in] ITCPAPcrs* pPCRsWrite); + + [helpstring("method ReleaseSpace")] + HRESULT ReleaseSpace(); + + [helpstring("method WriteValue")] + HRESULT WriteValue([in] UINT32 ulOffset, + [in] UINT32 ulDataLength, + [in, size_is(ulDataLength)] BYTE* rgbData); + + [helpstring("method ReadValue")] + HRESULT ReadValue([in] UINT32 ulOffset, + [in, out] UINT32* pulDataLength, + [out, size_is(, *pulDataLength)] BYTE** prgbData); + }; + + //ITCPATransport Interface + [ + object, + uuid(4730c51d-8998-43f6-993b-80befea1d404), + + helpstring("ITCPATransport Interface"), + pointer_default(unique) + ] + interface ITCPATransport : IUnknown + { + [helpstring("method SetTransEncryptionKey")] + HRESULT SetTransEncryptionKey([in] ITCPAKey* pKey); + + [helpstring("method CloseSignTransport")] + HRESULT CloseSignTransport([in] ITCPAKey* pSigningKey, + [in, out, ptr] TSS_VALIDATION* pValidationData); + }; + +[ + uuid(FBCD9C19-72CB-47BB-99DD-2317551491DE), + version(1.0), + helpstring("TSS Service Provider 1.0 Type Library") +] +library TSPLib +{ + importlib("stdole32.tlb"); + importlib("stdole2.tlb"); + + interface ITCPAContext; + //TCPAContext Class + [ + uuid(FBCD9C1A-72CB-47BB-99DD-2317551491DE), + helpstring("TCPAContext Class") + ] + coclass TCPAContext + { + [default] interface ITCPAContext; + interface ITCPAAttrib; + interface ITCPAPersistentStorage; + }; + + //TCPAContext2 Class extensions for TSS v1.2 + [ + uuid(4730C51E-8998-43F6-993B-80BEFEA1D404), + helpstring("TCPAContext2 Class") + ] + coclass TCPAContext2 + { + [default] interface ITCPAContext; + interface ITCPAAttrib; + interface ITCPAPersistentStorage; + interface ITCPATransport; + }; + + // _ITCPACallback Interface for TCPAPolicy Class + [ + uuid(FBCD9C1F-72CB-47BB-99DD-2317551491DE), + helpstring("_ITCPACallback Interface"), + pointer_default(unique) + ] + interface _ITCPACallback : IUnknown + { + [helpstring("method Tspicb_CallbackHMACAuth"), callback] + HRESULT Tspicb_CallbackHMACAuth([in] UINT32 PulAppData, + [in] IUnknown *PpAuthorizedObject, + [in] BOOL PfReturnOrVerify, + [in] UINT32 PulPendingFunction, + [in] BOOL PfContinueUse, + [in] UINT32 PulSizeNonces, + [in, size_is(PulSizeNonces)] BYTE* PrgbNonceEven, + [in, size_is(PulSizeNonces)] BYTE* PrgbNonceOdd, + [in, size_is(PulSizeNonces)] BYTE* PrgbNonceEvenOSAP, + [in, size_is(PulSizeNonces)] BYTE* PrgbNonceOddOSAP, + [in] UINT32 PulSizeDigestHmac, + [in, size_is(PulSizeDigestHmac)] BYTE* PrgbParamDigest, + [in, out, size_is(PulSizeDigestHmac)] BYTE* PrgbHmacData); + + [helpstring("method Tspicb_CallbackXorEnc"), callback] + HRESULT Tspicb_CallbackXorEnc([in] UINT32 PulAppData, + [in] IUnknown *PpOSAPObject, + [in] IUnknown *PpObject, + [in] BOOL PfPurposeSecret, + [in] UINT32 PulSizeNonces, + [in, size_is(PulSizeNonces)] BYTE* PrgbNonceEven, + [in, size_is(PulSizeNonces)] BYTE* PrgbNonceOdd, + [in, size_is(PulSizeNonces)] BYTE* PrgbNonceEvenOSAP, + [in, size_is(PulSizeNonces)] BYTE* PrgbNonceOddOSAP, + [in] UINT32 PulSizeEncAuth, + [out, size_is(PulSizeEncAuth)] BYTE* PrgbEncAuthUsage, + [out, size_is(PulSizeEncAuth)] BYTE* PrgbEncAuthMigration); + + [helpstring("method Tspicb_CallbackTakeOwnership"), callback] + HRESULT Tspicb_CallbackTakeOwnership([in] UINT32 PulAppData, + [in] IUnknown *PpObject, + [in] IUnknown *PpObjectPubKey, + [in] UINT32 PulSizeEncAuth, + [out, size_is(PulSizeEncAuth)] BYTE* PrgbEncAuth ); + + [helpstring("method Tspicb_CallbackChangeAuthAsym"), callback] + HRESULT Tspicb_CallbackChangeAuthAsym([in] UINT32 PulAppData, + [in] IUnknown *PpObject, + [in] IUnknown *PpObjectPubKey, + [in] UINT32 PulSizeEncAuth, + [in] UINT32 PulSizeAuthLink, + [out, size_is(PulSizeEncAuth)] BYTE* PrgbEncAuth, + [out, size_is(PulSizeAuthLink)] BYTE* PrgbAuthLink); + }; // end of _ITCPACallback + + //TCPAPolicy Class + [ + uuid(FBCD9C1D-72CB-47BB-99DD-2317551491DE), + helpstring("TCPAPolicy Class"), + noncreatable + ] + + coclass TCPAPolicy + { + [default] interface ITCPAPolicy; + interface ITCPAAttrib; + [default, source] interface _ITCPACallback; + }; + + //TCPATpm Class + [ + uuid(FBCD9C20-72CB-47BB-99DD-2317551491DE), + helpstring("TCPATpm Class"), + noncreatable + ] + coclass TCPATpm + { + [default] interface ITCPATpm; + interface ITCPAAttrib; + interface ITCPAAuth; + interface ITCPAIntegrity; + interface ITCPAAdministration; + interface ITCPAIdentityCreation; + interface ITCPAMaintenance; + }; + + //TCPAKey Class + [ + uuid(FBCD9C26-72CB-47BB-99DD-2317551491DE), + helpstring("TCPAKey Class"), + noncreatable + ] + coclass TCPAKey + { + [default] interface ITCPAKey; + interface ITCPAAttrib; + interface ITCPAAuth; + interface ITCPAMigration; + }; + + //TCPAEncData Class + [ + uuid(FBCD9C28-72CB-47BB-99DD-2317551491DE), + helpstring("TCPAEncData Class"), + noncreatable + ] + coclass TCPAEncData + { + [default] interface ITCPAEncData; + interface ITCPAAttrib; + interface ITCPAAuth; + }; + + //TCPAHash Class + [ + uuid(FBCD9C2A-72CB-47BB-99DD-2317551491DE), + helpstring("TCPAHash Class"), + noncreatable + ] + coclass TCPAHash + { + [default] interface ITCPAHash; + interface ITCPAAttrib; + }; + + //TCPAPcrs Class + [ + uuid(FBCD9C2C-72CB-47BB-99DD-2317551491DE), + helpstring("TCPAPcrs Class"), + noncreatable + ] + coclass TCPAPcrs + { + [default] interface ITCPAPcrs; + }; + + //TCPANonVolatileStorage Class + [ + uuid(4730c51c-8998-43f6-993b-80befea1d404), + helpstring("TCPANonVolatileStorage Class"), + noncreatable + ] + coclass TCPANonVolatileStorage + { + [default] interface ITCPANonVolatileStorage; + interface ITCPAAttrib; + interface ITCPAAuth; + }; + +}; // end of library TSPLib diff --git a/crypto/external/cpl/trousers/dist/src/include/tss/tpm.h b/crypto/external/cpl/trousers/dist/src/include/tss/tpm.h index a9057f37e32..fc783a71bd9 100644 --- a/crypto/external/cpl/trousers/dist/src/include/tss/tpm.h +++ b/crypto/external/cpl/trousers/dist/src/include/tss/tpm.h @@ -1181,6 +1181,10 @@ typedef UINT32 TPM_NV_INDEX; #define TPM_NV_INDEX_LOCK ((UINT32)0xffffffff) #define TPM_NV_INDEX0 ((UINT32)0x00000000) #define TPM_NV_INDEX_DIR ((UINT32)0x10000001) +// The reserved index values MAY have their D bit set by the +// TPM vendor to permanently reserve the index in the TPM. +// e.g. the typical EK certificate would have the D bit set +// so the actual address would be 1000f000 #define TPM_NV_INDEX_EKCert ((UINT32)0x0000f000) #define TPM_NV_INDEX_TPM_CC ((UINT32)0x0000f001) #define TPM_NV_INDEX_PlatformCert ((UINT32)0x0000f002) diff --git a/crypto/external/cpl/trousers/dist/src/tcs/Makefile.am b/crypto/external/cpl/trousers/dist/src/tcs/Makefile.am index 8540a9afbc5..ce48de84c6a 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/Makefile.am +++ b/crypto/external/cpl/trousers/dist/src/tcs/Makefile.am @@ -2,7 +2,7 @@ noinst_LIBRARIES=libtcs.a CFLAGS+=-I${top_srcdir}/src/include libtcs_a_LIBADD=${top_builddir}/src/tddl/libtddl.a -libtcs_a_CFLAGS=-DAPPID=\"TCSD\ TCS\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\" +libtcs_a_CFLAGS=-DAPPID=\"TCSD\ TCS\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\" -fPIE -DPIE libtcs_a_SOURCES=log.c \ tcs_caps.c \ diff --git a/crypto/external/cpl/trousers/dist/src/tcs/Makefile.in b/crypto/external/cpl/trousers/dist/src/tcs/Makefile.in index 15777eece7c..bf1a6f2a00b 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/Makefile.in +++ b/crypto/external/cpl/trousers/dist/src/tcs/Makefile.in @@ -103,7 +103,7 @@ target_triplet = @target@ subdir = src/tcs DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -143,112 +143,114 @@ am__libtcs_a_SOURCES_DIST = log.c tcs_caps.c tcs_req_mgr.c \ tcsi_delegate.c rpc/@RPC@/rpc_delegate.c tcsi_quote2.c \ tcs_quote2.c rpc/@RPC@/rpc_quote2.c tcsi_cmk.c \ rpc/@RPC@/rpc_cmk.c +am__dirstamp = $(am__leading_dot)dirstamp @TSS_BUILD_TRANSPORT_TRUE@am__objects_1 = \ @TSS_BUILD_TRANSPORT_TRUE@ libtcs_a-tcsi_transport.$(OBJEXT) \ -@TSS_BUILD_TRANSPORT_TRUE@ libtcs_a-rpc_transport.$(OBJEXT) +@TSS_BUILD_TRANSPORT_TRUE@ rpc/@RPC@/libtcs_a-rpc_transport.$(OBJEXT) @TSS_BUILD_TICK_TRUE@am__objects_2 = libtcs_a-tcsi_tick.$(OBJEXT) \ -@TSS_BUILD_TICK_TRUE@ libtcs_a-rpc_tick.$(OBJEXT) +@TSS_BUILD_TICK_TRUE@ rpc/@RPC@/libtcs_a-rpc_tick.$(OBJEXT) @TSS_BUILD_COUNTER_TRUE@am__objects_3 = \ @TSS_BUILD_COUNTER_TRUE@ libtcs_a-tcsi_counter.$(OBJEXT) \ @TSS_BUILD_COUNTER_TRUE@ libtcs_a-tcs_counter.$(OBJEXT) \ -@TSS_BUILD_COUNTER_TRUE@ libtcs_a-rpc_counter.$(OBJEXT) +@TSS_BUILD_COUNTER_TRUE@ rpc/@RPC@/libtcs_a-rpc_counter.$(OBJEXT) @TSS_BUILD_RANDOM_TRUE@am__objects_4 = libtcs_a-tcsi_random.$(OBJEXT) \ -@TSS_BUILD_RANDOM_TRUE@ libtcs_a-rpc_random.$(OBJEXT) +@TSS_BUILD_RANDOM_TRUE@ rpc/@RPC@/libtcs_a-rpc_random.$(OBJEXT) @TSS_BUILD_CAPS_TRUE@am__objects_5 = libtcs_a-tcsi_caps.$(OBJEXT) \ -@TSS_BUILD_CAPS_TRUE@ libtcs_a-rpc_caps.$(OBJEXT) +@TSS_BUILD_CAPS_TRUE@ rpc/@RPC@/libtcs_a-rpc_caps.$(OBJEXT) @TSS_BUILD_DIR_TRUE@am__objects_6 = libtcs_a-tcsi_dir.$(OBJEXT) \ -@TSS_BUILD_DIR_TRUE@ libtcs_a-rpc_dir.$(OBJEXT) +@TSS_BUILD_DIR_TRUE@ rpc/@RPC@/libtcs_a-rpc_dir.$(OBJEXT) @TSS_BUILD_PCR_EVENTS_TRUE@am__objects_7 = \ @TSS_BUILD_PCR_EVENTS_TRUE@ libtcs_a-tcsi_evlog.$(OBJEXT) \ @TSS_BUILD_PCR_EVENTS_TRUE@ libtcs_a-tcs_evlog_biosem.$(OBJEXT) \ @TSS_BUILD_PCR_EVENTS_TRUE@ libtcs_a-tcs_evlog_imaem.$(OBJEXT) \ @TSS_BUILD_PCR_EVENTS_TRUE@ libtcs_a-tcs_evlog.$(OBJEXT) \ -@TSS_BUILD_PCR_EVENTS_TRUE@ libtcs_a-rpc_evlog.$(OBJEXT) +@TSS_BUILD_PCR_EVENTS_TRUE@ rpc/@RPC@/libtcs_a-rpc_evlog.$(OBJEXT) @TSS_BUILD_SIGN_TRUE@am__objects_8 = libtcs_a-tcsi_sign.$(OBJEXT) \ -@TSS_BUILD_SIGN_TRUE@ libtcs_a-rpc_sign.$(OBJEXT) +@TSS_BUILD_SIGN_TRUE@ rpc/@RPC@/libtcs_a-rpc_sign.$(OBJEXT) @TSS_BUILD_QUOTE_TRUE@am__objects_9 = libtcs_a-tcsi_quote.$(OBJEXT) \ @TSS_BUILD_QUOTE_TRUE@ libtcs_a-tcs_quote.$(OBJEXT) \ -@TSS_BUILD_QUOTE_TRUE@ libtcs_a-rpc_quote.$(OBJEXT) +@TSS_BUILD_QUOTE_TRUE@ rpc/@RPC@/libtcs_a-rpc_quote.$(OBJEXT) @TSS_BUILD_SEAL_TRUE@am__objects_10 = libtcs_a-tcsi_seal.$(OBJEXT) \ @TSS_BUILD_SEAL_TRUE@ libtcs_a-tcs_seal.$(OBJEXT) \ -@TSS_BUILD_SEAL_TRUE@ libtcs_a-rpc_seal.$(OBJEXT) +@TSS_BUILD_SEAL_TRUE@ rpc/@RPC@/libtcs_a-rpc_seal.$(OBJEXT) @TSS_BUILD_CHANGEAUTH_TRUE@am__objects_11 = \ @TSS_BUILD_CHANGEAUTH_TRUE@ libtcs_a-tcsi_changeauth.$(OBJEXT) \ -@TSS_BUILD_CHANGEAUTH_TRUE@ libtcs_a-rpc_changeauth.$(OBJEXT) +@TSS_BUILD_CHANGEAUTH_TRUE@ rpc/@RPC@/libtcs_a-rpc_changeauth.$(OBJEXT) @TSS_BUILD_BIND_TRUE@am__objects_12 = libtcs_a-tcsi_bind.$(OBJEXT) \ -@TSS_BUILD_BIND_TRUE@ libtcs_a-rpc_bind.$(OBJEXT) +@TSS_BUILD_BIND_TRUE@ rpc/@RPC@/libtcs_a-rpc_bind.$(OBJEXT) @TSS_BUILD_OWN_TRUE@am__objects_13 = libtcs_a-tcsi_own.$(OBJEXT) \ -@TSS_BUILD_OWN_TRUE@ libtcs_a-rpc_own.$(OBJEXT) -@TSS_BUILD_PS_TRUE@am__objects_14 = libtcs_a-ps_utils.$(OBJEXT) \ -@TSS_BUILD_PS_TRUE@ libtcs_a-tcsps.$(OBJEXT) \ +@TSS_BUILD_OWN_TRUE@ rpc/@RPC@/libtcs_a-rpc_own.$(OBJEXT) +@TSS_BUILD_PS_TRUE@am__objects_14 = ps/libtcs_a-ps_utils.$(OBJEXT) \ +@TSS_BUILD_PS_TRUE@ ps/libtcs_a-tcsps.$(OBJEXT) \ @TSS_BUILD_PS_TRUE@ libtcs_a-tcsi_ps.$(OBJEXT) \ @TSS_BUILD_PS_TRUE@ libtcs_a-tcs_ps.$(OBJEXT) \ @TSS_BUILD_PS_TRUE@ libtcs_a-tcs_key_ps.$(OBJEXT) \ -@TSS_BUILD_PS_TRUE@ libtcs_a-rpc_ps.$(OBJEXT) +@TSS_BUILD_PS_TRUE@ rpc/@RPC@/libtcs_a-rpc_ps.$(OBJEXT) @TSS_BUILD_ADMIN_TRUE@am__objects_15 = libtcs_a-tcsi_admin.$(OBJEXT) \ -@TSS_BUILD_ADMIN_TRUE@ libtcs_a-rpc_admin.$(OBJEXT) +@TSS_BUILD_ADMIN_TRUE@ rpc/@RPC@/libtcs_a-rpc_admin.$(OBJEXT) @TSS_BUILD_AIK_TRUE@am__objects_16 = libtcs_a-tcsi_aik.$(OBJEXT) \ @TSS_BUILD_AIK_TRUE@ libtcs_a-tcs_aik.$(OBJEXT) \ -@TSS_BUILD_AIK_TRUE@ libtcs_a-rpc_aik.$(OBJEXT) +@TSS_BUILD_AIK_TRUE@ rpc/@RPC@/libtcs_a-rpc_aik.$(OBJEXT) @TSS_BUILD_EK_TRUE@am__objects_17 = libtcs_a-tcsi_ek.$(OBJEXT) \ -@TSS_BUILD_EK_TRUE@ libtcs_a-rpc_ek.$(OBJEXT) +@TSS_BUILD_EK_TRUE@ rpc/@RPC@/libtcs_a-rpc_ek.$(OBJEXT) @TSS_BUILD_CERTIFY_TRUE@am__objects_18 = \ @TSS_BUILD_CERTIFY_TRUE@ libtcs_a-tcsi_certify.$(OBJEXT) \ -@TSS_BUILD_CERTIFY_TRUE@ libtcs_a-rpc_certify.$(OBJEXT) +@TSS_BUILD_CERTIFY_TRUE@ rpc/@RPC@/libtcs_a-rpc_certify.$(OBJEXT) @TSS_BUILD_KEY_TRUE@am__objects_19 = libtcs_a-tcsi_key.$(OBJEXT) \ @TSS_BUILD_KEY_TRUE@ libtcs_a-tcs_key.$(OBJEXT) \ @TSS_BUILD_KEY_TRUE@ libtcs_a-tcs_key_mem_cache.$(OBJEXT) \ @TSS_BUILD_KEY_TRUE@ libtcs_a-tcs_context_key.$(OBJEXT) \ -@TSS_BUILD_KEY_TRUE@ libtcs_a-rpc_key.$(OBJEXT) \ -@TSS_BUILD_KEY_TRUE@ libtcs_a-crypto.$(OBJEXT) +@TSS_BUILD_KEY_TRUE@ rpc/@RPC@/libtcs_a-rpc_key.$(OBJEXT) \ +@TSS_BUILD_KEY_TRUE@ crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.$(OBJEXT) @TSS_BUILD_MAINT_TRUE@am__objects_20 = libtcs_a-tcsi_maint.$(OBJEXT) \ -@TSS_BUILD_MAINT_TRUE@ libtcs_a-rpc_maint.$(OBJEXT) +@TSS_BUILD_MAINT_TRUE@ rpc/@RPC@/libtcs_a-rpc_maint.$(OBJEXT) @TSS_BUILD_MIGRATION_TRUE@am__objects_21 = \ @TSS_BUILD_MIGRATION_TRUE@ libtcs_a-tcsi_migration.$(OBJEXT) \ @TSS_BUILD_MIGRATION_TRUE@ libtcs_a-tcs_migration.$(OBJEXT) \ -@TSS_BUILD_MIGRATION_TRUE@ libtcs_a-rpc_migration.$(OBJEXT) +@TSS_BUILD_MIGRATION_TRUE@ rpc/@RPC@/libtcs_a-rpc_migration.$(OBJEXT) @TSS_BUILD_PCR_EXTEND_TRUE@am__objects_22 = \ @TSS_BUILD_PCR_EXTEND_TRUE@ libtcs_a-tcsi_pcr.$(OBJEXT) \ -@TSS_BUILD_PCR_EXTEND_TRUE@ libtcs_a-rpc_pcr_extend.$(OBJEXT) +@TSS_BUILD_PCR_EXTEND_TRUE@ rpc/@RPC@/libtcs_a-rpc_pcr_extend.$(OBJEXT) @TSS_BUILD_SELFTEST_TRUE@am__objects_23 = \ @TSS_BUILD_SELFTEST_TRUE@ libtcs_a-tcsi_selftest.$(OBJEXT) \ -@TSS_BUILD_SELFTEST_TRUE@ libtcs_a-rpc_selftest.$(OBJEXT) +@TSS_BUILD_SELFTEST_TRUE@ rpc/@RPC@/libtcs_a-rpc_selftest.$(OBJEXT) @TSS_BUILD_DAA_TRUE@am__objects_24 = libtcs_a-tcsi_daa.$(OBJEXT) \ -@TSS_BUILD_DAA_TRUE@ libtcs_a-rpc_daa.$(OBJEXT) +@TSS_BUILD_DAA_TRUE@ rpc/@RPC@/libtcs_a-rpc_daa.$(OBJEXT) @TSS_BUILD_NV_TRUE@am__objects_25 = libtcs_a-tcsi_nv.$(OBJEXT) \ -@TSS_BUILD_NV_TRUE@ libtcs_a-rpc_nv.$(OBJEXT) +@TSS_BUILD_NV_TRUE@ rpc/@RPC@/libtcs_a-rpc_nv.$(OBJEXT) @TSS_BUILD_AUDIT_TRUE@am__objects_26 = libtcs_a-tcsi_audit.$(OBJEXT) \ -@TSS_BUILD_AUDIT_TRUE@ libtcs_a-rpc_audit.$(OBJEXT) +@TSS_BUILD_AUDIT_TRUE@ rpc/@RPC@/libtcs_a-rpc_audit.$(OBJEXT) @TSS_BUILD_TSS12_TRUE@am__objects_27 = libtcs_a-tcsi_oper.$(OBJEXT) \ -@TSS_BUILD_TSS12_TRUE@ libtcs_a-rpc_oper.$(OBJEXT) +@TSS_BUILD_TSS12_TRUE@ rpc/@RPC@/libtcs_a-rpc_oper.$(OBJEXT) @TSS_BUILD_DELEGATION_TRUE@am__objects_28 = \ @TSS_BUILD_DELEGATION_TRUE@ libtcs_a-tcsi_delegate.$(OBJEXT) \ -@TSS_BUILD_DELEGATION_TRUE@ libtcs_a-rpc_delegate.$(OBJEXT) +@TSS_BUILD_DELEGATION_TRUE@ rpc/@RPC@/libtcs_a-rpc_delegate.$(OBJEXT) @TSS_BUILD_QUOTE2_TRUE@am__objects_29 = \ @TSS_BUILD_QUOTE2_TRUE@ libtcs_a-tcsi_quote2.$(OBJEXT) \ @TSS_BUILD_QUOTE2_TRUE@ libtcs_a-tcs_quote2.$(OBJEXT) \ -@TSS_BUILD_QUOTE2_TRUE@ libtcs_a-rpc_quote2.$(OBJEXT) +@TSS_BUILD_QUOTE2_TRUE@ rpc/@RPC@/libtcs_a-rpc_quote2.$(OBJEXT) @TSS_BUILD_CMK_TRUE@am__objects_30 = libtcs_a-tcsi_cmk.$(OBJEXT) \ -@TSS_BUILD_CMK_TRUE@ libtcs_a-rpc_cmk.$(OBJEXT) +@TSS_BUILD_CMK_TRUE@ rpc/@RPC@/libtcs_a-rpc_cmk.$(OBJEXT) am_libtcs_a_OBJECTS = libtcs_a-log.$(OBJEXT) \ libtcs_a-tcs_caps.$(OBJEXT) libtcs_a-tcs_req_mgr.$(OBJEXT) \ libtcs_a-tcs_context.$(OBJEXT) libtcs_a-tcsi_context.$(OBJEXT) \ - libtcs_a-tcs_utils.$(OBJEXT) libtcs_a-rpc.$(OBJEXT) \ - libtcs_a-rpc_context.$(OBJEXT) \ + libtcs_a-tcs_utils.$(OBJEXT) rpc/@RPC@/libtcs_a-rpc.$(OBJEXT) \ + rpc/@RPC@/libtcs_a-rpc_context.$(OBJEXT) \ libtcs_a-tcsi_caps_tpm.$(OBJEXT) \ - libtcs_a-rpc_caps_tpm.$(OBJEXT) \ + rpc/@RPC@/libtcs_a-rpc_caps_tpm.$(OBJEXT) \ libtcs_a-tcs_auth_mgr.$(OBJEXT) libtcs_a-tcsi_auth.$(OBJEXT) \ - libtcs_a-rpc_auth.$(OBJEXT) libtcs_a-tcs_pbg.$(OBJEXT) \ - $(am__objects_1) $(am__objects_2) $(am__objects_3) \ - $(am__objects_4) $(am__objects_5) $(am__objects_6) \ - $(am__objects_7) $(am__objects_8) $(am__objects_9) \ - $(am__objects_10) $(am__objects_11) $(am__objects_12) \ - $(am__objects_13) $(am__objects_14) $(am__objects_15) \ - $(am__objects_16) $(am__objects_17) $(am__objects_18) \ - $(am__objects_19) $(am__objects_20) $(am__objects_21) \ - $(am__objects_22) $(am__objects_23) $(am__objects_24) \ - $(am__objects_25) $(am__objects_26) $(am__objects_27) \ - $(am__objects_28) $(am__objects_29) $(am__objects_30) + rpc/@RPC@/libtcs_a-rpc_auth.$(OBJEXT) \ + libtcs_a-tcs_pbg.$(OBJEXT) $(am__objects_1) $(am__objects_2) \ + $(am__objects_3) $(am__objects_4) $(am__objects_5) \ + $(am__objects_6) $(am__objects_7) $(am__objects_8) \ + $(am__objects_9) $(am__objects_10) $(am__objects_11) \ + $(am__objects_12) $(am__objects_13) $(am__objects_14) \ + $(am__objects_15) $(am__objects_16) $(am__objects_17) \ + $(am__objects_18) $(am__objects_19) $(am__objects_20) \ + $(am__objects_21) $(am__objects_22) $(am__objects_23) \ + $(am__objects_24) $(am__objects_25) $(am__objects_26) \ + $(am__objects_27) $(am__objects_28) $(am__objects_29) \ + $(am__objects_30) libtcs_a_OBJECTS = $(am_libtcs_a_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp @@ -323,12 +325,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -336,6 +335,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -397,7 +397,7 @@ noinst_LIBRARIES = libtcs.a libtcs_a_LIBADD = ${top_builddir}/src/tddl/libtddl.a libtcs_a_CFLAGS = -DAPPID=\"TCSD\ TCS\" \ -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\" \ - $(am__append_2) $(am__append_4) $(am__append_6) \ + -fPIE -DPIE $(am__append_2) $(am__append_4) $(am__append_6) \ $(am__append_8) $(am__append_10) $(am__append_12) \ $(am__append_14) $(am__append_16) $(am__append_18) \ $(am__append_20) $(am__append_22) $(am__append_24) \ @@ -460,6 +460,99 @@ $(am__aclocal_m4_deps): clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +rpc/@RPC@/$(am__dirstamp): + @$(MKDIR_P) rpc/@RPC@ + @: > rpc/@RPC@/$(am__dirstamp) +rpc/@RPC@/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) rpc/@RPC@/$(DEPDIR) + @: > rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_context.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_caps_tpm.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_auth.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_transport.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_tick.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_counter.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_random.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_caps.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_dir.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_evlog.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_sign.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_quote.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_seal.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_changeauth.$(OBJEXT): \ + rpc/@RPC@/$(am__dirstamp) rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_bind.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_own.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +ps/$(am__dirstamp): + @$(MKDIR_P) ps + @: > ps/$(am__dirstamp) +ps/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ps/$(DEPDIR) + @: > ps/$(DEPDIR)/$(am__dirstamp) +ps/libtcs_a-ps_utils.$(OBJEXT): ps/$(am__dirstamp) \ + ps/$(DEPDIR)/$(am__dirstamp) +ps/libtcs_a-tcsps.$(OBJEXT): ps/$(am__dirstamp) \ + ps/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_ps.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_admin.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_aik.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_ek.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_certify.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_key.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +crypto/@CRYPTO_PACKAGE@/$(am__dirstamp): + @$(MKDIR_P) crypto/@CRYPTO_PACKAGE@ + @: > crypto/@CRYPTO_PACKAGE@/$(am__dirstamp) +crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) crypto/@CRYPTO_PACKAGE@/$(DEPDIR) + @: > crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp) +crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.$(OBJEXT): \ + crypto/@CRYPTO_PACKAGE@/$(am__dirstamp) \ + crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_maint.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_migration.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_pcr_extend.$(OBJEXT): \ + rpc/@RPC@/$(am__dirstamp) rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_selftest.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_daa.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_nv.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_audit.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_oper.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_delegate.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_quote2.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtcs_a-rpc_cmk.$(OBJEXT): rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) libtcs.a: $(libtcs_a_OBJECTS) $(libtcs_a_DEPENDENCIES) -rm -f libtcs.a $(libtcs_a_AR) libtcs.a $(libtcs_a_OBJECTS) $(libtcs_a_LIBADD) @@ -467,47 +560,48 @@ libtcs.a: $(libtcs_a_OBJECTS) $(libtcs_a_DEPENDENCIES) mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.$(OBJEXT) + -rm -f ps/libtcs_a-ps_utils.$(OBJEXT) + -rm -f ps/libtcs_a-tcsps.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_admin.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_aik.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_audit.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_auth.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_bind.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_caps.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_caps_tpm.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_certify.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_changeauth.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_cmk.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_context.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_counter.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_daa.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_delegate.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_dir.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_ek.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_evlog.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_key.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_maint.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_migration.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_nv.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_oper.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_own.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_pcr_extend.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_ps.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_quote.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_quote2.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_random.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_seal.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_selftest.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_sign.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_tick.$(OBJEXT) + -rm -f rpc/@RPC@/libtcs_a-rpc_transport.$(OBJEXT) distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-crypto.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-log.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-ps_utils.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_admin.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_aik.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_audit.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_auth.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_bind.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_caps.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_caps_tpm.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_certify.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_changeauth.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_cmk.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_context.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_counter.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_daa.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_delegate.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_dir.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_ek.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_evlog.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_key.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_maint.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_migration.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_nv.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_oper.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_own.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_pcr_extend.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_ps.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_quote.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_quote2.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_random.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_seal.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_selftest.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_sign.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_tick.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-rpc_transport.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-tcs_aik.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-tcs_auth_mgr.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-tcs_caps.Po@am__quote@ @@ -561,25 +655,64 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-tcsi_sign.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-tcsi_tick.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-tcsi_transport.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtcs_a-tcsps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtcs_a-crypto.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ps/$(DEPDIR)/libtcs_a-ps_utils.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ps/$(DEPDIR)/libtcs_a-tcsps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_admin.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_aik.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_audit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_auth.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_bind.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps_tpm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_certify.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_changeauth.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_cmk.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_context.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_counter.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_daa.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_delegate.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_dir.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ek.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_evlog.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_key.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_maint.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_migration.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_nv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_oper.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_own.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_pcr_extend.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote2.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_random.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_seal.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_selftest.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_sign.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_tick.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_transport.Po@am__quote@ .c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< @@ -668,33 +801,33 @@ libtcs_a-tcs_utils.obj: tcs_utils.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_utils.obj `if test -f 'tcs_utils.c'; then $(CYGPATH_W) 'tcs_utils.c'; else $(CYGPATH_W) '$(srcdir)/tcs_utils.c'; fi` -libtcs_a-rpc.o: rpc/@RPC@/rpc.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc.Tpo -c -o libtcs_a-rpc.o `test -f 'rpc/@RPC@/rpc.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc.Tpo $(DEPDIR)/libtcs_a-rpc.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc.c' object='libtcs_a-rpc.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc.o: rpc/@RPC@/rpc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc.Tpo -c -o rpc/@RPC@/libtcs_a-rpc.o `test -f 'rpc/@RPC@/rpc.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc.c' object='rpc/@RPC@/libtcs_a-rpc.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc.o `test -f 'rpc/@RPC@/rpc.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc.o `test -f 'rpc/@RPC@/rpc.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc.c -libtcs_a-rpc.obj: rpc/@RPC@/rpc.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc.Tpo -c -o libtcs_a-rpc.obj `if test -f 'rpc/@RPC@/rpc.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc.Tpo $(DEPDIR)/libtcs_a-rpc.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc.c' object='libtcs_a-rpc.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc.obj: rpc/@RPC@/rpc.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc.Tpo -c -o rpc/@RPC@/libtcs_a-rpc.obj `if test -f 'rpc/@RPC@/rpc.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc.c' object='rpc/@RPC@/libtcs_a-rpc.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc.obj `if test -f 'rpc/@RPC@/rpc.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc.obj `if test -f 'rpc/@RPC@/rpc.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc.c'; fi` -libtcs_a-rpc_context.o: rpc/@RPC@/rpc_context.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_context.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_context.Tpo -c -o libtcs_a-rpc_context.o `test -f 'rpc/@RPC@/rpc_context.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_context.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_context.Tpo $(DEPDIR)/libtcs_a-rpc_context.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_context.c' object='libtcs_a-rpc_context.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_context.o: rpc/@RPC@/rpc_context.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_context.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_context.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_context.o `test -f 'rpc/@RPC@/rpc_context.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_context.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_context.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_context.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_context.c' object='rpc/@RPC@/libtcs_a-rpc_context.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_context.o `test -f 'rpc/@RPC@/rpc_context.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_context.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_context.o `test -f 'rpc/@RPC@/rpc_context.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_context.c -libtcs_a-rpc_context.obj: rpc/@RPC@/rpc_context.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_context.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_context.Tpo -c -o libtcs_a-rpc_context.obj `if test -f 'rpc/@RPC@/rpc_context.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_context.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_context.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_context.Tpo $(DEPDIR)/libtcs_a-rpc_context.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_context.c' object='libtcs_a-rpc_context.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_context.obj: rpc/@RPC@/rpc_context.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_context.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_context.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_context.obj `if test -f 'rpc/@RPC@/rpc_context.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_context.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_context.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_context.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_context.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_context.c' object='rpc/@RPC@/libtcs_a-rpc_context.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_context.obj `if test -f 'rpc/@RPC@/rpc_context.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_context.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_context.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_context.obj `if test -f 'rpc/@RPC@/rpc_context.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_context.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_context.c'; fi` libtcs_a-tcsi_caps_tpm.o: tcsi_caps_tpm.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_caps_tpm.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_caps_tpm.Tpo -c -o libtcs_a-tcsi_caps_tpm.o `test -f 'tcsi_caps_tpm.c' || echo '$(srcdir)/'`tcsi_caps_tpm.c @@ -710,19 +843,19 @@ libtcs_a-tcsi_caps_tpm.obj: tcsi_caps_tpm.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_caps_tpm.obj `if test -f 'tcsi_caps_tpm.c'; then $(CYGPATH_W) 'tcsi_caps_tpm.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_caps_tpm.c'; fi` -libtcs_a-rpc_caps_tpm.o: rpc/@RPC@/rpc_caps_tpm.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_caps_tpm.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_caps_tpm.Tpo -c -o libtcs_a-rpc_caps_tpm.o `test -f 'rpc/@RPC@/rpc_caps_tpm.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps_tpm.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_caps_tpm.Tpo $(DEPDIR)/libtcs_a-rpc_caps_tpm.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps_tpm.c' object='libtcs_a-rpc_caps_tpm.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_caps_tpm.o: rpc/@RPC@/rpc_caps_tpm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_caps_tpm.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps_tpm.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_caps_tpm.o `test -f 'rpc/@RPC@/rpc_caps_tpm.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps_tpm.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps_tpm.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps_tpm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps_tpm.c' object='rpc/@RPC@/libtcs_a-rpc_caps_tpm.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_caps_tpm.o `test -f 'rpc/@RPC@/rpc_caps_tpm.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps_tpm.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_caps_tpm.o `test -f 'rpc/@RPC@/rpc_caps_tpm.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps_tpm.c -libtcs_a-rpc_caps_tpm.obj: rpc/@RPC@/rpc_caps_tpm.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_caps_tpm.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_caps_tpm.Tpo -c -o libtcs_a-rpc_caps_tpm.obj `if test -f 'rpc/@RPC@/rpc_caps_tpm.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_caps_tpm.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_caps_tpm.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_caps_tpm.Tpo $(DEPDIR)/libtcs_a-rpc_caps_tpm.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps_tpm.c' object='libtcs_a-rpc_caps_tpm.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_caps_tpm.obj: rpc/@RPC@/rpc_caps_tpm.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_caps_tpm.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps_tpm.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_caps_tpm.obj `if test -f 'rpc/@RPC@/rpc_caps_tpm.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_caps_tpm.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_caps_tpm.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps_tpm.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps_tpm.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps_tpm.c' object='rpc/@RPC@/libtcs_a-rpc_caps_tpm.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_caps_tpm.obj `if test -f 'rpc/@RPC@/rpc_caps_tpm.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_caps_tpm.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_caps_tpm.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_caps_tpm.obj `if test -f 'rpc/@RPC@/rpc_caps_tpm.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_caps_tpm.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_caps_tpm.c'; fi` libtcs_a-tcs_auth_mgr.o: tcs_auth_mgr.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcs_auth_mgr.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcs_auth_mgr.Tpo -c -o libtcs_a-tcs_auth_mgr.o `test -f 'tcs_auth_mgr.c' || echo '$(srcdir)/'`tcs_auth_mgr.c @@ -752,19 +885,19 @@ libtcs_a-tcsi_auth.obj: tcsi_auth.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_auth.obj `if test -f 'tcsi_auth.c'; then $(CYGPATH_W) 'tcsi_auth.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_auth.c'; fi` -libtcs_a-rpc_auth.o: rpc/@RPC@/rpc_auth.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_auth.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_auth.Tpo -c -o libtcs_a-rpc_auth.o `test -f 'rpc/@RPC@/rpc_auth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_auth.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_auth.Tpo $(DEPDIR)/libtcs_a-rpc_auth.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_auth.c' object='libtcs_a-rpc_auth.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_auth.o: rpc/@RPC@/rpc_auth.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_auth.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_auth.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_auth.o `test -f 'rpc/@RPC@/rpc_auth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_auth.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_auth.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_auth.c' object='rpc/@RPC@/libtcs_a-rpc_auth.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_auth.o `test -f 'rpc/@RPC@/rpc_auth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_auth.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_auth.o `test -f 'rpc/@RPC@/rpc_auth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_auth.c -libtcs_a-rpc_auth.obj: rpc/@RPC@/rpc_auth.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_auth.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_auth.Tpo -c -o libtcs_a-rpc_auth.obj `if test -f 'rpc/@RPC@/rpc_auth.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_auth.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_auth.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_auth.Tpo $(DEPDIR)/libtcs_a-rpc_auth.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_auth.c' object='libtcs_a-rpc_auth.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_auth.obj: rpc/@RPC@/rpc_auth.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_auth.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_auth.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_auth.obj `if test -f 'rpc/@RPC@/rpc_auth.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_auth.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_auth.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_auth.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_auth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_auth.c' object='rpc/@RPC@/libtcs_a-rpc_auth.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_auth.obj `if test -f 'rpc/@RPC@/rpc_auth.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_auth.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_auth.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_auth.obj `if test -f 'rpc/@RPC@/rpc_auth.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_auth.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_auth.c'; fi` libtcs_a-tcs_pbg.o: tcs_pbg.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcs_pbg.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcs_pbg.Tpo -c -o libtcs_a-tcs_pbg.o `test -f 'tcs_pbg.c' || echo '$(srcdir)/'`tcs_pbg.c @@ -794,19 +927,19 @@ libtcs_a-tcsi_transport.obj: tcsi_transport.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_transport.obj `if test -f 'tcsi_transport.c'; then $(CYGPATH_W) 'tcsi_transport.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_transport.c'; fi` -libtcs_a-rpc_transport.o: rpc/@RPC@/rpc_transport.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_transport.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_transport.Tpo -c -o libtcs_a-rpc_transport.o `test -f 'rpc/@RPC@/rpc_transport.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_transport.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_transport.Tpo $(DEPDIR)/libtcs_a-rpc_transport.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_transport.c' object='libtcs_a-rpc_transport.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_transport.o: rpc/@RPC@/rpc_transport.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_transport.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_transport.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_transport.o `test -f 'rpc/@RPC@/rpc_transport.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_transport.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_transport.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_transport.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_transport.c' object='rpc/@RPC@/libtcs_a-rpc_transport.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_transport.o `test -f 'rpc/@RPC@/rpc_transport.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_transport.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_transport.o `test -f 'rpc/@RPC@/rpc_transport.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_transport.c -libtcs_a-rpc_transport.obj: rpc/@RPC@/rpc_transport.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_transport.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_transport.Tpo -c -o libtcs_a-rpc_transport.obj `if test -f 'rpc/@RPC@/rpc_transport.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_transport.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_transport.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_transport.Tpo $(DEPDIR)/libtcs_a-rpc_transport.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_transport.c' object='libtcs_a-rpc_transport.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_transport.obj: rpc/@RPC@/rpc_transport.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_transport.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_transport.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_transport.obj `if test -f 'rpc/@RPC@/rpc_transport.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_transport.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_transport.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_transport.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_transport.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_transport.c' object='rpc/@RPC@/libtcs_a-rpc_transport.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_transport.obj `if test -f 'rpc/@RPC@/rpc_transport.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_transport.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_transport.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_transport.obj `if test -f 'rpc/@RPC@/rpc_transport.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_transport.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_transport.c'; fi` libtcs_a-tcsi_tick.o: tcsi_tick.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_tick.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_tick.Tpo -c -o libtcs_a-tcsi_tick.o `test -f 'tcsi_tick.c' || echo '$(srcdir)/'`tcsi_tick.c @@ -822,19 +955,19 @@ libtcs_a-tcsi_tick.obj: tcsi_tick.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_tick.obj `if test -f 'tcsi_tick.c'; then $(CYGPATH_W) 'tcsi_tick.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_tick.c'; fi` -libtcs_a-rpc_tick.o: rpc/@RPC@/rpc_tick.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_tick.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_tick.Tpo -c -o libtcs_a-rpc_tick.o `test -f 'rpc/@RPC@/rpc_tick.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_tick.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_tick.Tpo $(DEPDIR)/libtcs_a-rpc_tick.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_tick.c' object='libtcs_a-rpc_tick.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_tick.o: rpc/@RPC@/rpc_tick.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_tick.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_tick.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_tick.o `test -f 'rpc/@RPC@/rpc_tick.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_tick.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_tick.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_tick.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_tick.c' object='rpc/@RPC@/libtcs_a-rpc_tick.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_tick.o `test -f 'rpc/@RPC@/rpc_tick.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_tick.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_tick.o `test -f 'rpc/@RPC@/rpc_tick.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_tick.c -libtcs_a-rpc_tick.obj: rpc/@RPC@/rpc_tick.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_tick.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_tick.Tpo -c -o libtcs_a-rpc_tick.obj `if test -f 'rpc/@RPC@/rpc_tick.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_tick.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_tick.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_tick.Tpo $(DEPDIR)/libtcs_a-rpc_tick.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_tick.c' object='libtcs_a-rpc_tick.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_tick.obj: rpc/@RPC@/rpc_tick.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_tick.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_tick.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_tick.obj `if test -f 'rpc/@RPC@/rpc_tick.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_tick.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_tick.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_tick.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_tick.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_tick.c' object='rpc/@RPC@/libtcs_a-rpc_tick.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_tick.obj `if test -f 'rpc/@RPC@/rpc_tick.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_tick.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_tick.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_tick.obj `if test -f 'rpc/@RPC@/rpc_tick.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_tick.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_tick.c'; fi` libtcs_a-tcsi_counter.o: tcsi_counter.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_counter.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_counter.Tpo -c -o libtcs_a-tcsi_counter.o `test -f 'tcsi_counter.c' || echo '$(srcdir)/'`tcsi_counter.c @@ -864,19 +997,19 @@ libtcs_a-tcs_counter.obj: tcs_counter.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_counter.obj `if test -f 'tcs_counter.c'; then $(CYGPATH_W) 'tcs_counter.c'; else $(CYGPATH_W) '$(srcdir)/tcs_counter.c'; fi` -libtcs_a-rpc_counter.o: rpc/@RPC@/rpc_counter.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_counter.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_counter.Tpo -c -o libtcs_a-rpc_counter.o `test -f 'rpc/@RPC@/rpc_counter.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_counter.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_counter.Tpo $(DEPDIR)/libtcs_a-rpc_counter.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_counter.c' object='libtcs_a-rpc_counter.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_counter.o: rpc/@RPC@/rpc_counter.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_counter.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_counter.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_counter.o `test -f 'rpc/@RPC@/rpc_counter.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_counter.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_counter.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_counter.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_counter.c' object='rpc/@RPC@/libtcs_a-rpc_counter.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_counter.o `test -f 'rpc/@RPC@/rpc_counter.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_counter.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_counter.o `test -f 'rpc/@RPC@/rpc_counter.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_counter.c -libtcs_a-rpc_counter.obj: rpc/@RPC@/rpc_counter.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_counter.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_counter.Tpo -c -o libtcs_a-rpc_counter.obj `if test -f 'rpc/@RPC@/rpc_counter.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_counter.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_counter.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_counter.Tpo $(DEPDIR)/libtcs_a-rpc_counter.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_counter.c' object='libtcs_a-rpc_counter.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_counter.obj: rpc/@RPC@/rpc_counter.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_counter.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_counter.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_counter.obj `if test -f 'rpc/@RPC@/rpc_counter.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_counter.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_counter.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_counter.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_counter.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_counter.c' object='rpc/@RPC@/libtcs_a-rpc_counter.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_counter.obj `if test -f 'rpc/@RPC@/rpc_counter.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_counter.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_counter.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_counter.obj `if test -f 'rpc/@RPC@/rpc_counter.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_counter.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_counter.c'; fi` libtcs_a-tcsi_random.o: tcsi_random.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_random.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_random.Tpo -c -o libtcs_a-tcsi_random.o `test -f 'tcsi_random.c' || echo '$(srcdir)/'`tcsi_random.c @@ -892,19 +1025,19 @@ libtcs_a-tcsi_random.obj: tcsi_random.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_random.obj `if test -f 'tcsi_random.c'; then $(CYGPATH_W) 'tcsi_random.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_random.c'; fi` -libtcs_a-rpc_random.o: rpc/@RPC@/rpc_random.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_random.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_random.Tpo -c -o libtcs_a-rpc_random.o `test -f 'rpc/@RPC@/rpc_random.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_random.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_random.Tpo $(DEPDIR)/libtcs_a-rpc_random.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_random.c' object='libtcs_a-rpc_random.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_random.o: rpc/@RPC@/rpc_random.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_random.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_random.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_random.o `test -f 'rpc/@RPC@/rpc_random.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_random.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_random.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_random.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_random.c' object='rpc/@RPC@/libtcs_a-rpc_random.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_random.o `test -f 'rpc/@RPC@/rpc_random.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_random.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_random.o `test -f 'rpc/@RPC@/rpc_random.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_random.c -libtcs_a-rpc_random.obj: rpc/@RPC@/rpc_random.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_random.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_random.Tpo -c -o libtcs_a-rpc_random.obj `if test -f 'rpc/@RPC@/rpc_random.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_random.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_random.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_random.Tpo $(DEPDIR)/libtcs_a-rpc_random.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_random.c' object='libtcs_a-rpc_random.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_random.obj: rpc/@RPC@/rpc_random.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_random.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_random.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_random.obj `if test -f 'rpc/@RPC@/rpc_random.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_random.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_random.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_random.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_random.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_random.c' object='rpc/@RPC@/libtcs_a-rpc_random.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_random.obj `if test -f 'rpc/@RPC@/rpc_random.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_random.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_random.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_random.obj `if test -f 'rpc/@RPC@/rpc_random.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_random.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_random.c'; fi` libtcs_a-tcsi_caps.o: tcsi_caps.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_caps.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_caps.Tpo -c -o libtcs_a-tcsi_caps.o `test -f 'tcsi_caps.c' || echo '$(srcdir)/'`tcsi_caps.c @@ -920,19 +1053,19 @@ libtcs_a-tcsi_caps.obj: tcsi_caps.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_caps.obj `if test -f 'tcsi_caps.c'; then $(CYGPATH_W) 'tcsi_caps.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_caps.c'; fi` -libtcs_a-rpc_caps.o: rpc/@RPC@/rpc_caps.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_caps.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_caps.Tpo -c -o libtcs_a-rpc_caps.o `test -f 'rpc/@RPC@/rpc_caps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_caps.Tpo $(DEPDIR)/libtcs_a-rpc_caps.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps.c' object='libtcs_a-rpc_caps.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_caps.o: rpc/@RPC@/rpc_caps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_caps.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_caps.o `test -f 'rpc/@RPC@/rpc_caps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps.c' object='rpc/@RPC@/libtcs_a-rpc_caps.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_caps.o `test -f 'rpc/@RPC@/rpc_caps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_caps.o `test -f 'rpc/@RPC@/rpc_caps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps.c -libtcs_a-rpc_caps.obj: rpc/@RPC@/rpc_caps.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_caps.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_caps.Tpo -c -o libtcs_a-rpc_caps.obj `if test -f 'rpc/@RPC@/rpc_caps.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_caps.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_caps.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_caps.Tpo $(DEPDIR)/libtcs_a-rpc_caps.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps.c' object='libtcs_a-rpc_caps.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_caps.obj: rpc/@RPC@/rpc_caps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_caps.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_caps.obj `if test -f 'rpc/@RPC@/rpc_caps.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_caps.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_caps.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_caps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps.c' object='rpc/@RPC@/libtcs_a-rpc_caps.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_caps.obj `if test -f 'rpc/@RPC@/rpc_caps.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_caps.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_caps.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_caps.obj `if test -f 'rpc/@RPC@/rpc_caps.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_caps.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_caps.c'; fi` libtcs_a-tcsi_dir.o: tcsi_dir.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_dir.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_dir.Tpo -c -o libtcs_a-tcsi_dir.o `test -f 'tcsi_dir.c' || echo '$(srcdir)/'`tcsi_dir.c @@ -948,19 +1081,19 @@ libtcs_a-tcsi_dir.obj: tcsi_dir.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_dir.obj `if test -f 'tcsi_dir.c'; then $(CYGPATH_W) 'tcsi_dir.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_dir.c'; fi` -libtcs_a-rpc_dir.o: rpc/@RPC@/rpc_dir.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_dir.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_dir.Tpo -c -o libtcs_a-rpc_dir.o `test -f 'rpc/@RPC@/rpc_dir.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_dir.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_dir.Tpo $(DEPDIR)/libtcs_a-rpc_dir.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_dir.c' object='libtcs_a-rpc_dir.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_dir.o: rpc/@RPC@/rpc_dir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_dir.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_dir.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_dir.o `test -f 'rpc/@RPC@/rpc_dir.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_dir.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_dir.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_dir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_dir.c' object='rpc/@RPC@/libtcs_a-rpc_dir.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_dir.o `test -f 'rpc/@RPC@/rpc_dir.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_dir.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_dir.o `test -f 'rpc/@RPC@/rpc_dir.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_dir.c -libtcs_a-rpc_dir.obj: rpc/@RPC@/rpc_dir.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_dir.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_dir.Tpo -c -o libtcs_a-rpc_dir.obj `if test -f 'rpc/@RPC@/rpc_dir.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_dir.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_dir.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_dir.Tpo $(DEPDIR)/libtcs_a-rpc_dir.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_dir.c' object='libtcs_a-rpc_dir.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_dir.obj: rpc/@RPC@/rpc_dir.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_dir.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_dir.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_dir.obj `if test -f 'rpc/@RPC@/rpc_dir.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_dir.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_dir.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_dir.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_dir.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_dir.c' object='rpc/@RPC@/libtcs_a-rpc_dir.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_dir.obj `if test -f 'rpc/@RPC@/rpc_dir.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_dir.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_dir.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_dir.obj `if test -f 'rpc/@RPC@/rpc_dir.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_dir.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_dir.c'; fi` libtcs_a-tcsi_evlog.o: tcsi_evlog.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_evlog.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_evlog.Tpo -c -o libtcs_a-tcsi_evlog.o `test -f 'tcsi_evlog.c' || echo '$(srcdir)/'`tcsi_evlog.c @@ -1018,19 +1151,19 @@ libtcs_a-tcs_evlog.obj: tcs_evlog.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_evlog.obj `if test -f 'tcs_evlog.c'; then $(CYGPATH_W) 'tcs_evlog.c'; else $(CYGPATH_W) '$(srcdir)/tcs_evlog.c'; fi` -libtcs_a-rpc_evlog.o: rpc/@RPC@/rpc_evlog.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_evlog.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_evlog.Tpo -c -o libtcs_a-rpc_evlog.o `test -f 'rpc/@RPC@/rpc_evlog.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_evlog.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_evlog.Tpo $(DEPDIR)/libtcs_a-rpc_evlog.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_evlog.c' object='libtcs_a-rpc_evlog.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_evlog.o: rpc/@RPC@/rpc_evlog.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_evlog.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_evlog.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_evlog.o `test -f 'rpc/@RPC@/rpc_evlog.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_evlog.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_evlog.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_evlog.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_evlog.c' object='rpc/@RPC@/libtcs_a-rpc_evlog.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_evlog.o `test -f 'rpc/@RPC@/rpc_evlog.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_evlog.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_evlog.o `test -f 'rpc/@RPC@/rpc_evlog.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_evlog.c -libtcs_a-rpc_evlog.obj: rpc/@RPC@/rpc_evlog.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_evlog.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_evlog.Tpo -c -o libtcs_a-rpc_evlog.obj `if test -f 'rpc/@RPC@/rpc_evlog.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_evlog.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_evlog.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_evlog.Tpo $(DEPDIR)/libtcs_a-rpc_evlog.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_evlog.c' object='libtcs_a-rpc_evlog.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_evlog.obj: rpc/@RPC@/rpc_evlog.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_evlog.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_evlog.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_evlog.obj `if test -f 'rpc/@RPC@/rpc_evlog.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_evlog.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_evlog.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_evlog.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_evlog.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_evlog.c' object='rpc/@RPC@/libtcs_a-rpc_evlog.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_evlog.obj `if test -f 'rpc/@RPC@/rpc_evlog.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_evlog.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_evlog.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_evlog.obj `if test -f 'rpc/@RPC@/rpc_evlog.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_evlog.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_evlog.c'; fi` libtcs_a-tcsi_sign.o: tcsi_sign.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_sign.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_sign.Tpo -c -o libtcs_a-tcsi_sign.o `test -f 'tcsi_sign.c' || echo '$(srcdir)/'`tcsi_sign.c @@ -1046,19 +1179,19 @@ libtcs_a-tcsi_sign.obj: tcsi_sign.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_sign.obj `if test -f 'tcsi_sign.c'; then $(CYGPATH_W) 'tcsi_sign.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_sign.c'; fi` -libtcs_a-rpc_sign.o: rpc/@RPC@/rpc_sign.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_sign.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_sign.Tpo -c -o libtcs_a-rpc_sign.o `test -f 'rpc/@RPC@/rpc_sign.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_sign.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_sign.Tpo $(DEPDIR)/libtcs_a-rpc_sign.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_sign.c' object='libtcs_a-rpc_sign.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_sign.o: rpc/@RPC@/rpc_sign.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_sign.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_sign.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_sign.o `test -f 'rpc/@RPC@/rpc_sign.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_sign.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_sign.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_sign.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_sign.c' object='rpc/@RPC@/libtcs_a-rpc_sign.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_sign.o `test -f 'rpc/@RPC@/rpc_sign.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_sign.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_sign.o `test -f 'rpc/@RPC@/rpc_sign.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_sign.c -libtcs_a-rpc_sign.obj: rpc/@RPC@/rpc_sign.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_sign.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_sign.Tpo -c -o libtcs_a-rpc_sign.obj `if test -f 'rpc/@RPC@/rpc_sign.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_sign.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_sign.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_sign.Tpo $(DEPDIR)/libtcs_a-rpc_sign.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_sign.c' object='libtcs_a-rpc_sign.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_sign.obj: rpc/@RPC@/rpc_sign.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_sign.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_sign.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_sign.obj `if test -f 'rpc/@RPC@/rpc_sign.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_sign.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_sign.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_sign.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_sign.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_sign.c' object='rpc/@RPC@/libtcs_a-rpc_sign.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_sign.obj `if test -f 'rpc/@RPC@/rpc_sign.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_sign.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_sign.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_sign.obj `if test -f 'rpc/@RPC@/rpc_sign.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_sign.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_sign.c'; fi` libtcs_a-tcsi_quote.o: tcsi_quote.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_quote.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_quote.Tpo -c -o libtcs_a-tcsi_quote.o `test -f 'tcsi_quote.c' || echo '$(srcdir)/'`tcsi_quote.c @@ -1088,19 +1221,19 @@ libtcs_a-tcs_quote.obj: tcs_quote.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_quote.obj `if test -f 'tcs_quote.c'; then $(CYGPATH_W) 'tcs_quote.c'; else $(CYGPATH_W) '$(srcdir)/tcs_quote.c'; fi` -libtcs_a-rpc_quote.o: rpc/@RPC@/rpc_quote.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_quote.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_quote.Tpo -c -o libtcs_a-rpc_quote.o `test -f 'rpc/@RPC@/rpc_quote.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_quote.Tpo $(DEPDIR)/libtcs_a-rpc_quote.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote.c' object='libtcs_a-rpc_quote.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_quote.o: rpc/@RPC@/rpc_quote.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_quote.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_quote.o `test -f 'rpc/@RPC@/rpc_quote.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote.c' object='rpc/@RPC@/libtcs_a-rpc_quote.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_quote.o `test -f 'rpc/@RPC@/rpc_quote.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_quote.o `test -f 'rpc/@RPC@/rpc_quote.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote.c -libtcs_a-rpc_quote.obj: rpc/@RPC@/rpc_quote.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_quote.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_quote.Tpo -c -o libtcs_a-rpc_quote.obj `if test -f 'rpc/@RPC@/rpc_quote.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_quote.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_quote.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_quote.Tpo $(DEPDIR)/libtcs_a-rpc_quote.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote.c' object='libtcs_a-rpc_quote.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_quote.obj: rpc/@RPC@/rpc_quote.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_quote.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_quote.obj `if test -f 'rpc/@RPC@/rpc_quote.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_quote.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_quote.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote.c' object='rpc/@RPC@/libtcs_a-rpc_quote.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_quote.obj `if test -f 'rpc/@RPC@/rpc_quote.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_quote.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_quote.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_quote.obj `if test -f 'rpc/@RPC@/rpc_quote.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_quote.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_quote.c'; fi` libtcs_a-tcsi_seal.o: tcsi_seal.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_seal.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_seal.Tpo -c -o libtcs_a-tcsi_seal.o `test -f 'tcsi_seal.c' || echo '$(srcdir)/'`tcsi_seal.c @@ -1130,19 +1263,19 @@ libtcs_a-tcs_seal.obj: tcs_seal.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_seal.obj `if test -f 'tcs_seal.c'; then $(CYGPATH_W) 'tcs_seal.c'; else $(CYGPATH_W) '$(srcdir)/tcs_seal.c'; fi` -libtcs_a-rpc_seal.o: rpc/@RPC@/rpc_seal.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_seal.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_seal.Tpo -c -o libtcs_a-rpc_seal.o `test -f 'rpc/@RPC@/rpc_seal.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_seal.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_seal.Tpo $(DEPDIR)/libtcs_a-rpc_seal.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_seal.c' object='libtcs_a-rpc_seal.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_seal.o: rpc/@RPC@/rpc_seal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_seal.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_seal.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_seal.o `test -f 'rpc/@RPC@/rpc_seal.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_seal.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_seal.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_seal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_seal.c' object='rpc/@RPC@/libtcs_a-rpc_seal.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_seal.o `test -f 'rpc/@RPC@/rpc_seal.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_seal.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_seal.o `test -f 'rpc/@RPC@/rpc_seal.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_seal.c -libtcs_a-rpc_seal.obj: rpc/@RPC@/rpc_seal.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_seal.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_seal.Tpo -c -o libtcs_a-rpc_seal.obj `if test -f 'rpc/@RPC@/rpc_seal.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_seal.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_seal.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_seal.Tpo $(DEPDIR)/libtcs_a-rpc_seal.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_seal.c' object='libtcs_a-rpc_seal.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_seal.obj: rpc/@RPC@/rpc_seal.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_seal.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_seal.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_seal.obj `if test -f 'rpc/@RPC@/rpc_seal.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_seal.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_seal.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_seal.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_seal.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_seal.c' object='rpc/@RPC@/libtcs_a-rpc_seal.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_seal.obj `if test -f 'rpc/@RPC@/rpc_seal.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_seal.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_seal.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_seal.obj `if test -f 'rpc/@RPC@/rpc_seal.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_seal.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_seal.c'; fi` libtcs_a-tcsi_changeauth.o: tcsi_changeauth.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_changeauth.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_changeauth.Tpo -c -o libtcs_a-tcsi_changeauth.o `test -f 'tcsi_changeauth.c' || echo '$(srcdir)/'`tcsi_changeauth.c @@ -1158,19 +1291,19 @@ libtcs_a-tcsi_changeauth.obj: tcsi_changeauth.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_changeauth.obj `if test -f 'tcsi_changeauth.c'; then $(CYGPATH_W) 'tcsi_changeauth.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_changeauth.c'; fi` -libtcs_a-rpc_changeauth.o: rpc/@RPC@/rpc_changeauth.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_changeauth.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_changeauth.Tpo -c -o libtcs_a-rpc_changeauth.o `test -f 'rpc/@RPC@/rpc_changeauth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_changeauth.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_changeauth.Tpo $(DEPDIR)/libtcs_a-rpc_changeauth.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_changeauth.c' object='libtcs_a-rpc_changeauth.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_changeauth.o: rpc/@RPC@/rpc_changeauth.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_changeauth.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_changeauth.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_changeauth.o `test -f 'rpc/@RPC@/rpc_changeauth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_changeauth.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_changeauth.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_changeauth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_changeauth.c' object='rpc/@RPC@/libtcs_a-rpc_changeauth.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_changeauth.o `test -f 'rpc/@RPC@/rpc_changeauth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_changeauth.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_changeauth.o `test -f 'rpc/@RPC@/rpc_changeauth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_changeauth.c -libtcs_a-rpc_changeauth.obj: rpc/@RPC@/rpc_changeauth.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_changeauth.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_changeauth.Tpo -c -o libtcs_a-rpc_changeauth.obj `if test -f 'rpc/@RPC@/rpc_changeauth.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_changeauth.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_changeauth.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_changeauth.Tpo $(DEPDIR)/libtcs_a-rpc_changeauth.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_changeauth.c' object='libtcs_a-rpc_changeauth.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_changeauth.obj: rpc/@RPC@/rpc_changeauth.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_changeauth.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_changeauth.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_changeauth.obj `if test -f 'rpc/@RPC@/rpc_changeauth.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_changeauth.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_changeauth.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_changeauth.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_changeauth.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_changeauth.c' object='rpc/@RPC@/libtcs_a-rpc_changeauth.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_changeauth.obj `if test -f 'rpc/@RPC@/rpc_changeauth.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_changeauth.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_changeauth.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_changeauth.obj `if test -f 'rpc/@RPC@/rpc_changeauth.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_changeauth.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_changeauth.c'; fi` libtcs_a-tcsi_bind.o: tcsi_bind.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_bind.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_bind.Tpo -c -o libtcs_a-tcsi_bind.o `test -f 'tcsi_bind.c' || echo '$(srcdir)/'`tcsi_bind.c @@ -1186,19 +1319,19 @@ libtcs_a-tcsi_bind.obj: tcsi_bind.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_bind.obj `if test -f 'tcsi_bind.c'; then $(CYGPATH_W) 'tcsi_bind.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_bind.c'; fi` -libtcs_a-rpc_bind.o: rpc/@RPC@/rpc_bind.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_bind.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_bind.Tpo -c -o libtcs_a-rpc_bind.o `test -f 'rpc/@RPC@/rpc_bind.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_bind.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_bind.Tpo $(DEPDIR)/libtcs_a-rpc_bind.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_bind.c' object='libtcs_a-rpc_bind.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_bind.o: rpc/@RPC@/rpc_bind.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_bind.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_bind.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_bind.o `test -f 'rpc/@RPC@/rpc_bind.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_bind.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_bind.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_bind.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_bind.c' object='rpc/@RPC@/libtcs_a-rpc_bind.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_bind.o `test -f 'rpc/@RPC@/rpc_bind.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_bind.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_bind.o `test -f 'rpc/@RPC@/rpc_bind.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_bind.c -libtcs_a-rpc_bind.obj: rpc/@RPC@/rpc_bind.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_bind.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_bind.Tpo -c -o libtcs_a-rpc_bind.obj `if test -f 'rpc/@RPC@/rpc_bind.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_bind.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_bind.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_bind.Tpo $(DEPDIR)/libtcs_a-rpc_bind.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_bind.c' object='libtcs_a-rpc_bind.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_bind.obj: rpc/@RPC@/rpc_bind.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_bind.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_bind.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_bind.obj `if test -f 'rpc/@RPC@/rpc_bind.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_bind.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_bind.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_bind.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_bind.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_bind.c' object='rpc/@RPC@/libtcs_a-rpc_bind.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_bind.obj `if test -f 'rpc/@RPC@/rpc_bind.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_bind.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_bind.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_bind.obj `if test -f 'rpc/@RPC@/rpc_bind.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_bind.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_bind.c'; fi` libtcs_a-tcsi_own.o: tcsi_own.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_own.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_own.Tpo -c -o libtcs_a-tcsi_own.o `test -f 'tcsi_own.c' || echo '$(srcdir)/'`tcsi_own.c @@ -1214,47 +1347,47 @@ libtcs_a-tcsi_own.obj: tcsi_own.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_own.obj `if test -f 'tcsi_own.c'; then $(CYGPATH_W) 'tcsi_own.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_own.c'; fi` -libtcs_a-rpc_own.o: rpc/@RPC@/rpc_own.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_own.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_own.Tpo -c -o libtcs_a-rpc_own.o `test -f 'rpc/@RPC@/rpc_own.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_own.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_own.Tpo $(DEPDIR)/libtcs_a-rpc_own.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_own.c' object='libtcs_a-rpc_own.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_own.o: rpc/@RPC@/rpc_own.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_own.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_own.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_own.o `test -f 'rpc/@RPC@/rpc_own.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_own.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_own.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_own.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_own.c' object='rpc/@RPC@/libtcs_a-rpc_own.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_own.o `test -f 'rpc/@RPC@/rpc_own.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_own.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_own.o `test -f 'rpc/@RPC@/rpc_own.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_own.c -libtcs_a-rpc_own.obj: rpc/@RPC@/rpc_own.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_own.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_own.Tpo -c -o libtcs_a-rpc_own.obj `if test -f 'rpc/@RPC@/rpc_own.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_own.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_own.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_own.Tpo $(DEPDIR)/libtcs_a-rpc_own.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_own.c' object='libtcs_a-rpc_own.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_own.obj: rpc/@RPC@/rpc_own.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_own.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_own.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_own.obj `if test -f 'rpc/@RPC@/rpc_own.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_own.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_own.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_own.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_own.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_own.c' object='rpc/@RPC@/libtcs_a-rpc_own.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_own.obj `if test -f 'rpc/@RPC@/rpc_own.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_own.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_own.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_own.obj `if test -f 'rpc/@RPC@/rpc_own.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_own.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_own.c'; fi` -libtcs_a-ps_utils.o: ps/ps_utils.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-ps_utils.o -MD -MP -MF $(DEPDIR)/libtcs_a-ps_utils.Tpo -c -o libtcs_a-ps_utils.o `test -f 'ps/ps_utils.c' || echo '$(srcdir)/'`ps/ps_utils.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-ps_utils.Tpo $(DEPDIR)/libtcs_a-ps_utils.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/ps_utils.c' object='libtcs_a-ps_utils.o' libtool=no @AMDEPBACKSLASH@ +ps/libtcs_a-ps_utils.o: ps/ps_utils.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT ps/libtcs_a-ps_utils.o -MD -MP -MF ps/$(DEPDIR)/libtcs_a-ps_utils.Tpo -c -o ps/libtcs_a-ps_utils.o `test -f 'ps/ps_utils.c' || echo '$(srcdir)/'`ps/ps_utils.c +@am__fastdepCC_TRUE@ $(am__mv) ps/$(DEPDIR)/libtcs_a-ps_utils.Tpo ps/$(DEPDIR)/libtcs_a-ps_utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/ps_utils.c' object='ps/libtcs_a-ps_utils.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-ps_utils.o `test -f 'ps/ps_utils.c' || echo '$(srcdir)/'`ps/ps_utils.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o ps/libtcs_a-ps_utils.o `test -f 'ps/ps_utils.c' || echo '$(srcdir)/'`ps/ps_utils.c -libtcs_a-ps_utils.obj: ps/ps_utils.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-ps_utils.obj -MD -MP -MF $(DEPDIR)/libtcs_a-ps_utils.Tpo -c -o libtcs_a-ps_utils.obj `if test -f 'ps/ps_utils.c'; then $(CYGPATH_W) 'ps/ps_utils.c'; else $(CYGPATH_W) '$(srcdir)/ps/ps_utils.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-ps_utils.Tpo $(DEPDIR)/libtcs_a-ps_utils.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/ps_utils.c' object='libtcs_a-ps_utils.obj' libtool=no @AMDEPBACKSLASH@ +ps/libtcs_a-ps_utils.obj: ps/ps_utils.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT ps/libtcs_a-ps_utils.obj -MD -MP -MF ps/$(DEPDIR)/libtcs_a-ps_utils.Tpo -c -o ps/libtcs_a-ps_utils.obj `if test -f 'ps/ps_utils.c'; then $(CYGPATH_W) 'ps/ps_utils.c'; else $(CYGPATH_W) '$(srcdir)/ps/ps_utils.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) ps/$(DEPDIR)/libtcs_a-ps_utils.Tpo ps/$(DEPDIR)/libtcs_a-ps_utils.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/ps_utils.c' object='ps/libtcs_a-ps_utils.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-ps_utils.obj `if test -f 'ps/ps_utils.c'; then $(CYGPATH_W) 'ps/ps_utils.c'; else $(CYGPATH_W) '$(srcdir)/ps/ps_utils.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o ps/libtcs_a-ps_utils.obj `if test -f 'ps/ps_utils.c'; then $(CYGPATH_W) 'ps/ps_utils.c'; else $(CYGPATH_W) '$(srcdir)/ps/ps_utils.c'; fi` -libtcs_a-tcsps.o: ps/tcsps.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsps.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsps.Tpo -c -o libtcs_a-tcsps.o `test -f 'ps/tcsps.c' || echo '$(srcdir)/'`ps/tcsps.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-tcsps.Tpo $(DEPDIR)/libtcs_a-tcsps.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/tcsps.c' object='libtcs_a-tcsps.o' libtool=no @AMDEPBACKSLASH@ +ps/libtcs_a-tcsps.o: ps/tcsps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT ps/libtcs_a-tcsps.o -MD -MP -MF ps/$(DEPDIR)/libtcs_a-tcsps.Tpo -c -o ps/libtcs_a-tcsps.o `test -f 'ps/tcsps.c' || echo '$(srcdir)/'`ps/tcsps.c +@am__fastdepCC_TRUE@ $(am__mv) ps/$(DEPDIR)/libtcs_a-tcsps.Tpo ps/$(DEPDIR)/libtcs_a-tcsps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/tcsps.c' object='ps/libtcs_a-tcsps.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsps.o `test -f 'ps/tcsps.c' || echo '$(srcdir)/'`ps/tcsps.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o ps/libtcs_a-tcsps.o `test -f 'ps/tcsps.c' || echo '$(srcdir)/'`ps/tcsps.c -libtcs_a-tcsps.obj: ps/tcsps.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsps.obj -MD -MP -MF $(DEPDIR)/libtcs_a-tcsps.Tpo -c -o libtcs_a-tcsps.obj `if test -f 'ps/tcsps.c'; then $(CYGPATH_W) 'ps/tcsps.c'; else $(CYGPATH_W) '$(srcdir)/ps/tcsps.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-tcsps.Tpo $(DEPDIR)/libtcs_a-tcsps.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/tcsps.c' object='libtcs_a-tcsps.obj' libtool=no @AMDEPBACKSLASH@ +ps/libtcs_a-tcsps.obj: ps/tcsps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT ps/libtcs_a-tcsps.obj -MD -MP -MF ps/$(DEPDIR)/libtcs_a-tcsps.Tpo -c -o ps/libtcs_a-tcsps.obj `if test -f 'ps/tcsps.c'; then $(CYGPATH_W) 'ps/tcsps.c'; else $(CYGPATH_W) '$(srcdir)/ps/tcsps.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) ps/$(DEPDIR)/libtcs_a-tcsps.Tpo ps/$(DEPDIR)/libtcs_a-tcsps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/tcsps.c' object='ps/libtcs_a-tcsps.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsps.obj `if test -f 'ps/tcsps.c'; then $(CYGPATH_W) 'ps/tcsps.c'; else $(CYGPATH_W) '$(srcdir)/ps/tcsps.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o ps/libtcs_a-tcsps.obj `if test -f 'ps/tcsps.c'; then $(CYGPATH_W) 'ps/tcsps.c'; else $(CYGPATH_W) '$(srcdir)/ps/tcsps.c'; fi` libtcs_a-tcsi_ps.o: tcsi_ps.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_ps.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_ps.Tpo -c -o libtcs_a-tcsi_ps.o `test -f 'tcsi_ps.c' || echo '$(srcdir)/'`tcsi_ps.c @@ -1298,19 +1431,19 @@ libtcs_a-tcs_key_ps.obj: tcs_key_ps.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_key_ps.obj `if test -f 'tcs_key_ps.c'; then $(CYGPATH_W) 'tcs_key_ps.c'; else $(CYGPATH_W) '$(srcdir)/tcs_key_ps.c'; fi` -libtcs_a-rpc_ps.o: rpc/@RPC@/rpc_ps.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_ps.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_ps.Tpo -c -o libtcs_a-rpc_ps.o `test -f 'rpc/@RPC@/rpc_ps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ps.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_ps.Tpo $(DEPDIR)/libtcs_a-rpc_ps.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ps.c' object='libtcs_a-rpc_ps.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_ps.o: rpc/@RPC@/rpc_ps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_ps.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ps.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_ps.o `test -f 'rpc/@RPC@/rpc_ps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ps.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ps.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ps.c' object='rpc/@RPC@/libtcs_a-rpc_ps.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_ps.o `test -f 'rpc/@RPC@/rpc_ps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ps.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_ps.o `test -f 'rpc/@RPC@/rpc_ps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ps.c -libtcs_a-rpc_ps.obj: rpc/@RPC@/rpc_ps.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_ps.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_ps.Tpo -c -o libtcs_a-rpc_ps.obj `if test -f 'rpc/@RPC@/rpc_ps.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_ps.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_ps.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_ps.Tpo $(DEPDIR)/libtcs_a-rpc_ps.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ps.c' object='libtcs_a-rpc_ps.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_ps.obj: rpc/@RPC@/rpc_ps.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_ps.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ps.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_ps.obj `if test -f 'rpc/@RPC@/rpc_ps.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_ps.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_ps.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ps.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ps.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ps.c' object='rpc/@RPC@/libtcs_a-rpc_ps.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_ps.obj `if test -f 'rpc/@RPC@/rpc_ps.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_ps.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_ps.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_ps.obj `if test -f 'rpc/@RPC@/rpc_ps.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_ps.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_ps.c'; fi` libtcs_a-tcsi_admin.o: tcsi_admin.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_admin.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_admin.Tpo -c -o libtcs_a-tcsi_admin.o `test -f 'tcsi_admin.c' || echo '$(srcdir)/'`tcsi_admin.c @@ -1326,19 +1459,19 @@ libtcs_a-tcsi_admin.obj: tcsi_admin.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_admin.obj `if test -f 'tcsi_admin.c'; then $(CYGPATH_W) 'tcsi_admin.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_admin.c'; fi` -libtcs_a-rpc_admin.o: rpc/@RPC@/rpc_admin.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_admin.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_admin.Tpo -c -o libtcs_a-rpc_admin.o `test -f 'rpc/@RPC@/rpc_admin.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_admin.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_admin.Tpo $(DEPDIR)/libtcs_a-rpc_admin.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_admin.c' object='libtcs_a-rpc_admin.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_admin.o: rpc/@RPC@/rpc_admin.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_admin.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_admin.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_admin.o `test -f 'rpc/@RPC@/rpc_admin.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_admin.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_admin.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_admin.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_admin.c' object='rpc/@RPC@/libtcs_a-rpc_admin.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_admin.o `test -f 'rpc/@RPC@/rpc_admin.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_admin.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_admin.o `test -f 'rpc/@RPC@/rpc_admin.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_admin.c -libtcs_a-rpc_admin.obj: rpc/@RPC@/rpc_admin.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_admin.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_admin.Tpo -c -o libtcs_a-rpc_admin.obj `if test -f 'rpc/@RPC@/rpc_admin.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_admin.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_admin.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_admin.Tpo $(DEPDIR)/libtcs_a-rpc_admin.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_admin.c' object='libtcs_a-rpc_admin.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_admin.obj: rpc/@RPC@/rpc_admin.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_admin.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_admin.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_admin.obj `if test -f 'rpc/@RPC@/rpc_admin.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_admin.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_admin.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_admin.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_admin.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_admin.c' object='rpc/@RPC@/libtcs_a-rpc_admin.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_admin.obj `if test -f 'rpc/@RPC@/rpc_admin.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_admin.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_admin.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_admin.obj `if test -f 'rpc/@RPC@/rpc_admin.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_admin.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_admin.c'; fi` libtcs_a-tcsi_aik.o: tcsi_aik.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_aik.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_aik.Tpo -c -o libtcs_a-tcsi_aik.o `test -f 'tcsi_aik.c' || echo '$(srcdir)/'`tcsi_aik.c @@ -1368,19 +1501,19 @@ libtcs_a-tcs_aik.obj: tcs_aik.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_aik.obj `if test -f 'tcs_aik.c'; then $(CYGPATH_W) 'tcs_aik.c'; else $(CYGPATH_W) '$(srcdir)/tcs_aik.c'; fi` -libtcs_a-rpc_aik.o: rpc/@RPC@/rpc_aik.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_aik.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_aik.Tpo -c -o libtcs_a-rpc_aik.o `test -f 'rpc/@RPC@/rpc_aik.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_aik.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_aik.Tpo $(DEPDIR)/libtcs_a-rpc_aik.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_aik.c' object='libtcs_a-rpc_aik.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_aik.o: rpc/@RPC@/rpc_aik.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_aik.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_aik.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_aik.o `test -f 'rpc/@RPC@/rpc_aik.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_aik.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_aik.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_aik.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_aik.c' object='rpc/@RPC@/libtcs_a-rpc_aik.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_aik.o `test -f 'rpc/@RPC@/rpc_aik.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_aik.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_aik.o `test -f 'rpc/@RPC@/rpc_aik.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_aik.c -libtcs_a-rpc_aik.obj: rpc/@RPC@/rpc_aik.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_aik.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_aik.Tpo -c -o libtcs_a-rpc_aik.obj `if test -f 'rpc/@RPC@/rpc_aik.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_aik.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_aik.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_aik.Tpo $(DEPDIR)/libtcs_a-rpc_aik.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_aik.c' object='libtcs_a-rpc_aik.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_aik.obj: rpc/@RPC@/rpc_aik.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_aik.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_aik.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_aik.obj `if test -f 'rpc/@RPC@/rpc_aik.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_aik.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_aik.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_aik.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_aik.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_aik.c' object='rpc/@RPC@/libtcs_a-rpc_aik.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_aik.obj `if test -f 'rpc/@RPC@/rpc_aik.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_aik.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_aik.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_aik.obj `if test -f 'rpc/@RPC@/rpc_aik.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_aik.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_aik.c'; fi` libtcs_a-tcsi_ek.o: tcsi_ek.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_ek.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_ek.Tpo -c -o libtcs_a-tcsi_ek.o `test -f 'tcsi_ek.c' || echo '$(srcdir)/'`tcsi_ek.c @@ -1396,19 +1529,19 @@ libtcs_a-tcsi_ek.obj: tcsi_ek.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_ek.obj `if test -f 'tcsi_ek.c'; then $(CYGPATH_W) 'tcsi_ek.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_ek.c'; fi` -libtcs_a-rpc_ek.o: rpc/@RPC@/rpc_ek.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_ek.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_ek.Tpo -c -o libtcs_a-rpc_ek.o `test -f 'rpc/@RPC@/rpc_ek.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ek.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_ek.Tpo $(DEPDIR)/libtcs_a-rpc_ek.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ek.c' object='libtcs_a-rpc_ek.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_ek.o: rpc/@RPC@/rpc_ek.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_ek.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ek.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_ek.o `test -f 'rpc/@RPC@/rpc_ek.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ek.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ek.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ek.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ek.c' object='rpc/@RPC@/libtcs_a-rpc_ek.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_ek.o `test -f 'rpc/@RPC@/rpc_ek.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ek.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_ek.o `test -f 'rpc/@RPC@/rpc_ek.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ek.c -libtcs_a-rpc_ek.obj: rpc/@RPC@/rpc_ek.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_ek.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_ek.Tpo -c -o libtcs_a-rpc_ek.obj `if test -f 'rpc/@RPC@/rpc_ek.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_ek.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_ek.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_ek.Tpo $(DEPDIR)/libtcs_a-rpc_ek.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ek.c' object='libtcs_a-rpc_ek.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_ek.obj: rpc/@RPC@/rpc_ek.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_ek.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ek.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_ek.obj `if test -f 'rpc/@RPC@/rpc_ek.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_ek.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_ek.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ek.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_ek.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ek.c' object='rpc/@RPC@/libtcs_a-rpc_ek.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_ek.obj `if test -f 'rpc/@RPC@/rpc_ek.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_ek.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_ek.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_ek.obj `if test -f 'rpc/@RPC@/rpc_ek.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_ek.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_ek.c'; fi` libtcs_a-tcsi_certify.o: tcsi_certify.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_certify.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_certify.Tpo -c -o libtcs_a-tcsi_certify.o `test -f 'tcsi_certify.c' || echo '$(srcdir)/'`tcsi_certify.c @@ -1424,19 +1557,19 @@ libtcs_a-tcsi_certify.obj: tcsi_certify.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_certify.obj `if test -f 'tcsi_certify.c'; then $(CYGPATH_W) 'tcsi_certify.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_certify.c'; fi` -libtcs_a-rpc_certify.o: rpc/@RPC@/rpc_certify.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_certify.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_certify.Tpo -c -o libtcs_a-rpc_certify.o `test -f 'rpc/@RPC@/rpc_certify.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_certify.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_certify.Tpo $(DEPDIR)/libtcs_a-rpc_certify.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_certify.c' object='libtcs_a-rpc_certify.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_certify.o: rpc/@RPC@/rpc_certify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_certify.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_certify.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_certify.o `test -f 'rpc/@RPC@/rpc_certify.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_certify.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_certify.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_certify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_certify.c' object='rpc/@RPC@/libtcs_a-rpc_certify.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_certify.o `test -f 'rpc/@RPC@/rpc_certify.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_certify.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_certify.o `test -f 'rpc/@RPC@/rpc_certify.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_certify.c -libtcs_a-rpc_certify.obj: rpc/@RPC@/rpc_certify.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_certify.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_certify.Tpo -c -o libtcs_a-rpc_certify.obj `if test -f 'rpc/@RPC@/rpc_certify.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_certify.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_certify.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_certify.Tpo $(DEPDIR)/libtcs_a-rpc_certify.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_certify.c' object='libtcs_a-rpc_certify.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_certify.obj: rpc/@RPC@/rpc_certify.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_certify.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_certify.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_certify.obj `if test -f 'rpc/@RPC@/rpc_certify.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_certify.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_certify.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_certify.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_certify.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_certify.c' object='rpc/@RPC@/libtcs_a-rpc_certify.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_certify.obj `if test -f 'rpc/@RPC@/rpc_certify.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_certify.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_certify.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_certify.obj `if test -f 'rpc/@RPC@/rpc_certify.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_certify.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_certify.c'; fi` libtcs_a-tcsi_key.o: tcsi_key.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_key.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_key.Tpo -c -o libtcs_a-tcsi_key.o `test -f 'tcsi_key.c' || echo '$(srcdir)/'`tcsi_key.c @@ -1494,33 +1627,33 @@ libtcs_a-tcs_context_key.obj: tcs_context_key.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_context_key.obj `if test -f 'tcs_context_key.c'; then $(CYGPATH_W) 'tcs_context_key.c'; else $(CYGPATH_W) '$(srcdir)/tcs_context_key.c'; fi` -libtcs_a-rpc_key.o: rpc/@RPC@/rpc_key.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_key.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_key.Tpo -c -o libtcs_a-rpc_key.o `test -f 'rpc/@RPC@/rpc_key.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_key.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_key.Tpo $(DEPDIR)/libtcs_a-rpc_key.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_key.c' object='libtcs_a-rpc_key.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_key.o: rpc/@RPC@/rpc_key.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_key.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_key.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_key.o `test -f 'rpc/@RPC@/rpc_key.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_key.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_key.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_key.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_key.c' object='rpc/@RPC@/libtcs_a-rpc_key.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_key.o `test -f 'rpc/@RPC@/rpc_key.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_key.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_key.o `test -f 'rpc/@RPC@/rpc_key.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_key.c -libtcs_a-rpc_key.obj: rpc/@RPC@/rpc_key.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_key.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_key.Tpo -c -o libtcs_a-rpc_key.obj `if test -f 'rpc/@RPC@/rpc_key.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_key.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_key.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_key.Tpo $(DEPDIR)/libtcs_a-rpc_key.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_key.c' object='libtcs_a-rpc_key.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_key.obj: rpc/@RPC@/rpc_key.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_key.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_key.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_key.obj `if test -f 'rpc/@RPC@/rpc_key.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_key.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_key.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_key.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_key.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_key.c' object='rpc/@RPC@/libtcs_a-rpc_key.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_key.obj `if test -f 'rpc/@RPC@/rpc_key.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_key.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_key.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_key.obj `if test -f 'rpc/@RPC@/rpc_key.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_key.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_key.c'; fi` -libtcs_a-crypto.o: crypto/@CRYPTO_PACKAGE@/crypto.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-crypto.o -MD -MP -MF $(DEPDIR)/libtcs_a-crypto.Tpo -c -o libtcs_a-crypto.o `test -f 'crypto/@CRYPTO_PACKAGE@/crypto.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/crypto.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-crypto.Tpo $(DEPDIR)/libtcs_a-crypto.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/crypto.c' object='libtcs_a-crypto.o' libtool=no @AMDEPBACKSLASH@ +crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.o: crypto/@CRYPTO_PACKAGE@/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.o -MD -MP -MF crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtcs_a-crypto.Tpo -c -o crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.o `test -f 'crypto/@CRYPTO_PACKAGE@/crypto.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/crypto.c +@am__fastdepCC_TRUE@ $(am__mv) crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtcs_a-crypto.Tpo crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtcs_a-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/crypto.c' object='crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-crypto.o `test -f 'crypto/@CRYPTO_PACKAGE@/crypto.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/crypto.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.o `test -f 'crypto/@CRYPTO_PACKAGE@/crypto.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/crypto.c -libtcs_a-crypto.obj: crypto/@CRYPTO_PACKAGE@/crypto.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-crypto.obj -MD -MP -MF $(DEPDIR)/libtcs_a-crypto.Tpo -c -o libtcs_a-crypto.obj `if test -f 'crypto/@CRYPTO_PACKAGE@/crypto.c'; then $(CYGPATH_W) 'crypto/@CRYPTO_PACKAGE@/crypto.c'; else $(CYGPATH_W) '$(srcdir)/crypto/@CRYPTO_PACKAGE@/crypto.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-crypto.Tpo $(DEPDIR)/libtcs_a-crypto.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/crypto.c' object='libtcs_a-crypto.obj' libtool=no @AMDEPBACKSLASH@ +crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.obj: crypto/@CRYPTO_PACKAGE@/crypto.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.obj -MD -MP -MF crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtcs_a-crypto.Tpo -c -o crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.obj `if test -f 'crypto/@CRYPTO_PACKAGE@/crypto.c'; then $(CYGPATH_W) 'crypto/@CRYPTO_PACKAGE@/crypto.c'; else $(CYGPATH_W) '$(srcdir)/crypto/@CRYPTO_PACKAGE@/crypto.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtcs_a-crypto.Tpo crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtcs_a-crypto.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/crypto.c' object='crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-crypto.obj `if test -f 'crypto/@CRYPTO_PACKAGE@/crypto.c'; then $(CYGPATH_W) 'crypto/@CRYPTO_PACKAGE@/crypto.c'; else $(CYGPATH_W) '$(srcdir)/crypto/@CRYPTO_PACKAGE@/crypto.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o crypto/@CRYPTO_PACKAGE@/libtcs_a-crypto.obj `if test -f 'crypto/@CRYPTO_PACKAGE@/crypto.c'; then $(CYGPATH_W) 'crypto/@CRYPTO_PACKAGE@/crypto.c'; else $(CYGPATH_W) '$(srcdir)/crypto/@CRYPTO_PACKAGE@/crypto.c'; fi` libtcs_a-tcsi_maint.o: tcsi_maint.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_maint.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_maint.Tpo -c -o libtcs_a-tcsi_maint.o `test -f 'tcsi_maint.c' || echo '$(srcdir)/'`tcsi_maint.c @@ -1536,19 +1669,19 @@ libtcs_a-tcsi_maint.obj: tcsi_maint.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_maint.obj `if test -f 'tcsi_maint.c'; then $(CYGPATH_W) 'tcsi_maint.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_maint.c'; fi` -libtcs_a-rpc_maint.o: rpc/@RPC@/rpc_maint.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_maint.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_maint.Tpo -c -o libtcs_a-rpc_maint.o `test -f 'rpc/@RPC@/rpc_maint.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_maint.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_maint.Tpo $(DEPDIR)/libtcs_a-rpc_maint.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_maint.c' object='libtcs_a-rpc_maint.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_maint.o: rpc/@RPC@/rpc_maint.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_maint.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_maint.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_maint.o `test -f 'rpc/@RPC@/rpc_maint.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_maint.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_maint.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_maint.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_maint.c' object='rpc/@RPC@/libtcs_a-rpc_maint.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_maint.o `test -f 'rpc/@RPC@/rpc_maint.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_maint.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_maint.o `test -f 'rpc/@RPC@/rpc_maint.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_maint.c -libtcs_a-rpc_maint.obj: rpc/@RPC@/rpc_maint.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_maint.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_maint.Tpo -c -o libtcs_a-rpc_maint.obj `if test -f 'rpc/@RPC@/rpc_maint.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_maint.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_maint.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_maint.Tpo $(DEPDIR)/libtcs_a-rpc_maint.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_maint.c' object='libtcs_a-rpc_maint.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_maint.obj: rpc/@RPC@/rpc_maint.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_maint.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_maint.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_maint.obj `if test -f 'rpc/@RPC@/rpc_maint.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_maint.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_maint.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_maint.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_maint.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_maint.c' object='rpc/@RPC@/libtcs_a-rpc_maint.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_maint.obj `if test -f 'rpc/@RPC@/rpc_maint.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_maint.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_maint.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_maint.obj `if test -f 'rpc/@RPC@/rpc_maint.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_maint.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_maint.c'; fi` libtcs_a-tcsi_migration.o: tcsi_migration.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_migration.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_migration.Tpo -c -o libtcs_a-tcsi_migration.o `test -f 'tcsi_migration.c' || echo '$(srcdir)/'`tcsi_migration.c @@ -1578,19 +1711,19 @@ libtcs_a-tcs_migration.obj: tcs_migration.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_migration.obj `if test -f 'tcs_migration.c'; then $(CYGPATH_W) 'tcs_migration.c'; else $(CYGPATH_W) '$(srcdir)/tcs_migration.c'; fi` -libtcs_a-rpc_migration.o: rpc/@RPC@/rpc_migration.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_migration.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_migration.Tpo -c -o libtcs_a-rpc_migration.o `test -f 'rpc/@RPC@/rpc_migration.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_migration.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_migration.Tpo $(DEPDIR)/libtcs_a-rpc_migration.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_migration.c' object='libtcs_a-rpc_migration.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_migration.o: rpc/@RPC@/rpc_migration.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_migration.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_migration.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_migration.o `test -f 'rpc/@RPC@/rpc_migration.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_migration.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_migration.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_migration.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_migration.c' object='rpc/@RPC@/libtcs_a-rpc_migration.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_migration.o `test -f 'rpc/@RPC@/rpc_migration.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_migration.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_migration.o `test -f 'rpc/@RPC@/rpc_migration.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_migration.c -libtcs_a-rpc_migration.obj: rpc/@RPC@/rpc_migration.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_migration.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_migration.Tpo -c -o libtcs_a-rpc_migration.obj `if test -f 'rpc/@RPC@/rpc_migration.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_migration.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_migration.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_migration.Tpo $(DEPDIR)/libtcs_a-rpc_migration.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_migration.c' object='libtcs_a-rpc_migration.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_migration.obj: rpc/@RPC@/rpc_migration.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_migration.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_migration.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_migration.obj `if test -f 'rpc/@RPC@/rpc_migration.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_migration.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_migration.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_migration.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_migration.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_migration.c' object='rpc/@RPC@/libtcs_a-rpc_migration.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_migration.obj `if test -f 'rpc/@RPC@/rpc_migration.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_migration.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_migration.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_migration.obj `if test -f 'rpc/@RPC@/rpc_migration.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_migration.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_migration.c'; fi` libtcs_a-tcsi_pcr.o: tcsi_pcr.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_pcr.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_pcr.Tpo -c -o libtcs_a-tcsi_pcr.o `test -f 'tcsi_pcr.c' || echo '$(srcdir)/'`tcsi_pcr.c @@ -1606,19 +1739,19 @@ libtcs_a-tcsi_pcr.obj: tcsi_pcr.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_pcr.obj `if test -f 'tcsi_pcr.c'; then $(CYGPATH_W) 'tcsi_pcr.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_pcr.c'; fi` -libtcs_a-rpc_pcr_extend.o: rpc/@RPC@/rpc_pcr_extend.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_pcr_extend.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_pcr_extend.Tpo -c -o libtcs_a-rpc_pcr_extend.o `test -f 'rpc/@RPC@/rpc_pcr_extend.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_pcr_extend.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_pcr_extend.Tpo $(DEPDIR)/libtcs_a-rpc_pcr_extend.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_pcr_extend.c' object='libtcs_a-rpc_pcr_extend.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_pcr_extend.o: rpc/@RPC@/rpc_pcr_extend.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_pcr_extend.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_pcr_extend.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_pcr_extend.o `test -f 'rpc/@RPC@/rpc_pcr_extend.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_pcr_extend.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_pcr_extend.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_pcr_extend.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_pcr_extend.c' object='rpc/@RPC@/libtcs_a-rpc_pcr_extend.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_pcr_extend.o `test -f 'rpc/@RPC@/rpc_pcr_extend.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_pcr_extend.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_pcr_extend.o `test -f 'rpc/@RPC@/rpc_pcr_extend.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_pcr_extend.c -libtcs_a-rpc_pcr_extend.obj: rpc/@RPC@/rpc_pcr_extend.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_pcr_extend.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_pcr_extend.Tpo -c -o libtcs_a-rpc_pcr_extend.obj `if test -f 'rpc/@RPC@/rpc_pcr_extend.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_pcr_extend.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_pcr_extend.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_pcr_extend.Tpo $(DEPDIR)/libtcs_a-rpc_pcr_extend.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_pcr_extend.c' object='libtcs_a-rpc_pcr_extend.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_pcr_extend.obj: rpc/@RPC@/rpc_pcr_extend.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_pcr_extend.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_pcr_extend.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_pcr_extend.obj `if test -f 'rpc/@RPC@/rpc_pcr_extend.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_pcr_extend.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_pcr_extend.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_pcr_extend.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_pcr_extend.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_pcr_extend.c' object='rpc/@RPC@/libtcs_a-rpc_pcr_extend.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_pcr_extend.obj `if test -f 'rpc/@RPC@/rpc_pcr_extend.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_pcr_extend.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_pcr_extend.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_pcr_extend.obj `if test -f 'rpc/@RPC@/rpc_pcr_extend.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_pcr_extend.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_pcr_extend.c'; fi` libtcs_a-tcsi_selftest.o: tcsi_selftest.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_selftest.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_selftest.Tpo -c -o libtcs_a-tcsi_selftest.o `test -f 'tcsi_selftest.c' || echo '$(srcdir)/'`tcsi_selftest.c @@ -1634,19 +1767,19 @@ libtcs_a-tcsi_selftest.obj: tcsi_selftest.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_selftest.obj `if test -f 'tcsi_selftest.c'; then $(CYGPATH_W) 'tcsi_selftest.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_selftest.c'; fi` -libtcs_a-rpc_selftest.o: rpc/@RPC@/rpc_selftest.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_selftest.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_selftest.Tpo -c -o libtcs_a-rpc_selftest.o `test -f 'rpc/@RPC@/rpc_selftest.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_selftest.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_selftest.Tpo $(DEPDIR)/libtcs_a-rpc_selftest.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_selftest.c' object='libtcs_a-rpc_selftest.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_selftest.o: rpc/@RPC@/rpc_selftest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_selftest.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_selftest.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_selftest.o `test -f 'rpc/@RPC@/rpc_selftest.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_selftest.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_selftest.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_selftest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_selftest.c' object='rpc/@RPC@/libtcs_a-rpc_selftest.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_selftest.o `test -f 'rpc/@RPC@/rpc_selftest.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_selftest.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_selftest.o `test -f 'rpc/@RPC@/rpc_selftest.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_selftest.c -libtcs_a-rpc_selftest.obj: rpc/@RPC@/rpc_selftest.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_selftest.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_selftest.Tpo -c -o libtcs_a-rpc_selftest.obj `if test -f 'rpc/@RPC@/rpc_selftest.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_selftest.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_selftest.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_selftest.Tpo $(DEPDIR)/libtcs_a-rpc_selftest.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_selftest.c' object='libtcs_a-rpc_selftest.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_selftest.obj: rpc/@RPC@/rpc_selftest.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_selftest.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_selftest.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_selftest.obj `if test -f 'rpc/@RPC@/rpc_selftest.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_selftest.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_selftest.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_selftest.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_selftest.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_selftest.c' object='rpc/@RPC@/libtcs_a-rpc_selftest.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_selftest.obj `if test -f 'rpc/@RPC@/rpc_selftest.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_selftest.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_selftest.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_selftest.obj `if test -f 'rpc/@RPC@/rpc_selftest.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_selftest.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_selftest.c'; fi` libtcs_a-tcsi_daa.o: tcsi_daa.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_daa.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_daa.Tpo -c -o libtcs_a-tcsi_daa.o `test -f 'tcsi_daa.c' || echo '$(srcdir)/'`tcsi_daa.c @@ -1662,19 +1795,19 @@ libtcs_a-tcsi_daa.obj: tcsi_daa.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_daa.obj `if test -f 'tcsi_daa.c'; then $(CYGPATH_W) 'tcsi_daa.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_daa.c'; fi` -libtcs_a-rpc_daa.o: rpc/@RPC@/rpc_daa.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_daa.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_daa.Tpo -c -o libtcs_a-rpc_daa.o `test -f 'rpc/@RPC@/rpc_daa.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_daa.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_daa.Tpo $(DEPDIR)/libtcs_a-rpc_daa.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_daa.c' object='libtcs_a-rpc_daa.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_daa.o: rpc/@RPC@/rpc_daa.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_daa.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_daa.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_daa.o `test -f 'rpc/@RPC@/rpc_daa.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_daa.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_daa.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_daa.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_daa.c' object='rpc/@RPC@/libtcs_a-rpc_daa.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_daa.o `test -f 'rpc/@RPC@/rpc_daa.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_daa.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_daa.o `test -f 'rpc/@RPC@/rpc_daa.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_daa.c -libtcs_a-rpc_daa.obj: rpc/@RPC@/rpc_daa.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_daa.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_daa.Tpo -c -o libtcs_a-rpc_daa.obj `if test -f 'rpc/@RPC@/rpc_daa.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_daa.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_daa.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_daa.Tpo $(DEPDIR)/libtcs_a-rpc_daa.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_daa.c' object='libtcs_a-rpc_daa.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_daa.obj: rpc/@RPC@/rpc_daa.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_daa.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_daa.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_daa.obj `if test -f 'rpc/@RPC@/rpc_daa.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_daa.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_daa.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_daa.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_daa.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_daa.c' object='rpc/@RPC@/libtcs_a-rpc_daa.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_daa.obj `if test -f 'rpc/@RPC@/rpc_daa.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_daa.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_daa.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_daa.obj `if test -f 'rpc/@RPC@/rpc_daa.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_daa.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_daa.c'; fi` libtcs_a-tcsi_nv.o: tcsi_nv.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_nv.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_nv.Tpo -c -o libtcs_a-tcsi_nv.o `test -f 'tcsi_nv.c' || echo '$(srcdir)/'`tcsi_nv.c @@ -1690,19 +1823,19 @@ libtcs_a-tcsi_nv.obj: tcsi_nv.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_nv.obj `if test -f 'tcsi_nv.c'; then $(CYGPATH_W) 'tcsi_nv.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_nv.c'; fi` -libtcs_a-rpc_nv.o: rpc/@RPC@/rpc_nv.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_nv.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_nv.Tpo -c -o libtcs_a-rpc_nv.o `test -f 'rpc/@RPC@/rpc_nv.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_nv.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_nv.Tpo $(DEPDIR)/libtcs_a-rpc_nv.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_nv.c' object='libtcs_a-rpc_nv.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_nv.o: rpc/@RPC@/rpc_nv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_nv.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_nv.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_nv.o `test -f 'rpc/@RPC@/rpc_nv.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_nv.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_nv.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_nv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_nv.c' object='rpc/@RPC@/libtcs_a-rpc_nv.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_nv.o `test -f 'rpc/@RPC@/rpc_nv.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_nv.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_nv.o `test -f 'rpc/@RPC@/rpc_nv.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_nv.c -libtcs_a-rpc_nv.obj: rpc/@RPC@/rpc_nv.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_nv.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_nv.Tpo -c -o libtcs_a-rpc_nv.obj `if test -f 'rpc/@RPC@/rpc_nv.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_nv.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_nv.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_nv.Tpo $(DEPDIR)/libtcs_a-rpc_nv.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_nv.c' object='libtcs_a-rpc_nv.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_nv.obj: rpc/@RPC@/rpc_nv.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_nv.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_nv.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_nv.obj `if test -f 'rpc/@RPC@/rpc_nv.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_nv.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_nv.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_nv.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_nv.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_nv.c' object='rpc/@RPC@/libtcs_a-rpc_nv.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_nv.obj `if test -f 'rpc/@RPC@/rpc_nv.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_nv.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_nv.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_nv.obj `if test -f 'rpc/@RPC@/rpc_nv.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_nv.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_nv.c'; fi` libtcs_a-tcsi_audit.o: tcsi_audit.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_audit.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_audit.Tpo -c -o libtcs_a-tcsi_audit.o `test -f 'tcsi_audit.c' || echo '$(srcdir)/'`tcsi_audit.c @@ -1718,19 +1851,19 @@ libtcs_a-tcsi_audit.obj: tcsi_audit.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_audit.obj `if test -f 'tcsi_audit.c'; then $(CYGPATH_W) 'tcsi_audit.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_audit.c'; fi` -libtcs_a-rpc_audit.o: rpc/@RPC@/rpc_audit.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_audit.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_audit.Tpo -c -o libtcs_a-rpc_audit.o `test -f 'rpc/@RPC@/rpc_audit.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_audit.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_audit.Tpo $(DEPDIR)/libtcs_a-rpc_audit.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_audit.c' object='libtcs_a-rpc_audit.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_audit.o: rpc/@RPC@/rpc_audit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_audit.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_audit.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_audit.o `test -f 'rpc/@RPC@/rpc_audit.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_audit.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_audit.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_audit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_audit.c' object='rpc/@RPC@/libtcs_a-rpc_audit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_audit.o `test -f 'rpc/@RPC@/rpc_audit.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_audit.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_audit.o `test -f 'rpc/@RPC@/rpc_audit.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_audit.c -libtcs_a-rpc_audit.obj: rpc/@RPC@/rpc_audit.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_audit.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_audit.Tpo -c -o libtcs_a-rpc_audit.obj `if test -f 'rpc/@RPC@/rpc_audit.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_audit.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_audit.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_audit.Tpo $(DEPDIR)/libtcs_a-rpc_audit.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_audit.c' object='libtcs_a-rpc_audit.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_audit.obj: rpc/@RPC@/rpc_audit.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_audit.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_audit.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_audit.obj `if test -f 'rpc/@RPC@/rpc_audit.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_audit.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_audit.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_audit.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_audit.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_audit.c' object='rpc/@RPC@/libtcs_a-rpc_audit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_audit.obj `if test -f 'rpc/@RPC@/rpc_audit.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_audit.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_audit.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_audit.obj `if test -f 'rpc/@RPC@/rpc_audit.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_audit.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_audit.c'; fi` libtcs_a-tcsi_oper.o: tcsi_oper.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_oper.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_oper.Tpo -c -o libtcs_a-tcsi_oper.o `test -f 'tcsi_oper.c' || echo '$(srcdir)/'`tcsi_oper.c @@ -1746,19 +1879,19 @@ libtcs_a-tcsi_oper.obj: tcsi_oper.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_oper.obj `if test -f 'tcsi_oper.c'; then $(CYGPATH_W) 'tcsi_oper.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_oper.c'; fi` -libtcs_a-rpc_oper.o: rpc/@RPC@/rpc_oper.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_oper.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_oper.Tpo -c -o libtcs_a-rpc_oper.o `test -f 'rpc/@RPC@/rpc_oper.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_oper.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_oper.Tpo $(DEPDIR)/libtcs_a-rpc_oper.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_oper.c' object='libtcs_a-rpc_oper.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_oper.o: rpc/@RPC@/rpc_oper.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_oper.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_oper.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_oper.o `test -f 'rpc/@RPC@/rpc_oper.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_oper.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_oper.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_oper.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_oper.c' object='rpc/@RPC@/libtcs_a-rpc_oper.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_oper.o `test -f 'rpc/@RPC@/rpc_oper.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_oper.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_oper.o `test -f 'rpc/@RPC@/rpc_oper.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_oper.c -libtcs_a-rpc_oper.obj: rpc/@RPC@/rpc_oper.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_oper.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_oper.Tpo -c -o libtcs_a-rpc_oper.obj `if test -f 'rpc/@RPC@/rpc_oper.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_oper.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_oper.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_oper.Tpo $(DEPDIR)/libtcs_a-rpc_oper.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_oper.c' object='libtcs_a-rpc_oper.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_oper.obj: rpc/@RPC@/rpc_oper.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_oper.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_oper.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_oper.obj `if test -f 'rpc/@RPC@/rpc_oper.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_oper.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_oper.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_oper.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_oper.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_oper.c' object='rpc/@RPC@/libtcs_a-rpc_oper.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_oper.obj `if test -f 'rpc/@RPC@/rpc_oper.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_oper.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_oper.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_oper.obj `if test -f 'rpc/@RPC@/rpc_oper.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_oper.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_oper.c'; fi` libtcs_a-tcsi_delegate.o: tcsi_delegate.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_delegate.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_delegate.Tpo -c -o libtcs_a-tcsi_delegate.o `test -f 'tcsi_delegate.c' || echo '$(srcdir)/'`tcsi_delegate.c @@ -1774,19 +1907,19 @@ libtcs_a-tcsi_delegate.obj: tcsi_delegate.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_delegate.obj `if test -f 'tcsi_delegate.c'; then $(CYGPATH_W) 'tcsi_delegate.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_delegate.c'; fi` -libtcs_a-rpc_delegate.o: rpc/@RPC@/rpc_delegate.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_delegate.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_delegate.Tpo -c -o libtcs_a-rpc_delegate.o `test -f 'rpc/@RPC@/rpc_delegate.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_delegate.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_delegate.Tpo $(DEPDIR)/libtcs_a-rpc_delegate.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_delegate.c' object='libtcs_a-rpc_delegate.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_delegate.o: rpc/@RPC@/rpc_delegate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_delegate.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_delegate.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_delegate.o `test -f 'rpc/@RPC@/rpc_delegate.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_delegate.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_delegate.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_delegate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_delegate.c' object='rpc/@RPC@/libtcs_a-rpc_delegate.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_delegate.o `test -f 'rpc/@RPC@/rpc_delegate.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_delegate.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_delegate.o `test -f 'rpc/@RPC@/rpc_delegate.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_delegate.c -libtcs_a-rpc_delegate.obj: rpc/@RPC@/rpc_delegate.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_delegate.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_delegate.Tpo -c -o libtcs_a-rpc_delegate.obj `if test -f 'rpc/@RPC@/rpc_delegate.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_delegate.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_delegate.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_delegate.Tpo $(DEPDIR)/libtcs_a-rpc_delegate.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_delegate.c' object='libtcs_a-rpc_delegate.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_delegate.obj: rpc/@RPC@/rpc_delegate.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_delegate.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_delegate.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_delegate.obj `if test -f 'rpc/@RPC@/rpc_delegate.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_delegate.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_delegate.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_delegate.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_delegate.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_delegate.c' object='rpc/@RPC@/libtcs_a-rpc_delegate.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_delegate.obj `if test -f 'rpc/@RPC@/rpc_delegate.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_delegate.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_delegate.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_delegate.obj `if test -f 'rpc/@RPC@/rpc_delegate.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_delegate.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_delegate.c'; fi` libtcs_a-tcsi_quote2.o: tcsi_quote2.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_quote2.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_quote2.Tpo -c -o libtcs_a-tcsi_quote2.o `test -f 'tcsi_quote2.c' || echo '$(srcdir)/'`tcsi_quote2.c @@ -1816,19 +1949,19 @@ libtcs_a-tcs_quote2.obj: tcs_quote2.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcs_quote2.obj `if test -f 'tcs_quote2.c'; then $(CYGPATH_W) 'tcs_quote2.c'; else $(CYGPATH_W) '$(srcdir)/tcs_quote2.c'; fi` -libtcs_a-rpc_quote2.o: rpc/@RPC@/rpc_quote2.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_quote2.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_quote2.Tpo -c -o libtcs_a-rpc_quote2.o `test -f 'rpc/@RPC@/rpc_quote2.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote2.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_quote2.Tpo $(DEPDIR)/libtcs_a-rpc_quote2.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote2.c' object='libtcs_a-rpc_quote2.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_quote2.o: rpc/@RPC@/rpc_quote2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_quote2.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote2.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_quote2.o `test -f 'rpc/@RPC@/rpc_quote2.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote2.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote2.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote2.c' object='rpc/@RPC@/libtcs_a-rpc_quote2.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_quote2.o `test -f 'rpc/@RPC@/rpc_quote2.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote2.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_quote2.o `test -f 'rpc/@RPC@/rpc_quote2.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote2.c -libtcs_a-rpc_quote2.obj: rpc/@RPC@/rpc_quote2.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_quote2.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_quote2.Tpo -c -o libtcs_a-rpc_quote2.obj `if test -f 'rpc/@RPC@/rpc_quote2.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_quote2.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_quote2.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_quote2.Tpo $(DEPDIR)/libtcs_a-rpc_quote2.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote2.c' object='libtcs_a-rpc_quote2.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_quote2.obj: rpc/@RPC@/rpc_quote2.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_quote2.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote2.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_quote2.obj `if test -f 'rpc/@RPC@/rpc_quote2.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_quote2.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_quote2.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote2.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_quote2.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote2.c' object='rpc/@RPC@/libtcs_a-rpc_quote2.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_quote2.obj `if test -f 'rpc/@RPC@/rpc_quote2.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_quote2.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_quote2.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_quote2.obj `if test -f 'rpc/@RPC@/rpc_quote2.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_quote2.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_quote2.c'; fi` libtcs_a-tcsi_cmk.o: tcsi_cmk.c @am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-tcsi_cmk.o -MD -MP -MF $(DEPDIR)/libtcs_a-tcsi_cmk.Tpo -c -o libtcs_a-tcsi_cmk.o `test -f 'tcsi_cmk.c' || echo '$(srcdir)/'`tcsi_cmk.c @@ -1844,19 +1977,19 @@ libtcs_a-tcsi_cmk.obj: tcsi_cmk.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-tcsi_cmk.obj `if test -f 'tcsi_cmk.c'; then $(CYGPATH_W) 'tcsi_cmk.c'; else $(CYGPATH_W) '$(srcdir)/tcsi_cmk.c'; fi` -libtcs_a-rpc_cmk.o: rpc/@RPC@/rpc_cmk.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_cmk.o -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_cmk.Tpo -c -o libtcs_a-rpc_cmk.o `test -f 'rpc/@RPC@/rpc_cmk.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_cmk.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_cmk.Tpo $(DEPDIR)/libtcs_a-rpc_cmk.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_cmk.c' object='libtcs_a-rpc_cmk.o' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_cmk.o: rpc/@RPC@/rpc_cmk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_cmk.o -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_cmk.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_cmk.o `test -f 'rpc/@RPC@/rpc_cmk.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_cmk.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_cmk.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_cmk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_cmk.c' object='rpc/@RPC@/libtcs_a-rpc_cmk.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_cmk.o `test -f 'rpc/@RPC@/rpc_cmk.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_cmk.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_cmk.o `test -f 'rpc/@RPC@/rpc_cmk.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_cmk.c -libtcs_a-rpc_cmk.obj: rpc/@RPC@/rpc_cmk.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT libtcs_a-rpc_cmk.obj -MD -MP -MF $(DEPDIR)/libtcs_a-rpc_cmk.Tpo -c -o libtcs_a-rpc_cmk.obj `if test -f 'rpc/@RPC@/rpc_cmk.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_cmk.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_cmk.c'; fi` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtcs_a-rpc_cmk.Tpo $(DEPDIR)/libtcs_a-rpc_cmk.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_cmk.c' object='libtcs_a-rpc_cmk.obj' libtool=no @AMDEPBACKSLASH@ +rpc/@RPC@/libtcs_a-rpc_cmk.obj: rpc/@RPC@/rpc_cmk.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtcs_a-rpc_cmk.obj -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_cmk.Tpo -c -o rpc/@RPC@/libtcs_a-rpc_cmk.obj `if test -f 'rpc/@RPC@/rpc_cmk.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_cmk.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_cmk.c'; fi` +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_cmk.Tpo rpc/@RPC@/$(DEPDIR)/libtcs_a-rpc_cmk.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_cmk.c' object='rpc/@RPC@/libtcs_a-rpc_cmk.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o libtcs_a-rpc_cmk.obj `if test -f 'rpc/@RPC@/rpc_cmk.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_cmk.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_cmk.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtcs_a_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtcs_a-rpc_cmk.obj `if test -f 'rpc/@RPC@/rpc_cmk.c'; then $(CYGPATH_W) 'rpc/@RPC@/rpc_cmk.c'; else $(CYGPATH_W) '$(srcdir)/rpc/@RPC@/rpc_cmk.c'; fi` mostlyclean-libtool: -rm -f *.lo @@ -1971,6 +2104,12 @@ clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp) + -rm -f crypto/@CRYPTO_PACKAGE@/$(am__dirstamp) + -rm -f ps/$(DEPDIR)/$(am__dirstamp) + -rm -f ps/$(am__dirstamp) + -rm -f rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) + -rm -f rpc/@RPC@/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -1981,7 +2120,7 @@ clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -rf ./$(DEPDIR) + -rm -rf ./$(DEPDIR) crypto/@CRYPTO_PACKAGE@/$(DEPDIR) ps/$(DEPDIR) rpc/@RPC@/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -2027,7 +2166,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) + -rm -rf ./$(DEPDIR) crypto/@CRYPTO_PACKAGE@/$(DEPDIR) ps/$(DEPDIR) rpc/@RPC@/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/crypto/external/cpl/trousers/dist/src/tcs/crypto/openssl/crypto.c b/crypto/external/cpl/trousers/dist/src/tcs/crypto/openssl/crypto.c index c02db27223b..ac42541ac6d 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/crypto/openssl/crypto.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/crypto/openssl/crypto.c @@ -31,13 +31,15 @@ TSS_RESULT Hash(UINT32 HashType, UINT32 BufSize, BYTE* Buf, BYTE* Digest) { - EVP_MD_CTX md_ctx; + EVP_MD_CTX *md_ctx; unsigned int result_size; int rv; + md_ctx = EVP_MD_CTX_create(); + switch (HashType) { case TSS_HASH_SHA1: - rv = EVP_DigestInit(&md_ctx, EVP_sha1()); + rv = EVP_DigestInit(md_ctx, EVP_sha1()); break; default: rv = TCSERR(TSS_E_BAD_PARAMETER); @@ -50,19 +52,20 @@ Hash(UINT32 HashType, UINT32 BufSize, BYTE* Buf, BYTE* Digest) goto out; } - rv = EVP_DigestUpdate(&md_ctx, Buf, BufSize); + rv = EVP_DigestUpdate(md_ctx, Buf, BufSize); if (rv != EVP_SUCCESS) { rv = TCSERR(TSS_E_INTERNAL_ERROR); goto out; } - result_size = EVP_MD_CTX_size(&md_ctx); - rv = EVP_DigestFinal(&md_ctx, Digest, &result_size); + result_size = EVP_MD_CTX_size(md_ctx); + rv = EVP_DigestFinal(md_ctx, Digest, &result_size); if (rv != EVP_SUCCESS) { rv = TCSERR(TSS_E_INTERNAL_ERROR); } else rv = TSS_SUCCESS; out: + EVP_MD_CTX_destroy(md_ctx); return rv; } diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_admin.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_admin.c index 4f357c3b41a..0070fde3be8 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_admin.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_admin.c @@ -37,6 +37,9 @@ tcs_wrap_PhysicalSetDeactivated(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_BOOL, 1, &state, 0, &data->comm)) @@ -47,7 +50,7 @@ tcs_wrap_PhysicalSetDeactivated(struct tcsd_thread_data *data) result = TCSP_PhysicalSetDeactivated_Internal(hContext, state); MUTEX_UNLOCK(tcsp_lock); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -64,6 +67,9 @@ tcs_wrap_DisableOwnerClear(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_AUTH, 1, &auth, 0, &data->comm)) @@ -81,7 +87,7 @@ tcs_wrap_DisableOwnerClear(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -166,6 +172,9 @@ tcs_wrap_SetOwnerInstall(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_BOOL, 1, &state, 0, &data->comm)) @@ -176,7 +185,7 @@ tcs_wrap_SetOwnerInstall(struct tcsd_thread_data *data) result = TCSP_SetOwnerInstall_Internal(hContext, state); MUTEX_UNLOCK(tcsp_lock); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -194,6 +203,9 @@ tcs_wrap_OwnerSetDisable(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_BOOL, 1, &disableState, 0, &data->comm)) @@ -214,7 +226,7 @@ tcs_wrap_OwnerSetDisable(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -253,6 +265,9 @@ tcs_wrap_PhysicalPresence(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT16, 1, &phyPresFlags, 0, &data->comm)) @@ -263,7 +278,7 @@ tcs_wrap_PhysicalPresence(struct tcsd_thread_data *data) result = TCSP_PhysicalPresence_Internal(hContext, phyPresFlags); MUTEX_UNLOCK(tcsp_lock); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -307,6 +322,9 @@ tcs_wrap_SetTempDeactivated2(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_AUTH, 1, &operatorAuth, 0, &data->comm)) @@ -331,7 +349,7 @@ tcs_wrap_SetTempDeactivated2(struct tcsd_thread_data *data) } } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -348,6 +366,9 @@ tcs_wrap_ResetLockValue(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_AUTH, 1, &ownerAuth, 0, &data->comm)) @@ -365,7 +386,7 @@ tcs_wrap_ResetLockValue(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -383,6 +404,9 @@ tcs_wrap_FlushSpecific(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hResHandle, 0, &data->comm)) @@ -395,7 +419,7 @@ tcs_wrap_FlushSpecific(struct tcsd_thread_data *data) result = TCSP_FlushSpecific_Internal(hContext, hResHandle, resourceType); MUTEX_UNLOCK(tcsp_lock); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_aik.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_aik.c index 0f758f905fa..08b294899a5 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_aik.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_aik.c @@ -56,6 +56,9 @@ tcs_wrap_MakeIdentity(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_ENCAUTH, 1, &identityAuth, 0, &data->comm)) @@ -139,7 +142,7 @@ tcs_wrap_MakeIdentity(struct tcsd_thread_data *data) free(prgbPlatCred); free(prgbConfCred); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -168,6 +171,9 @@ tcs_wrap_ActivateIdentity(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idKeyHandle, 0, &data->comm)) @@ -232,7 +238,7 @@ tcs_wrap_ActivateIdentity(struct tcsd_thread_data *data) } free(SymmetricKey); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -253,6 +259,9 @@ tcs_wrap_GetCredential(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + if (getData(TCSD_PACKET_TYPE_UINT32, 1, &CredType, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); @@ -273,7 +282,7 @@ tcs_wrap_GetCredential(struct tcsd_thread_data *data) free(CredData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_audit.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_audit.c index 0fcfd180df7..4682d6329c7 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_audit.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_audit.c @@ -39,6 +39,9 @@ tcs_wrap_SetOrdinalAuditStatus(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &ulOrdinal, 0, &data->comm)) @@ -61,7 +64,7 @@ tcs_wrap_SetOrdinalAuditStatus(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -84,6 +87,9 @@ tcs_wrap_GetAuditDigest(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &startOrdinal, 0, &data->comm)) @@ -128,7 +134,7 @@ tcs_wrap_GetAuditDigest(struct tcsd_thread_data *data) } free(ordList); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -158,6 +164,9 @@ tcs_wrap_GetAuditDigestSigned(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &keyHandle, 0, &data->comm)) @@ -222,7 +231,7 @@ tcs_wrap_GetAuditDigestSigned(struct tcsd_thread_data *data) } free(sig); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_auth.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_auth.c index 2437c6b54ce..33079288715 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_auth.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_auth.c @@ -38,6 +38,9 @@ tcs_wrap_OIAP(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); MUTEX_LOCK(tcsp_lock); @@ -55,7 +58,7 @@ tcs_wrap_OIAP(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -77,6 +80,9 @@ tcs_wrap_OSAP(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT16, 1, &entityType, 0, &data->comm)) @@ -105,7 +111,7 @@ tcs_wrap_OSAP(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_bind.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_bind.c index 92eee24246e..19bc5278da3 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_bind.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_bind.c @@ -47,6 +47,9 @@ tcs_wrap_UnBind(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &keyHandle, 0, &data->comm)) @@ -97,7 +100,7 @@ tcs_wrap_UnBind(struct tcsd_thread_data *data) } free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps.c index 4fd2c11334e..10d66fc74fa 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps.c @@ -41,6 +41,9 @@ tcs_wrap_TCSGetCapability(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &capArea, 0, &data->comm)) @@ -74,7 +77,7 @@ tcs_wrap_TCSGetCapability(struct tcsd_thread_data *data) } free(resp); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps_tpm.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps_tpm.c index 2bcac27373b..46116e21009 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps_tpm.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_caps_tpm.c @@ -41,6 +41,9 @@ tcs_wrap_GetCapability(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ldd context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &capArea, 0, &data->comm)) @@ -82,7 +85,7 @@ tcs_wrap_GetCapability(struct tcsd_thread_data *data) } free(resp); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -101,6 +104,9 @@ tcs_wrap_GetCapabilityOwner(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_AUTH, 1, &ownerAuth, 0, &data->comm)) @@ -127,7 +133,7 @@ tcs_wrap_GetCapabilityOwner(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -148,6 +154,9 @@ tcs_wrap_SetCapability(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &capArea, 0, &data->comm)) @@ -213,7 +222,7 @@ tcs_wrap_SetCapability(struct tcsd_thread_data *data) } } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_certify.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_certify.c index 85c93214b20..905c84f6805 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_certify.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_certify.c @@ -46,6 +46,9 @@ tcs_wrap_CertifyKey(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &certHandle, 0, &data->comm)) @@ -112,7 +115,7 @@ tcs_wrap_CertifyKey(struct tcsd_thread_data *data) } free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_changeauth.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_changeauth.c index 97af1929966..08a09342c90 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_changeauth.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_changeauth.c @@ -48,6 +48,9 @@ tcs_wrap_ChangeAuth(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &data->comm)) @@ -106,7 +109,7 @@ tcs_wrap_ChangeAuth(struct tcsd_thread_data *data) } free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -127,6 +130,9 @@ tcs_wrap_ChangeAuthOwner(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT16, 1, &protocolID, 0, &data->comm)) @@ -151,7 +157,7 @@ tcs_wrap_ChangeAuthOwner(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_cmk.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_cmk.c index 3d00c139c4b..e2a014244ed 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_cmk.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_cmk.c @@ -38,6 +38,9 @@ tcs_wrap_CMK_SetRestrictions(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &restriction, 0, &data->comm)) @@ -57,7 +60,7 @@ tcs_wrap_CMK_SetRestrictions(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -76,6 +79,9 @@ tcs_wrap_CMK_ApproveMA(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_DIGEST, 1, &migAuthorityDigest, 0, &data->comm)) @@ -99,7 +105,7 @@ tcs_wrap_CMK_ApproveMA(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_DIGEST, 1, &migAuthorityApproval, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -125,6 +131,9 @@ tcs_wrap_CMK_CreateKey(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -187,7 +196,7 @@ tcs_wrap_CMK_CreateKey(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -210,6 +219,9 @@ tcs_wrap_CMK_CreateTicket(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &publicVerifyKeySize, 0, &data->comm)) @@ -270,7 +282,7 @@ tcs_wrap_CMK_CreateTicket(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_DIGEST, 1, &sigTicket, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -300,6 +312,9 @@ tcs_wrap_CMK_CreateBlob(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -475,7 +490,7 @@ tcs_wrap_CMK_CreateBlob(struct tcsd_thread_data *data) } free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -503,6 +518,9 @@ tcs_wrap_CMK_ConvertMigration(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -608,7 +626,7 @@ tcs_wrap_CMK_ConvertMigration(struct tcsd_thread_data *data) } free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_context.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_context.c index b04449e8909..1fb089629c0 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_context.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_context.c @@ -49,6 +49,8 @@ tcs_wrap_OpenContext(struct tcsd_thread_data *data) * and the connection can't be closed cleanly, we'll still have a reference * to what resources need to be freed. */ data->context = hContext; + + LogDebug("New context is 0x%x", hContext); } else initData(&data->comm, 0); diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_counter.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_counter.c index 6bb654e8bad..42e4d21d9de 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_counter.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_counter.c @@ -38,6 +38,9 @@ tcs_wrap_ReadCounter(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) @@ -54,7 +57,7 @@ tcs_wrap_ReadCounter(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_COUNTER_VALUE, 0, &counterValue, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -75,6 +78,9 @@ tcs_wrap_CreateCounter(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &LabelSize, 0, &data->comm)) @@ -116,7 +122,7 @@ tcs_wrap_CreateCounter(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_COUNTER_VALUE, 2, &counterValue, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -134,6 +140,9 @@ tcs_wrap_IncrementCounter(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) @@ -154,7 +163,7 @@ tcs_wrap_IncrementCounter(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_COUNTER_VALUE, 1, &counterValue, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -171,6 +180,9 @@ tcs_wrap_ReleaseCounter(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) @@ -189,7 +201,7 @@ tcs_wrap_ReleaseCounter(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_AUTH, 0, &auth, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -206,6 +218,9 @@ tcs_wrap_ReleaseCounterOwner(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) @@ -224,7 +239,7 @@ tcs_wrap_ReleaseCounterOwner(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_AUTH, 0, &auth, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_daa.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_daa.c index 6b9c1c6d5cd..d2fc8d3f0b7 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_daa.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_daa.c @@ -41,6 +41,9 @@ tcs_wrap_DaaJoin(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hDAA, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); LogDebugFn("thread %ld hDAA %x", THREAD_ID, hDAA); @@ -124,7 +127,7 @@ tcs_wrap_DaaJoin(struct tcsd_thread_data *data) } free(outputData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -144,6 +147,9 @@ tcs_wrap_DaaSign(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hDAA, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); LogDebugFn("thread %ld hDAA %x", THREAD_ID, hDAA); @@ -231,7 +237,7 @@ tcs_wrap_DaaSign(struct tcsd_thread_data *data) } free(outputData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_delegate.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_delegate.c index 5bd0cd8cc11..62d659187b3 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_delegate.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_delegate.c @@ -47,6 +47,9 @@ tcs_wrap_Delegate_Manage(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &familyId, 0, &data->comm)) @@ -106,7 +109,7 @@ tcs_wrap_Delegate_Manage(struct tcsd_thread_data *data) } free(retData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -133,6 +136,9 @@ tcs_wrap_Delegate_CreateKeyDelegation(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -194,7 +200,7 @@ tcs_wrap_Delegate_CreateKeyDelegation(struct tcsd_thread_data *data) } free(blob); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -221,6 +227,9 @@ tcs_wrap_Delegate_CreateOwnerDelegation(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_BOOL, 1, &increment, 0, &data->comm)) @@ -282,7 +291,7 @@ tcs_wrap_Delegate_CreateOwnerDelegation(struct tcsd_thread_data *data) } free(blob); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -305,6 +314,9 @@ tcs_wrap_Delegate_LoadOwnerDelegation(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &index, 0, &data->comm)) @@ -349,7 +361,7 @@ tcs_wrap_Delegate_LoadOwnerDelegation(struct tcsd_thread_data *data) } } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -369,6 +381,9 @@ tcs_wrap_Delegate_ReadTable(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); MUTEX_LOCK(tcsp_lock); @@ -402,7 +417,7 @@ tcs_wrap_Delegate_ReadTable(struct tcsd_thread_data *data) } free(delegateTable); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -427,6 +442,9 @@ tcs_wrap_Delegate_UpdateVerificationCount(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &inputSize, 0, &data->comm)) @@ -480,7 +498,7 @@ tcs_wrap_Delegate_UpdateVerificationCount(struct tcsd_thread_data *data) } free(output); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -498,6 +516,9 @@ tcs_wrap_Delegate_VerifyDelegation(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &delegateSize, 0, &data->comm)) @@ -519,7 +540,7 @@ tcs_wrap_Delegate_VerifyDelegation(struct tcsd_thread_data *data) MUTEX_UNLOCK(tcsp_lock); free(delegate); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -542,6 +563,9 @@ tcs_wrap_DSAP(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT16, 1, &entityType, 0, &data->comm)) @@ -581,7 +605,7 @@ tcs_wrap_DSAP(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_NONCE, 2, &nonceEvenDSAP, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_dir.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_dir.c index 47baec6f464..ad47a8d8fd2 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_dir.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_dir.c @@ -39,6 +39,9 @@ tcs_wrap_DirWriteAuth(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &dirIndex, 0, &data->comm)) @@ -60,7 +63,7 @@ tcs_wrap_DirWriteAuth(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -78,6 +81,9 @@ tcs_wrap_DirRead(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &dirIndex, 0, &data->comm)) @@ -95,7 +101,7 @@ tcs_wrap_DirRead(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ek.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ek.c index 0b49718dbb0..71429fc2420 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ek.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ek.c @@ -42,6 +42,9 @@ tcs_wrap_CreateEndorsementKeyPair(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) @@ -84,7 +87,7 @@ tcs_wrap_CreateEndorsementKeyPair(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -103,6 +106,9 @@ tcs_wrap_ReadPubek(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) @@ -129,7 +135,7 @@ tcs_wrap_ReadPubek(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -147,6 +153,9 @@ tcs_wrap_OwnerReadPubek(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_AUTH, 1, &auth, 0, &data->comm)) @@ -174,7 +183,7 @@ tcs_wrap_OwnerReadPubek(struct tcsd_thread_data *data) } free(pubEK); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -231,6 +240,9 @@ tcs_wrap_CreateRevocableEndorsementKeyPair(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) @@ -287,7 +299,7 @@ tcs_wrap_CreateRevocableEndorsementKeyPair(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -304,6 +316,9 @@ tcs_wrap_RevokeEndorsementKeyPair(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_DIGEST, 1, &eKResetAuth, 0, &data->comm)) @@ -314,7 +329,7 @@ tcs_wrap_RevokeEndorsementKeyPair(struct tcsd_thread_data *data) result = TCSP_RevokeEndorsementKeyPair_Internal(hContext, eKResetAuth); MUTEX_UNLOCK(tcsp_lock); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_evlog.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_evlog.c index 4187c254dbf..a6b656a8c4a 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_evlog.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_evlog.c @@ -33,12 +33,15 @@ tcs_wrap_GetPcrEvent(struct tcsd_thread_data *data) TCS_CONTEXT_HANDLE hContext; TSS_PCR_EVENT *pEvent = NULL; TSS_RESULT result; - UINT32 pcrIndex, number, totalSize; + UINT32 pcrIndex, number; BYTE lengthOnly; if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &pcrIndex, 0, &data->comm)) @@ -56,11 +59,6 @@ tcs_wrap_GetPcrEvent(struct tcsd_thread_data *data) result = TCS_GetPcrEvent_Internal(hContext, pcrIndex, &number, &pEvent); if (result == TSS_SUCCESS) { - if (lengthOnly == FALSE) - totalSize = get_pcr_event_size(pEvent); - else - totalSize = 0; - initData(&data->comm, 2); if (setData(TCSD_PACKET_TYPE_UINT32, 0, &number, 0, &data->comm)) { if (lengthOnly == FALSE) @@ -79,7 +77,7 @@ tcs_wrap_GetPcrEvent(struct tcsd_thread_data *data) free(pEvent); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -98,6 +96,9 @@ tcs_wrap_GetPcrEventsByPcr(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &pcrIndex, 0, &data->comm)) @@ -135,7 +136,7 @@ tcs_wrap_GetPcrEventsByPcr(struct tcsd_thread_data *data) free_external_events(eventCount, ppEvents); free(ppEvents); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -199,6 +200,9 @@ tcs_wrap_LogPcrEvent(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_PCR_EVENT , 1, &event, 0, &data->comm)) @@ -212,7 +216,7 @@ tcs_wrap_LogPcrEvent(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_key.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_key.c index d3a51532548..144da83f561 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_key.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_key.c @@ -37,6 +37,9 @@ tcs_wrap_EvictKey(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -47,7 +50,7 @@ tcs_wrap_EvictKey(struct tcsd_thread_data *data) result = key_mgr_evict(hContext, hKey); MUTEX_UNLOCK(tcsp_lock); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -69,6 +72,9 @@ tcs_wrap_GetPubkey(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -106,7 +112,7 @@ tcs_wrap_GetPubkey(struct tcsd_thread_data *data) } free(pubKey); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -159,6 +165,9 @@ tcs_wrap_LoadKeyByBlob(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hUnwrappingKey, 0, &data->comm)) @@ -211,7 +220,7 @@ tcs_wrap_LoadKeyByBlob(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -311,6 +320,9 @@ tcs_wrap_CreateWrapKey(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hWrappingKey, 0, &data->comm)) @@ -360,7 +372,7 @@ tcs_wrap_CreateWrapKey(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -381,6 +393,9 @@ tcs_wrap_OwnerReadInternalPub(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -403,7 +418,7 @@ tcs_wrap_OwnerReadInternalPub(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_PBYTE, 2, pubKeyData, pubKeySize, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -415,7 +430,7 @@ tcs_wrap_KeyControlOwner(struct tcsd_thread_data *data) TCS_CONTEXT_HANDLE hContext; TCS_KEY_HANDLE hKey; UINT32 ulPublicKeyLength; - BYTE* rgbPublicKey; + BYTE* rgbPublicKey = NULL; UINT32 attribName; TSS_BOOL attribValue; TPM_AUTH ownerAuth; @@ -424,6 +439,10 @@ tcs_wrap_KeyControlOwner(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -462,13 +481,18 @@ tcs_wrap_KeyControlOwner(struct tcsd_thread_data *data) if (result == TSS_SUCCESS) { initData(&data->comm, 2); - if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) + if (setData(TCSD_PACKET_TYPE_AUTH, 0, &ownerAuth, 0, &data->comm)) { + free(rgbPublicKey); return TCSERR(TSS_E_INTERNAL_ERROR); - if (setData(TCSD_PACKET_TYPE_UUID, 1, &uuidData, 0, &data->comm)) + } + if (setData(TCSD_PACKET_TYPE_UUID, 1, &uuidData, 0, &data->comm)) { + free(rgbPublicKey); return TCSERR(TSS_E_INTERNAL_ERROR); + } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); + free(rgbPublicKey); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_maint.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_maint.c index f51a4f245d3..f000cb1c391 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_maint.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_maint.c @@ -37,6 +37,9 @@ tcs_wrap_KillMaintenanceFeature(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_AUTH, 1, &ownerAuth, 0, &data->comm)) @@ -54,7 +57,7 @@ tcs_wrap_KillMaintenanceFeature(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -74,6 +77,9 @@ tcs_wrap_CreateMaintenanceArchive(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_BOOL, 1, &generateRandom, 0, &data->comm)) @@ -123,7 +129,7 @@ tcs_wrap_CreateMaintenanceArchive(struct tcsd_thread_data *data) free(random); free(archive); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -142,6 +148,9 @@ tcs_wrap_LoadMaintenanceArchive(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &dataInSize, 0, &data->comm)) @@ -187,7 +196,7 @@ tcs_wrap_LoadMaintenanceArchive(struct tcsd_thread_data *data) free(dataOut); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -207,6 +216,9 @@ tcs_wrap_LoadManuMaintPub(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) @@ -240,7 +252,7 @@ tcs_wrap_LoadManuMaintPub(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -258,6 +270,9 @@ tcs_wrap_ReadManuMaintPub(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) @@ -275,7 +290,7 @@ tcs_wrap_ReadManuMaintPub(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_migration.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_migration.c index 52330963796..a08d99d151b 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_migration.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_migration.c @@ -42,6 +42,9 @@ tcs_wrap_CreateMigrationBlob(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &data->comm)) @@ -150,7 +153,7 @@ tcs_wrap_CreateMigrationBlob(struct tcsd_thread_data *data) free(random); free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -171,6 +174,9 @@ tcs_wrap_ConvertMigrationBlob(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &data->comm)) @@ -243,7 +249,7 @@ tcs_wrap_ConvertMigrationBlob(struct tcsd_thread_data *data) free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -263,6 +269,9 @@ tcs_wrap_AuthorizeMigrationKey(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT16, 1, &migrateScheme, 0, &data->comm)) @@ -313,7 +322,7 @@ tcs_wrap_AuthorizeMigrationKey(struct tcsd_thread_data *data) free(MigrationKeyAuth); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_nv.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_nv.c index 71c170d0382..a54fb48a479 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_nv.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_nv.c @@ -2,21 +2,6 @@ * The Initial Developer of the Original Code is Intel Corporation. * Portions created by Intel Corporation are Copyright (C) 2007 Intel Corporation. * All Rights Reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the Common Public License as published by - * IBM Corporation; either version 1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * Common Public License for more details. - * - * You should have received a copy of the Common Public License - * along with this program; if not, a copy can be viewed at - * http://www.opensource.org/licenses/cpl1.0.php. - * * trousers - An open source TCG Software Stack * * Author: james.xu@intel.com Rossey.liu@intel.com @@ -55,6 +40,9 @@ tcs_wrap_NV_DefineOrReleaseSpace(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + if (getData(TCSD_PACKET_TYPE_UINT32, 1, &cPubInfoSize, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); @@ -96,7 +84,7 @@ tcs_wrap_NV_DefineOrReleaseSpace(struct tcsd_thread_data *data) } } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -115,6 +103,9 @@ tcs_wrap_NV_WriteValue(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hNVStore, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); @@ -157,7 +148,7 @@ tcs_wrap_NV_WriteValue(struct tcsd_thread_data *data) } } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -176,6 +167,9 @@ tcs_wrap_NV_WriteValueAuth(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hNVStore, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); @@ -195,9 +189,10 @@ tcs_wrap_NV_WriteValueAuth(struct tcsd_thread_data *data) free(rgbDataToWrite); return TCSERR(TSS_E_INTERNAL_ERROR); } - if (getData(TCSD_PACKET_TYPE_AUTH, 5, &Auth, 0, &data->comm)) - pAuth = NULL; - else + if (getData(TCSD_PACKET_TYPE_AUTH, 5, &Auth, 0, &data->comm)) { + free(rgbDataToWrite); + return TCSERR(TSS_E_INTERNAL_ERROR); + } else pAuth = &Auth; MUTEX_LOCK(tcsp_lock); @@ -217,7 +212,7 @@ tcs_wrap_NV_WriteValueAuth(struct tcsd_thread_data *data) } } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -236,6 +231,9 @@ tcs_wrap_NV_ReadValue(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hNVStore, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); @@ -276,7 +274,7 @@ tcs_wrap_NV_ReadValue(struct tcsd_thread_data *data) } free(rgbDataRead); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -295,6 +293,9 @@ tcs_wrap_NV_ReadValueAuth(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hNVStore, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); @@ -336,7 +337,7 @@ tcs_wrap_NV_ReadValueAuth(struct tcsd_thread_data *data) } free(rgbDataRead); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_oper.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_oper.c index 8e097bee3c0..56d982fb5d0 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_oper.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_oper.c @@ -37,6 +37,9 @@ tcs_wrap_SetOperatorAuth(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_SECRET, 1, &operatorAuth, 0, &data->comm)) @@ -47,7 +50,7 @@ tcs_wrap_SetOperatorAuth(struct tcsd_thread_data *data) result = TCSP_SetOperatorAuth_Internal(hContext, &operatorAuth); MUTEX_UNLOCK(tcsp_lock); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_own.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_own.c index beb2a8cdcf3..5c3e62c99d6 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_own.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_own.c @@ -47,6 +47,9 @@ tcs_wrap_TakeOwnership(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT16, 1, &protocolID, 0, &data->comm)) @@ -130,7 +133,7 @@ tcs_wrap_TakeOwnership(struct tcsd_thread_data *data) } free(srkKey); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -146,6 +149,9 @@ tcs_wrap_OwnerClear(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_AUTH, 1, &auth, 0, &data->comm)) @@ -163,7 +169,7 @@ tcs_wrap_OwnerClear(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_pcr_extend.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_pcr_extend.c index e9fd9cd1930..0bd11408cd6 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_pcr_extend.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_pcr_extend.c @@ -39,6 +39,9 @@ tcs_wrap_Extend(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &pcrIndex, 0, &data->comm)) @@ -58,7 +61,7 @@ tcs_wrap_Extend(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -75,6 +78,9 @@ tcs_wrap_PcrRead(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &pcrIndex, 0, &data->comm)) @@ -92,7 +98,7 @@ tcs_wrap_PcrRead(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -109,6 +115,9 @@ tcs_wrap_PcrReset(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &pcrDataSizeIn, 0, &data->comm)) @@ -130,7 +139,7 @@ tcs_wrap_PcrReset(struct tcsd_thread_data *data) MUTEX_UNLOCK(tcsp_lock); free(pcrDataIn); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ps.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ps.c index 3f6e5a70abc..46b07ef7a45 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ps.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_ps.c @@ -42,6 +42,9 @@ tcs_wrap_RegisterKey(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UUID, 1, &WrappingKeyUUID, 0, &data->comm)) @@ -87,7 +90,7 @@ tcs_wrap_RegisterKey(struct tcsd_thread_data *data) gbVendorData); free(rgbKey); free(gbVendorData); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -103,13 +106,16 @@ tcs_wrap_UnregisterKey(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UUID, 1, &uuid, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); result = TCS_UnregisterKey_Internal(hContext, uuid); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -128,6 +134,9 @@ tcs_wrap_GetRegisteredKeyBlob(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UUID, 1, &uuid, 0, &data->comm)) @@ -148,7 +157,7 @@ tcs_wrap_GetRegisteredKeyBlob(struct tcsd_thread_data *data) } free(prgbKey); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -166,6 +175,9 @@ tcs_wrap_LoadKeyByUUID(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UUID, 1, &uuid, 0, &data->comm)) @@ -198,7 +210,7 @@ tcs_wrap_LoadKeyByUUID(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); } data->comm.hdr.u.result = result; @@ -219,6 +231,9 @@ tcs_wrap_EnumRegisteredKeys(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); result = getData(TCSD_PACKET_TYPE_UUID , 1, &uuid, 0, &data->comm); @@ -251,7 +266,7 @@ tcs_wrap_EnumRegisteredKeys(struct tcsd_thread_data *data) } free(pKeyHierarchy); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -272,6 +287,9 @@ tcs_wrap_EnumRegisteredKeys2(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); result = getData(TCSD_PACKET_TYPE_UUID , 1, &uuid, 0, &data->comm); @@ -304,7 +322,7 @@ tcs_wrap_EnumRegisteredKeys2(struct tcsd_thread_data *data) } free(pKeyHierarchy); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -322,6 +340,9 @@ tcs_wrap_GetRegisteredKeyByPublicInfo(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &algId, 0, &data->comm)) @@ -355,7 +376,7 @@ tcs_wrap_GetRegisteredKeyByPublicInfo(struct tcsd_thread_data *data) } free(keyBlob); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -484,7 +505,7 @@ UnloadBlob_KM_KEYINFO(UINT64 *offset, BYTE *blob, TSS_KM_KEYINFO *info) UnloadBlob_VERSION(offset, blob, (TPM_VERSION *)&(info->versionInfo)); UnloadBlob_UUID(offset, blob, &info->keyUUID); UnloadBlob_UUID(offset, blob, &info->parentKeyUUID); - UnloadBlob_BYTE(offset, blob, &info->bAuthDataUsage); + UnloadBlob_BYTE(offset, &info->bAuthDataUsage, blob); UnloadBlob_BOOL(offset, &info->fIsLoaded, blob); UnloadBlob_UINT32(offset, &info->ulVendorDataLength, blob); UnloadBlob(offset, info->ulVendorDataLength, info->rgbVendorData, blob); diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_quote.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_quote.c index aeb469cbc01..d0762aa19e5 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_quote.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_quote.c @@ -50,6 +50,9 @@ tcs_wrap_Quote(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -119,7 +122,7 @@ tcs_wrap_Quote(struct tcsd_thread_data *data) free(pcrDataOut); free(sig); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_quote2.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_quote2.c index 2a10eadf57a..a875883257e 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_quote2.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_quote2.c @@ -55,6 +55,9 @@ tcs_wrap_Quote2(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -156,7 +159,7 @@ tcs_wrap_Quote2(struct tcsd_thread_data *data) free(versionInfo); free(sig); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_random.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_random.c index 6fd96064494..16647163bc2 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_random.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_random.c @@ -38,6 +38,9 @@ tcs_wrap_GetRandom(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &bytesRequested, 0, &data->comm)) @@ -61,7 +64,7 @@ tcs_wrap_GetRandom(struct tcsd_thread_data *data) } free(randomBytes); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -78,6 +81,9 @@ tcs_wrap_StirRandom(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &inDataSize, 0, &data->comm)) @@ -99,7 +105,7 @@ tcs_wrap_StirRandom(struct tcsd_thread_data *data) MUTEX_UNLOCK(tcsp_lock); free(inData); - +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_seal.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_seal.c index f0dd359a819..d7ff0876df9 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_seal.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_seal.c @@ -49,6 +49,9 @@ tcs_common_Seal(UINT32 sealOrdinal, if (getData(TCSD_PACKET_TYPE_UINT32, i++, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, i++, &keyHandle, 0, &data->comm)) @@ -129,7 +132,7 @@ tcs_common_Seal(UINT32 sealOrdinal, } free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; @@ -170,6 +173,9 @@ tcs_wrap_UnSeal(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &parentHandle, 0, &data->comm)) @@ -243,7 +249,7 @@ tcs_wrap_UnSeal(struct tcsd_thread_data *data) } free(outData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_selftest.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_selftest.c index 4cad0c952f6..ee353c8c278 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_selftest.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_selftest.c @@ -66,6 +66,9 @@ tcs_wrap_CertifySelfTest(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -108,7 +111,7 @@ tcs_wrap_CertifySelfTest(struct tcsd_thread_data *data) } free(sigData); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_sign.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_sign.c index 2cd2027acd9..0bfdcee5ae5 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_sign.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_sign.c @@ -47,6 +47,9 @@ tcs_wrap_Sign(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -99,7 +102,7 @@ tcs_wrap_Sign(struct tcsd_thread_data *data) } free(sig); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_tick.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_tick.c index 98e53ad0dea..98a140f8269 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_tick.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_tick.c @@ -80,6 +80,9 @@ tcs_wrap_TickStampBlob(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm)) @@ -131,7 +134,7 @@ tcs_wrap_TickStampBlob(struct tcsd_thread_data *data) return TCSERR(TSS_E_INTERNAL_ERROR); } } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_transport.c b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_transport.c index 1993cb34559..d943d2434ee 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_transport.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/rpc_transport.c @@ -42,6 +42,9 @@ tcs_wrap_EstablishTransport(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &ulTransControlFlags, 0, &data->comm)) @@ -126,7 +129,7 @@ tcs_wrap_EstablishTransport(struct tcsd_thread_data *data) if (setData(TCSD_PACKET_TYPE_NONCE, i++, &pTransNonce, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -148,6 +151,9 @@ tcs_wrap_ExecuteTransport(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, i++, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, i++, &unWrappedCommandOrdinal, 0, &data->comm)) @@ -291,7 +297,7 @@ tcs_wrap_ExecuteTransport(struct tcsd_thread_data *data) } free(rgbWrappedCmdDataOut); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; @@ -315,6 +321,9 @@ tcs_wrap_ReleaseTransportSigned(struct tcsd_thread_data *data) if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm)) return TCSERR(TSS_E_INTERNAL_ERROR); + if ((result = ctx_verify_context(hContext))) + goto done; + LogDebugFn("thread %ld context %x", THREAD_ID, hContext); if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hSignatureKey, 0, &data->comm)) @@ -390,7 +399,7 @@ tcs_wrap_ReleaseTransportSigned(struct tcsd_thread_data *data) } free(prgbSignature); } else - initData(&data->comm, 0); +done: initData(&data->comm, 0); data->comm.hdr.u.result = result; return TSS_SUCCESS; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcs_aik.c b/crypto/external/cpl/trousers/dist/src/tcs/tcs_aik.c index 1d22506044d..3c4c92862ae 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcs_aik.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcs_aik.c @@ -114,6 +114,7 @@ get_credential(UINT32 type, UINT32 *size, BYTE **cred) if ((rc = fstat(fd, &stat_buf)) == -1) { LogError("Error stating credential: %s: %s", path, strerror(errno)); + close(fd); goto done; } diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcs_context.c b/crypto/external/cpl/trousers/dist/src/tcs/tcs_context.c index 1e9f4b86abd..2072bdc5c0d 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcs_context.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcs_context.c @@ -134,7 +134,7 @@ destroy_context(TCS_CONTEXT_HANDLE handle) #ifdef TSS_BUILD_TRANSPORT /* Free existing transport session if necessary */ - if (toKill->transHandle) + if (toKill != NULL && toKill->transHandle) TCSP_FlushSpecific_Common(toKill->transHandle, TPM_RT_TRANS); #endif @@ -182,11 +182,6 @@ ctx_verify_context(TCS_CONTEXT_HANDLE tcsContext) { struct tcs_context *c; - if (tcsContext == InternalContext) { - LogDebug("Success: %x is an Internal Context", tcsContext); - return TSS_SUCCESS; - } - MUTEX_LOCK(tcs_ctx_lock); c = get_context(tcsContext); diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcs_context_key.c b/crypto/external/cpl/trousers/dist/src/tcs/tcs_context_key.c index dcec6dc756a..938ad905053 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcs_context_key.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcs_context_key.c @@ -90,7 +90,7 @@ ctx_remove_key_loaded(TCS_CONTEXT_HANDLE ctx_handle, TCS_KEY_HANDLE key_handle) for (prev = cur = c->keys; cur; prev = cur, cur = cur->next) { if (cur->key_handle == key_handle) { - if (prev == c->keys) + if (cur == c->keys) c->keys = cur->next; else prev->next = cur->next; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcs_evlog_biosem.c b/crypto/external/cpl/trousers/dist/src/tcs/tcs_evlog_biosem.c index 7065e128318..5731ae5bcef 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcs_evlog_biosem.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcs_evlog_biosem.c @@ -125,7 +125,7 @@ bios_get_entries_by_pcr(FILE *handle, UINT32 pcr_index, UINT32 first, event->eventDataSize, 1, handle)) <= 0) { LogError("read from event source failed: %s", strerror(errno)); - return result; + goto free_list; } } else { cur->event.rgbEvent = NULL; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcs_evlog_imaem.c b/crypto/external/cpl/trousers/dist/src/tcs/tcs_evlog_imaem.c index fbdd29aae82..d1583303746 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcs_evlog_imaem.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcs_evlog_imaem.c @@ -50,6 +50,8 @@ #ifdef EVLOG_SOURCE_IMA +#define EVLOG_FILENAME_MAXSIZE 255 + struct ext_log_source ima_source = { ima_open, ima_get_entries_by_pcr, @@ -80,27 +82,27 @@ ima_get_entries_by_pcr(FILE *handle, UINT32 pcr_index, UINT32 first, char page[IMA_READ_SIZE]; int error_path = 1, ptr = 0; UINT32 copied_events = 0, i; - struct event_wrapper *list = calloc(1, sizeof(struct event_wrapper)); - struct event_wrapper *cur = list; + struct event_wrapper *list, *cur; TSS_RESULT result = TCSERR(TSS_E_INTERNAL_ERROR); FILE *fp = (FILE *) handle; uint len; - char name[255]; + char name[EVLOG_FILENAME_MAXSIZE]; + if (!fp) { + LogError("File handle is NULL!\n"); + return 1; + } + + if (*count == 0) + return TSS_SUCCESS; + + list = calloc(1, sizeof(struct event_wrapper)); if (list == NULL) { LogError("malloc of %zd bytes failed.", sizeof(struct event_wrapper)); return TCSERR(TSS_E_OUTOFMEMORY); } + cur = list; - if (*count == 0) { - result = TSS_SUCCESS; - goto free_list; - } - - if (!fp) { - perror("unable to open file\n"); - return 1; - } rewind(fp); while (fread(page, 24, 1, fp)) { @@ -132,8 +134,12 @@ ima_get_entries_by_pcr(FILE *handle, UINT32 pcr_index, UINT32 first, result = TCSERR(TSS_E_INTERNAL_ERROR); goto free_list; } - - memset(name, 0, sizeof name); + if (len > EVLOG_FILENAME_MAXSIZE) { + LogError("Event log file name too big! Max size is %d", EVLOG_FILENAME_MAXSIZE); + result = TCSERR(TSS_E_INTERNAL_ERROR); + goto free_list; + } + memset(name, 0, EVLOG_FILENAME_MAXSIZE); if (fread(name, 1, len, fp) != len) { LogError("Failed to read event log file"); result = TCSERR(TSS_E_INTERNAL_ERROR); @@ -168,9 +174,7 @@ ima_get_entries_by_pcr(FILE *handle, UINT32 pcr_index, UINT32 first, } copied_events++; -printf("%d %s ", copied_events, name); -printf("%s\n", cur->event.rgbEvent); if (copied_events == *count) goto copy_events; @@ -188,7 +192,6 @@ copy_events: /* we've copied all the events we need to from this PCR, now * copy them all into one contiguous memory block */ -printf("copied_events: %d\n", copied_events); *events = calloc(copied_events, sizeof(TSS_PCR_EVENT)); if (*events == NULL) { LogError("malloc of %zd bytes failed.", copied_events * sizeof(TSS_PCR_EVENT)); @@ -232,7 +235,7 @@ ima_get_entry(FILE *handle, UINT32 pcr_index, UINT32 *num, TSS_PCR_EVENT **ppEve TSS_RESULT result = TCSERR(TSS_E_INTERNAL_ERROR); TSS_PCR_EVENT *event = NULL; FILE *fp = (FILE *) handle; - char name[255]; + char name[EVLOG_FILENAME_MAXSIZE]; rewind(fp); while (fread(page, 24, 1, fp)) { @@ -241,14 +244,16 @@ ima_get_entry(FILE *handle, UINT32 pcr_index, UINT32 *num, TSS_PCR_EVENT **ppEve memcpy(&pcr_value, &page[ptr], sizeof(int)); if (pcr_index == (UINT32)pcr_value) { - event = calloc(1, sizeof(TSS_PCR_EVENT)); - event->ulPcrIndex = pcr_value; ptr += sizeof(int); /* This is the case where we're looking for a specific event number in a * specific PCR index. When we've reached the correct event, malloc * space for it, copy it in, then break out of the while loop */ if (ppEvent && seen_indices == *num) { /* grab this entry */ + event = calloc(1, sizeof(TSS_PCR_EVENT)); + event->ulPcrIndex = pcr_value; + event->rgbPcrValue = NULL; + event->rgbEvent = NULL; event->ulPcrValueLength = 20; event->rgbPcrValue = malloc(event->ulPcrValueLength); if (event->rgbPcrValue == NULL) { @@ -267,20 +272,22 @@ ima_get_entry(FILE *handle, UINT32 pcr_index, UINT32 *num, TSS_PCR_EVENT **ppEve char digest[20]; if (fread(&len, 1, sizeof(len), fp) != sizeof(len)) { - free(event); LogError("Failed to read event log file"); result = TCSERR(TSS_E_INTERNAL_ERROR); goto done; } - memset(name, 0, sizeof name); + if (len > EVLOG_FILENAME_MAXSIZE) { + LogError("Event log file name too big! Max size is %d", EVLOG_FILENAME_MAXSIZE); + result = TCSERR(TSS_E_INTERNAL_ERROR); + goto done; + } + memset(name, 0, EVLOG_FILENAME_MAXSIZE); if (fread(name, 1, len, fp) != len) { - free(event); LogError("Failed to read event log file"); result = TCSERR(TSS_E_INTERNAL_ERROR); goto done; } if (fread(digest, 1, sizeof(digest), fp) != sizeof(digest)) { - free(event); LogError("Failed to read event log file"); result = TCSERR(TSS_E_INTERNAL_ERROR); goto done; @@ -288,24 +295,19 @@ ima_get_entry(FILE *handle, UINT32 pcr_index, UINT32 *num, TSS_PCR_EVENT **ppEve } /* Get the template data namelen and data */ if (fread(&event->ulEventLength, 1, sizeof(int), fp) != sizeof(int)) { - free(event); LogError("Failed to read event log file"); result = TCSERR(TSS_E_INTERNAL_ERROR); goto done; } event->rgbEvent = malloc(event->ulEventLength + 1); if (event->rgbEvent == NULL) { - free(event->rgbPcrValue); - free(event); LogError("malloc of %u bytes failed.", event->ulEventLength); result = TCSERR(TSS_E_OUTOFMEMORY); goto done; } - memset(event->rgbEvent, 0, event->ulEventLength); + memset(event->rgbEvent, 0, event->ulEventLength + 1); if (fread(event->rgbEvent, 1, event->ulEventLength, fp) != event->ulEventLength ) { - free(event->rgbPcrValue); - free(event); LogError("Failed to read event log file"); result = TCSERR(TSS_E_INTERNAL_ERROR); goto done; @@ -317,25 +319,29 @@ ima_get_entry(FILE *handle, UINT32 pcr_index, UINT32 *num, TSS_PCR_EVENT **ppEve } } if (fread(&len, 1, sizeof(len), fp) != sizeof(len)) { - free(event->rgbPcrValue); - free(event); LogError("Failed to read event log file"); result = TCSERR(TSS_E_INTERNAL_ERROR); goto done; } fseek(fp, len + 20, SEEK_CUR); if (fread(&len, 1, sizeof(len), fp) != sizeof(len)) { - free(event->rgbPcrValue); - free(event); LogError("Failed to read event log file"); result = TCSERR(TSS_E_INTERNAL_ERROR); goto done; } fseek(fp, len, SEEK_CUR); seen_indices++; - printf("%d - index\n", seen_indices); } done: + if (result != TSS_SUCCESS) { + if (event != NULL) { + free(event->rgbPcrValue); + free(event->rgbEvent); + } + free(event); + event = NULL; + } + if (ppEvent == NULL) *num = seen_indices; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcs_key_mem_cache.c b/crypto/external/cpl/trousers/dist/src/tcs/tcs_key_mem_cache.c index a44278e5414..ccff3390d73 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcs_key_mem_cache.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcs_key_mem_cache.c @@ -1027,8 +1027,17 @@ LoadKeyShim(TCS_CONTEXT_HANDLE hContext, TCPA_STORE_PUBKEY *pubKey, offset = 0; LoadBlob_TSS_KEY(&offset, keyBlob, myKey); - if ((result = TCSP_LoadKeyByBlob_Internal(hContext, parentHandle, offset, keyBlob, - NULL, &tcsKeyHandle, slotOut))) + if (TPM_VERSION_IS(1,2)) + result = TCSP_LoadKey2ByBlob_Internal(hContext, + parentHandle, offset, + keyBlob, NULL, + &tcsKeyHandle); + else + result = TCSP_LoadKeyByBlob_Internal(hContext, + parentHandle, offset, + keyBlob, NULL, + &tcsKeyHandle, slotOut); + if (result) return result; return ctx_mark_key_loaded(hContext, tcsKeyHandle); @@ -1090,8 +1099,11 @@ owner_evict_init() sizeof(UINT32), (BYTE *)&keyHandle, &respDataSize, &respData); /* special case, invalid keys are automatically evicted later */ - if (result == TPM_E_INVALID_KEYHANDLE) + if (result == TPM_E_INVALID_KEYHANDLE) { + result = TSS_SUCCESS; continue; + } + if (result != TSS_SUCCESS) { free(keyList.handle); return result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcs_pbg.c b/crypto/external/cpl/trousers/dist/src/tcs/tcs_pbg.c index 485fc16428b..3970f227dfb 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcs_pbg.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcs_pbg.c @@ -499,8 +499,7 @@ tpm_rsp_parse(TPM_COMMAND_CODE ordinal, BYTE *b, UINT32 len, ...) } else if (auth2) { offset1 = offset2 = len - TSS_TPM_RSP_BLOB_AUTH_LEN; UnloadBlob_Auth(&offset1, b, auth2); - } else - offset2 = len; + } offset1 = TSS_TPM_TXBLOB_HDR_LEN; offset2 -= TSS_TPM_TXBLOB_HDR_LEN; @@ -710,11 +709,14 @@ tpm_rsp_parse(TPM_COMMAND_CODE ordinal, BYTE *b, UINT32 len, ...) return TCSERR(TSS_E_OUTOFMEMORY); } + if ((offset1 + offset2) > TSS_TPM_TXBLOB_SIZE) + return TCSERR(TSS_E_INTERNAL_ERROR); + memcpy(*data, &b[offset1], offset2); *data_len = offset2; break; } - /* TPM BLOB: BLOB, optional DIGEST */ + /* TPM BLOB: TPM_PUBKEY, optional DIGEST */ case TPM_ORD_CreateEndorsementKeyPair: case TPM_ORD_ReadPubek: { @@ -731,9 +733,16 @@ tpm_rsp_parse(TPM_COMMAND_CODE ordinal, BYTE *b, UINT32 len, ...) if (digest1) { offset1 = offset2 = len - TPM_DIGEST_SIZE; memcpy(digest1, &b[offset2], TPM_DIGEST_SIZE); - } else + + if ((offset2 + TPM_DIGEST_SIZE) > TSS_TPM_TXBLOB_SIZE) + return TCSERR(TSS_E_INTERNAL_ERROR); + } else { offset2 = len; + if (offset2 > TSS_TPM_TXBLOB_SIZE) + return TCSERR(TSS_E_INTERNAL_ERROR); + } + offset1 = TSS_TPM_TXBLOB_HDR_LEN; offset2 -= offset1; if ((*data = malloc((size_t)offset2)) == NULL) { @@ -761,6 +770,9 @@ tpm_rsp_parse(TPM_COMMAND_CODE ordinal, BYTE *b, UINT32 len, ...) return TCSERR(TSS_E_INTERNAL_ERROR); } + if (len > TSS_TPM_TXBLOB_SIZE) + return TCSERR(TSS_E_INTERNAL_ERROR); + offset2 = len - TPM_DIGEST_SIZE; memcpy(digest2, &b[offset2], TPM_DIGEST_SIZE); @@ -905,6 +917,7 @@ tpm_rsp_parse(TPM_COMMAND_CODE ordinal, BYTE *b, UINT32 len, ...) default: LogError("Unknown ordinal: 0x%x", ordinal); result = TCSERR(TSS_E_INTERNAL_ERROR); + va_end(ap); break; } @@ -2184,6 +2197,7 @@ tpm_rqu_build(TPM_COMMAND_CODE ordinal, UINT64 *outOffset, BYTE *out_blob, ...) } #endif default: + va_end(ap); LogError("Unknown ordinal: 0x%x", ordinal); break; } diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcs_utils.c b/crypto/external/cpl/trousers/dist/src/tcs/tcs_utils.c index 580f5140b29..a10e39a9cd1 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcs_utils.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcs_utils.c @@ -203,9 +203,6 @@ UnloadBlob_BOOL(UINT64 *offset, TSS_BOOL *dataOut, BYTE * blob) void LoadBlob(UINT64 *offset, UINT32 size, BYTE *container, BYTE *object) { - if (size == 0) - return; - if (container) memcpy(&container[*offset], object, size); (*offset) += (UINT64) size; @@ -214,9 +211,6 @@ LoadBlob(UINT64 *offset, UINT32 size, BYTE *container, BYTE *object) void UnloadBlob(UINT64 *offset, UINT32 size, BYTE *container, BYTE *object) { - if (size == 0) - return; - if (object) memcpy(object, &container[*offset], size); (*offset) += (UINT64) size; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_caps_tpm.c b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_caps_tpm.c index c64513fdd0c..b600fe07cda 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_caps_tpm.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_caps_tpm.c @@ -42,9 +42,6 @@ TCSP_GetCapability_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ LogDebug("Entering Get Cap"); - if ((result = ctx_verify_context(hContext))) - return result; - if ((result = tpm_rqu_build(TPM_ORD_GetCapability, &offset, txBlob, capArea, subCapSize, subCap, NULL))) return result; @@ -116,7 +113,8 @@ TCSP_SetCapability_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ if ((result = ctx_verify_context(hContext))) goto done; - if ((result = auth_mgr_check(hContext, &pOwnerAuth->AuthHandle))) + if ((pOwnerAuth != NULL) && + (result = auth_mgr_check(hContext, &pOwnerAuth->AuthHandle))) goto done; if ((result = tpm_rqu_build(TPM_ORD_SetCapability, &offset, txBlob, capArea, subCapSize, diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_evlog.c b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_evlog.c index 7d49600401f..2d048c7e027 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_evlog.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_evlog.c @@ -248,6 +248,11 @@ TCS_GetPcrEventsByPcr_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ if (PcrIndex >= tpm_metrics.num_pcrs) return TCSERR(TSS_E_BAD_PARAMETER); + if (*pEventCount == 0) { + *ppEvents = NULL; + return TSS_SUCCESS; + } + /* if this is a kernel or firmware controlled PCR, call an external routine */ if ((tcsd_options.kernel_pcrs & (1 << PcrIndex)) || (tcsd_options.firmware_pcrs & (1 << PcrIndex))) { @@ -266,9 +271,11 @@ TCS_GetPcrEventsByPcr_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ MUTEX_UNLOCK(tcs_event_log->lock); /* if pEventCount is larger than the number of events to return, just return less. - * *pEventCount will be set to the number returned below. + * *pEventCount will be set to the number returned below. First, check for overflow. */ - lastEventNumber = MIN(lastEventNumber, FirstEvent + *pEventCount); + if ((FirstEvent + *pEventCount) >= FirstEvent && + (FirstEvent + *pEventCount) >= *pEventCount) + lastEventNumber = MIN(lastEventNumber, FirstEvent + *pEventCount); if (FirstEvent > lastEventNumber) return TCSERR(TSS_E_BAD_PARAMETER); diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_nv.c b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_nv.c index cd88f200dfa..1c867ea6d0a 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_nv.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_nv.c @@ -3,21 +3,6 @@ * The Initial Developer of the Original Code is Intel Corporation. * Portions created by Intel Corporation are Copyright (C) 2007 Intel Corporation. * All Rights Reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the Common Public License as published by - * IBM Corporation; either version 1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * Common Public License for more details. - * - * You should have received a copy of the Common Public License - * along with this program; if not, a copy can be viewed at - * http://www.opensource.org/licenses/cpl1.0.php. - * * trousers - An open source TCG Software Stack * * Author: james.xu@intel.com Rossey.liu@intel.com @@ -217,7 +202,7 @@ TCSP_NV_ReadValueAuth_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ LogDebugFn("Enter"); if ((result = ctx_verify_context(hContext))) return result; - if ((result = auth_mgr_check(hContext, &NVAuth->AuthHandle))) + if ((NVAuth != NULL) && (result = auth_mgr_check(hContext, &NVAuth->AuthHandle))) goto done; if ((result = tpm_rqu_build(TPM_ORD_NV_ReadValueAuth, &off_set, txBlob, hNVStore, offset, diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_ps.c b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_ps.c index e1fd4f3f8d9..e7f6245c47f 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_ps.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_ps.c @@ -501,6 +501,7 @@ TCSP_LoadKeyByUUID_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ TCS_KEY_HANDLE * phKeyTCSI) /* out */ { UINT32 keyslot = 0, keySize; + UINT32 ordinal; TSS_RESULT result; TSS_UUID parentUuid; BYTE keyBlob[0x1000]; @@ -508,6 +509,11 @@ TCSP_LoadKeyByUUID_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ UINT64 offset; TCS_KEY_HANDLE parentTCSKeyHandle; + if (TPM_VERSION_IS(1,2)) + ordinal = TPM_ORD_LoadKey2; + else + ordinal = TPM_ORD_LoadKey; + LogDebugFn("Enter: uuid: 0x%lx auth? 0x%x ***********", (unsigned long)KeyUUID, pLoadKeyInfo == NULL ? 0xdeadbeef : pLoadKeyInfo->authData.AuthHandle); @@ -525,10 +531,10 @@ TCSP_LoadKeyByUUID_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ &keyslot)) return TCSERR(TCS_E_KM_LOADFAILED); - return TCSP_LoadKeyByBlob_Internal(hContext, parentTCSKeyHandle, - blobSize, keyBlob, - &pLoadKeyInfo->authData, - phKeyTCSI, &keyslot); + return LoadKeyByBlob_Internal(ordinal, hContext, parentTCSKeyHandle, + blobSize, keyBlob, + &pLoadKeyInfo->authData, + phKeyTCSI, &keyslot); } /* if KeyUUID is already loaded, increment the ref count and return */ @@ -561,16 +567,16 @@ TCSP_LoadKeyByUUID_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ pLoadKeyInfo, &parentTCSKeyHandle))) return result; - LogDebugFn("calling TCSP_LoadKeyByBlob_Internal"); + LogDebugFn("calling LoadKeyByBlob_Internal"); /******************************************************* * If no errors have happend up till now, then the parent is loaded and ready for use. * The parent's TCS Handle should be in parentTCSKeyHandle. ******************************************************/ - if ((result = TCSP_LoadKeyByBlob_Internal(hContext, parentTCSKeyHandle, - keySize, keyBlob, - NULL, - phKeyTCSI, &keyslot))) { - LogDebugFn("TCSP_LoadKeyByBlob_Internal returned 0x%x", result); + if ((result = LoadKeyByBlob_Internal(ordinal, hContext, parentTCSKeyHandle, + keySize, keyBlob, + NULL, + phKeyTCSI, &keyslot))) { + LogDebugFn("LoadKeyByBlob_Internal returned 0x%x", result); if (result == TCPA_E_AUTHFAIL && pLoadKeyInfo) { BYTE blob[1000]; @@ -580,7 +586,7 @@ TCSP_LoadKeyByUUID_Internal(TCS_CONTEXT_HANDLE hContext, /* in */ /* calculate the paramDigest */ offset = 0; - LoadBlob_UINT32(&offset, TPM_ORD_LoadKey, blob); + LoadBlob_UINT32(&offset, ordinal, blob); LoadBlob(&offset, keySize, blob, keyBlob); if (Hash(TSS_HASH_SHA1, offset, blob, (BYTE *)&pLoadKeyInfo->paramDigest.digest)) @@ -604,6 +610,8 @@ TCSP_GetRegisteredKeyByPublicInfo_Internal(TCS_CONTEXT_HANDLE tcsContext, /* in TCPA_STORE_PUBKEY pubKey; TSS_RESULT result = TCSERR(TSS_E_FAIL); + pubKey.key = NULL; + if ((result = ctx_verify_context(tcsContext))) return result; diff --git a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_transport.c b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_transport.c index 38a3b326117..488221f52a4 100644 --- a/crypto/external/cpl/trousers/dist/src/tcs/tcsi_transport.c +++ b/crypto/external/cpl/trousers/dist/src/tcs/tcsi_transport.c @@ -42,7 +42,7 @@ TCSP_EstablishTransport_Internal(TCS_CONTEXT_HANDLE hContext, TSS_RESULT result; UINT32 paramSize; UINT64 offset; - TPM_KEY_HANDLE keySlot; + TPM_KEY_HANDLE keySlot = TPM_KH_TRANSPORT; BYTE txBlob[TSS_TPM_TXBLOB_SIZE]; if ((result = ctx_verify_context(hContext))) diff --git a/crypto/external/cpl/trousers/dist/src/tcsd/Makefile.am b/crypto/external/cpl/trousers/dist/src/tcsd/Makefile.am index ff61a21dd11..856cf093eb8 100644 --- a/crypto/external/cpl/trousers/dist/src/tcsd/Makefile.am +++ b/crypto/external/cpl/trousers/dist/src/tcsd/Makefile.am @@ -1,8 +1,8 @@ sbin_PROGRAMS=tcsd -tcsd_CFLAGS=-DAPPID=\"TCSD\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\" -I${top_srcdir}/src/include +tcsd_CFLAGS=-DAPPID=\"TCSD\" -DVAR_PREFIX=\"@localstatedir@\" -DETC_PREFIX=\"@sysconfdir@\" -I${top_srcdir}/src/include -fPIE -DPIE tcsd_LDADD=${top_builddir}/src/tcs/libtcs.a ${top_builddir}/src/tddl/libtddl.a -lpthread @CRYPTOLIB@ - +tcsd_LDFLAGS=@TCSD_LDFLAGS@ tcsd_SOURCES=svrside.c tcsd_conf.c tcsd_threads.c platform.c if TSS_BUILD_PS diff --git a/crypto/external/cpl/trousers/dist/src/tcsd/Makefile.in b/crypto/external/cpl/trousers/dist/src/tcsd/Makefile.in index 2996f142ddc..1555c54fda0 100644 --- a/crypto/external/cpl/trousers/dist/src/tcsd/Makefile.in +++ b/crypto/external/cpl/trousers/dist/src/tcsd/Makefile.in @@ -41,7 +41,7 @@ sbin_PROGRAMS = tcsd$(EXEEXT) subdir = src/tcsd DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -55,7 +55,7 @@ tcsd_OBJECTS = $(am_tcsd_OBJECTS) tcsd_DEPENDENCIES = ${top_builddir}/src/tcs/libtcs.a \ ${top_builddir}/src/tddl/libtddl.a tcsd_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ - --mode=link $(CCLD) $(tcsd_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + --mode=link $(CCLD) $(tcsd_CFLAGS) $(CFLAGS) $(tcsd_LDFLAGS) \ $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp @@ -130,12 +130,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -143,6 +140,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -202,8 +200,9 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ tcsd_CFLAGS = -DAPPID=\"TCSD\" -DVAR_PREFIX=\"@localstatedir@\" \ -DETC_PREFIX=\"@sysconfdir@\" -I${top_srcdir}/src/include \ - $(am__append_1) $(am__append_2) + -fPIE -DPIE $(am__append_1) $(am__append_2) tcsd_LDADD = ${top_builddir}/src/tcs/libtcs.a ${top_builddir}/src/tddl/libtddl.a -lpthread @CRYPTOLIB@ +tcsd_LDFLAGS = @TCSD_LDFLAGS@ tcsd_SOURCES = svrside.c tcsd_conf.c tcsd_threads.c platform.c all: all-am @@ -298,22 +297,25 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tcsd-tcsd_threads.Po@am__quote@ .c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< diff --git a/crypto/external/cpl/trousers/dist/src/tddl/Makefile.am b/crypto/external/cpl/trousers/dist/src/tddl/Makefile.am index 1dbff9f7444..607eb8ec89b 100644 --- a/crypto/external/cpl/trousers/dist/src/tddl/Makefile.am +++ b/crypto/external/cpl/trousers/dist/src/tddl/Makefile.am @@ -1,4 +1,4 @@ lib_LIBRARIES=libtddl.a libtddl_a_SOURCES=tddl.c -libtddl_a_CFLAGS=-DAPPID=\"TCSD\ TDDL\" -I${top_srcdir}/src/include +libtddl_a_CFLAGS=-DAPPID=\"TCSD\ TDDL\" -I${top_srcdir}/src/include -fPIE -DPIE diff --git a/crypto/external/cpl/trousers/dist/src/tddl/Makefile.in b/crypto/external/cpl/trousers/dist/src/tddl/Makefile.in index 9bda9b95f70..4829a502584 100644 --- a/crypto/external/cpl/trousers/dist/src/tddl/Makefile.in +++ b/crypto/external/cpl/trousers/dist/src/tddl/Makefile.in @@ -38,7 +38,7 @@ target_triplet = @target@ subdir = src/tddl DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -145,12 +145,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -158,6 +155,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -217,7 +215,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ lib_LIBRARIES = libtddl.a libtddl_a_SOURCES = tddl.c -libtddl_a_CFLAGS = -DAPPID=\"TCSD\ TDDL\" -I${top_srcdir}/src/include +libtddl_a_CFLAGS = -DAPPID=\"TCSD\ TDDL\" -I${top_srcdir}/src/include -fPIE -DPIE all: all-am .SUFFIXES: @@ -298,22 +296,25 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtddl_a-tddl.Po@am__quote@ .c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< diff --git a/crypto/external/cpl/trousers/dist/src/trspi/Makefile.in b/crypto/external/cpl/trousers/dist/src/trspi/Makefile.in index dd1abe7f2fb..e90a4a2b520 100644 --- a/crypto/external/cpl/trousers/dist/src/trspi/Makefile.in +++ b/crypto/external/cpl/trousers/dist/src/trspi/Makefile.in @@ -40,7 +40,7 @@ target_triplet = @target@ subdir = src/trspi DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -51,11 +51,12 @@ libtrousers_la_LIBADD = am__libtrousers_la_SOURCES_DIST = trousers.c \ crypto/@CRYPTO_PACKAGE@/hash.c crypto/@CRYPTO_PACKAGE@/rsa.c \ crypto/@CRYPTO_PACKAGE@/symmetric.c -@TSS_BUILD_ASYM_CRYPTO_TRUE@am__objects_1 = libtrousers_la-rsa.lo -@TSS_BUILD_SYM_CRYPTO_TRUE@am__objects_2 = \ -@TSS_BUILD_SYM_CRYPTO_TRUE@ libtrousers_la-symmetric.lo +am__dirstamp = $(am__leading_dot)dirstamp +@TSS_BUILD_ASYM_CRYPTO_TRUE@am__objects_1 = crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.lo +@TSS_BUILD_SYM_CRYPTO_TRUE@am__objects_2 = crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.lo am_libtrousers_la_OBJECTS = libtrousers_la-trousers.lo \ - libtrousers_la-hash.lo $(am__objects_1) $(am__objects_2) + crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.lo \ + $(am__objects_1) $(am__objects_2) libtrousers_la_OBJECTS = $(am_libtrousers_la_OBJECTS) libtrousers_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtrousers_la_CFLAGS) \ @@ -133,12 +134,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -146,6 +144,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -250,37 +249,61 @@ clean-noinstLTLIBRARIES: echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done +crypto/@CRYPTO_PACKAGE@/$(am__dirstamp): + @$(MKDIR_P) crypto/@CRYPTO_PACKAGE@ + @: > crypto/@CRYPTO_PACKAGE@/$(am__dirstamp) +crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) crypto/@CRYPTO_PACKAGE@/$(DEPDIR) + @: > crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp) +crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.lo: \ + crypto/@CRYPTO_PACKAGE@/$(am__dirstamp) \ + crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp) +crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.lo: \ + crypto/@CRYPTO_PACKAGE@/$(am__dirstamp) \ + crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp) +crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.lo: \ + crypto/@CRYPTO_PACKAGE@/$(am__dirstamp) \ + crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp) libtrousers.la: $(libtrousers_la_OBJECTS) $(libtrousers_la_DEPENDENCIES) $(libtrousers_la_LINK) $(libtrousers_la_OBJECTS) $(libtrousers_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.$(OBJEXT) + -rm -f crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.lo + -rm -f crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.$(OBJEXT) + -rm -f crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.lo + -rm -f crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.$(OBJEXT) + -rm -f crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.lo distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtrousers_la-hash.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtrousers_la-rsa.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtrousers_la-symmetric.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtrousers_la-trousers.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-hash.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-rsa.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-symmetric.Plo@am__quote@ .c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< @@ -292,32 +315,33 @@ libtrousers_la-trousers.lo: trousers.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -c -o libtrousers_la-trousers.lo `test -f 'trousers.c' || echo '$(srcdir)/'`trousers.c -libtrousers_la-hash.lo: crypto/@CRYPTO_PACKAGE@/hash.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -MT libtrousers_la-hash.lo -MD -MP -MF $(DEPDIR)/libtrousers_la-hash.Tpo -c -o libtrousers_la-hash.lo `test -f 'crypto/@CRYPTO_PACKAGE@/hash.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/hash.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtrousers_la-hash.Tpo $(DEPDIR)/libtrousers_la-hash.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/hash.c' object='libtrousers_la-hash.lo' libtool=yes @AMDEPBACKSLASH@ +crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.lo: crypto/@CRYPTO_PACKAGE@/hash.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -MT crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.lo -MD -MP -MF crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-hash.Tpo -c -o crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.lo `test -f 'crypto/@CRYPTO_PACKAGE@/hash.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/hash.c +@am__fastdepCC_TRUE@ $(am__mv) crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-hash.Tpo crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-hash.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/hash.c' object='crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -c -o libtrousers_la-hash.lo `test -f 'crypto/@CRYPTO_PACKAGE@/hash.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/hash.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -c -o crypto/@CRYPTO_PACKAGE@/libtrousers_la-hash.lo `test -f 'crypto/@CRYPTO_PACKAGE@/hash.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/hash.c -libtrousers_la-rsa.lo: crypto/@CRYPTO_PACKAGE@/rsa.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -MT libtrousers_la-rsa.lo -MD -MP -MF $(DEPDIR)/libtrousers_la-rsa.Tpo -c -o libtrousers_la-rsa.lo `test -f 'crypto/@CRYPTO_PACKAGE@/rsa.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/rsa.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtrousers_la-rsa.Tpo $(DEPDIR)/libtrousers_la-rsa.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/rsa.c' object='libtrousers_la-rsa.lo' libtool=yes @AMDEPBACKSLASH@ +crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.lo: crypto/@CRYPTO_PACKAGE@/rsa.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -MT crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.lo -MD -MP -MF crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-rsa.Tpo -c -o crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.lo `test -f 'crypto/@CRYPTO_PACKAGE@/rsa.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/rsa.c +@am__fastdepCC_TRUE@ $(am__mv) crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-rsa.Tpo crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-rsa.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/rsa.c' object='crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -c -o libtrousers_la-rsa.lo `test -f 'crypto/@CRYPTO_PACKAGE@/rsa.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/rsa.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -c -o crypto/@CRYPTO_PACKAGE@/libtrousers_la-rsa.lo `test -f 'crypto/@CRYPTO_PACKAGE@/rsa.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/rsa.c -libtrousers_la-symmetric.lo: crypto/@CRYPTO_PACKAGE@/symmetric.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -MT libtrousers_la-symmetric.lo -MD -MP -MF $(DEPDIR)/libtrousers_la-symmetric.Tpo -c -o libtrousers_la-symmetric.lo `test -f 'crypto/@CRYPTO_PACKAGE@/symmetric.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/symmetric.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtrousers_la-symmetric.Tpo $(DEPDIR)/libtrousers_la-symmetric.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/symmetric.c' object='libtrousers_la-symmetric.lo' libtool=yes @AMDEPBACKSLASH@ +crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.lo: crypto/@CRYPTO_PACKAGE@/symmetric.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -MT crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.lo -MD -MP -MF crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-symmetric.Tpo -c -o crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.lo `test -f 'crypto/@CRYPTO_PACKAGE@/symmetric.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/symmetric.c +@am__fastdepCC_TRUE@ $(am__mv) crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-symmetric.Tpo crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/libtrousers_la-symmetric.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='crypto/@CRYPTO_PACKAGE@/symmetric.c' object='crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -c -o libtrousers_la-symmetric.lo `test -f 'crypto/@CRYPTO_PACKAGE@/symmetric.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/symmetric.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtrousers_la_CFLAGS) $(CFLAGS) -c -o crypto/@CRYPTO_PACKAGE@/libtrousers_la-symmetric.lo `test -f 'crypto/@CRYPTO_PACKAGE@/symmetric.c' || echo '$(srcdir)/'`crypto/@CRYPTO_PACKAGE@/symmetric.c mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs + -rm -rf crypto/@CRYPTO_PACKAGE@/.libs crypto/@CRYPTO_PACKAGE@/_libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ @@ -426,6 +450,8 @@ clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f crypto/@CRYPTO_PACKAGE@/$(DEPDIR)/$(am__dirstamp) + -rm -f crypto/@CRYPTO_PACKAGE@/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -436,7 +462,7 @@ clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ mostlyclean-am distclean: distclean-am - -rm -rf ./$(DEPDIR) + -rm -rf ./$(DEPDIR) crypto/@CRYPTO_PACKAGE@/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -482,7 +508,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) + -rm -rf ./$(DEPDIR) crypto/@CRYPTO_PACKAGE@/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/crypto/external/cpl/trousers/dist/src/trspi/crypto/Makefile.am b/crypto/external/cpl/trousers/dist/src/trspi/crypto/Makefile.am new file mode 100644 index 00000000000..bc3bf865e70 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/trspi/crypto/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = openssl diff --git a/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/hash.c b/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/hash.c index f6cf3dc4aae..f2a1f0ec98c 100644 --- a/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/hash.c +++ b/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/hash.c @@ -56,13 +56,15 @@ int MGF1(unsigned char *, long, const unsigned char *, long); TSS_RESULT Trspi_Hash(UINT32 HashType, UINT32 BufSize, BYTE* Buf, BYTE* Digest) { - EVP_MD_CTX md_ctx; + EVP_MD_CTX *md_ctx; unsigned int result_size; int rv; + md_ctx = EVP_MD_CTX_create(); + switch (HashType) { case TSS_HASH_SHA1: - rv = EVP_DigestInit(&md_ctx, EVP_sha1()); + rv = EVP_DigestInit(md_ctx, EVP_sha1()); break; default: rv = TSPERR(TSS_E_BAD_PARAMETER); @@ -75,14 +77,14 @@ Trspi_Hash(UINT32 HashType, UINT32 BufSize, BYTE* Buf, BYTE* Digest) goto err; } - rv = EVP_DigestUpdate(&md_ctx, Buf, BufSize); + rv = EVP_DigestUpdate(md_ctx, Buf, BufSize); if (rv != EVP_SUCCESS) { rv = TSPERR(TSS_E_INTERNAL_ERROR); goto err; } - result_size = EVP_MD_CTX_size(&md_ctx); - rv = EVP_DigestFinal(&md_ctx, Digest, &result_size); + result_size = EVP_MD_CTX_size(md_ctx); + rv = EVP_DigestFinal(md_ctx, Digest, &result_size); if (rv != EVP_SUCCESS) { rv = TSPERR(TSS_E_INTERNAL_ERROR); goto err; @@ -94,6 +96,7 @@ Trspi_Hash(UINT32 HashType, UINT32 BufSize, BYTE* Buf, BYTE* Digest) err: DEBUG_print_openssl_errors(); out: + EVP_MD_CTX_destroy(md_ctx); return rv; } @@ -112,7 +115,7 @@ Trspi_HashInit(Trspi_HashCtx *ctx, UINT32 HashType) break; } - if ((ctx->ctx = malloc(sizeof(EVP_MD_CTX))) == NULL) + if ((ctx->ctx = EVP_MD_CTX_create()) == NULL) return TSPERR(TSS_E_OUTOFMEMORY); rv = EVP_DigestInit((EVP_MD_CTX *)ctx->ctx, (const EVP_MD *)md); diff --git a/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/rsa.c b/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/rsa.c index 0bd1e89665a..2b1205fb31b 100644 --- a/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/rsa.c +++ b/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/rsa.c @@ -38,6 +38,25 @@ #define DEBUG_print_openssl_errors() #endif +#if OPENSSL_VERSION_NUMBER < 0x10100001L +static int +RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) +{ + if (n != NULL) { + BN_free(r->n); + r->n = n; + } + if (e != NULL) { + BN_free(r->e); + r->e = e; + } + if (d != NULL) { + BN_free(r->d); + r->d = d; + } + return 1; +} +#endif /* * Hopefully this will make the code clearer since @@ -61,6 +80,7 @@ Trspi_RSA_Encrypt(unsigned char *dataToEncrypt, /* in */ RSA *rsa = RSA_new(); BYTE encodedData[256]; int encodedDataLen; + BIGNUM *rsa_n = NULL, *rsa_e = NULL; if (rsa == NULL) { rv = TSPERR(TSS_E_OUTOFMEMORY); @@ -68,12 +88,20 @@ Trspi_RSA_Encrypt(unsigned char *dataToEncrypt, /* in */ } /* set the public key value in the OpenSSL object */ - rsa->n = BN_bin2bn(publicKey, keysize, rsa->n); + rsa_n = BN_bin2bn(publicKey, keysize, NULL); /* set the public exponent */ - rsa->e = BN_bin2bn(exp, sizeof(exp), rsa->e); + rsa_e = BN_bin2bn(exp, sizeof(exp), NULL); - if (rsa->n == NULL || rsa->e == NULL) { + if (rsa_n == NULL || rsa_e == NULL) { rv = TSPERR(TSS_E_OUTOFMEMORY); + BN_free(rsa_n); + BN_free(rsa_e); + goto err; + } + if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) { + rv = TSPERR(TSS_E_FAIL); + BN_free(rsa_n); + BN_free(rsa_e); goto err; } @@ -123,6 +151,7 @@ Trspi_Verify(UINT32 HashType, BYTE *pHash, UINT32 iHashLength, unsigned char exp[] = { 0x01, 0x00, 0x01 }; /* The default public exponent for the TPM */ unsigned char buf[256]; RSA *rsa = RSA_new(); + BIGNUM *rsa_n = NULL, *rsa_e = NULL; if (rsa == NULL) { rv = TSPERR(TSS_E_OUTOFMEMORY); @@ -146,12 +175,20 @@ Trspi_Verify(UINT32 HashType, BYTE *pHash, UINT32 iHashLength, } /* set the public key value in the OpenSSL object */ - rsa->n = BN_bin2bn(pModulus, iKeyLength, rsa->n); + rsa_n = BN_bin2bn(pModulus, iKeyLength, NULL); /* set the public exponent */ - rsa->e = BN_bin2bn(exp, sizeof(exp), rsa->e); + rsa_e = BN_bin2bn(exp, sizeof(exp), NULL); - if (rsa->n == NULL || rsa->e == NULL) { + if (rsa_n == NULL || rsa_e == NULL) { rv = TSPERR(TSS_E_OUTOFMEMORY); + BN_free(rsa_n); + BN_free(rsa_e); + goto err; + } + if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) { + rv = TSPERR(TSS_E_FAIL); + BN_free(rsa_n); + BN_free(rsa_e); goto err; } @@ -195,6 +232,7 @@ Trspi_RSA_Public_Encrypt(unsigned char *in, unsigned int inlen, int rv, e_size = 3; unsigned char exp[] = { 0x01, 0x00, 0x01 }; RSA *rsa = RSA_new(); + BIGNUM *rsa_n = NULL, *rsa_e = NULL; if (rsa == NULL) { rv = TSPERR(TSS_E_OUTOFMEMORY); @@ -237,12 +275,20 @@ Trspi_RSA_Public_Encrypt(unsigned char *in, unsigned int inlen, } /* set the public key value in the OpenSSL object */ - rsa->n = BN_bin2bn(pubkey, pubsize, rsa->n); + rsa_n = BN_bin2bn(pubkey, pubsize, NULL); /* set the public exponent */ - rsa->e = BN_bin2bn(exp, e_size, rsa->e); + rsa_e = BN_bin2bn(exp, e_size, NULL); - if (rsa->n == NULL || rsa->e == NULL) { + if (rsa_n == NULL || rsa_e == NULL) { rv = TSPERR(TSS_E_OUTOFMEMORY); + BN_free(rsa_n); + BN_free(rsa_e); + goto err; + } + if (!RSA_set0_key(rsa, rsa_n, rsa_e, NULL)) { + rv = TSPERR(TSS_E_FAIL); + BN_free(rsa_n); + BN_free(rsa_e); goto err; } diff --git a/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/symmetric.c b/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/symmetric.c index f5c3836ab6a..3101d51f941 100644 --- a/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/symmetric.c +++ b/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/symmetric.c @@ -40,7 +40,6 @@ #define DEBUG_print_openssl_errors() #endif - /* * Hopefully this will make the code clearer since * OpenSSL returns 1 on success @@ -52,7 +51,7 @@ Trspi_Encrypt_ECB(UINT16 alg, BYTE *key, BYTE *in, UINT32 in_len, BYTE *out, UINT32 *out_len) { TSS_RESULT result = TSS_SUCCESS; - EVP_CIPHER_CTX ctx; + EVP_CIPHER_CTX *ctx = NULL; UINT32 tmp; switch (alg) { @@ -64,33 +63,33 @@ Trspi_Encrypt_ECB(UINT16 alg, BYTE *key, BYTE *in, UINT32 in_len, BYTE *out, break; } - EVP_CIPHER_CTX_init(&ctx); + ctx = EVP_CIPHER_CTX_new(); - if (!EVP_EncryptInit(&ctx, EVP_aes_256_ecb(), key, NULL)) { + if (!EVP_EncryptInit(ctx, EVP_aes_256_ecb(), key, NULL)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } - if (*out_len < in_len + EVP_CIPHER_CTX_block_size(&ctx) - 1) { + if (*out_len < in_len + EVP_CIPHER_CTX_block_size(ctx) - 1) { result = TSPERR(TSS_E_INTERNAL_ERROR); goto done; } - if (!EVP_EncryptUpdate(&ctx, out, (int *)out_len, in, in_len)) { + if (!EVP_EncryptUpdate(ctx, out, (int *)out_len, in, in_len)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } - if (!EVP_EncryptFinal(&ctx, out + *out_len, (int *)&tmp)) { + if (!EVP_EncryptFinal(ctx, out + *out_len, (int *)&tmp)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } *out_len += tmp; done: - EVP_CIPHER_CTX_cleanup(&ctx); + EVP_CIPHER_CTX_free(ctx); return result; } @@ -99,7 +98,7 @@ Trspi_Decrypt_ECB(UINT16 alg, BYTE *key, BYTE *in, UINT32 in_len, BYTE *out, UINT32 *out_len) { TSS_RESULT result = TSS_SUCCESS; - EVP_CIPHER_CTX ctx; + EVP_CIPHER_CTX *ctx = NULL; UINT32 tmp; switch (alg) { @@ -111,28 +110,28 @@ Trspi_Decrypt_ECB(UINT16 alg, BYTE *key, BYTE *in, UINT32 in_len, BYTE *out, break; } - EVP_CIPHER_CTX_init(&ctx); + ctx = EVP_CIPHER_CTX_new(); - if (!EVP_DecryptInit(&ctx, EVP_aes_256_ecb(), key, NULL)) { + if (!EVP_DecryptInit(ctx, EVP_aes_256_ecb(), key, NULL)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } - if (!EVP_DecryptUpdate(&ctx, out, (int *)out_len, in, in_len)) { + if (!EVP_DecryptUpdate(ctx, out, (int *)out_len, in, in_len)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } - if (!EVP_DecryptFinal(&ctx, out + *out_len, (int *)&tmp)) { + if (!EVP_DecryptFinal(ctx, out + *out_len, (int *)&tmp)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } *out_len += tmp; done: - EVP_CIPHER_CTX_cleanup(&ctx); + EVP_CIPHER_CTX_free(ctx); return result; } @@ -255,7 +254,7 @@ Trspi_SymEncrypt(UINT16 alg, UINT16 mode, BYTE *key, BYTE *iv, BYTE *in, UINT32 UINT32 *out_len) { TSS_RESULT result = TSS_SUCCESS; - EVP_CIPHER_CTX ctx; + EVP_CIPHER_CTX *ctx = NULL; EVP_CIPHER *cipher; BYTE *def_iv = NULL, *outiv_ptr; UINT32 tmp; @@ -269,7 +268,7 @@ Trspi_SymEncrypt(UINT16 alg, UINT16 mode, BYTE *key, BYTE *iv, BYTE *in, UINT32 if ((cipher = get_openssl_cipher(alg, mode)) == NULL) return TSPERR(TSS_E_INTERNAL_ERROR); - EVP_CIPHER_CTX_init(&ctx); + ctx = EVP_CIPHER_CTX_new(); /* If the iv passed in is NULL, create a new random iv and prepend it to the ciphertext */ iv_len = EVP_CIPHER_iv_length(cipher); @@ -289,25 +288,25 @@ Trspi_SymEncrypt(UINT16 alg, UINT16 mode, BYTE *key, BYTE *iv, BYTE *in, UINT32 outiv_ptr = out; } - if (!EVP_EncryptInit(&ctx, (const EVP_CIPHER *)cipher, key, def_iv)) { + if (!EVP_EncryptInit(ctx, (const EVP_CIPHER *)cipher, key, def_iv)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } - if ((UINT32)outiv_len < in_len + (EVP_CIPHER_CTX_block_size(&ctx) * 2) - 1) { + if ((UINT32)outiv_len < in_len + (EVP_CIPHER_CTX_block_size(ctx) * 2) - 1) { LogDebug("Not enough space to do symmetric encryption"); result = TSPERR(TSS_E_INTERNAL_ERROR); goto done; } - if (!EVP_EncryptUpdate(&ctx, outiv_ptr, &outiv_len, in, in_len)) { + if (!EVP_EncryptUpdate(ctx, outiv_ptr, &outiv_len, in, in_len)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } - if (!EVP_EncryptFinal(&ctx, outiv_ptr + outiv_len, (int *)&tmp)) { + if (!EVP_EncryptFinal(ctx, outiv_ptr + outiv_len, (int *)&tmp)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; @@ -320,7 +319,7 @@ done: *out_len += iv_len; free(def_iv); } - EVP_CIPHER_CTX_cleanup(&ctx); + EVP_CIPHER_CTX_free(ctx); return result; } @@ -329,7 +328,7 @@ Trspi_SymDecrypt(UINT16 alg, UINT16 mode, BYTE *key, BYTE *iv, BYTE *in, UINT32 UINT32 *out_len) { TSS_RESULT result = TSS_SUCCESS; - EVP_CIPHER_CTX ctx; + EVP_CIPHER_CTX *ctx = NULL; EVP_CIPHER *cipher; BYTE *def_iv = NULL, *iniv_ptr; UINT32 tmp; @@ -341,7 +340,7 @@ Trspi_SymDecrypt(UINT16 alg, UINT16 mode, BYTE *key, BYTE *iv, BYTE *in, UINT32 if ((cipher = get_openssl_cipher(alg, mode)) == NULL) return TSPERR(TSS_E_INTERNAL_ERROR); - EVP_CIPHER_CTX_init(&ctx); + ctx = EVP_CIPHER_CTX_new(); /* If the iv is NULL, assume that its prepended to the ciphertext */ if (iv == NULL) { @@ -361,19 +360,19 @@ Trspi_SymDecrypt(UINT16 alg, UINT16 mode, BYTE *key, BYTE *iv, BYTE *in, UINT32 iniv_len = in_len; } - if (!EVP_DecryptInit(&ctx, cipher, key, def_iv)) { + if (!EVP_DecryptInit(ctx, cipher, key, def_iv)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } - if (!EVP_DecryptUpdate(&ctx, out, (int *)out_len, iniv_ptr, iniv_len)) { + if (!EVP_DecryptUpdate(ctx, out, (int *)out_len, iniv_ptr, iniv_len)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; } - if (!EVP_DecryptFinal(&ctx, out + *out_len, (int *)&tmp)) { + if (!EVP_DecryptFinal(ctx, out + *out_len, (int *)&tmp)) { result = TSPERR(TSS_E_INTERNAL_ERROR); DEBUG_print_openssl_errors(); goto done; @@ -383,6 +382,6 @@ Trspi_SymDecrypt(UINT16 alg, UINT16 mode, BYTE *key, BYTE *iv, BYTE *in, UINT32 done: if (def_iv != iv) free(def_iv); - EVP_CIPHER_CTX_cleanup(&ctx); + EVP_CIPHER_CTX_free(ctx); return result; } diff --git a/crypto/external/cpl/trousers/dist/src/trspi/trousers.c b/crypto/external/cpl/trousers/dist/src/trspi/trousers.c index 5a8dada2f85..5cb8139eaad 100644 --- a/crypto/external/cpl/trousers/dist/src/trspi/trousers.c +++ b/crypto/external/cpl/trousers/dist/src/trspi/trousers.c @@ -28,7 +28,7 @@ #include "capabilities.h" #include "tsplog.h" #include "obj.h" - +#include "tcs_tsp.h" void Trspi_UnloadBlob_NONCE(UINT64 *offset, BYTE *blob, TPM_NONCE *n) @@ -103,6 +103,7 @@ Trspi_LoadBlob(UINT64 *offset, size_t size, BYTE *to, BYTE *from) { if (size == 0) return; + if (to) memcpy(&to[(*offset)], from, size); (*offset) += size; @@ -113,6 +114,7 @@ Trspi_UnloadBlob(UINT64 *offset, size_t size, BYTE *from, BYTE *to) { if (size <= 0) return; + if (to) memcpy(to, &from[*offset], size); (*offset) += size; @@ -1592,6 +1594,7 @@ Trspi_UNICODE_To_Native(BYTE *string, unsigned *size) if ((tmplen = hacky_strlen("UTF-16", string)) == 0) { LogDebug("hacky_strlen returned 0"); + iconv_close(cd); return 0; } @@ -2185,7 +2188,7 @@ Trspi_UnloadBlob_CERTIFY_INFO(UINT64 *offset, BYTE *blob, TPM_CERTIFY_INFO *c) if (c->PCRInfoSize != 0) { c->PCRInfo = malloc(sizeof(TPM_PCR_INFO)); if (c->PCRInfo == NULL) { - LogError("malloc of %lu bytes failed.", sizeof(TPM_PCR_INFO)); + LogError("malloc of %zd bytes failed.", sizeof(TPM_PCR_INFO)); return TSPERR(TSS_E_OUTOFMEMORY); } } else { diff --git a/crypto/external/cpl/trousers/dist/src/tspi/Makefile.am b/crypto/external/cpl/trousers/dist/src/tspi/Makefile.am index 6b31e510bee..0dd257ba050 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/Makefile.am +++ b/crypto/external/cpl/trousers/dist/src/tspi/Makefile.am @@ -33,7 +33,8 @@ libtspi_la_SOURCES=log.c \ rpc/@RPC@/rpc_context.c \ rpc/tcs_api.c \ rpc/hosttable.c \ - rpc/@RPC@/rpc.c + rpc/@RPC@/rpc.c \ + tsp_tcsi_param.c if TSS_BUILD_ASYM_CRYPTO libtspi_la_SOURCES+=tsp_asym.c diff --git a/crypto/external/cpl/trousers/dist/src/tspi/Makefile.in b/crypto/external/cpl/trousers/dist/src/tspi/Makefile.in index e4d5248b5a9..1153e6caeaa 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/Makefile.in +++ b/crypto/external/cpl/trousers/dist/src/tspi/Makefile.in @@ -141,7 +141,7 @@ target_triplet = @target@ subdir = src/tspi DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/configure.in +am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d @@ -174,8 +174,8 @@ libtspi_la_DEPENDENCIES = ${top_builddir}/src/trspi/libtrousers.la am__libtspi_la_SOURCES_DIST = log.c spi_utils.c obj.c obj_policy.c \ tsp_policy.c obj_tpm.c obj_context.c tsp_context_mem.c \ tspi_context.c rpc/@RPC@/rpc_context.c rpc/tcs_api.c \ - rpc/hosttable.c rpc/@RPC@/rpc.c tsp_asym.c tspi_oper.c \ - tsp_oper.c rpc/@RPC@/rpc_oper.c tspi_transport.c \ + rpc/hosttable.c rpc/@RPC@/rpc.c tsp_tcsi_param.c tsp_asym.c \ + tspi_oper.c tsp_oper.c rpc/@RPC@/rpc_oper.c tspi_transport.c \ rpc/@RPC@/rpc_transport.c tspi_tick.c tsp_tick.c \ rpc/@RPC@/rpc_tick.c tspi_counter.c tsp_counter.c \ rpc/@RPC@/rpc_counter.c tspi_pcr_comp12.c tsp_auth.c \ @@ -218,107 +218,112 @@ am__libtspi_la_SOURCES_DIST = log.c spi_utils.c obj.c obj_policy.c \ tsp_nv.c rpc/@RPC@/rpc_nv.c tspi_delegate.c tsp_delegate.c \ obj_delfamily.c rpc/@RPC@/rpc_delegate.c tspi_cmk.c \ obj_migdata.c rpc/@RPC@/rpc_cmk.c +am__dirstamp = $(am__leading_dot)dirstamp @TSS_BUILD_ASYM_CRYPTO_TRUE@am__objects_1 = libtspi_la-tsp_asym.lo @TSS_BUILD_TSS12_TRUE@am__objects_2 = libtspi_la-tspi_oper.lo \ @TSS_BUILD_TSS12_TRUE@ libtspi_la-tsp_oper.lo \ -@TSS_BUILD_TSS12_TRUE@ libtspi_la-rpc_oper.lo +@TSS_BUILD_TSS12_TRUE@ rpc/@RPC@/libtspi_la-rpc_oper.lo @TSS_BUILD_TRANSPORT_TRUE@am__objects_3 = \ @TSS_BUILD_TRANSPORT_TRUE@ libtspi_la-tspi_transport.lo \ -@TSS_BUILD_TRANSPORT_TRUE@ libtspi_la-rpc_transport.lo +@TSS_BUILD_TRANSPORT_TRUE@ rpc/@RPC@/libtspi_la-rpc_transport.lo @TSS_BUILD_TICK_TRUE@am__objects_4 = libtspi_la-tspi_tick.lo \ @TSS_BUILD_TICK_TRUE@ libtspi_la-tsp_tick.lo \ -@TSS_BUILD_TICK_TRUE@ libtspi_la-rpc_tick.lo +@TSS_BUILD_TICK_TRUE@ rpc/@RPC@/libtspi_la-rpc_tick.lo @TSS_BUILD_COUNTER_TRUE@am__objects_5 = libtspi_la-tspi_counter.lo \ @TSS_BUILD_COUNTER_TRUE@ libtspi_la-tsp_counter.lo \ -@TSS_BUILD_COUNTER_TRUE@ libtspi_la-rpc_counter.lo +@TSS_BUILD_COUNTER_TRUE@ rpc/@RPC@/libtspi_la-rpc_counter.lo @TSS_BUILD_PCR_COMP12_TRUE@am__objects_6 = \ @TSS_BUILD_PCR_COMP12_TRUE@ libtspi_la-tspi_pcr_comp12.lo @TSS_BUILD_AUTH_TRUE@am__objects_7 = libtspi_la-tsp_auth.lo \ -@TSS_BUILD_AUTH_TRUE@ libtspi_la-rpc_auth.lo +@TSS_BUILD_AUTH_TRUE@ rpc/@RPC@/libtspi_la-rpc_auth.lo @TSS_BUILD_GETSET_TRUE@am__objects_8 = libtspi_la-tspi_getset.lo @TSS_BUILD_RANDOM_TRUE@am__objects_9 = libtspi_la-tspi_random.lo \ @TSS_BUILD_RANDOM_TRUE@ libtspi_la-tsp_random.lo \ -@TSS_BUILD_RANDOM_TRUE@ libtspi_la-rpc_random.lo +@TSS_BUILD_RANDOM_TRUE@ rpc/@RPC@/libtspi_la-rpc_random.lo @TSS_BUILD_CAPS_TRUE@am__objects_10 = libtspi_la-tspi_caps.lo \ @TSS_BUILD_CAPS_TRUE@ libtspi_la-tsp_caps.lo \ -@TSS_BUILD_CAPS_TRUE@ libtspi_la-rpc_caps.lo +@TSS_BUILD_CAPS_TRUE@ rpc/@RPC@/libtspi_la-rpc_caps.lo @TSS_BUILD_CAPS_TPM_TRUE@am__objects_11 = libtspi_la-tspi_caps_tpm.lo \ @TSS_BUILD_CAPS_TPM_TRUE@ libtspi_la-tsp_caps_tpm.lo \ -@TSS_BUILD_CAPS_TPM_TRUE@ libtspi_la-rpc_caps_tpm.lo +@TSS_BUILD_CAPS_TPM_TRUE@ rpc/@RPC@/libtspi_la-rpc_caps_tpm.lo @TSS_BUILD_POLICY_TRUE@am__objects_12 = libtspi_la-tspi_policy.lo @TSS_BUILD_DIR_TRUE@am__objects_13 = libtspi_la-tspi_dir.lo \ @TSS_BUILD_DIR_TRUE@ libtspi_la-tsp_dir.lo \ -@TSS_BUILD_DIR_TRUE@ libtspi_la-rpc_dir.lo +@TSS_BUILD_DIR_TRUE@ rpc/@RPC@/libtspi_la-rpc_dir.lo @TSS_BUILD_PCR_EVENTS_TRUE@am__objects_14 = \ @TSS_BUILD_PCR_EVENTS_TRUE@ libtspi_la-tspi_pcr_events.lo \ -@TSS_BUILD_PCR_EVENTS_TRUE@ libtspi_la-rpc_evlog.lo +@TSS_BUILD_PCR_EVENTS_TRUE@ rpc/@RPC@/libtspi_la-rpc_evlog.lo @TSS_BUILD_HASH_TRUE@am__objects_15 = libtspi_la-tspi_hash.lo @TSS_BUILD_SIGN_TRUE@am__objects_16 = libtspi_la-tspi_sign.lo \ @TSS_BUILD_SIGN_TRUE@ libtspi_la-tsp_sign.lo \ -@TSS_BUILD_SIGN_TRUE@ libtspi_la-rpc_sign.lo +@TSS_BUILD_SIGN_TRUE@ rpc/@RPC@/libtspi_la-rpc_sign.lo @TSS_BUILD_QUOTE_TRUE@am__objects_17 = libtspi_la-tspi_quote.lo \ @TSS_BUILD_QUOTE_TRUE@ libtspi_la-tsp_quote.lo \ -@TSS_BUILD_QUOTE_TRUE@ libtspi_la-rpc_quote.lo +@TSS_BUILD_QUOTE_TRUE@ rpc/@RPC@/libtspi_la-rpc_quote.lo @TSS_BUILD_PCR_COMP_TRUE@am__objects_18 = libtspi_la-tspi_pcr_comp.lo @TSS_BUILD_SEAL_TRUE@am__objects_19 = libtspi_la-tspi_seal.lo \ -@TSS_BUILD_SEAL_TRUE@ libtspi_la-rpc_seal.lo +@TSS_BUILD_SEAL_TRUE@ rpc/@RPC@/libtspi_la-rpc_seal.lo @TSS_BUILD_CHANGEAUTH_TRUE@am__objects_20 = \ @TSS_BUILD_CHANGEAUTH_TRUE@ libtspi_la-tspi_changeauth.lo \ @TSS_BUILD_CHANGEAUTH_TRUE@ libtspi_la-tsp_changeauth.lo \ -@TSS_BUILD_CHANGEAUTH_TRUE@ libtspi_la-rpc_changeauth.lo +@TSS_BUILD_CHANGEAUTH_TRUE@ rpc/@RPC@/libtspi_la-rpc_changeauth.lo @TSS_BUILD_BIND_TRUE@am__objects_21 = libtspi_la-tspi_bind.lo \ @TSS_BUILD_BIND_TRUE@ libtspi_la-tsp_bind.lo \ -@TSS_BUILD_BIND_TRUE@ libtspi_la-rpc_bind.lo +@TSS_BUILD_BIND_TRUE@ rpc/@RPC@/libtspi_la-rpc_bind.lo @TSS_BUILD_OWN_TRUE@am__objects_22 = libtspi_la-tsp_own.lo \ @TSS_BUILD_OWN_TRUE@ libtspi_la-tspi_own.lo \ -@TSS_BUILD_OWN_TRUE@ libtspi_la-rpc_own.lo -@TSS_BUILD_PS_TRUE@am__objects_23 = libtspi_la-ps_utils.lo \ -@TSS_BUILD_PS_TRUE@ libtspi_la-tspps.lo libtspi_la-tspi_ps.lo \ -@TSS_BUILD_PS_TRUE@ libtspi_la-rpc_ps.lo libtspi_la-tsp_ps.lo +@TSS_BUILD_OWN_TRUE@ rpc/@RPC@/libtspi_la-rpc_own.lo +@TSS_BUILD_PS_TRUE@am__objects_23 = ps/libtspi_la-ps_utils.lo \ +@TSS_BUILD_PS_TRUE@ ps/libtspi_la-tspps.lo \ +@TSS_BUILD_PS_TRUE@ libtspi_la-tspi_ps.lo \ +@TSS_BUILD_PS_TRUE@ rpc/@RPC@/libtspi_la-rpc_ps.lo \ +@TSS_BUILD_PS_TRUE@ libtspi_la-tsp_ps.lo @TSS_BUILD_ADMIN_TRUE@am__objects_24 = libtspi_la-tspi_admin.lo \ @TSS_BUILD_ADMIN_TRUE@ libtspi_la-tsp_admin.lo \ -@TSS_BUILD_ADMIN_TRUE@ libtspi_la-rpc_admin.lo +@TSS_BUILD_ADMIN_TRUE@ rpc/@RPC@/libtspi_la-rpc_admin.lo @TSS_BUILD_AIK_TRUE@am__objects_25 = libtspi_la-tspi_aik.lo \ @TSS_BUILD_AIK_TRUE@ libtspi_la-tsp_aik.lo \ -@TSS_BUILD_AIK_TRUE@ libtspi_la-rpc_aik.lo +@TSS_BUILD_AIK_TRUE@ rpc/@RPC@/libtspi_la-rpc_aik.lo @TSS_BUILD_EK_TRUE@am__objects_26 = libtspi_la-tspi_ek.lo \ -@TSS_BUILD_EK_TRUE@ libtspi_la-tsp_ek.lo libtspi_la-rpc_ek.lo +@TSS_BUILD_EK_TRUE@ libtspi_la-tsp_ek.lo \ +@TSS_BUILD_EK_TRUE@ rpc/@RPC@/libtspi_la-rpc_ek.lo @TSS_BUILD_CERTIFY_TRUE@am__objects_27 = libtspi_la-tspi_certify.lo \ @TSS_BUILD_CERTIFY_TRUE@ libtspi_la-tsp_certify.lo \ -@TSS_BUILD_CERTIFY_TRUE@ libtspi_la-rpc_certify.lo +@TSS_BUILD_CERTIFY_TRUE@ rpc/@RPC@/libtspi_la-rpc_certify.lo @TSS_BUILD_KEY_TRUE@am__objects_28 = libtspi_la-tspi_key.lo \ -@TSS_BUILD_KEY_TRUE@ libtspi_la-rpc_key.lo +@TSS_BUILD_KEY_TRUE@ rpc/@RPC@/libtspi_la-rpc_key.lo @TSS_BUILD_MAINT_TRUE@am__objects_29 = libtspi_la-tspi_maint.lo \ @TSS_BUILD_MAINT_TRUE@ libtspi_la-tsp_maint.lo \ -@TSS_BUILD_MAINT_TRUE@ libtspi_la-rpc_maint.lo +@TSS_BUILD_MAINT_TRUE@ rpc/@RPC@/libtspi_la-rpc_maint.lo @TSS_BUILD_MIGRATION_TRUE@am__objects_30 = \ @TSS_BUILD_MIGRATION_TRUE@ libtspi_la-tspi_migration.lo \ @TSS_BUILD_MIGRATION_TRUE@ libtspi_la-tsp_migration.lo \ -@TSS_BUILD_MIGRATION_TRUE@ libtspi_la-rpc_migration.lo +@TSS_BUILD_MIGRATION_TRUE@ rpc/@RPC@/libtspi_la-rpc_migration.lo @TSS_BUILD_PCR_EXTEND_TRUE@am__objects_31 = \ @TSS_BUILD_PCR_EXTEND_TRUE@ libtspi_la-tspi_pcr_extend.lo \ @TSS_BUILD_PCR_EXTEND_TRUE@ libtspi_la-tsp_pcr_extend.lo \ -@TSS_BUILD_PCR_EXTEND_TRUE@ libtspi_la-rpc_pcr_extend.lo +@TSS_BUILD_PCR_EXTEND_TRUE@ rpc/@RPC@/libtspi_la-rpc_pcr_extend.lo @TSS_BUILD_SELFTEST_TRUE@am__objects_32 = libtspi_la-tspi_selftest.lo \ @TSS_BUILD_SELFTEST_TRUE@ libtspi_la-tsp_selftest.lo \ -@TSS_BUILD_SELFTEST_TRUE@ libtspi_la-rpc_selftest.lo +@TSS_BUILD_SELFTEST_TRUE@ rpc/@RPC@/libtspi_la-rpc_selftest.lo @TSS_BUILD_DAA_TRUE@am__objects_33 = libtspi_la-tspi_daa.lo \ @TSS_BUILD_DAA_TRUE@ libtspi_la-tsp_daa.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-rpc_daa.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-keypair_generator.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-prime_gen.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-key_correctness_proof.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-platform.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-issuer_init.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-issue_credential.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-verifier_transaction.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-verifier.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-daa_structs.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-daa_parameter.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-bi_gmp.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-bi_openssl.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-csencryption_result.lo \ -@TSS_BUILD_DAA_TRUE@ libtspi_la-bi.lo libtspi_la-list.lo +@TSS_BUILD_DAA_TRUE@ rpc/@RPC@/libtspi_la-rpc_daa.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_issuer/libtspi_la-keypair_generator.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_issuer/libtspi_la-prime_gen.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_issuer/libtspi_la-key_correctness_proof.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_platform/libtspi_la-platform.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_issuer/libtspi_la-issuer_init.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_issuer/libtspi_la-issue_credential.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_verifier/libtspi_la-verifier_transaction.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_verifier/libtspi_la-verifier.lo \ +@TSS_BUILD_DAA_TRUE@ daa/libtspi_la-daa_structs.lo \ +@TSS_BUILD_DAA_TRUE@ daa/libtspi_la-daa_parameter.lo \ +@TSS_BUILD_DAA_TRUE@ daa/big_integer/libtspi_la-bi_gmp.lo \ +@TSS_BUILD_DAA_TRUE@ daa/big_integer/libtspi_la-bi_openssl.lo \ +@TSS_BUILD_DAA_TRUE@ daa/daa_anonymityrevocation/libtspi_la-csencryption_result.lo \ +@TSS_BUILD_DAA_TRUE@ daa/big_integer/libtspi_la-bi.lo \ +@TSS_BUILD_DAA_TRUE@ daa/utils/libtspi_la-list.lo @TSS_BUILD_GET_FLAGS_TRUE@am__objects_34 = \ @TSS_BUILD_GET_FLAGS_TRUE@ libtspi_la-tsp_get_flags.lo @TSS_BUILD_PCRS_LIST_TRUE@am__objects_35 = libtspi_la-obj_pcrs.lo \ @@ -331,48 +336,50 @@ am__libtspi_la_SOURCES_DIST = log.c spi_utils.c obj.c obj_policy.c \ @TSS_BUILD_ASN1_TRUE@am__objects_39 = libtspi_la-tspi_asn1.lo @TSS_BUILD_AUDIT_TRUE@am__objects_40 = libtspi_la-tspi_audit.lo \ @TSS_BUILD_AUDIT_TRUE@ libtspi_la-tsp_audit.lo \ -@TSS_BUILD_AUDIT_TRUE@ libtspi_la-rpc_audit.lo +@TSS_BUILD_AUDIT_TRUE@ rpc/@RPC@/libtspi_la-rpc_audit.lo @TSS_BUILD_SEALX_TRUE@am__objects_41 = libtspi_la-tsp_seal.lo @TSS_BUILD_QUOTE2_TRUE@am__objects_42 = libtspi_la-tspi_quote2.lo \ @TSS_BUILD_QUOTE2_TRUE@ libtspi_la-tsp_quote2.lo \ -@TSS_BUILD_QUOTE2_TRUE@ libtspi_la-rpc_quote2.lo -@HAVE_GTK_TRUE@am__objects_43 = libtspi_la-main.lo \ -@HAVE_GTK_TRUE@ libtspi_la-support.lo libtspi_la-interface.lo \ -@HAVE_GTK_TRUE@ libtspi_la-callbacks.lo +@TSS_BUILD_QUOTE2_TRUE@ rpc/@RPC@/libtspi_la-rpc_quote2.lo +@HAVE_GTK_TRUE@am__objects_43 = gtk/libtspi_la-main.lo \ +@HAVE_GTK_TRUE@ gtk/libtspi_la-support.lo \ +@HAVE_GTK_TRUE@ gtk/libtspi_la-interface.lo \ +@HAVE_GTK_TRUE@ gtk/libtspi_la-callbacks.lo @OPENSSL_UI_TRUE@am__objects_44 = libtspi_la-ssl_ui.lo @TSS_BUILD_NV_TRUE@am__objects_45 = libtspi_la-tspi_nv.lo \ @TSS_BUILD_NV_TRUE@ libtspi_la-obj_nv.lo libtspi_la-tsp_nv.lo \ -@TSS_BUILD_NV_TRUE@ libtspi_la-rpc_nv.lo +@TSS_BUILD_NV_TRUE@ rpc/@RPC@/libtspi_la-rpc_nv.lo @TSS_BUILD_DELEGATION_TRUE@am__objects_46 = \ @TSS_BUILD_DELEGATION_TRUE@ libtspi_la-tspi_delegate.lo \ @TSS_BUILD_DELEGATION_TRUE@ libtspi_la-tsp_delegate.lo \ @TSS_BUILD_DELEGATION_TRUE@ libtspi_la-obj_delfamily.lo \ -@TSS_BUILD_DELEGATION_TRUE@ libtspi_la-rpc_delegate.lo +@TSS_BUILD_DELEGATION_TRUE@ rpc/@RPC@/libtspi_la-rpc_delegate.lo @TSS_BUILD_CMK_TRUE@am__objects_47 = libtspi_la-tspi_cmk.lo \ @TSS_BUILD_CMK_TRUE@ libtspi_la-obj_migdata.lo \ -@TSS_BUILD_CMK_TRUE@ libtspi_la-rpc_cmk.lo +@TSS_BUILD_CMK_TRUE@ rpc/@RPC@/libtspi_la-rpc_cmk.lo am_libtspi_la_OBJECTS = libtspi_la-log.lo libtspi_la-spi_utils.lo \ libtspi_la-obj.lo libtspi_la-obj_policy.lo \ libtspi_la-tsp_policy.lo libtspi_la-obj_tpm.lo \ libtspi_la-obj_context.lo libtspi_la-tsp_context_mem.lo \ - libtspi_la-tspi_context.lo libtspi_la-rpc_context.lo \ - libtspi_la-tcs_api.lo libtspi_la-hosttable.lo \ - libtspi_la-rpc.lo $(am__objects_1) $(am__objects_2) \ - $(am__objects_3) $(am__objects_4) $(am__objects_5) \ - $(am__objects_6) $(am__objects_7) $(am__objects_8) \ - $(am__objects_9) $(am__objects_10) $(am__objects_11) \ - $(am__objects_12) $(am__objects_13) $(am__objects_14) \ - $(am__objects_15) $(am__objects_16) $(am__objects_17) \ - $(am__objects_18) $(am__objects_19) $(am__objects_20) \ - $(am__objects_21) $(am__objects_22) $(am__objects_23) \ - $(am__objects_24) $(am__objects_25) $(am__objects_26) \ - $(am__objects_27) $(am__objects_28) $(am__objects_29) \ - $(am__objects_30) $(am__objects_31) $(am__objects_32) \ - $(am__objects_33) $(am__objects_34) $(am__objects_35) \ - $(am__objects_36) $(am__objects_37) $(am__objects_38) \ - $(am__objects_39) $(am__objects_40) $(am__objects_41) \ - $(am__objects_42) $(am__objects_43) $(am__objects_44) \ - $(am__objects_45) $(am__objects_46) $(am__objects_47) + libtspi_la-tspi_context.lo rpc/@RPC@/libtspi_la-rpc_context.lo \ + rpc/libtspi_la-tcs_api.lo rpc/libtspi_la-hosttable.lo \ + rpc/@RPC@/libtspi_la-rpc.lo libtspi_la-tsp_tcsi_param.lo \ + $(am__objects_1) $(am__objects_2) $(am__objects_3) \ + $(am__objects_4) $(am__objects_5) $(am__objects_6) \ + $(am__objects_7) $(am__objects_8) $(am__objects_9) \ + $(am__objects_10) $(am__objects_11) $(am__objects_12) \ + $(am__objects_13) $(am__objects_14) $(am__objects_15) \ + $(am__objects_16) $(am__objects_17) $(am__objects_18) \ + $(am__objects_19) $(am__objects_20) $(am__objects_21) \ + $(am__objects_22) $(am__objects_23) $(am__objects_24) \ + $(am__objects_25) $(am__objects_26) $(am__objects_27) \ + $(am__objects_28) $(am__objects_29) $(am__objects_30) \ + $(am__objects_31) $(am__objects_32) $(am__objects_33) \ + $(am__objects_34) $(am__objects_35) $(am__objects_36) \ + $(am__objects_37) $(am__objects_38) $(am__objects_39) \ + $(am__objects_40) $(am__objects_41) $(am__objects_42) \ + $(am__objects_43) $(am__objects_44) $(am__objects_45) \ + $(am__objects_46) $(am__objects_47) libtspi_la_OBJECTS = $(am_libtspi_la_OBJECTS) libtspi_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtspi_la_CFLAGS) \ @@ -450,12 +457,9 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ -PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ -PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ RPC = @RPC@ SED = @SED@ @@ -463,6 +467,7 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ TCSD_DEFAULT_PORT = @TCSD_DEFAULT_PORT@ +TCSD_LDFLAGS = @TCSD_LDFLAGS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -559,22 +564,23 @@ libtspi_la_CFLAGS = -I$(top_srcdir)/src/include -DAPPID=\"TSPI\" \ libtspi_la_SOURCES = log.c spi_utils.c obj.c obj_policy.c tsp_policy.c \ obj_tpm.c obj_context.c tsp_context_mem.c tspi_context.c \ rpc/@RPC@/rpc_context.c rpc/tcs_api.c rpc/hosttable.c \ - rpc/@RPC@/rpc.c $(am__append_1) $(am__append_2) \ - $(am__append_4) $(am__append_6) $(am__append_8) \ - $(am__append_10) $(am__append_11) $(am__append_13) \ - $(am__append_15) $(am__append_17) $(am__append_19) \ - $(am__append_21) $(am__append_23) $(am__append_25) \ - $(am__append_27) $(am__append_29) $(am__append_31) \ - $(am__append_33) $(am__append_35) $(am__append_37) \ - $(am__append_39) $(am__append_41) $(am__append_43) \ - $(am__append_45) $(am__append_47) $(am__append_49) \ - $(am__append_51) $(am__append_53) $(am__append_55) \ - $(am__append_57) $(am__append_59) $(am__append_61) \ - $(am__append_63) $(am__append_65) $(am__append_66) \ - $(am__append_68) $(am__append_70) $(am__append_72) \ - $(am__append_74) $(am__append_76) $(am__append_78) \ - $(am__append_80) $(am__append_84) $(am__append_86) \ - $(am__append_87) $(am__append_89) $(am__append_91) + rpc/@RPC@/rpc.c tsp_tcsi_param.c $(am__append_1) \ + $(am__append_2) $(am__append_4) $(am__append_6) \ + $(am__append_8) $(am__append_10) $(am__append_11) \ + $(am__append_13) $(am__append_15) $(am__append_17) \ + $(am__append_19) $(am__append_21) $(am__append_23) \ + $(am__append_25) $(am__append_27) $(am__append_29) \ + $(am__append_31) $(am__append_33) $(am__append_35) \ + $(am__append_37) $(am__append_39) $(am__append_41) \ + $(am__append_43) $(am__append_45) $(am__append_47) \ + $(am__append_49) $(am__append_51) $(am__append_53) \ + $(am__append_55) $(am__append_57) $(am__append_59) \ + $(am__append_61) $(am__append_63) $(am__append_65) \ + $(am__append_66) $(am__append_68) $(am__append_70) \ + $(am__append_72) $(am__append_74) $(am__append_76) \ + $(am__append_78) $(am__append_80) $(am__append_84) \ + $(am__append_86) $(am__append_87) $(am__append_89) \ + $(am__append_91) all: all-am .SUFFIXES: @@ -640,31 +646,320 @@ clean-libLTLIBRARIES: echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done +rpc/@RPC@/$(am__dirstamp): + @$(MKDIR_P) rpc/@RPC@ + @: > rpc/@RPC@/$(am__dirstamp) +rpc/@RPC@/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) rpc/@RPC@/$(DEPDIR) + @: > rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_context.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/$(am__dirstamp): + @$(MKDIR_P) rpc + @: > rpc/$(am__dirstamp) +rpc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) rpc/$(DEPDIR) + @: > rpc/$(DEPDIR)/$(am__dirstamp) +rpc/libtspi_la-tcs_api.lo: rpc/$(am__dirstamp) \ + rpc/$(DEPDIR)/$(am__dirstamp) +rpc/libtspi_la-hosttable.lo: rpc/$(am__dirstamp) \ + rpc/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_oper.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_transport.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_tick.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_counter.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_auth.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_random.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_caps.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_caps_tpm.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_dir.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_evlog.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_sign.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_quote.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_seal.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_changeauth.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_bind.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_own.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +ps/$(am__dirstamp): + @$(MKDIR_P) ps + @: > ps/$(am__dirstamp) +ps/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) ps/$(DEPDIR) + @: > ps/$(DEPDIR)/$(am__dirstamp) +ps/libtspi_la-ps_utils.lo: ps/$(am__dirstamp) \ + ps/$(DEPDIR)/$(am__dirstamp) +ps/libtspi_la-tspps.lo: ps/$(am__dirstamp) \ + ps/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_ps.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_admin.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_aik.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_ek.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_certify.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_key.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_maint.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_migration.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_pcr_extend.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_selftest.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_daa.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +daa/daa_issuer/$(am__dirstamp): + @$(MKDIR_P) daa/daa_issuer + @: > daa/daa_issuer/$(am__dirstamp) +daa/daa_issuer/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) daa/daa_issuer/$(DEPDIR) + @: > daa/daa_issuer/$(DEPDIR)/$(am__dirstamp) +daa/daa_issuer/libtspi_la-keypair_generator.lo: \ + daa/daa_issuer/$(am__dirstamp) \ + daa/daa_issuer/$(DEPDIR)/$(am__dirstamp) +daa/daa_issuer/libtspi_la-prime_gen.lo: \ + daa/daa_issuer/$(am__dirstamp) \ + daa/daa_issuer/$(DEPDIR)/$(am__dirstamp) +daa/daa_issuer/libtspi_la-key_correctness_proof.lo: \ + daa/daa_issuer/$(am__dirstamp) \ + daa/daa_issuer/$(DEPDIR)/$(am__dirstamp) +daa/daa_platform/$(am__dirstamp): + @$(MKDIR_P) daa/daa_platform + @: > daa/daa_platform/$(am__dirstamp) +daa/daa_platform/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) daa/daa_platform/$(DEPDIR) + @: > daa/daa_platform/$(DEPDIR)/$(am__dirstamp) +daa/daa_platform/libtspi_la-platform.lo: \ + daa/daa_platform/$(am__dirstamp) \ + daa/daa_platform/$(DEPDIR)/$(am__dirstamp) +daa/daa_issuer/libtspi_la-issuer_init.lo: \ + daa/daa_issuer/$(am__dirstamp) \ + daa/daa_issuer/$(DEPDIR)/$(am__dirstamp) +daa/daa_issuer/libtspi_la-issue_credential.lo: \ + daa/daa_issuer/$(am__dirstamp) \ + daa/daa_issuer/$(DEPDIR)/$(am__dirstamp) +daa/daa_verifier/$(am__dirstamp): + @$(MKDIR_P) daa/daa_verifier + @: > daa/daa_verifier/$(am__dirstamp) +daa/daa_verifier/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) daa/daa_verifier/$(DEPDIR) + @: > daa/daa_verifier/$(DEPDIR)/$(am__dirstamp) +daa/daa_verifier/libtspi_la-verifier_transaction.lo: \ + daa/daa_verifier/$(am__dirstamp) \ + daa/daa_verifier/$(DEPDIR)/$(am__dirstamp) +daa/daa_verifier/libtspi_la-verifier.lo: \ + daa/daa_verifier/$(am__dirstamp) \ + daa/daa_verifier/$(DEPDIR)/$(am__dirstamp) +daa/$(am__dirstamp): + @$(MKDIR_P) daa + @: > daa/$(am__dirstamp) +daa/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) daa/$(DEPDIR) + @: > daa/$(DEPDIR)/$(am__dirstamp) +daa/libtspi_la-daa_structs.lo: daa/$(am__dirstamp) \ + daa/$(DEPDIR)/$(am__dirstamp) +daa/libtspi_la-daa_parameter.lo: daa/$(am__dirstamp) \ + daa/$(DEPDIR)/$(am__dirstamp) +daa/big_integer/$(am__dirstamp): + @$(MKDIR_P) daa/big_integer + @: > daa/big_integer/$(am__dirstamp) +daa/big_integer/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) daa/big_integer/$(DEPDIR) + @: > daa/big_integer/$(DEPDIR)/$(am__dirstamp) +daa/big_integer/libtspi_la-bi_gmp.lo: daa/big_integer/$(am__dirstamp) \ + daa/big_integer/$(DEPDIR)/$(am__dirstamp) +daa/big_integer/libtspi_la-bi_openssl.lo: \ + daa/big_integer/$(am__dirstamp) \ + daa/big_integer/$(DEPDIR)/$(am__dirstamp) +daa/daa_anonymityrevocation/$(am__dirstamp): + @$(MKDIR_P) daa/daa_anonymityrevocation + @: > daa/daa_anonymityrevocation/$(am__dirstamp) +daa/daa_anonymityrevocation/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) daa/daa_anonymityrevocation/$(DEPDIR) + @: > daa/daa_anonymityrevocation/$(DEPDIR)/$(am__dirstamp) +daa/daa_anonymityrevocation/libtspi_la-csencryption_result.lo: \ + daa/daa_anonymityrevocation/$(am__dirstamp) \ + daa/daa_anonymityrevocation/$(DEPDIR)/$(am__dirstamp) +daa/big_integer/libtspi_la-bi.lo: daa/big_integer/$(am__dirstamp) \ + daa/big_integer/$(DEPDIR)/$(am__dirstamp) +daa/utils/$(am__dirstamp): + @$(MKDIR_P) daa/utils + @: > daa/utils/$(am__dirstamp) +daa/utils/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) daa/utils/$(DEPDIR) + @: > daa/utils/$(DEPDIR)/$(am__dirstamp) +daa/utils/libtspi_la-list.lo: daa/utils/$(am__dirstamp) \ + daa/utils/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_audit.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_quote2.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +gtk/$(am__dirstamp): + @$(MKDIR_P) gtk + @: > gtk/$(am__dirstamp) +gtk/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) gtk/$(DEPDIR) + @: > gtk/$(DEPDIR)/$(am__dirstamp) +gtk/libtspi_la-main.lo: gtk/$(am__dirstamp) \ + gtk/$(DEPDIR)/$(am__dirstamp) +gtk/libtspi_la-support.lo: gtk/$(am__dirstamp) \ + gtk/$(DEPDIR)/$(am__dirstamp) +gtk/libtspi_la-interface.lo: gtk/$(am__dirstamp) \ + gtk/$(DEPDIR)/$(am__dirstamp) +gtk/libtspi_la-callbacks.lo: gtk/$(am__dirstamp) \ + gtk/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_nv.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_delegate.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) +rpc/@RPC@/libtspi_la-rpc_cmk.lo: rpc/@RPC@/$(am__dirstamp) \ + rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) libtspi.la: $(libtspi_la_OBJECTS) $(libtspi_la_DEPENDENCIES) $(libtspi_la_LINK) -rpath $(libdir) $(libtspi_la_OBJECTS) $(libtspi_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f daa/big_integer/libtspi_la-bi.$(OBJEXT) + -rm -f daa/big_integer/libtspi_la-bi.lo + -rm -f daa/big_integer/libtspi_la-bi_gmp.$(OBJEXT) + -rm -f daa/big_integer/libtspi_la-bi_gmp.lo + -rm -f daa/big_integer/libtspi_la-bi_openssl.$(OBJEXT) + -rm -f daa/big_integer/libtspi_la-bi_openssl.lo + -rm -f daa/daa_anonymityrevocation/libtspi_la-csencryption_result.$(OBJEXT) + -rm -f daa/daa_anonymityrevocation/libtspi_la-csencryption_result.lo + -rm -f daa/daa_issuer/libtspi_la-issue_credential.$(OBJEXT) + -rm -f daa/daa_issuer/libtspi_la-issue_credential.lo + -rm -f daa/daa_issuer/libtspi_la-issuer_init.$(OBJEXT) + -rm -f daa/daa_issuer/libtspi_la-issuer_init.lo + -rm -f daa/daa_issuer/libtspi_la-key_correctness_proof.$(OBJEXT) + -rm -f daa/daa_issuer/libtspi_la-key_correctness_proof.lo + -rm -f daa/daa_issuer/libtspi_la-keypair_generator.$(OBJEXT) + -rm -f daa/daa_issuer/libtspi_la-keypair_generator.lo + -rm -f daa/daa_issuer/libtspi_la-prime_gen.$(OBJEXT) + -rm -f daa/daa_issuer/libtspi_la-prime_gen.lo + -rm -f daa/daa_platform/libtspi_la-platform.$(OBJEXT) + -rm -f daa/daa_platform/libtspi_la-platform.lo + -rm -f daa/daa_verifier/libtspi_la-verifier.$(OBJEXT) + -rm -f daa/daa_verifier/libtspi_la-verifier.lo + -rm -f daa/daa_verifier/libtspi_la-verifier_transaction.$(OBJEXT) + -rm -f daa/daa_verifier/libtspi_la-verifier_transaction.lo + -rm -f daa/libtspi_la-daa_parameter.$(OBJEXT) + -rm -f daa/libtspi_la-daa_parameter.lo + -rm -f daa/libtspi_la-daa_structs.$(OBJEXT) + -rm -f daa/libtspi_la-daa_structs.lo + -rm -f daa/utils/libtspi_la-list.$(OBJEXT) + -rm -f daa/utils/libtspi_la-list.lo + -rm -f gtk/libtspi_la-callbacks.$(OBJEXT) + -rm -f gtk/libtspi_la-callbacks.lo + -rm -f gtk/libtspi_la-interface.$(OBJEXT) + -rm -f gtk/libtspi_la-interface.lo + -rm -f gtk/libtspi_la-main.$(OBJEXT) + -rm -f gtk/libtspi_la-main.lo + -rm -f gtk/libtspi_la-support.$(OBJEXT) + -rm -f gtk/libtspi_la-support.lo + -rm -f ps/libtspi_la-ps_utils.$(OBJEXT) + -rm -f ps/libtspi_la-ps_utils.lo + -rm -f ps/libtspi_la-tspps.$(OBJEXT) + -rm -f ps/libtspi_la-tspps.lo + -rm -f rpc/@RPC@/libtspi_la-rpc.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_admin.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_admin.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_aik.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_aik.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_audit.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_audit.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_auth.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_auth.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_bind.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_bind.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_caps.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_caps.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_caps_tpm.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_caps_tpm.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_certify.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_certify.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_changeauth.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_changeauth.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_cmk.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_cmk.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_context.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_context.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_counter.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_counter.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_daa.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_daa.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_delegate.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_delegate.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_dir.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_dir.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_ek.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_ek.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_evlog.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_evlog.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_key.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_key.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_maint.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_maint.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_migration.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_migration.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_nv.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_nv.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_oper.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_oper.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_own.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_own.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_pcr_extend.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_pcr_extend.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_ps.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_ps.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_quote.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_quote.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_quote2.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_quote2.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_random.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_random.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_seal.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_seal.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_selftest.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_selftest.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_sign.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_sign.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_tick.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_tick.lo + -rm -f rpc/@RPC@/libtspi_la-rpc_transport.$(OBJEXT) + -rm -f rpc/@RPC@/libtspi_la-rpc_transport.lo + -rm -f rpc/libtspi_la-hosttable.$(OBJEXT) + -rm -f rpc/libtspi_la-hosttable.lo + -rm -f rpc/libtspi_la-tcs_api.$(OBJEXT) + -rm -f rpc/libtspi_la-tcs_api.lo distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-bi.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-bi_gmp.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-bi_openssl.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-callbacks.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-csencryption_result.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-daa_parameter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-daa_structs.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-hosttable.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-interface.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-issue_credential.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-issuer_init.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-key_correctness_proof.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-keypair_generator.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-list.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-log.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-main.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-obj.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-obj_context.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-obj_delfamily.Plo@am__quote@ @@ -676,47 +971,8 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-obj_policy.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-obj_rsakey.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-obj_tpm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-platform.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-prime_gen.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-ps_utils.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_admin.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_aik.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_audit.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_auth.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_bind.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_caps.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_caps_tpm.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_certify.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_changeauth.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_cmk.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_context.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_counter.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_daa.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_delegate.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_dir.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_ek.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_evlog.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_key.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_maint.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_migration.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_nv.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_oper.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_own.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_pcr_extend.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_ps.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_quote.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_quote2.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_random.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_seal.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_selftest.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_sign.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_tick.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-rpc_transport.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-spi_utils.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-ssl_ui.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-support.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tcs_api.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tsp_admin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tsp_aik.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tsp_asym.Plo@am__quote@ @@ -750,6 +1006,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tsp_seal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tsp_selftest.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tsp_sign.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tsp_tcsi_param.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tsp_tick.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tspi_admin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tspi_aik.Plo@am__quote@ @@ -789,27 +1046,84 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tspi_sign.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tspi_tick.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tspi_transport.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-tspps.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-verifier.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtspi_la-verifier_transaction.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/$(DEPDIR)/libtspi_la-daa_parameter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/$(DEPDIR)/libtspi_la-daa_structs.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/big_integer/$(DEPDIR)/libtspi_la-bi.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/big_integer/$(DEPDIR)/libtspi_la-bi_gmp.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/big_integer/$(DEPDIR)/libtspi_la-bi_openssl.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_anonymityrevocation/$(DEPDIR)/libtspi_la-csencryption_result.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_issuer/$(DEPDIR)/libtspi_la-issue_credential.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_issuer/$(DEPDIR)/libtspi_la-issuer_init.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_issuer/$(DEPDIR)/libtspi_la-key_correctness_proof.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_issuer/$(DEPDIR)/libtspi_la-keypair_generator.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_issuer/$(DEPDIR)/libtspi_la-prime_gen.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_platform/$(DEPDIR)/libtspi_la-platform.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_verifier/$(DEPDIR)/libtspi_la-verifier.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/daa_verifier/$(DEPDIR)/libtspi_la-verifier_transaction.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@daa/utils/$(DEPDIR)/libtspi_la-list.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gtk/$(DEPDIR)/libtspi_la-callbacks.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gtk/$(DEPDIR)/libtspi_la-interface.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gtk/$(DEPDIR)/libtspi_la-main.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@gtk/$(DEPDIR)/libtspi_la-support.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ps/$(DEPDIR)/libtspi_la-ps_utils.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@ps/$(DEPDIR)/libtspi_la-tspps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/$(DEPDIR)/libtspi_la-hosttable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/$(DEPDIR)/libtspi_la-tcs_api.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_admin.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_aik.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_audit.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_auth.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_bind.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_caps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_caps_tpm.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_certify.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_changeauth.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_cmk.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_context.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_counter.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_daa.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_delegate.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_dir.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_ek.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_evlog.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_key.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_maint.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_migration.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_nv.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_oper.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_own.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_pcr_extend.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_ps.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_quote.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_quote2.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_random.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_seal.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_selftest.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_sign.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_tick.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_transport.Plo@am__quote@ .c.o: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c $< +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: -@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +@am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: -@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo +@am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< @@ -877,33 +1191,40 @@ libtspi_la-tspi_context.lo: tspi_context.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tspi_context.lo `test -f 'tspi_context.c' || echo '$(srcdir)/'`tspi_context.c -libtspi_la-rpc_context.lo: rpc/@RPC@/rpc_context.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_context.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_context.Tpo -c -o libtspi_la-rpc_context.lo `test -f 'rpc/@RPC@/rpc_context.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_context.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_context.Tpo $(DEPDIR)/libtspi_la-rpc_context.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_context.c' object='libtspi_la-rpc_context.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_context.lo: rpc/@RPC@/rpc_context.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_context.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_context.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_context.lo `test -f 'rpc/@RPC@/rpc_context.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_context.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_context.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_context.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_context.c' object='rpc/@RPC@/libtspi_la-rpc_context.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_context.lo `test -f 'rpc/@RPC@/rpc_context.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_context.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_context.lo `test -f 'rpc/@RPC@/rpc_context.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_context.c -libtspi_la-tcs_api.lo: rpc/tcs_api.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tcs_api.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tcs_api.Tpo -c -o libtspi_la-tcs_api.lo `test -f 'rpc/tcs_api.c' || echo '$(srcdir)/'`rpc/tcs_api.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-tcs_api.Tpo $(DEPDIR)/libtspi_la-tcs_api.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/tcs_api.c' object='libtspi_la-tcs_api.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/libtspi_la-tcs_api.lo: rpc/tcs_api.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/libtspi_la-tcs_api.lo -MD -MP -MF rpc/$(DEPDIR)/libtspi_la-tcs_api.Tpo -c -o rpc/libtspi_la-tcs_api.lo `test -f 'rpc/tcs_api.c' || echo '$(srcdir)/'`rpc/tcs_api.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/$(DEPDIR)/libtspi_la-tcs_api.Tpo rpc/$(DEPDIR)/libtspi_la-tcs_api.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/tcs_api.c' object='rpc/libtspi_la-tcs_api.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tcs_api.lo `test -f 'rpc/tcs_api.c' || echo '$(srcdir)/'`rpc/tcs_api.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/libtspi_la-tcs_api.lo `test -f 'rpc/tcs_api.c' || echo '$(srcdir)/'`rpc/tcs_api.c -libtspi_la-hosttable.lo: rpc/hosttable.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-hosttable.lo -MD -MP -MF $(DEPDIR)/libtspi_la-hosttable.Tpo -c -o libtspi_la-hosttable.lo `test -f 'rpc/hosttable.c' || echo '$(srcdir)/'`rpc/hosttable.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-hosttable.Tpo $(DEPDIR)/libtspi_la-hosttable.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/hosttable.c' object='libtspi_la-hosttable.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/libtspi_la-hosttable.lo: rpc/hosttable.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/libtspi_la-hosttable.lo -MD -MP -MF rpc/$(DEPDIR)/libtspi_la-hosttable.Tpo -c -o rpc/libtspi_la-hosttable.lo `test -f 'rpc/hosttable.c' || echo '$(srcdir)/'`rpc/hosttable.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/$(DEPDIR)/libtspi_la-hosttable.Tpo rpc/$(DEPDIR)/libtspi_la-hosttable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/hosttable.c' object='rpc/libtspi_la-hosttable.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-hosttable.lo `test -f 'rpc/hosttable.c' || echo '$(srcdir)/'`rpc/hosttable.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/libtspi_la-hosttable.lo `test -f 'rpc/hosttable.c' || echo '$(srcdir)/'`rpc/hosttable.c -libtspi_la-rpc.lo: rpc/@RPC@/rpc.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc.Tpo -c -o libtspi_la-rpc.lo `test -f 'rpc/@RPC@/rpc.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc.Tpo $(DEPDIR)/libtspi_la-rpc.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc.c' object='libtspi_la-rpc.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc.lo: rpc/@RPC@/rpc.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc.Tpo -c -o rpc/@RPC@/libtspi_la-rpc.lo `test -f 'rpc/@RPC@/rpc.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc.c' object='rpc/@RPC@/libtspi_la-rpc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc.lo `test -f 'rpc/@RPC@/rpc.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc.lo `test -f 'rpc/@RPC@/rpc.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc.c + +libtspi_la-tsp_tcsi_param.lo: tsp_tcsi_param.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tsp_tcsi_param.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tsp_tcsi_param.Tpo -c -o libtspi_la-tsp_tcsi_param.lo `test -f 'tsp_tcsi_param.c' || echo '$(srcdir)/'`tsp_tcsi_param.c +@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-tsp_tcsi_param.Tpo $(DEPDIR)/libtspi_la-tsp_tcsi_param.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tsp_tcsi_param.c' object='libtspi_la-tsp_tcsi_param.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_tcsi_param.lo `test -f 'tsp_tcsi_param.c' || echo '$(srcdir)/'`tsp_tcsi_param.c libtspi_la-tsp_asym.lo: tsp_asym.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tsp_asym.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tsp_asym.Tpo -c -o libtspi_la-tsp_asym.lo `test -f 'tsp_asym.c' || echo '$(srcdir)/'`tsp_asym.c @@ -926,12 +1247,12 @@ libtspi_la-tsp_oper.lo: tsp_oper.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_oper.lo `test -f 'tsp_oper.c' || echo '$(srcdir)/'`tsp_oper.c -libtspi_la-rpc_oper.lo: rpc/@RPC@/rpc_oper.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_oper.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_oper.Tpo -c -o libtspi_la-rpc_oper.lo `test -f 'rpc/@RPC@/rpc_oper.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_oper.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_oper.Tpo $(DEPDIR)/libtspi_la-rpc_oper.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_oper.c' object='libtspi_la-rpc_oper.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_oper.lo: rpc/@RPC@/rpc_oper.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_oper.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_oper.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_oper.lo `test -f 'rpc/@RPC@/rpc_oper.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_oper.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_oper.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_oper.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_oper.c' object='rpc/@RPC@/libtspi_la-rpc_oper.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_oper.lo `test -f 'rpc/@RPC@/rpc_oper.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_oper.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_oper.lo `test -f 'rpc/@RPC@/rpc_oper.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_oper.c libtspi_la-tspi_transport.lo: tspi_transport.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_transport.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_transport.Tpo -c -o libtspi_la-tspi_transport.lo `test -f 'tspi_transport.c' || echo '$(srcdir)/'`tspi_transport.c @@ -940,12 +1261,12 @@ libtspi_la-tspi_transport.lo: tspi_transport.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tspi_transport.lo `test -f 'tspi_transport.c' || echo '$(srcdir)/'`tspi_transport.c -libtspi_la-rpc_transport.lo: rpc/@RPC@/rpc_transport.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_transport.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_transport.Tpo -c -o libtspi_la-rpc_transport.lo `test -f 'rpc/@RPC@/rpc_transport.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_transport.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_transport.Tpo $(DEPDIR)/libtspi_la-rpc_transport.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_transport.c' object='libtspi_la-rpc_transport.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_transport.lo: rpc/@RPC@/rpc_transport.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_transport.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_transport.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_transport.lo `test -f 'rpc/@RPC@/rpc_transport.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_transport.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_transport.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_transport.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_transport.c' object='rpc/@RPC@/libtspi_la-rpc_transport.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_transport.lo `test -f 'rpc/@RPC@/rpc_transport.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_transport.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_transport.lo `test -f 'rpc/@RPC@/rpc_transport.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_transport.c libtspi_la-tspi_tick.lo: tspi_tick.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_tick.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_tick.Tpo -c -o libtspi_la-tspi_tick.lo `test -f 'tspi_tick.c' || echo '$(srcdir)/'`tspi_tick.c @@ -961,12 +1282,12 @@ libtspi_la-tsp_tick.lo: tsp_tick.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_tick.lo `test -f 'tsp_tick.c' || echo '$(srcdir)/'`tsp_tick.c -libtspi_la-rpc_tick.lo: rpc/@RPC@/rpc_tick.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_tick.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_tick.Tpo -c -o libtspi_la-rpc_tick.lo `test -f 'rpc/@RPC@/rpc_tick.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_tick.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_tick.Tpo $(DEPDIR)/libtspi_la-rpc_tick.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_tick.c' object='libtspi_la-rpc_tick.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_tick.lo: rpc/@RPC@/rpc_tick.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_tick.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_tick.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_tick.lo `test -f 'rpc/@RPC@/rpc_tick.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_tick.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_tick.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_tick.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_tick.c' object='rpc/@RPC@/libtspi_la-rpc_tick.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_tick.lo `test -f 'rpc/@RPC@/rpc_tick.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_tick.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_tick.lo `test -f 'rpc/@RPC@/rpc_tick.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_tick.c libtspi_la-tspi_counter.lo: tspi_counter.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_counter.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_counter.Tpo -c -o libtspi_la-tspi_counter.lo `test -f 'tspi_counter.c' || echo '$(srcdir)/'`tspi_counter.c @@ -982,12 +1303,12 @@ libtspi_la-tsp_counter.lo: tsp_counter.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_counter.lo `test -f 'tsp_counter.c' || echo '$(srcdir)/'`tsp_counter.c -libtspi_la-rpc_counter.lo: rpc/@RPC@/rpc_counter.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_counter.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_counter.Tpo -c -o libtspi_la-rpc_counter.lo `test -f 'rpc/@RPC@/rpc_counter.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_counter.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_counter.Tpo $(DEPDIR)/libtspi_la-rpc_counter.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_counter.c' object='libtspi_la-rpc_counter.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_counter.lo: rpc/@RPC@/rpc_counter.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_counter.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_counter.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_counter.lo `test -f 'rpc/@RPC@/rpc_counter.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_counter.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_counter.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_counter.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_counter.c' object='rpc/@RPC@/libtspi_la-rpc_counter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_counter.lo `test -f 'rpc/@RPC@/rpc_counter.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_counter.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_counter.lo `test -f 'rpc/@RPC@/rpc_counter.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_counter.c libtspi_la-tspi_pcr_comp12.lo: tspi_pcr_comp12.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_pcr_comp12.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_pcr_comp12.Tpo -c -o libtspi_la-tspi_pcr_comp12.lo `test -f 'tspi_pcr_comp12.c' || echo '$(srcdir)/'`tspi_pcr_comp12.c @@ -1003,12 +1324,12 @@ libtspi_la-tsp_auth.lo: tsp_auth.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_auth.lo `test -f 'tsp_auth.c' || echo '$(srcdir)/'`tsp_auth.c -libtspi_la-rpc_auth.lo: rpc/@RPC@/rpc_auth.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_auth.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_auth.Tpo -c -o libtspi_la-rpc_auth.lo `test -f 'rpc/@RPC@/rpc_auth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_auth.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_auth.Tpo $(DEPDIR)/libtspi_la-rpc_auth.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_auth.c' object='libtspi_la-rpc_auth.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_auth.lo: rpc/@RPC@/rpc_auth.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_auth.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_auth.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_auth.lo `test -f 'rpc/@RPC@/rpc_auth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_auth.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_auth.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_auth.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_auth.c' object='rpc/@RPC@/libtspi_la-rpc_auth.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_auth.lo `test -f 'rpc/@RPC@/rpc_auth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_auth.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_auth.lo `test -f 'rpc/@RPC@/rpc_auth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_auth.c libtspi_la-tspi_getset.lo: tspi_getset.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_getset.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_getset.Tpo -c -o libtspi_la-tspi_getset.lo `test -f 'tspi_getset.c' || echo '$(srcdir)/'`tspi_getset.c @@ -1031,12 +1352,12 @@ libtspi_la-tsp_random.lo: tsp_random.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_random.lo `test -f 'tsp_random.c' || echo '$(srcdir)/'`tsp_random.c -libtspi_la-rpc_random.lo: rpc/@RPC@/rpc_random.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_random.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_random.Tpo -c -o libtspi_la-rpc_random.lo `test -f 'rpc/@RPC@/rpc_random.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_random.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_random.Tpo $(DEPDIR)/libtspi_la-rpc_random.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_random.c' object='libtspi_la-rpc_random.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_random.lo: rpc/@RPC@/rpc_random.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_random.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_random.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_random.lo `test -f 'rpc/@RPC@/rpc_random.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_random.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_random.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_random.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_random.c' object='rpc/@RPC@/libtspi_la-rpc_random.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_random.lo `test -f 'rpc/@RPC@/rpc_random.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_random.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_random.lo `test -f 'rpc/@RPC@/rpc_random.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_random.c libtspi_la-tspi_caps.lo: tspi_caps.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_caps.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_caps.Tpo -c -o libtspi_la-tspi_caps.lo `test -f 'tspi_caps.c' || echo '$(srcdir)/'`tspi_caps.c @@ -1052,12 +1373,12 @@ libtspi_la-tsp_caps.lo: tsp_caps.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_caps.lo `test -f 'tsp_caps.c' || echo '$(srcdir)/'`tsp_caps.c -libtspi_la-rpc_caps.lo: rpc/@RPC@/rpc_caps.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_caps.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_caps.Tpo -c -o libtspi_la-rpc_caps.lo `test -f 'rpc/@RPC@/rpc_caps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_caps.Tpo $(DEPDIR)/libtspi_la-rpc_caps.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps.c' object='libtspi_la-rpc_caps.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_caps.lo: rpc/@RPC@/rpc_caps.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_caps.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_caps.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_caps.lo `test -f 'rpc/@RPC@/rpc_caps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_caps.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_caps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps.c' object='rpc/@RPC@/libtspi_la-rpc_caps.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_caps.lo `test -f 'rpc/@RPC@/rpc_caps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_caps.lo `test -f 'rpc/@RPC@/rpc_caps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps.c libtspi_la-tspi_caps_tpm.lo: tspi_caps_tpm.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_caps_tpm.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_caps_tpm.Tpo -c -o libtspi_la-tspi_caps_tpm.lo `test -f 'tspi_caps_tpm.c' || echo '$(srcdir)/'`tspi_caps_tpm.c @@ -1073,12 +1394,12 @@ libtspi_la-tsp_caps_tpm.lo: tsp_caps_tpm.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_caps_tpm.lo `test -f 'tsp_caps_tpm.c' || echo '$(srcdir)/'`tsp_caps_tpm.c -libtspi_la-rpc_caps_tpm.lo: rpc/@RPC@/rpc_caps_tpm.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_caps_tpm.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_caps_tpm.Tpo -c -o libtspi_la-rpc_caps_tpm.lo `test -f 'rpc/@RPC@/rpc_caps_tpm.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps_tpm.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_caps_tpm.Tpo $(DEPDIR)/libtspi_la-rpc_caps_tpm.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps_tpm.c' object='libtspi_la-rpc_caps_tpm.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_caps_tpm.lo: rpc/@RPC@/rpc_caps_tpm.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_caps_tpm.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_caps_tpm.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_caps_tpm.lo `test -f 'rpc/@RPC@/rpc_caps_tpm.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps_tpm.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_caps_tpm.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_caps_tpm.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_caps_tpm.c' object='rpc/@RPC@/libtspi_la-rpc_caps_tpm.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_caps_tpm.lo `test -f 'rpc/@RPC@/rpc_caps_tpm.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps_tpm.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_caps_tpm.lo `test -f 'rpc/@RPC@/rpc_caps_tpm.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_caps_tpm.c libtspi_la-tspi_policy.lo: tspi_policy.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_policy.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_policy.Tpo -c -o libtspi_la-tspi_policy.lo `test -f 'tspi_policy.c' || echo '$(srcdir)/'`tspi_policy.c @@ -1101,12 +1422,12 @@ libtspi_la-tsp_dir.lo: tsp_dir.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_dir.lo `test -f 'tsp_dir.c' || echo '$(srcdir)/'`tsp_dir.c -libtspi_la-rpc_dir.lo: rpc/@RPC@/rpc_dir.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_dir.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_dir.Tpo -c -o libtspi_la-rpc_dir.lo `test -f 'rpc/@RPC@/rpc_dir.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_dir.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_dir.Tpo $(DEPDIR)/libtspi_la-rpc_dir.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_dir.c' object='libtspi_la-rpc_dir.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_dir.lo: rpc/@RPC@/rpc_dir.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_dir.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_dir.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_dir.lo `test -f 'rpc/@RPC@/rpc_dir.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_dir.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_dir.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_dir.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_dir.c' object='rpc/@RPC@/libtspi_la-rpc_dir.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_dir.lo `test -f 'rpc/@RPC@/rpc_dir.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_dir.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_dir.lo `test -f 'rpc/@RPC@/rpc_dir.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_dir.c libtspi_la-tspi_pcr_events.lo: tspi_pcr_events.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_pcr_events.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_pcr_events.Tpo -c -o libtspi_la-tspi_pcr_events.lo `test -f 'tspi_pcr_events.c' || echo '$(srcdir)/'`tspi_pcr_events.c @@ -1115,12 +1436,12 @@ libtspi_la-tspi_pcr_events.lo: tspi_pcr_events.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tspi_pcr_events.lo `test -f 'tspi_pcr_events.c' || echo '$(srcdir)/'`tspi_pcr_events.c -libtspi_la-rpc_evlog.lo: rpc/@RPC@/rpc_evlog.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_evlog.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_evlog.Tpo -c -o libtspi_la-rpc_evlog.lo `test -f 'rpc/@RPC@/rpc_evlog.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_evlog.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_evlog.Tpo $(DEPDIR)/libtspi_la-rpc_evlog.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_evlog.c' object='libtspi_la-rpc_evlog.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_evlog.lo: rpc/@RPC@/rpc_evlog.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_evlog.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_evlog.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_evlog.lo `test -f 'rpc/@RPC@/rpc_evlog.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_evlog.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_evlog.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_evlog.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_evlog.c' object='rpc/@RPC@/libtspi_la-rpc_evlog.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_evlog.lo `test -f 'rpc/@RPC@/rpc_evlog.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_evlog.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_evlog.lo `test -f 'rpc/@RPC@/rpc_evlog.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_evlog.c libtspi_la-tspi_hash.lo: tspi_hash.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_hash.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_hash.Tpo -c -o libtspi_la-tspi_hash.lo `test -f 'tspi_hash.c' || echo '$(srcdir)/'`tspi_hash.c @@ -1143,12 +1464,12 @@ libtspi_la-tsp_sign.lo: tsp_sign.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_sign.lo `test -f 'tsp_sign.c' || echo '$(srcdir)/'`tsp_sign.c -libtspi_la-rpc_sign.lo: rpc/@RPC@/rpc_sign.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_sign.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_sign.Tpo -c -o libtspi_la-rpc_sign.lo `test -f 'rpc/@RPC@/rpc_sign.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_sign.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_sign.Tpo $(DEPDIR)/libtspi_la-rpc_sign.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_sign.c' object='libtspi_la-rpc_sign.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_sign.lo: rpc/@RPC@/rpc_sign.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_sign.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_sign.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_sign.lo `test -f 'rpc/@RPC@/rpc_sign.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_sign.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_sign.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_sign.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_sign.c' object='rpc/@RPC@/libtspi_la-rpc_sign.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_sign.lo `test -f 'rpc/@RPC@/rpc_sign.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_sign.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_sign.lo `test -f 'rpc/@RPC@/rpc_sign.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_sign.c libtspi_la-tspi_quote.lo: tspi_quote.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_quote.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_quote.Tpo -c -o libtspi_la-tspi_quote.lo `test -f 'tspi_quote.c' || echo '$(srcdir)/'`tspi_quote.c @@ -1164,12 +1485,12 @@ libtspi_la-tsp_quote.lo: tsp_quote.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_quote.lo `test -f 'tsp_quote.c' || echo '$(srcdir)/'`tsp_quote.c -libtspi_la-rpc_quote.lo: rpc/@RPC@/rpc_quote.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_quote.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_quote.Tpo -c -o libtspi_la-rpc_quote.lo `test -f 'rpc/@RPC@/rpc_quote.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_quote.Tpo $(DEPDIR)/libtspi_la-rpc_quote.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote.c' object='libtspi_la-rpc_quote.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_quote.lo: rpc/@RPC@/rpc_quote.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_quote.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_quote.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_quote.lo `test -f 'rpc/@RPC@/rpc_quote.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_quote.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_quote.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote.c' object='rpc/@RPC@/libtspi_la-rpc_quote.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_quote.lo `test -f 'rpc/@RPC@/rpc_quote.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_quote.lo `test -f 'rpc/@RPC@/rpc_quote.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote.c libtspi_la-tspi_pcr_comp.lo: tspi_pcr_comp.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_pcr_comp.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_pcr_comp.Tpo -c -o libtspi_la-tspi_pcr_comp.lo `test -f 'tspi_pcr_comp.c' || echo '$(srcdir)/'`tspi_pcr_comp.c @@ -1185,12 +1506,12 @@ libtspi_la-tspi_seal.lo: tspi_seal.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tspi_seal.lo `test -f 'tspi_seal.c' || echo '$(srcdir)/'`tspi_seal.c -libtspi_la-rpc_seal.lo: rpc/@RPC@/rpc_seal.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_seal.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_seal.Tpo -c -o libtspi_la-rpc_seal.lo `test -f 'rpc/@RPC@/rpc_seal.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_seal.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_seal.Tpo $(DEPDIR)/libtspi_la-rpc_seal.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_seal.c' object='libtspi_la-rpc_seal.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_seal.lo: rpc/@RPC@/rpc_seal.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_seal.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_seal.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_seal.lo `test -f 'rpc/@RPC@/rpc_seal.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_seal.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_seal.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_seal.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_seal.c' object='rpc/@RPC@/libtspi_la-rpc_seal.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_seal.lo `test -f 'rpc/@RPC@/rpc_seal.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_seal.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_seal.lo `test -f 'rpc/@RPC@/rpc_seal.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_seal.c libtspi_la-tspi_changeauth.lo: tspi_changeauth.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_changeauth.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_changeauth.Tpo -c -o libtspi_la-tspi_changeauth.lo `test -f 'tspi_changeauth.c' || echo '$(srcdir)/'`tspi_changeauth.c @@ -1206,12 +1527,12 @@ libtspi_la-tsp_changeauth.lo: tsp_changeauth.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_changeauth.lo `test -f 'tsp_changeauth.c' || echo '$(srcdir)/'`tsp_changeauth.c -libtspi_la-rpc_changeauth.lo: rpc/@RPC@/rpc_changeauth.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_changeauth.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_changeauth.Tpo -c -o libtspi_la-rpc_changeauth.lo `test -f 'rpc/@RPC@/rpc_changeauth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_changeauth.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_changeauth.Tpo $(DEPDIR)/libtspi_la-rpc_changeauth.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_changeauth.c' object='libtspi_la-rpc_changeauth.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_changeauth.lo: rpc/@RPC@/rpc_changeauth.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_changeauth.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_changeauth.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_changeauth.lo `test -f 'rpc/@RPC@/rpc_changeauth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_changeauth.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_changeauth.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_changeauth.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_changeauth.c' object='rpc/@RPC@/libtspi_la-rpc_changeauth.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_changeauth.lo `test -f 'rpc/@RPC@/rpc_changeauth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_changeauth.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_changeauth.lo `test -f 'rpc/@RPC@/rpc_changeauth.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_changeauth.c libtspi_la-tspi_bind.lo: tspi_bind.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_bind.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_bind.Tpo -c -o libtspi_la-tspi_bind.lo `test -f 'tspi_bind.c' || echo '$(srcdir)/'`tspi_bind.c @@ -1227,12 +1548,12 @@ libtspi_la-tsp_bind.lo: tsp_bind.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_bind.lo `test -f 'tsp_bind.c' || echo '$(srcdir)/'`tsp_bind.c -libtspi_la-rpc_bind.lo: rpc/@RPC@/rpc_bind.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_bind.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_bind.Tpo -c -o libtspi_la-rpc_bind.lo `test -f 'rpc/@RPC@/rpc_bind.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_bind.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_bind.Tpo $(DEPDIR)/libtspi_la-rpc_bind.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_bind.c' object='libtspi_la-rpc_bind.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_bind.lo: rpc/@RPC@/rpc_bind.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_bind.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_bind.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_bind.lo `test -f 'rpc/@RPC@/rpc_bind.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_bind.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_bind.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_bind.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_bind.c' object='rpc/@RPC@/libtspi_la-rpc_bind.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_bind.lo `test -f 'rpc/@RPC@/rpc_bind.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_bind.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_bind.lo `test -f 'rpc/@RPC@/rpc_bind.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_bind.c libtspi_la-tsp_own.lo: tsp_own.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tsp_own.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tsp_own.Tpo -c -o libtspi_la-tsp_own.lo `test -f 'tsp_own.c' || echo '$(srcdir)/'`tsp_own.c @@ -1248,26 +1569,26 @@ libtspi_la-tspi_own.lo: tspi_own.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tspi_own.lo `test -f 'tspi_own.c' || echo '$(srcdir)/'`tspi_own.c -libtspi_la-rpc_own.lo: rpc/@RPC@/rpc_own.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_own.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_own.Tpo -c -o libtspi_la-rpc_own.lo `test -f 'rpc/@RPC@/rpc_own.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_own.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_own.Tpo $(DEPDIR)/libtspi_la-rpc_own.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_own.c' object='libtspi_la-rpc_own.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_own.lo: rpc/@RPC@/rpc_own.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_own.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_own.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_own.lo `test -f 'rpc/@RPC@/rpc_own.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_own.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_own.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_own.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_own.c' object='rpc/@RPC@/libtspi_la-rpc_own.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_own.lo `test -f 'rpc/@RPC@/rpc_own.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_own.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_own.lo `test -f 'rpc/@RPC@/rpc_own.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_own.c -libtspi_la-ps_utils.lo: ps/ps_utils.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-ps_utils.lo -MD -MP -MF $(DEPDIR)/libtspi_la-ps_utils.Tpo -c -o libtspi_la-ps_utils.lo `test -f 'ps/ps_utils.c' || echo '$(srcdir)/'`ps/ps_utils.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-ps_utils.Tpo $(DEPDIR)/libtspi_la-ps_utils.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/ps_utils.c' object='libtspi_la-ps_utils.lo' libtool=yes @AMDEPBACKSLASH@ +ps/libtspi_la-ps_utils.lo: ps/ps_utils.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT ps/libtspi_la-ps_utils.lo -MD -MP -MF ps/$(DEPDIR)/libtspi_la-ps_utils.Tpo -c -o ps/libtspi_la-ps_utils.lo `test -f 'ps/ps_utils.c' || echo '$(srcdir)/'`ps/ps_utils.c +@am__fastdepCC_TRUE@ $(am__mv) ps/$(DEPDIR)/libtspi_la-ps_utils.Tpo ps/$(DEPDIR)/libtspi_la-ps_utils.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/ps_utils.c' object='ps/libtspi_la-ps_utils.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-ps_utils.lo `test -f 'ps/ps_utils.c' || echo '$(srcdir)/'`ps/ps_utils.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o ps/libtspi_la-ps_utils.lo `test -f 'ps/ps_utils.c' || echo '$(srcdir)/'`ps/ps_utils.c -libtspi_la-tspps.lo: ps/tspps.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspps.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspps.Tpo -c -o libtspi_la-tspps.lo `test -f 'ps/tspps.c' || echo '$(srcdir)/'`ps/tspps.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-tspps.Tpo $(DEPDIR)/libtspi_la-tspps.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/tspps.c' object='libtspi_la-tspps.lo' libtool=yes @AMDEPBACKSLASH@ +ps/libtspi_la-tspps.lo: ps/tspps.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT ps/libtspi_la-tspps.lo -MD -MP -MF ps/$(DEPDIR)/libtspi_la-tspps.Tpo -c -o ps/libtspi_la-tspps.lo `test -f 'ps/tspps.c' || echo '$(srcdir)/'`ps/tspps.c +@am__fastdepCC_TRUE@ $(am__mv) ps/$(DEPDIR)/libtspi_la-tspps.Tpo ps/$(DEPDIR)/libtspi_la-tspps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ps/tspps.c' object='ps/libtspi_la-tspps.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tspps.lo `test -f 'ps/tspps.c' || echo '$(srcdir)/'`ps/tspps.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o ps/libtspi_la-tspps.lo `test -f 'ps/tspps.c' || echo '$(srcdir)/'`ps/tspps.c libtspi_la-tspi_ps.lo: tspi_ps.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_ps.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_ps.Tpo -c -o libtspi_la-tspi_ps.lo `test -f 'tspi_ps.c' || echo '$(srcdir)/'`tspi_ps.c @@ -1276,12 +1597,12 @@ libtspi_la-tspi_ps.lo: tspi_ps.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tspi_ps.lo `test -f 'tspi_ps.c' || echo '$(srcdir)/'`tspi_ps.c -libtspi_la-rpc_ps.lo: rpc/@RPC@/rpc_ps.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_ps.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_ps.Tpo -c -o libtspi_la-rpc_ps.lo `test -f 'rpc/@RPC@/rpc_ps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ps.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_ps.Tpo $(DEPDIR)/libtspi_la-rpc_ps.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ps.c' object='libtspi_la-rpc_ps.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_ps.lo: rpc/@RPC@/rpc_ps.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_ps.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_ps.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_ps.lo `test -f 'rpc/@RPC@/rpc_ps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ps.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_ps.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_ps.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ps.c' object='rpc/@RPC@/libtspi_la-rpc_ps.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_ps.lo `test -f 'rpc/@RPC@/rpc_ps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ps.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_ps.lo `test -f 'rpc/@RPC@/rpc_ps.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ps.c libtspi_la-tsp_ps.lo: tsp_ps.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tsp_ps.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tsp_ps.Tpo -c -o libtspi_la-tsp_ps.lo `test -f 'tsp_ps.c' || echo '$(srcdir)/'`tsp_ps.c @@ -1304,12 +1625,12 @@ libtspi_la-tsp_admin.lo: tsp_admin.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_admin.lo `test -f 'tsp_admin.c' || echo '$(srcdir)/'`tsp_admin.c -libtspi_la-rpc_admin.lo: rpc/@RPC@/rpc_admin.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_admin.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_admin.Tpo -c -o libtspi_la-rpc_admin.lo `test -f 'rpc/@RPC@/rpc_admin.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_admin.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_admin.Tpo $(DEPDIR)/libtspi_la-rpc_admin.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_admin.c' object='libtspi_la-rpc_admin.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_admin.lo: rpc/@RPC@/rpc_admin.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_admin.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_admin.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_admin.lo `test -f 'rpc/@RPC@/rpc_admin.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_admin.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_admin.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_admin.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_admin.c' object='rpc/@RPC@/libtspi_la-rpc_admin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_admin.lo `test -f 'rpc/@RPC@/rpc_admin.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_admin.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_admin.lo `test -f 'rpc/@RPC@/rpc_admin.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_admin.c libtspi_la-tspi_aik.lo: tspi_aik.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_aik.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_aik.Tpo -c -o libtspi_la-tspi_aik.lo `test -f 'tspi_aik.c' || echo '$(srcdir)/'`tspi_aik.c @@ -1325,12 +1646,12 @@ libtspi_la-tsp_aik.lo: tsp_aik.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_aik.lo `test -f 'tsp_aik.c' || echo '$(srcdir)/'`tsp_aik.c -libtspi_la-rpc_aik.lo: rpc/@RPC@/rpc_aik.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_aik.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_aik.Tpo -c -o libtspi_la-rpc_aik.lo `test -f 'rpc/@RPC@/rpc_aik.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_aik.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_aik.Tpo $(DEPDIR)/libtspi_la-rpc_aik.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_aik.c' object='libtspi_la-rpc_aik.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_aik.lo: rpc/@RPC@/rpc_aik.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_aik.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_aik.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_aik.lo `test -f 'rpc/@RPC@/rpc_aik.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_aik.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_aik.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_aik.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_aik.c' object='rpc/@RPC@/libtspi_la-rpc_aik.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_aik.lo `test -f 'rpc/@RPC@/rpc_aik.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_aik.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_aik.lo `test -f 'rpc/@RPC@/rpc_aik.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_aik.c libtspi_la-tspi_ek.lo: tspi_ek.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_ek.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_ek.Tpo -c -o libtspi_la-tspi_ek.lo `test -f 'tspi_ek.c' || echo '$(srcdir)/'`tspi_ek.c @@ -1346,12 +1667,12 @@ libtspi_la-tsp_ek.lo: tsp_ek.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_ek.lo `test -f 'tsp_ek.c' || echo '$(srcdir)/'`tsp_ek.c -libtspi_la-rpc_ek.lo: rpc/@RPC@/rpc_ek.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_ek.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_ek.Tpo -c -o libtspi_la-rpc_ek.lo `test -f 'rpc/@RPC@/rpc_ek.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ek.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_ek.Tpo $(DEPDIR)/libtspi_la-rpc_ek.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ek.c' object='libtspi_la-rpc_ek.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_ek.lo: rpc/@RPC@/rpc_ek.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_ek.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_ek.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_ek.lo `test -f 'rpc/@RPC@/rpc_ek.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ek.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_ek.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_ek.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_ek.c' object='rpc/@RPC@/libtspi_la-rpc_ek.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_ek.lo `test -f 'rpc/@RPC@/rpc_ek.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ek.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_ek.lo `test -f 'rpc/@RPC@/rpc_ek.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_ek.c libtspi_la-tspi_certify.lo: tspi_certify.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_certify.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_certify.Tpo -c -o libtspi_la-tspi_certify.lo `test -f 'tspi_certify.c' || echo '$(srcdir)/'`tspi_certify.c @@ -1367,12 +1688,12 @@ libtspi_la-tsp_certify.lo: tsp_certify.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_certify.lo `test -f 'tsp_certify.c' || echo '$(srcdir)/'`tsp_certify.c -libtspi_la-rpc_certify.lo: rpc/@RPC@/rpc_certify.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_certify.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_certify.Tpo -c -o libtspi_la-rpc_certify.lo `test -f 'rpc/@RPC@/rpc_certify.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_certify.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_certify.Tpo $(DEPDIR)/libtspi_la-rpc_certify.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_certify.c' object='libtspi_la-rpc_certify.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_certify.lo: rpc/@RPC@/rpc_certify.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_certify.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_certify.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_certify.lo `test -f 'rpc/@RPC@/rpc_certify.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_certify.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_certify.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_certify.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_certify.c' object='rpc/@RPC@/libtspi_la-rpc_certify.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_certify.lo `test -f 'rpc/@RPC@/rpc_certify.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_certify.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_certify.lo `test -f 'rpc/@RPC@/rpc_certify.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_certify.c libtspi_la-tspi_key.lo: tspi_key.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_key.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_key.Tpo -c -o libtspi_la-tspi_key.lo `test -f 'tspi_key.c' || echo '$(srcdir)/'`tspi_key.c @@ -1381,12 +1702,12 @@ libtspi_la-tspi_key.lo: tspi_key.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tspi_key.lo `test -f 'tspi_key.c' || echo '$(srcdir)/'`tspi_key.c -libtspi_la-rpc_key.lo: rpc/@RPC@/rpc_key.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_key.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_key.Tpo -c -o libtspi_la-rpc_key.lo `test -f 'rpc/@RPC@/rpc_key.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_key.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_key.Tpo $(DEPDIR)/libtspi_la-rpc_key.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_key.c' object='libtspi_la-rpc_key.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_key.lo: rpc/@RPC@/rpc_key.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_key.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_key.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_key.lo `test -f 'rpc/@RPC@/rpc_key.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_key.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_key.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_key.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_key.c' object='rpc/@RPC@/libtspi_la-rpc_key.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_key.lo `test -f 'rpc/@RPC@/rpc_key.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_key.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_key.lo `test -f 'rpc/@RPC@/rpc_key.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_key.c libtspi_la-tspi_maint.lo: tspi_maint.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_maint.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_maint.Tpo -c -o libtspi_la-tspi_maint.lo `test -f 'tspi_maint.c' || echo '$(srcdir)/'`tspi_maint.c @@ -1402,12 +1723,12 @@ libtspi_la-tsp_maint.lo: tsp_maint.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_maint.lo `test -f 'tsp_maint.c' || echo '$(srcdir)/'`tsp_maint.c -libtspi_la-rpc_maint.lo: rpc/@RPC@/rpc_maint.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_maint.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_maint.Tpo -c -o libtspi_la-rpc_maint.lo `test -f 'rpc/@RPC@/rpc_maint.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_maint.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_maint.Tpo $(DEPDIR)/libtspi_la-rpc_maint.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_maint.c' object='libtspi_la-rpc_maint.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_maint.lo: rpc/@RPC@/rpc_maint.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_maint.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_maint.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_maint.lo `test -f 'rpc/@RPC@/rpc_maint.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_maint.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_maint.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_maint.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_maint.c' object='rpc/@RPC@/libtspi_la-rpc_maint.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_maint.lo `test -f 'rpc/@RPC@/rpc_maint.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_maint.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_maint.lo `test -f 'rpc/@RPC@/rpc_maint.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_maint.c libtspi_la-tspi_migration.lo: tspi_migration.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_migration.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_migration.Tpo -c -o libtspi_la-tspi_migration.lo `test -f 'tspi_migration.c' || echo '$(srcdir)/'`tspi_migration.c @@ -1423,12 +1744,12 @@ libtspi_la-tsp_migration.lo: tsp_migration.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_migration.lo `test -f 'tsp_migration.c' || echo '$(srcdir)/'`tsp_migration.c -libtspi_la-rpc_migration.lo: rpc/@RPC@/rpc_migration.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_migration.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_migration.Tpo -c -o libtspi_la-rpc_migration.lo `test -f 'rpc/@RPC@/rpc_migration.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_migration.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_migration.Tpo $(DEPDIR)/libtspi_la-rpc_migration.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_migration.c' object='libtspi_la-rpc_migration.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_migration.lo: rpc/@RPC@/rpc_migration.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_migration.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_migration.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_migration.lo `test -f 'rpc/@RPC@/rpc_migration.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_migration.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_migration.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_migration.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_migration.c' object='rpc/@RPC@/libtspi_la-rpc_migration.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_migration.lo `test -f 'rpc/@RPC@/rpc_migration.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_migration.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_migration.lo `test -f 'rpc/@RPC@/rpc_migration.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_migration.c libtspi_la-tspi_pcr_extend.lo: tspi_pcr_extend.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_pcr_extend.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_pcr_extend.Tpo -c -o libtspi_la-tspi_pcr_extend.lo `test -f 'tspi_pcr_extend.c' || echo '$(srcdir)/'`tspi_pcr_extend.c @@ -1444,12 +1765,12 @@ libtspi_la-tsp_pcr_extend.lo: tsp_pcr_extend.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_pcr_extend.lo `test -f 'tsp_pcr_extend.c' || echo '$(srcdir)/'`tsp_pcr_extend.c -libtspi_la-rpc_pcr_extend.lo: rpc/@RPC@/rpc_pcr_extend.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_pcr_extend.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_pcr_extend.Tpo -c -o libtspi_la-rpc_pcr_extend.lo `test -f 'rpc/@RPC@/rpc_pcr_extend.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_pcr_extend.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_pcr_extend.Tpo $(DEPDIR)/libtspi_la-rpc_pcr_extend.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_pcr_extend.c' object='libtspi_la-rpc_pcr_extend.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_pcr_extend.lo: rpc/@RPC@/rpc_pcr_extend.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_pcr_extend.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_pcr_extend.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_pcr_extend.lo `test -f 'rpc/@RPC@/rpc_pcr_extend.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_pcr_extend.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_pcr_extend.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_pcr_extend.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_pcr_extend.c' object='rpc/@RPC@/libtspi_la-rpc_pcr_extend.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_pcr_extend.lo `test -f 'rpc/@RPC@/rpc_pcr_extend.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_pcr_extend.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_pcr_extend.lo `test -f 'rpc/@RPC@/rpc_pcr_extend.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_pcr_extend.c libtspi_la-tspi_selftest.lo: tspi_selftest.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_selftest.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_selftest.Tpo -c -o libtspi_la-tspi_selftest.lo `test -f 'tspi_selftest.c' || echo '$(srcdir)/'`tspi_selftest.c @@ -1465,12 +1786,12 @@ libtspi_la-tsp_selftest.lo: tsp_selftest.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_selftest.lo `test -f 'tsp_selftest.c' || echo '$(srcdir)/'`tsp_selftest.c -libtspi_la-rpc_selftest.lo: rpc/@RPC@/rpc_selftest.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_selftest.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_selftest.Tpo -c -o libtspi_la-rpc_selftest.lo `test -f 'rpc/@RPC@/rpc_selftest.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_selftest.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_selftest.Tpo $(DEPDIR)/libtspi_la-rpc_selftest.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_selftest.c' object='libtspi_la-rpc_selftest.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_selftest.lo: rpc/@RPC@/rpc_selftest.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_selftest.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_selftest.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_selftest.lo `test -f 'rpc/@RPC@/rpc_selftest.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_selftest.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_selftest.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_selftest.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_selftest.c' object='rpc/@RPC@/libtspi_la-rpc_selftest.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_selftest.lo `test -f 'rpc/@RPC@/rpc_selftest.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_selftest.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_selftest.lo `test -f 'rpc/@RPC@/rpc_selftest.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_selftest.c libtspi_la-tspi_daa.lo: tspi_daa.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_daa.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_daa.Tpo -c -o libtspi_la-tspi_daa.lo `test -f 'tspi_daa.c' || echo '$(srcdir)/'`tspi_daa.c @@ -1486,117 +1807,117 @@ libtspi_la-tsp_daa.lo: tsp_daa.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_daa.lo `test -f 'tsp_daa.c' || echo '$(srcdir)/'`tsp_daa.c -libtspi_la-rpc_daa.lo: rpc/@RPC@/rpc_daa.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_daa.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_daa.Tpo -c -o libtspi_la-rpc_daa.lo `test -f 'rpc/@RPC@/rpc_daa.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_daa.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_daa.Tpo $(DEPDIR)/libtspi_la-rpc_daa.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_daa.c' object='libtspi_la-rpc_daa.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_daa.lo: rpc/@RPC@/rpc_daa.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_daa.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_daa.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_daa.lo `test -f 'rpc/@RPC@/rpc_daa.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_daa.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_daa.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_daa.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_daa.c' object='rpc/@RPC@/libtspi_la-rpc_daa.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_daa.lo `test -f 'rpc/@RPC@/rpc_daa.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_daa.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_daa.lo `test -f 'rpc/@RPC@/rpc_daa.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_daa.c -libtspi_la-keypair_generator.lo: daa/daa_issuer/keypair_generator.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-keypair_generator.lo -MD -MP -MF $(DEPDIR)/libtspi_la-keypair_generator.Tpo -c -o libtspi_la-keypair_generator.lo `test -f 'daa/daa_issuer/keypair_generator.c' || echo '$(srcdir)/'`daa/daa_issuer/keypair_generator.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-keypair_generator.Tpo $(DEPDIR)/libtspi_la-keypair_generator.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/keypair_generator.c' object='libtspi_la-keypair_generator.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_issuer/libtspi_la-keypair_generator.lo: daa/daa_issuer/keypair_generator.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_issuer/libtspi_la-keypair_generator.lo -MD -MP -MF daa/daa_issuer/$(DEPDIR)/libtspi_la-keypair_generator.Tpo -c -o daa/daa_issuer/libtspi_la-keypair_generator.lo `test -f 'daa/daa_issuer/keypair_generator.c' || echo '$(srcdir)/'`daa/daa_issuer/keypair_generator.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_issuer/$(DEPDIR)/libtspi_la-keypair_generator.Tpo daa/daa_issuer/$(DEPDIR)/libtspi_la-keypair_generator.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/keypair_generator.c' object='daa/daa_issuer/libtspi_la-keypair_generator.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-keypair_generator.lo `test -f 'daa/daa_issuer/keypair_generator.c' || echo '$(srcdir)/'`daa/daa_issuer/keypair_generator.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_issuer/libtspi_la-keypair_generator.lo `test -f 'daa/daa_issuer/keypair_generator.c' || echo '$(srcdir)/'`daa/daa_issuer/keypair_generator.c -libtspi_la-prime_gen.lo: daa/daa_issuer/prime_gen.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-prime_gen.lo -MD -MP -MF $(DEPDIR)/libtspi_la-prime_gen.Tpo -c -o libtspi_la-prime_gen.lo `test -f 'daa/daa_issuer/prime_gen.c' || echo '$(srcdir)/'`daa/daa_issuer/prime_gen.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-prime_gen.Tpo $(DEPDIR)/libtspi_la-prime_gen.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/prime_gen.c' object='libtspi_la-prime_gen.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_issuer/libtspi_la-prime_gen.lo: daa/daa_issuer/prime_gen.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_issuer/libtspi_la-prime_gen.lo -MD -MP -MF daa/daa_issuer/$(DEPDIR)/libtspi_la-prime_gen.Tpo -c -o daa/daa_issuer/libtspi_la-prime_gen.lo `test -f 'daa/daa_issuer/prime_gen.c' || echo '$(srcdir)/'`daa/daa_issuer/prime_gen.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_issuer/$(DEPDIR)/libtspi_la-prime_gen.Tpo daa/daa_issuer/$(DEPDIR)/libtspi_la-prime_gen.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/prime_gen.c' object='daa/daa_issuer/libtspi_la-prime_gen.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-prime_gen.lo `test -f 'daa/daa_issuer/prime_gen.c' || echo '$(srcdir)/'`daa/daa_issuer/prime_gen.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_issuer/libtspi_la-prime_gen.lo `test -f 'daa/daa_issuer/prime_gen.c' || echo '$(srcdir)/'`daa/daa_issuer/prime_gen.c -libtspi_la-key_correctness_proof.lo: daa/daa_issuer/key_correctness_proof.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-key_correctness_proof.lo -MD -MP -MF $(DEPDIR)/libtspi_la-key_correctness_proof.Tpo -c -o libtspi_la-key_correctness_proof.lo `test -f 'daa/daa_issuer/key_correctness_proof.c' || echo '$(srcdir)/'`daa/daa_issuer/key_correctness_proof.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-key_correctness_proof.Tpo $(DEPDIR)/libtspi_la-key_correctness_proof.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/key_correctness_proof.c' object='libtspi_la-key_correctness_proof.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_issuer/libtspi_la-key_correctness_proof.lo: daa/daa_issuer/key_correctness_proof.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_issuer/libtspi_la-key_correctness_proof.lo -MD -MP -MF daa/daa_issuer/$(DEPDIR)/libtspi_la-key_correctness_proof.Tpo -c -o daa/daa_issuer/libtspi_la-key_correctness_proof.lo `test -f 'daa/daa_issuer/key_correctness_proof.c' || echo '$(srcdir)/'`daa/daa_issuer/key_correctness_proof.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_issuer/$(DEPDIR)/libtspi_la-key_correctness_proof.Tpo daa/daa_issuer/$(DEPDIR)/libtspi_la-key_correctness_proof.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/key_correctness_proof.c' object='daa/daa_issuer/libtspi_la-key_correctness_proof.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-key_correctness_proof.lo `test -f 'daa/daa_issuer/key_correctness_proof.c' || echo '$(srcdir)/'`daa/daa_issuer/key_correctness_proof.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_issuer/libtspi_la-key_correctness_proof.lo `test -f 'daa/daa_issuer/key_correctness_proof.c' || echo '$(srcdir)/'`daa/daa_issuer/key_correctness_proof.c -libtspi_la-platform.lo: daa/daa_platform/platform.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-platform.lo -MD -MP -MF $(DEPDIR)/libtspi_la-platform.Tpo -c -o libtspi_la-platform.lo `test -f 'daa/daa_platform/platform.c' || echo '$(srcdir)/'`daa/daa_platform/platform.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-platform.Tpo $(DEPDIR)/libtspi_la-platform.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_platform/platform.c' object='libtspi_la-platform.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_platform/libtspi_la-platform.lo: daa/daa_platform/platform.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_platform/libtspi_la-platform.lo -MD -MP -MF daa/daa_platform/$(DEPDIR)/libtspi_la-platform.Tpo -c -o daa/daa_platform/libtspi_la-platform.lo `test -f 'daa/daa_platform/platform.c' || echo '$(srcdir)/'`daa/daa_platform/platform.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_platform/$(DEPDIR)/libtspi_la-platform.Tpo daa/daa_platform/$(DEPDIR)/libtspi_la-platform.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_platform/platform.c' object='daa/daa_platform/libtspi_la-platform.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-platform.lo `test -f 'daa/daa_platform/platform.c' || echo '$(srcdir)/'`daa/daa_platform/platform.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_platform/libtspi_la-platform.lo `test -f 'daa/daa_platform/platform.c' || echo '$(srcdir)/'`daa/daa_platform/platform.c -libtspi_la-issuer_init.lo: daa/daa_issuer/issuer_init.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-issuer_init.lo -MD -MP -MF $(DEPDIR)/libtspi_la-issuer_init.Tpo -c -o libtspi_la-issuer_init.lo `test -f 'daa/daa_issuer/issuer_init.c' || echo '$(srcdir)/'`daa/daa_issuer/issuer_init.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-issuer_init.Tpo $(DEPDIR)/libtspi_la-issuer_init.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/issuer_init.c' object='libtspi_la-issuer_init.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_issuer/libtspi_la-issuer_init.lo: daa/daa_issuer/issuer_init.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_issuer/libtspi_la-issuer_init.lo -MD -MP -MF daa/daa_issuer/$(DEPDIR)/libtspi_la-issuer_init.Tpo -c -o daa/daa_issuer/libtspi_la-issuer_init.lo `test -f 'daa/daa_issuer/issuer_init.c' || echo '$(srcdir)/'`daa/daa_issuer/issuer_init.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_issuer/$(DEPDIR)/libtspi_la-issuer_init.Tpo daa/daa_issuer/$(DEPDIR)/libtspi_la-issuer_init.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/issuer_init.c' object='daa/daa_issuer/libtspi_la-issuer_init.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-issuer_init.lo `test -f 'daa/daa_issuer/issuer_init.c' || echo '$(srcdir)/'`daa/daa_issuer/issuer_init.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_issuer/libtspi_la-issuer_init.lo `test -f 'daa/daa_issuer/issuer_init.c' || echo '$(srcdir)/'`daa/daa_issuer/issuer_init.c -libtspi_la-issue_credential.lo: daa/daa_issuer/issue_credential.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-issue_credential.lo -MD -MP -MF $(DEPDIR)/libtspi_la-issue_credential.Tpo -c -o libtspi_la-issue_credential.lo `test -f 'daa/daa_issuer/issue_credential.c' || echo '$(srcdir)/'`daa/daa_issuer/issue_credential.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-issue_credential.Tpo $(DEPDIR)/libtspi_la-issue_credential.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/issue_credential.c' object='libtspi_la-issue_credential.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_issuer/libtspi_la-issue_credential.lo: daa/daa_issuer/issue_credential.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_issuer/libtspi_la-issue_credential.lo -MD -MP -MF daa/daa_issuer/$(DEPDIR)/libtspi_la-issue_credential.Tpo -c -o daa/daa_issuer/libtspi_la-issue_credential.lo `test -f 'daa/daa_issuer/issue_credential.c' || echo '$(srcdir)/'`daa/daa_issuer/issue_credential.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_issuer/$(DEPDIR)/libtspi_la-issue_credential.Tpo daa/daa_issuer/$(DEPDIR)/libtspi_la-issue_credential.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_issuer/issue_credential.c' object='daa/daa_issuer/libtspi_la-issue_credential.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-issue_credential.lo `test -f 'daa/daa_issuer/issue_credential.c' || echo '$(srcdir)/'`daa/daa_issuer/issue_credential.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_issuer/libtspi_la-issue_credential.lo `test -f 'daa/daa_issuer/issue_credential.c' || echo '$(srcdir)/'`daa/daa_issuer/issue_credential.c -libtspi_la-verifier_transaction.lo: daa/daa_verifier/verifier_transaction.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-verifier_transaction.lo -MD -MP -MF $(DEPDIR)/libtspi_la-verifier_transaction.Tpo -c -o libtspi_la-verifier_transaction.lo `test -f 'daa/daa_verifier/verifier_transaction.c' || echo '$(srcdir)/'`daa/daa_verifier/verifier_transaction.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-verifier_transaction.Tpo $(DEPDIR)/libtspi_la-verifier_transaction.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_verifier/verifier_transaction.c' object='libtspi_la-verifier_transaction.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_verifier/libtspi_la-verifier_transaction.lo: daa/daa_verifier/verifier_transaction.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_verifier/libtspi_la-verifier_transaction.lo -MD -MP -MF daa/daa_verifier/$(DEPDIR)/libtspi_la-verifier_transaction.Tpo -c -o daa/daa_verifier/libtspi_la-verifier_transaction.lo `test -f 'daa/daa_verifier/verifier_transaction.c' || echo '$(srcdir)/'`daa/daa_verifier/verifier_transaction.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_verifier/$(DEPDIR)/libtspi_la-verifier_transaction.Tpo daa/daa_verifier/$(DEPDIR)/libtspi_la-verifier_transaction.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_verifier/verifier_transaction.c' object='daa/daa_verifier/libtspi_la-verifier_transaction.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-verifier_transaction.lo `test -f 'daa/daa_verifier/verifier_transaction.c' || echo '$(srcdir)/'`daa/daa_verifier/verifier_transaction.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_verifier/libtspi_la-verifier_transaction.lo `test -f 'daa/daa_verifier/verifier_transaction.c' || echo '$(srcdir)/'`daa/daa_verifier/verifier_transaction.c -libtspi_la-verifier.lo: daa/daa_verifier/verifier.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-verifier.lo -MD -MP -MF $(DEPDIR)/libtspi_la-verifier.Tpo -c -o libtspi_la-verifier.lo `test -f 'daa/daa_verifier/verifier.c' || echo '$(srcdir)/'`daa/daa_verifier/verifier.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-verifier.Tpo $(DEPDIR)/libtspi_la-verifier.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_verifier/verifier.c' object='libtspi_la-verifier.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_verifier/libtspi_la-verifier.lo: daa/daa_verifier/verifier.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_verifier/libtspi_la-verifier.lo -MD -MP -MF daa/daa_verifier/$(DEPDIR)/libtspi_la-verifier.Tpo -c -o daa/daa_verifier/libtspi_la-verifier.lo `test -f 'daa/daa_verifier/verifier.c' || echo '$(srcdir)/'`daa/daa_verifier/verifier.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_verifier/$(DEPDIR)/libtspi_la-verifier.Tpo daa/daa_verifier/$(DEPDIR)/libtspi_la-verifier.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_verifier/verifier.c' object='daa/daa_verifier/libtspi_la-verifier.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-verifier.lo `test -f 'daa/daa_verifier/verifier.c' || echo '$(srcdir)/'`daa/daa_verifier/verifier.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_verifier/libtspi_la-verifier.lo `test -f 'daa/daa_verifier/verifier.c' || echo '$(srcdir)/'`daa/daa_verifier/verifier.c -libtspi_la-daa_structs.lo: daa/daa_structs.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-daa_structs.lo -MD -MP -MF $(DEPDIR)/libtspi_la-daa_structs.Tpo -c -o libtspi_la-daa_structs.lo `test -f 'daa/daa_structs.c' || echo '$(srcdir)/'`daa/daa_structs.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-daa_structs.Tpo $(DEPDIR)/libtspi_la-daa_structs.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_structs.c' object='libtspi_la-daa_structs.lo' libtool=yes @AMDEPBACKSLASH@ +daa/libtspi_la-daa_structs.lo: daa/daa_structs.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/libtspi_la-daa_structs.lo -MD -MP -MF daa/$(DEPDIR)/libtspi_la-daa_structs.Tpo -c -o daa/libtspi_la-daa_structs.lo `test -f 'daa/daa_structs.c' || echo '$(srcdir)/'`daa/daa_structs.c +@am__fastdepCC_TRUE@ $(am__mv) daa/$(DEPDIR)/libtspi_la-daa_structs.Tpo daa/$(DEPDIR)/libtspi_la-daa_structs.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_structs.c' object='daa/libtspi_la-daa_structs.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-daa_structs.lo `test -f 'daa/daa_structs.c' || echo '$(srcdir)/'`daa/daa_structs.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/libtspi_la-daa_structs.lo `test -f 'daa/daa_structs.c' || echo '$(srcdir)/'`daa/daa_structs.c -libtspi_la-daa_parameter.lo: daa/daa_parameter.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-daa_parameter.lo -MD -MP -MF $(DEPDIR)/libtspi_la-daa_parameter.Tpo -c -o libtspi_la-daa_parameter.lo `test -f 'daa/daa_parameter.c' || echo '$(srcdir)/'`daa/daa_parameter.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-daa_parameter.Tpo $(DEPDIR)/libtspi_la-daa_parameter.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_parameter.c' object='libtspi_la-daa_parameter.lo' libtool=yes @AMDEPBACKSLASH@ +daa/libtspi_la-daa_parameter.lo: daa/daa_parameter.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/libtspi_la-daa_parameter.lo -MD -MP -MF daa/$(DEPDIR)/libtspi_la-daa_parameter.Tpo -c -o daa/libtspi_la-daa_parameter.lo `test -f 'daa/daa_parameter.c' || echo '$(srcdir)/'`daa/daa_parameter.c +@am__fastdepCC_TRUE@ $(am__mv) daa/$(DEPDIR)/libtspi_la-daa_parameter.Tpo daa/$(DEPDIR)/libtspi_la-daa_parameter.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_parameter.c' object='daa/libtspi_la-daa_parameter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-daa_parameter.lo `test -f 'daa/daa_parameter.c' || echo '$(srcdir)/'`daa/daa_parameter.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/libtspi_la-daa_parameter.lo `test -f 'daa/daa_parameter.c' || echo '$(srcdir)/'`daa/daa_parameter.c -libtspi_la-bi_gmp.lo: daa/big_integer/bi_gmp.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-bi_gmp.lo -MD -MP -MF $(DEPDIR)/libtspi_la-bi_gmp.Tpo -c -o libtspi_la-bi_gmp.lo `test -f 'daa/big_integer/bi_gmp.c' || echo '$(srcdir)/'`daa/big_integer/bi_gmp.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-bi_gmp.Tpo $(DEPDIR)/libtspi_la-bi_gmp.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/big_integer/bi_gmp.c' object='libtspi_la-bi_gmp.lo' libtool=yes @AMDEPBACKSLASH@ +daa/big_integer/libtspi_la-bi_gmp.lo: daa/big_integer/bi_gmp.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/big_integer/libtspi_la-bi_gmp.lo -MD -MP -MF daa/big_integer/$(DEPDIR)/libtspi_la-bi_gmp.Tpo -c -o daa/big_integer/libtspi_la-bi_gmp.lo `test -f 'daa/big_integer/bi_gmp.c' || echo '$(srcdir)/'`daa/big_integer/bi_gmp.c +@am__fastdepCC_TRUE@ $(am__mv) daa/big_integer/$(DEPDIR)/libtspi_la-bi_gmp.Tpo daa/big_integer/$(DEPDIR)/libtspi_la-bi_gmp.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/big_integer/bi_gmp.c' object='daa/big_integer/libtspi_la-bi_gmp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-bi_gmp.lo `test -f 'daa/big_integer/bi_gmp.c' || echo '$(srcdir)/'`daa/big_integer/bi_gmp.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/big_integer/libtspi_la-bi_gmp.lo `test -f 'daa/big_integer/bi_gmp.c' || echo '$(srcdir)/'`daa/big_integer/bi_gmp.c -libtspi_la-bi_openssl.lo: daa/big_integer/bi_openssl.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-bi_openssl.lo -MD -MP -MF $(DEPDIR)/libtspi_la-bi_openssl.Tpo -c -o libtspi_la-bi_openssl.lo `test -f 'daa/big_integer/bi_openssl.c' || echo '$(srcdir)/'`daa/big_integer/bi_openssl.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-bi_openssl.Tpo $(DEPDIR)/libtspi_la-bi_openssl.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/big_integer/bi_openssl.c' object='libtspi_la-bi_openssl.lo' libtool=yes @AMDEPBACKSLASH@ +daa/big_integer/libtspi_la-bi_openssl.lo: daa/big_integer/bi_openssl.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/big_integer/libtspi_la-bi_openssl.lo -MD -MP -MF daa/big_integer/$(DEPDIR)/libtspi_la-bi_openssl.Tpo -c -o daa/big_integer/libtspi_la-bi_openssl.lo `test -f 'daa/big_integer/bi_openssl.c' || echo '$(srcdir)/'`daa/big_integer/bi_openssl.c +@am__fastdepCC_TRUE@ $(am__mv) daa/big_integer/$(DEPDIR)/libtspi_la-bi_openssl.Tpo daa/big_integer/$(DEPDIR)/libtspi_la-bi_openssl.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/big_integer/bi_openssl.c' object='daa/big_integer/libtspi_la-bi_openssl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-bi_openssl.lo `test -f 'daa/big_integer/bi_openssl.c' || echo '$(srcdir)/'`daa/big_integer/bi_openssl.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/big_integer/libtspi_la-bi_openssl.lo `test -f 'daa/big_integer/bi_openssl.c' || echo '$(srcdir)/'`daa/big_integer/bi_openssl.c -libtspi_la-csencryption_result.lo: daa/daa_anonymityrevocation/csencryption_result.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-csencryption_result.lo -MD -MP -MF $(DEPDIR)/libtspi_la-csencryption_result.Tpo -c -o libtspi_la-csencryption_result.lo `test -f 'daa/daa_anonymityrevocation/csencryption_result.c' || echo '$(srcdir)/'`daa/daa_anonymityrevocation/csencryption_result.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-csencryption_result.Tpo $(DEPDIR)/libtspi_la-csencryption_result.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_anonymityrevocation/csencryption_result.c' object='libtspi_la-csencryption_result.lo' libtool=yes @AMDEPBACKSLASH@ +daa/daa_anonymityrevocation/libtspi_la-csencryption_result.lo: daa/daa_anonymityrevocation/csencryption_result.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/daa_anonymityrevocation/libtspi_la-csencryption_result.lo -MD -MP -MF daa/daa_anonymityrevocation/$(DEPDIR)/libtspi_la-csencryption_result.Tpo -c -o daa/daa_anonymityrevocation/libtspi_la-csencryption_result.lo `test -f 'daa/daa_anonymityrevocation/csencryption_result.c' || echo '$(srcdir)/'`daa/daa_anonymityrevocation/csencryption_result.c +@am__fastdepCC_TRUE@ $(am__mv) daa/daa_anonymityrevocation/$(DEPDIR)/libtspi_la-csencryption_result.Tpo daa/daa_anonymityrevocation/$(DEPDIR)/libtspi_la-csencryption_result.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/daa_anonymityrevocation/csencryption_result.c' object='daa/daa_anonymityrevocation/libtspi_la-csencryption_result.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-csencryption_result.lo `test -f 'daa/daa_anonymityrevocation/csencryption_result.c' || echo '$(srcdir)/'`daa/daa_anonymityrevocation/csencryption_result.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/daa_anonymityrevocation/libtspi_la-csencryption_result.lo `test -f 'daa/daa_anonymityrevocation/csencryption_result.c' || echo '$(srcdir)/'`daa/daa_anonymityrevocation/csencryption_result.c -libtspi_la-bi.lo: daa/big_integer/bi.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-bi.lo -MD -MP -MF $(DEPDIR)/libtspi_la-bi.Tpo -c -o libtspi_la-bi.lo `test -f 'daa/big_integer/bi.c' || echo '$(srcdir)/'`daa/big_integer/bi.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-bi.Tpo $(DEPDIR)/libtspi_la-bi.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/big_integer/bi.c' object='libtspi_la-bi.lo' libtool=yes @AMDEPBACKSLASH@ +daa/big_integer/libtspi_la-bi.lo: daa/big_integer/bi.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/big_integer/libtspi_la-bi.lo -MD -MP -MF daa/big_integer/$(DEPDIR)/libtspi_la-bi.Tpo -c -o daa/big_integer/libtspi_la-bi.lo `test -f 'daa/big_integer/bi.c' || echo '$(srcdir)/'`daa/big_integer/bi.c +@am__fastdepCC_TRUE@ $(am__mv) daa/big_integer/$(DEPDIR)/libtspi_la-bi.Tpo daa/big_integer/$(DEPDIR)/libtspi_la-bi.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/big_integer/bi.c' object='daa/big_integer/libtspi_la-bi.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-bi.lo `test -f 'daa/big_integer/bi.c' || echo '$(srcdir)/'`daa/big_integer/bi.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/big_integer/libtspi_la-bi.lo `test -f 'daa/big_integer/bi.c' || echo '$(srcdir)/'`daa/big_integer/bi.c -libtspi_la-list.lo: daa/utils/list.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-list.lo -MD -MP -MF $(DEPDIR)/libtspi_la-list.Tpo -c -o libtspi_la-list.lo `test -f 'daa/utils/list.c' || echo '$(srcdir)/'`daa/utils/list.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-list.Tpo $(DEPDIR)/libtspi_la-list.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/utils/list.c' object='libtspi_la-list.lo' libtool=yes @AMDEPBACKSLASH@ +daa/utils/libtspi_la-list.lo: daa/utils/list.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT daa/utils/libtspi_la-list.lo -MD -MP -MF daa/utils/$(DEPDIR)/libtspi_la-list.Tpo -c -o daa/utils/libtspi_la-list.lo `test -f 'daa/utils/list.c' || echo '$(srcdir)/'`daa/utils/list.c +@am__fastdepCC_TRUE@ $(am__mv) daa/utils/$(DEPDIR)/libtspi_la-list.Tpo daa/utils/$(DEPDIR)/libtspi_la-list.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='daa/utils/list.c' object='daa/utils/libtspi_la-list.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-list.lo `test -f 'daa/utils/list.c' || echo '$(srcdir)/'`daa/utils/list.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o daa/utils/libtspi_la-list.lo `test -f 'daa/utils/list.c' || echo '$(srcdir)/'`daa/utils/list.c libtspi_la-tsp_get_flags.lo: tsp_get_flags.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tsp_get_flags.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tsp_get_flags.Tpo -c -o libtspi_la-tsp_get_flags.lo `test -f 'tsp_get_flags.c' || echo '$(srcdir)/'`tsp_get_flags.c @@ -1668,12 +1989,12 @@ libtspi_la-tsp_audit.lo: tsp_audit.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_audit.lo `test -f 'tsp_audit.c' || echo '$(srcdir)/'`tsp_audit.c -libtspi_la-rpc_audit.lo: rpc/@RPC@/rpc_audit.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_audit.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_audit.Tpo -c -o libtspi_la-rpc_audit.lo `test -f 'rpc/@RPC@/rpc_audit.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_audit.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_audit.Tpo $(DEPDIR)/libtspi_la-rpc_audit.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_audit.c' object='libtspi_la-rpc_audit.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_audit.lo: rpc/@RPC@/rpc_audit.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_audit.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_audit.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_audit.lo `test -f 'rpc/@RPC@/rpc_audit.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_audit.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_audit.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_audit.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_audit.c' object='rpc/@RPC@/libtspi_la-rpc_audit.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_audit.lo `test -f 'rpc/@RPC@/rpc_audit.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_audit.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_audit.lo `test -f 'rpc/@RPC@/rpc_audit.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_audit.c libtspi_la-tsp_seal.lo: tsp_seal.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tsp_seal.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tsp_seal.Tpo -c -o libtspi_la-tsp_seal.lo `test -f 'tsp_seal.c' || echo '$(srcdir)/'`tsp_seal.c @@ -1696,40 +2017,40 @@ libtspi_la-tsp_quote2.lo: tsp_quote2.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_quote2.lo `test -f 'tsp_quote2.c' || echo '$(srcdir)/'`tsp_quote2.c -libtspi_la-rpc_quote2.lo: rpc/@RPC@/rpc_quote2.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_quote2.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_quote2.Tpo -c -o libtspi_la-rpc_quote2.lo `test -f 'rpc/@RPC@/rpc_quote2.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote2.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_quote2.Tpo $(DEPDIR)/libtspi_la-rpc_quote2.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote2.c' object='libtspi_la-rpc_quote2.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_quote2.lo: rpc/@RPC@/rpc_quote2.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_quote2.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_quote2.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_quote2.lo `test -f 'rpc/@RPC@/rpc_quote2.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote2.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_quote2.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_quote2.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_quote2.c' object='rpc/@RPC@/libtspi_la-rpc_quote2.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_quote2.lo `test -f 'rpc/@RPC@/rpc_quote2.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote2.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_quote2.lo `test -f 'rpc/@RPC@/rpc_quote2.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_quote2.c -libtspi_la-main.lo: gtk/main.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-main.lo -MD -MP -MF $(DEPDIR)/libtspi_la-main.Tpo -c -o libtspi_la-main.lo `test -f 'gtk/main.c' || echo '$(srcdir)/'`gtk/main.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-main.Tpo $(DEPDIR)/libtspi_la-main.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk/main.c' object='libtspi_la-main.lo' libtool=yes @AMDEPBACKSLASH@ +gtk/libtspi_la-main.lo: gtk/main.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT gtk/libtspi_la-main.lo -MD -MP -MF gtk/$(DEPDIR)/libtspi_la-main.Tpo -c -o gtk/libtspi_la-main.lo `test -f 'gtk/main.c' || echo '$(srcdir)/'`gtk/main.c +@am__fastdepCC_TRUE@ $(am__mv) gtk/$(DEPDIR)/libtspi_la-main.Tpo gtk/$(DEPDIR)/libtspi_la-main.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk/main.c' object='gtk/libtspi_la-main.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-main.lo `test -f 'gtk/main.c' || echo '$(srcdir)/'`gtk/main.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o gtk/libtspi_la-main.lo `test -f 'gtk/main.c' || echo '$(srcdir)/'`gtk/main.c -libtspi_la-support.lo: gtk/support.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-support.lo -MD -MP -MF $(DEPDIR)/libtspi_la-support.Tpo -c -o libtspi_la-support.lo `test -f 'gtk/support.c' || echo '$(srcdir)/'`gtk/support.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-support.Tpo $(DEPDIR)/libtspi_la-support.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk/support.c' object='libtspi_la-support.lo' libtool=yes @AMDEPBACKSLASH@ +gtk/libtspi_la-support.lo: gtk/support.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT gtk/libtspi_la-support.lo -MD -MP -MF gtk/$(DEPDIR)/libtspi_la-support.Tpo -c -o gtk/libtspi_la-support.lo `test -f 'gtk/support.c' || echo '$(srcdir)/'`gtk/support.c +@am__fastdepCC_TRUE@ $(am__mv) gtk/$(DEPDIR)/libtspi_la-support.Tpo gtk/$(DEPDIR)/libtspi_la-support.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk/support.c' object='gtk/libtspi_la-support.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-support.lo `test -f 'gtk/support.c' || echo '$(srcdir)/'`gtk/support.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o gtk/libtspi_la-support.lo `test -f 'gtk/support.c' || echo '$(srcdir)/'`gtk/support.c -libtspi_la-interface.lo: gtk/interface.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-interface.lo -MD -MP -MF $(DEPDIR)/libtspi_la-interface.Tpo -c -o libtspi_la-interface.lo `test -f 'gtk/interface.c' || echo '$(srcdir)/'`gtk/interface.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-interface.Tpo $(DEPDIR)/libtspi_la-interface.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk/interface.c' object='libtspi_la-interface.lo' libtool=yes @AMDEPBACKSLASH@ +gtk/libtspi_la-interface.lo: gtk/interface.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT gtk/libtspi_la-interface.lo -MD -MP -MF gtk/$(DEPDIR)/libtspi_la-interface.Tpo -c -o gtk/libtspi_la-interface.lo `test -f 'gtk/interface.c' || echo '$(srcdir)/'`gtk/interface.c +@am__fastdepCC_TRUE@ $(am__mv) gtk/$(DEPDIR)/libtspi_la-interface.Tpo gtk/$(DEPDIR)/libtspi_la-interface.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk/interface.c' object='gtk/libtspi_la-interface.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-interface.lo `test -f 'gtk/interface.c' || echo '$(srcdir)/'`gtk/interface.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o gtk/libtspi_la-interface.lo `test -f 'gtk/interface.c' || echo '$(srcdir)/'`gtk/interface.c -libtspi_la-callbacks.lo: gtk/callbacks.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-callbacks.lo -MD -MP -MF $(DEPDIR)/libtspi_la-callbacks.Tpo -c -o libtspi_la-callbacks.lo `test -f 'gtk/callbacks.c' || echo '$(srcdir)/'`gtk/callbacks.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-callbacks.Tpo $(DEPDIR)/libtspi_la-callbacks.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk/callbacks.c' object='libtspi_la-callbacks.lo' libtool=yes @AMDEPBACKSLASH@ +gtk/libtspi_la-callbacks.lo: gtk/callbacks.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT gtk/libtspi_la-callbacks.lo -MD -MP -MF gtk/$(DEPDIR)/libtspi_la-callbacks.Tpo -c -o gtk/libtspi_la-callbacks.lo `test -f 'gtk/callbacks.c' || echo '$(srcdir)/'`gtk/callbacks.c +@am__fastdepCC_TRUE@ $(am__mv) gtk/$(DEPDIR)/libtspi_la-callbacks.Tpo gtk/$(DEPDIR)/libtspi_la-callbacks.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gtk/callbacks.c' object='gtk/libtspi_la-callbacks.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-callbacks.lo `test -f 'gtk/callbacks.c' || echo '$(srcdir)/'`gtk/callbacks.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o gtk/libtspi_la-callbacks.lo `test -f 'gtk/callbacks.c' || echo '$(srcdir)/'`gtk/callbacks.c libtspi_la-ssl_ui.lo: ssl_ui.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-ssl_ui.lo -MD -MP -MF $(DEPDIR)/libtspi_la-ssl_ui.Tpo -c -o libtspi_la-ssl_ui.lo `test -f 'ssl_ui.c' || echo '$(srcdir)/'`ssl_ui.c @@ -1759,12 +2080,12 @@ libtspi_la-tsp_nv.lo: tsp_nv.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-tsp_nv.lo `test -f 'tsp_nv.c' || echo '$(srcdir)/'`tsp_nv.c -libtspi_la-rpc_nv.lo: rpc/@RPC@/rpc_nv.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_nv.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_nv.Tpo -c -o libtspi_la-rpc_nv.lo `test -f 'rpc/@RPC@/rpc_nv.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_nv.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_nv.Tpo $(DEPDIR)/libtspi_la-rpc_nv.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_nv.c' object='libtspi_la-rpc_nv.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_nv.lo: rpc/@RPC@/rpc_nv.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_nv.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_nv.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_nv.lo `test -f 'rpc/@RPC@/rpc_nv.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_nv.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_nv.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_nv.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_nv.c' object='rpc/@RPC@/libtspi_la-rpc_nv.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_nv.lo `test -f 'rpc/@RPC@/rpc_nv.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_nv.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_nv.lo `test -f 'rpc/@RPC@/rpc_nv.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_nv.c libtspi_la-tspi_delegate.lo: tspi_delegate.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_delegate.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_delegate.Tpo -c -o libtspi_la-tspi_delegate.lo `test -f 'tspi_delegate.c' || echo '$(srcdir)/'`tspi_delegate.c @@ -1787,12 +2108,12 @@ libtspi_la-obj_delfamily.lo: obj_delfamily.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-obj_delfamily.lo `test -f 'obj_delfamily.c' || echo '$(srcdir)/'`obj_delfamily.c -libtspi_la-rpc_delegate.lo: rpc/@RPC@/rpc_delegate.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_delegate.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_delegate.Tpo -c -o libtspi_la-rpc_delegate.lo `test -f 'rpc/@RPC@/rpc_delegate.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_delegate.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_delegate.Tpo $(DEPDIR)/libtspi_la-rpc_delegate.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_delegate.c' object='libtspi_la-rpc_delegate.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_delegate.lo: rpc/@RPC@/rpc_delegate.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_delegate.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_delegate.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_delegate.lo `test -f 'rpc/@RPC@/rpc_delegate.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_delegate.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_delegate.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_delegate.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_delegate.c' object='rpc/@RPC@/libtspi_la-rpc_delegate.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_delegate.lo `test -f 'rpc/@RPC@/rpc_delegate.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_delegate.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_delegate.lo `test -f 'rpc/@RPC@/rpc_delegate.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_delegate.c libtspi_la-tspi_cmk.lo: tspi_cmk.c @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-tspi_cmk.lo -MD -MP -MF $(DEPDIR)/libtspi_la-tspi_cmk.Tpo -c -o libtspi_la-tspi_cmk.lo `test -f 'tspi_cmk.c' || echo '$(srcdir)/'`tspi_cmk.c @@ -1808,18 +2129,29 @@ libtspi_la-obj_migdata.lo: obj_migdata.c @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-obj_migdata.lo `test -f 'obj_migdata.c' || echo '$(srcdir)/'`obj_migdata.c -libtspi_la-rpc_cmk.lo: rpc/@RPC@/rpc_cmk.c -@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT libtspi_la-rpc_cmk.lo -MD -MP -MF $(DEPDIR)/libtspi_la-rpc_cmk.Tpo -c -o libtspi_la-rpc_cmk.lo `test -f 'rpc/@RPC@/rpc_cmk.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_cmk.c -@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtspi_la-rpc_cmk.Tpo $(DEPDIR)/libtspi_la-rpc_cmk.Plo -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_cmk.c' object='libtspi_la-rpc_cmk.lo' libtool=yes @AMDEPBACKSLASH@ +rpc/@RPC@/libtspi_la-rpc_cmk.lo: rpc/@RPC@/rpc_cmk.c +@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -MT rpc/@RPC@/libtspi_la-rpc_cmk.lo -MD -MP -MF rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_cmk.Tpo -c -o rpc/@RPC@/libtspi_la-rpc_cmk.lo `test -f 'rpc/@RPC@/rpc_cmk.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_cmk.c +@am__fastdepCC_TRUE@ $(am__mv) rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_cmk.Tpo rpc/@RPC@/$(DEPDIR)/libtspi_la-rpc_cmk.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='rpc/@RPC@/rpc_cmk.c' object='rpc/@RPC@/libtspi_la-rpc_cmk.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o libtspi_la-rpc_cmk.lo `test -f 'rpc/@RPC@/rpc_cmk.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_cmk.c +@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtspi_la_CFLAGS) $(CFLAGS) -c -o rpc/@RPC@/libtspi_la-rpc_cmk.lo `test -f 'rpc/@RPC@/rpc_cmk.c' || echo '$(srcdir)/'`rpc/@RPC@/rpc_cmk.c mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs + -rm -rf daa/.libs daa/_libs + -rm -rf daa/big_integer/.libs daa/big_integer/_libs + -rm -rf daa/daa_anonymityrevocation/.libs daa/daa_anonymityrevocation/_libs + -rm -rf daa/daa_issuer/.libs daa/daa_issuer/_libs + -rm -rf daa/daa_platform/.libs daa/daa_platform/_libs + -rm -rf daa/daa_verifier/.libs daa/daa_verifier/_libs + -rm -rf daa/utils/.libs daa/utils/_libs + -rm -rf gtk/.libs gtk/_libs + -rm -rf ps/.libs ps/_libs + -rm -rf rpc/.libs rpc/_libs + -rm -rf rpc/@RPC@/.libs rpc/@RPC@/_libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ @@ -1931,6 +2263,28 @@ clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f daa/$(DEPDIR)/$(am__dirstamp) + -rm -f daa/$(am__dirstamp) + -rm -f daa/big_integer/$(DEPDIR)/$(am__dirstamp) + -rm -f daa/big_integer/$(am__dirstamp) + -rm -f daa/daa_anonymityrevocation/$(DEPDIR)/$(am__dirstamp) + -rm -f daa/daa_anonymityrevocation/$(am__dirstamp) + -rm -f daa/daa_issuer/$(DEPDIR)/$(am__dirstamp) + -rm -f daa/daa_issuer/$(am__dirstamp) + -rm -f daa/daa_platform/$(DEPDIR)/$(am__dirstamp) + -rm -f daa/daa_platform/$(am__dirstamp) + -rm -f daa/daa_verifier/$(DEPDIR)/$(am__dirstamp) + -rm -f daa/daa_verifier/$(am__dirstamp) + -rm -f daa/utils/$(DEPDIR)/$(am__dirstamp) + -rm -f daa/utils/$(am__dirstamp) + -rm -f gtk/$(DEPDIR)/$(am__dirstamp) + -rm -f gtk/$(am__dirstamp) + -rm -f ps/$(DEPDIR)/$(am__dirstamp) + -rm -f ps/$(am__dirstamp) + -rm -f rpc/$(DEPDIR)/$(am__dirstamp) + -rm -f rpc/$(am__dirstamp) + -rm -f rpc/@RPC@/$(DEPDIR)/$(am__dirstamp) + -rm -f rpc/@RPC@/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -1941,7 +2295,7 @@ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am - -rm -rf ./$(DEPDIR) + -rm -rf ./$(DEPDIR) daa/$(DEPDIR) daa/big_integer/$(DEPDIR) daa/daa_anonymityrevocation/$(DEPDIR) daa/daa_issuer/$(DEPDIR) daa/daa_platform/$(DEPDIR) daa/daa_verifier/$(DEPDIR) daa/utils/$(DEPDIR) gtk/$(DEPDIR) ps/$(DEPDIR) rpc/$(DEPDIR) rpc/@RPC@/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -1987,7 +2341,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) + -rm -rf ./$(DEPDIR) daa/$(DEPDIR) daa/big_integer/$(DEPDIR) daa/daa_anonymityrevocation/$(DEPDIR) daa/daa_issuer/$(DEPDIR) daa/daa_platform/$(DEPDIR) daa/daa_verifier/$(DEPDIR) daa/utils/$(DEPDIR) gtk/$(DEPDIR) ps/$(DEPDIR) rpc/$(DEPDIR) rpc/@RPC@/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/Makefile.am b/crypto/external/cpl/trousers/dist/src/tspi/daa/Makefile.am new file mode 100644 index 00000000000..b02bbde090f --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/Makefile.am @@ -0,0 +1,31 @@ +bin_PROGRAMS=issuer_setup key_verification test test_tpm test_join test_sign +#todel + +test_SOURCES=big_integer/bi_gmp.c big_integer/bi_openssl.c big_integer/bi.c utils/list.c big_integer/test/test.c big_integer/test/multi_exp.c +test_CFLAGS=-I../../include/daa -I../../include -DBI_DEBUG -g -DAPPID=\"BI\" +test_LDFLAGS=-lcrypto + +issuer_setup_SOURCES = daa_issuer/issuer_setup.c +issuer_setup_CFLAGS=-I../../include/daa -I../../include -DBI_DEBUG -DAPPID=\"DAA_ISSUER_SETUP\" +issuer_setup_LDFLAGS=-lcrypto ../libtspi.la ../libdaa.la + +key_verification_SOURCES=daa_issuer/key_verification.c +key_verification_CFLAGS=-I../../include/daa -I../../include -DBI_DEBUG -DAPPID=\"DAA_KEY_VERIFICATION\" +key_verification_LDFLAGS=-lcrypto ../libtspi.la ../libdaa.la + +test_tpm_SOURCES = daa_platform/test.c +test_tpm_CFLAGS=-I../../include/daa -I../../include +test_tpm_LDFLAGS=-lcrypto ../libtspi.la ../libdaa.la + +test_join_SOURCES = daa_platform/test_join.c +test_join_CFLAGS=-I../../include/daa -I../../include -DBI_DEBUG -DAPPID=\"DAA_JOIN\" +test_join_LDFLAGS=-lcrypto ../libtspi.la ../libdaa.la + +test_sign_SOURCES = test_sign.c +test_sign_CFLAGS=-I../../include/daa -I../../include -DBI_DEBUG -DAPPID=\"DAA_JOIN\" +test_sign_LDFLAGS=-lcrypto ../libtspi.la ../libdaa.la + +#todel_SOURCES = todel.c +#todel_CFLAGS=-I../../include/daa -I../../include -DBI_DEBUG -DAPPID=\"DAA_JOIN\" +#todel_LDFLAGS=-lcrypto ../libtspi.la ../libdaa.la + diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/Makefile.am b/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/Makefile.am new file mode 100644 index 00000000000..d631c2af7fc --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/Makefile.am @@ -0,0 +1,9 @@ +bin_PROGRAMS = test + + +test_SOURCES=test.c multi_exp.c ../bi_gmp.c ../bi_openssl.c ../bi.c \ + ../../../include/bi.h ../../../include/bi_openssl.h ../../../include/bi_gmp.h +test_CFLAGS=-G + +# test_CFLAGS=-I../../../include -DBI_OPENSSL + diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/multi_exp.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/multi_exp.c new file mode 100644 index 00000000000..2ff80fc139c --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/multi_exp.c @@ -0,0 +1,29 @@ +#include + +#include + +// use standard C definition to avoid .h +int test_exp_multi(void) { + bi_t result; + bi_t g[3]; + unsigned long e[3]; + + bi_new( result); + bi_new( g[0]); + bi_new( g[1]); + bi_new( g[2]); + // result = (2^2 * 5^4 * 7^7) mod 56 -> should give 28 + bi_set_as_dec( g[0], "2"); + bi_set_as_dec( g[1], "5"); + bi_set_as_dec( g[2], "7"); + e[0] = 2L; + e[1] = 4L; + e[2] = 7L; + bi_multi_mod_exp( result, 3, g, e, 56); + printf("multi-exponentiation =%s\n", bi_2_dec_char(result)); + bi_free( g[0]); + bi_free( g[1]); + bi_free( g[2]); + bi_free( result); + return 0; +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/test.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/test.c new file mode 100644 index 00000000000..4cc3a7fef60 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/big_integer/test/test.c @@ -0,0 +1,296 @@ +#include +#include +#include +#include + +#include + +/* for the logging system used by TSS */ +setenv("TCSD_FOREGROUND", "1", 1); + + /* + * standard bit length extension to obtain a uniformly distributed number + * [0,element] + */ +int test_exp_multi(void); + +void foo (bi_t result, const bi_ptr param, unsigned long n) { + unsigned long i; + + bi_set( result, param); + bi_mul_si( result, result, n); + for (i = 1; i < n; i++) bi_add_si( result, result, i*7); +} + +void *my_malloc(size_t size) { + void *ret = malloc( size); + + printf("my_malloc() -> %ld\n", (long)ret); + return ret; +} + + /** + * Returns a random number in the range of [0,element-1]. + * + * @param element + * the upper limit + * @param random + * the secure random source + * @return the random number + */ +void computeRandomNumber(bi_t res, const bi_ptr element) { + int length = 80 + bi_length( res); // give the length + bi_urandom( res, length); // res = random( of length); + int element_length = bi_length( element); + bi_mod_si( res, res, element_length); // res = res mod +} + +int main (int argc, char **argv) { + bi_t bi_tmp, bi_tmp1, bi_tmp2, bi_tmp3, bi_tmp4, bi_tmp5, bi_tmp6; + bi_t r; + bi_t n; + int i; + unsigned char result1[5]; + int len; + char *byte_array; + FILE *file; + unsigned char ret[] = { (unsigned char)1, 0, (unsigned char)254 }; + int length; + unsigned char *buffer; + unsigned char byte; + bi_ptr nn; + + bi_init( &my_malloc); + printf("test(%s,%s)\n", __DATE__, __TIME__); + #ifdef BI_GMP + printf("using BMP\n"); + #endif + #ifdef BI_OPENSSL + printf("using OPENSSL\n"); + #endif + + bi_new( bi_tmp); + bi_new( bi_tmp1); + bi_new( bi_tmp2); + bi_new( bi_tmp3); + bi_new( bi_tmp4); + bi_new( bi_tmp5); + bi_new( bi_tmp6); + bi_new( n); + bi_new( r); + bi_set_as_hex( n, "75E8F38669C531EB78C7ACD62CCDEFFB5E5BE15E2AA55B3AD28B1A35F6E937097CE09A49C689AC335FBA669205CEF209275CFF273F8F81C5B864E5029EECDFA0743BC15D6E4D2C2CB0DED2DC7119A7E0D61669D417BB3B12BA1D10FD40326A49CA6C9E77F8585F25D8C897D9C73284152E103582C018C964F02ADDBA56CB1161A949AAE2847ADE8BC1152716C8B4AF37A87011C2569F646FD3EDA83099048B9525A6401C47A372F3EA43C91066AD5851AE11DEF1EAC7108FFB06AD94D0B849C339A5E8793C4C054456D3D22D30ACCCF7EF33EF7A7D65799E7908D95B0538A9EFC91BF104CE5008D79625394DB1E5883B2F202B95320BBD868BF65C996FC0DFC5"); + bi_set_as_hex( r, "35A624E6607CFD37162C6052547450B2267ECC749F10CDAEB5C294491321EEB47CA0229F423ADCEF3FA7806F5C4DB3C3445D8E7039EBC457149A1343BECF3B1078385C06EE74351A476BE0D5203633C81F7B8D68548DB763F0C096B20615B6016C180291EF32CC064A173BB22F6B46B3240ACC0B50D8338757FA28D5B0313BC4201CD2B35472842E71994C8FCA557B08004B2495304D13A93D796134BB8078E2EE371707DE5809D72474A7CCE1F865ECD8876105D3DB9AFA9426052D0120C755C60F56A0C0F30FAED2053CEB3129FAB6F57F6E209A8E7B2A559D734B339E19E1F2A147BC94DB2FF491CB5ACCEEEED7F2EA75AFF7CAD33E1E420A09135D9C5C1F"); + DUMP_BI( n); + DUMP_BI( r); + printf("big number n=n*r\n"); + bi_mul( n, n, r); + DUMP_BI( n); + bi_set_as_hex( r, "D7E7028DA181DADAC29C95143C865702453465115AFA7576AADF1E57DD84DA7FF4C8F66530D1E9D1AB69BC12342B89FA0A9755F9F4EE1DA445D50016CEF50622ED905CC9B987FCC7910CAA841641814C1994BC442A15CB05FE5C145626F1454E90435FBC6A529856EF29BDBCBFCB62FB69EDBD11DC33357667867278E1679EABCDBEEA02E9A6911804DF47ACA6B2D63A31E258AD542D71A8178A5E072F5E221EADBB10E16D5533AE427101FF94C5967575FABCD18305C5F15C103CEA1A8ACD01898E88426EDA7C0DF58AA48435808A840F6EEE1D7205D33F356E20FE0D4136B401BF386F11869C3CE4A808B96435694748EF3706F58756548A71E4CF4D2BE157"); + bi_mod( n, n, r); + printf("mod big number n=n mod r\n"); + DUMP_BI( n); + if( bi_get_si( bi_set_as_si( n, 13)) != 13) { + printf("!!! bi_set_as_si 13(%s) = 13\n", bi_2_dec_char( n )); + exit(-1); + } + if( bi_get_si( bi_set_as_si( n, -13)) != -13) { + printf("!!! bi_set_as_si -13(%s) = -13\n", bi_2_dec_char( n )); + exit(-1); + } + if( bi_get_si( bi_inc(bi_set_as_si( n, 13))) != 14) { + puts("!!! bi_inc 13++ = 14\n"); + exit(-1); + } + if( bi_get_si( bi_dec(bi_set_as_si( n, 13))) != 12) { + puts("!!! bi_dec 13-- = 12\n"); + exit(-1); + } + if( bi_get_si( bi_setbit(bi_set_as_si( n, 0), 10)) != 1024) { + puts("!!! bi_setbit set[10] = 1024\n"); + exit(-1); + } + if( bi_get_si( bi_mod_si(bi_tmp, bi_set_as_si( n, 12), 10)) != 2) { + puts("!!! bi_mod_si 12 mod 10 = 2\n"); + exit(-1); + } + if( bi_get_si( bi_mul_si(bi_tmp, bi_set_as_si( n, 12), 10)) != 120) { + puts("!!! bi_mul_si 12 * 10 = 120\n"); + exit(-1); + } + if( bi_get_si( bi_mul(bi_tmp, bi_set_as_si( n, 12), bi_set_as_si( bi_tmp1, 10))) != 120) { + puts("!!! bi_mul_si 12 * 10 = 120\n"); + exit(-1); + } + if( bi_get_si( bi_mod_exp_si(bi_tmp, bi_set_as_si( bi_tmp1, 4), bi_2, 10)) != 6) { + puts("!!! bi_mod_exp_si 4 ^ 2 mod 10 = 6\n"); + exit(-1); + } + if( bi_get_si( bi_mod_exp(bi_tmp, bi_set_as_si( bi_tmp1, 4), bi_2, bi_set_as_si( bi_tmp2, 10))) != 6) { + puts("!!! bi_mod_exp 4 ^ 2 mod 10 = 6\n"); + exit(-1); + } + if( bi_get_si( bi_mod(bi_tmp, bi_set_as_si( n, 12), bi_set_as_si(bi_tmp1, 10))) != 2) { printf("!!! bi_mod 12 mod 10 = 2 [%s]\n",bi_2_dec_char( bi_tmp)); exit(-1); } + if( bi_get_si( bi_mod(bi_tmp, bi_set_as_si( n, -12), bi_set_as_si(bi_tmp1, 10))) != 8) { printf("!!! bi_mod -12 mod 10 = 8 [%s]\n",bi_2_dec_char( bi_tmp)); exit(-1); } + if( bi_get_si( bi_mod(bi_tmp, bi_set_as_si( n, -27), bi_set_as_si(bi_tmp1, 10))) != 3) { printf("!!! bi_mod -27 mod 10 = 3 [%s]\n",bi_2_dec_char( bi_tmp)); exit(-1); } + bi_set_as_si(n, 0x12345678); + bi_2_byte_array( result1, 5, n); + if( result1[0] != 0x00 || result1[1] != 0x12 || result1[2] != 0x34 || result1[3] != 0x56 || result1[4] != 0x78 ) { + printf("!!! bi_2_byte_array[0x123456578] [0]=%x [1]=%x [2]=%x [3]=%x [4]=%x \n", result1[0], result1[1], result1[2], result1[3], result1[4]); + exit( -1); + } + byte_array = retrieve_byte_array( &len, "12345"); + printf("test dump_byte_array len=%d \n", len); + printf("test dump_byte_array(\"12345\")=%s\n", dump_byte_array( len, byte_array)); + free( byte_array); + byte_array = retrieve_byte_array( &len, "12345678"); + printf("test dump_byte_array len=%d \n", len); + printf("test dump_byte_array(\"12345678\")=%s\n", dump_byte_array( len, byte_array)); + + // test save end load of bi_t and bi_array + ///////////////////////////////////////////////////////////////////////////////////// + bi_array result; + bi_new_array( result, 2); + bi_set_as_si( bi_tmp, 6); + bi_set_as_si( result->array[0], 314159); + bi_set_as_si( result->array[1], 123456789); + file = fopen("/tmp/test.todel", "w"); + bi_save_array( result, "result", file); + bi_save( bi_tmp, "bi_tmp", file); + fclose( file); + bi_set_as_si( result->array[0], 0); + bi_set_as_si( result->array[1], 0); + bi_set_as_si( bi_tmp, 0); + file = fopen("/tmp/test.todel", "r"); + bi_load_array( result, file); + bi_load( bi_tmp, file); + fclose( file); + if( bi_get_si( result->array[0]) != 314159) { puts("!!! save/load array[0] = 314159\n"); exit(-1); } + if( bi_get_si( result->array[1]) != 123456789) { puts("!!! save/load array[1] = 123456789\n"); exit(-1); } + if( bi_get_si( bi_tmp) != 6) { puts("!!! save/load bi_tmp = 6\n"); exit(-1); } + + // conversion from bi_t 2 big endian BYTE* + ///////////////////////////////////////////////////////////////////////////////////// + bi_set_as_si( n, 254+(1 << 16)); + buffer = bi_2_nbin( &length, n); + printf("value 2 convert=%s length=%ld\n", bi_2_hex_char( n), bi_nbin_size( n)); + for( i=0; i> 5 = %s\n", bi_2_dec_char( bi_shift_right(bi_tmp, bi_shift_left(bi_tmp1, n, 10), 5))); + bi_set_as_si(n, 1); + printf("[* (1 << 10) >> 5 *] = (2^10) / (2^5) -> %s\n", bi_2_dec_char( bi_shift_right( bi_tmp, ( bi_shift_left( bi_tmp1, n, 10)), 5))); + bi_set_as_si( n, 10); + printf(" (2^10) = %s\n", bi_2_dec_char( bi_mod_exp_si( bi_tmp, bi_2, n, 2000))); + printf(" (1<<5) = %s\n", bi_2_dec_char( bi_shift_left( bi_tmp, bi_set_as_si( bi_tmp1, 1), 5))); + printf(" 1024 / 500 = %s\n", bi_2_dec_char( bi_div( bi_tmp, bi_set_as_si( bi_tmp1, 1024), bi_set_as_si( bi_tmp2, 500)))); + printf(" 1024 / 500 = %s\n", bi_2_dec_char( bi_div_si( bi_tmp, bi_set_as_si( bi_tmp1, 1024), 500))); + printf(" (1 << 10) >> 5 = [* (2^10) / (2^5) *] -> %s\n", bi_2_dec_char( bi_div( bi_tmp1, + bi_mod_exp_si( bi_tmp2, bi_2, bi_set_as_si( bi_tmp3, 10), 2000), + bi_mod_exp_si( bi_tmp4, bi_2, bi_set_as_si( bi_tmp5, 5), 2000) ))); + + printf("(1 << 10) >> 5 = (2^10) / (1<<5) -> %d\n", bi_equals( bi_shift_right( bi_tmp, ( bi_shift_left( bi_tmp1, bi_1, 10)), 5), + bi_div( bi_tmp2, + bi_mod_exp_si( bi_tmp3, bi_2, bi_set_as_si( bi_tmp4, 10), 2000), + bi_mod_exp_si( bi_tmp5, bi_2, bi_set_as_si( bi_tmp6, 5), 2000)))); + printf("( 45 ^ -5 ) %% 10 == ( 1 / ( (45 ^ 5) %% 10) ) %% 10\n"); + bi_set_as_si( bi_tmp, 45); + bi_set_as_si( bi_tmp1, 5); + // bi_negate( bi_tmp1); + bi_set_as_si( bi_tmp2, 10); + bi_mod_exp( bi_tmp3, bi_tmp, bi_tmp1, bi_tmp2); + bi_set_as_si( bi_tmp1, 5); + bi_mod_exp( bi_tmp4, bi_tmp, bi_tmp1, bi_tmp2); + printf("\t( 45 ^ -5 ) %% 10 = %s\n", bi_2_dec_char( bi_tmp3)); + printf("\t( 1 / ( (45 ^ 5) %% 10) ) %% 10 = %s\n", bi_2_dec_char( bi_tmp4)); + if( bi_equals( bi_tmp3, bi_tmp4) == 0) { + printf("!!! error !\n"); + exit( -1); + } + for( i=0; i<5; i++) { + bi_generate_prime( bi_tmp, 1024); + printf("bi=%s\n", bi_2_hex_char( bi_tmp)); + printf("bi.length=%ld \n", bi_length( bi_tmp)); + if( bi_length( bi_tmp) != 1024) { puts("!!! length(random(1024)) != 1024\n"); exit(-1); } + } + bi_set_as_si(n, 0); + bi_setbit( n, 10); + printf("setbit(10) = %s\n", bi_2_dec_char( n)); + bi_set_as_dec(n, "123456"); + foo( r, n, 20L); + printf("TEST:%s\n", bi_2_dec_char( r)); + bi_urandom( n, 1024); + bi_urandom( r, 1024); + computeRandomNumber( r, n); + printf("r:%s n:%s\n", bi_2_hex_char( r), bi_2_hex_char( n)); + bi_generate_prime( r, 1024); + printf("prime:%s\nIs probable prime:%d\n", bi_2_hex_char( r), bi_is_probable_prime( r)); + int error = bi_invert_mod( r, r, n); + printf("Invert mod return:%d\nInvert(r):%s\n", error, bi_2_hex_char( r)); + bi_negate( r); + printf("negate(r):%s\n", bi_2_hex_char( r)); + bi_generate_safe_prime( r, 128); + bi_sub_si( n, r, 1); // n= r - 1 + bi_shift_right( n, n, 1); // n = n / 2 + printf("safe prime(r):%s probable_prime:%d\n", bi_2_hex_char( r), bi_is_probable_prime( r)); + printf("safe prime( (r-1)/2):%s probable_prime:%d\n", bi_2_hex_char( n), bi_is_probable_prime( n)); + test_exp_multi(); + bi_free( r); + bi_free( n); + + bi_set_as_si( result->array[0], 1); + printf("result-> 1<<20:%s\n", bi_2_dec_char( bi_shift_left( result->array[0], result->array[0], 20))); + bi_set_as_si( result->array[1], 1); + printf("result1-> 1<<10:%s\n", bi_2_dec_char( bi_shift_right( result->array[1], result->array[0], 10))); + // copy arrays + bi_array new_result; bi_new_array2( new_result, 4); + bi_new_array2( new_result, 4); + bi_copy_array( result, 0, new_result, 0, 2); + bi_copy_array( result, 0, new_result, 2, 2); + for( i = 0; i<4; i++) { + printf("new_result[%d]-> [even-> 1<<20] [odd-> 1<<10] :%s\n", i, bi_2_dec_char( new_result->array[i])); + } + + bi_free( bi_tmp); + bi_free( bi_tmp1); + bi_free( bi_tmp2); + bi_free( bi_tmp3); + bi_free( bi_tmp4); + bi_free( bi_tmp5); + bi_free( bi_tmp6); + bi_release(); + printf("THE END [%s,%s]\n", __DATE__, __TIME__); + fflush(stdout); + return 0; + +} + diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_debug.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_debug.c new file mode 100644 index 00000000000..d39273bfb03 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_debug.c @@ -0,0 +1,294 @@ + + +/******************************************************************************************** +* KEY PAIR WITH PROOF +********************************************************************************************/ + +int +save_KEY_PAIR_WITH_PROOF(FILE *file, + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof) +{ + save_DAA_PK_internal( file, key_pair_with_proof->pk); + save_DAA_PRIVATE_KEY( file, key_pair_with_proof->private_key); + save_DAA_PK_PROOF_internal( file, key_pair_with_proof->proof); + + return 0; +} + +KEY_PAIR_WITH_PROOF_internal * +load_KEY_PAIR_WITH_PROOF(FILE *file) +{ + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof = + (KEY_PAIR_WITH_PROOF_internal *)malloc(sizeof(KEY_PAIR_WITH_PROOF_internal)); + + key_pair_with_proof->pk = load_DAA_PK_internal(file); + key_pair_with_proof->private_key = load_DAA_PRIVATE_KEY(file); + key_pair_with_proof->proof = load_DAA_PK_PROOF_internal(file); + + return key_pair_with_proof; +} + +int +save_DAA_PK_internal(FILE *file, const TSS_DAA_PK_internal *pk_internal) +{ + char *buffer; + + LogDebug("-> save_DAA_PK_internal"); + + BI_SAVE( pk_internal->modulus, file); + BI_SAVE( pk_internal->capitalS, file); + BI_SAVE( pk_internal->capitalZ, file); + BI_SAVE( pk_internal->capitalR0, file); + BI_SAVE( pk_internal->capitalR1, file); + BI_SAVE( pk_internal->gamma, file); + BI_SAVE( pk_internal->capitalGamma, file); + BI_SAVE( pk_internal->rho, file); + BI_SAVE_ARRAY( pk_internal->capitalRReceiver, file); + BI_SAVE_ARRAY( pk_internal->capitalRIssuer, file); + fprintf( file, "%d\n", pk_internal->issuerBaseNameLength); + buffer = (char *)malloc( pk_internal->issuerBaseNameLength + 1); + memcpy( buffer, pk_internal->issuerBaseName, pk_internal->issuerBaseNameLength); + buffer[ pk_internal->issuerBaseNameLength] = 0; + fprintf( file, "%s\n", buffer); + free( buffer); + + LogDebug("<- save_DAA_PK_internal"); + + return 0; +} + +TSS_DAA_PK_internal * +load_DAA_PK_internal(FILE *file) +{ + TSS_DAA_PK_internal *pk_internal = + (TSS_DAA_PK_internal *)malloc(sizeof(TSS_DAA_PK_internal)); + char *read_buffer; + + pk_internal->modulus = bi_new_ptr(); + BI_LOAD( pk_internal->modulus, file); + pk_internal->capitalS = bi_new_ptr(); + BI_LOAD( pk_internal->capitalS, file); + pk_internal->capitalZ = bi_new_ptr(); + BI_LOAD( pk_internal->capitalZ, file); + pk_internal->capitalR0 = bi_new_ptr(); + BI_LOAD( pk_internal->capitalR0, file); + pk_internal->capitalR1 = bi_new_ptr(); + BI_LOAD( pk_internal->capitalR1, file); + pk_internal->gamma = bi_new_ptr(); + BI_LOAD( pk_internal->gamma, file); + pk_internal->capitalGamma = bi_new_ptr(); + BI_LOAD( pk_internal->capitalGamma, file); + pk_internal->rho = bi_new_ptr(); + BI_LOAD( pk_internal->rho, file); + pk_internal->capitalRReceiver = ALLOC_BI_ARRAY(); + BI_LOAD_ARRAY( pk_internal->capitalRReceiver, file); + pk_internal->capitalRIssuer = ALLOC_BI_ARRAY(); + BI_LOAD_ARRAY( pk_internal->capitalRIssuer, file); + pk_internal->capitalY = ALLOC_BI_ARRAY(); + populate_capitalY( pk_internal); + pk_internal->issuerBaseNameLength = read_int( file); + read_buffer = read_str( file); + pk_internal->issuerBaseName = malloc( pk_internal->issuerBaseNameLength); + memcpy( pk_internal->issuerBaseName, read_buffer, pk_internal->issuerBaseNameLength); + compute_capitalSprime( pk_internal); + return pk_internal; +} + +int +save_DAA_PK_PROOF_internal(FILE *file, TSS_DAA_PK_PROOF_internal *proof) +{ + int i; + +#ifdef DAA_DEBUG + printf("save_DAA_PK_PROOF_internal"); +#endif + fprintf(file, "%d # %s.length\n", proof->length_challenge, "challenge"); + fprintf(file, "%s\n", dump_byte_array( proof->length_challenge, + proof->challenge)); + fprintf(file, "%d # %s.length\n", proof->length_response, "response"); + for (i = 0; i < proof->length_response; i++) { + BI_SAVE_ARRAY( proof->response[i], file); + } + + return 0; +} + +/* load using */ +/* allocation of: */ +/* proof->challenge (BYTE*) */ +/* response (bi_array_ptr) */ +TSS_DAA_PK_PROOF_internal * +load_DAA_PK_PROOF_internal(FILE *file) +{ + TSS_DAA_PK_PROOF_internal *proof = + (TSS_DAA_PK_PROOF_internal *)malloc(sizeof(TSS_DAA_PK_PROOF_internal)); + char *read_buffer; + int i; + +#ifdef DAA_DEBUG + printf("load_DAA_PK_PROOF_internal"); +#endif + proof->length_challenge = read_int( file); + read_buffer = read_str( file); + proof->challenge = retrieve_byte_array( &(proof->length_challenge),read_buffer); + proof->length_response = read_int( file); + proof->response = (bi_array_ptr *)malloc( sizeof(bi_array_ptr) * proof->length_response); + for (i = 0; i < proof->length_response; i++) { + proof->response[i] = ALLOC_BI_ARRAY(); + BI_LOAD_ARRAY( proof->response[i], file); + } + return proof; +} + +TSS_DAA_CRED_ISSUER * +load_TSS_DAA_CRED_ISSUER(FILE *file) +{ + TSS_DAA_CRED_ISSUER *credential = + (TSS_DAA_CRED_ISSUER *)malloc(sizeof(TSS_DAA_CRED_ISSUER)); + char *read_buffer; + int i, len; + + init_tss_version( credential); + credential->capitalALength = read_int( file); + read_buffer = read_str( file); + credential->capitalA = retrieve_byte_array( &(credential->capitalALength), + read_buffer); + credential->eLength = read_int( file); + read_buffer = read_str( file); + credential->e = retrieve_byte_array( &(credential->eLength),read_buffer); + credential->vPrimePrimeLength = read_int( file); + read_buffer = read_str( file); + credential->vPrimePrime = retrieve_byte_array(&(credential->vPrimePrimeLength), + read_buffer); + // attributes issuer + credential->attributesIssuerLength = read_int( file); + credential->attributesIssuer = malloc(credential->attributesIssuerLength*sizeof(BYTE*)); + for( i=0; i < (int)credential->attributesIssuerLength; i++) { + credential->attributesIssuer[i] = retrieve_byte_array( &len, read_buffer); + } + credential->cPrimeLength = read_int( file); + read_buffer = read_str( file); + credential->cPrime = retrieve_byte_array( &(credential->cPrimeLength),read_buffer); + credential->sELength = read_int( file); + read_buffer = read_str( file); + credential->sE = retrieve_byte_array( &(credential->sELength),read_buffer); + return credential; +} + +int +save_TSS_DAA_CRED_ISSUER(FILE *file, TSS_DAA_CRED_ISSUER *credential) +{ + int i; + + fprintf(file, "%d # %s.length\n", credential->capitalALength, "capitalA"); + fprintf(file, "%s\n", dump_byte_array( credential->capitalALength, + credential->capitalA)); + fprintf(file, "%d # %s.length\n", credential->eLength, "e"); + fprintf(file, "%s\n", dump_byte_array( credential->eLength, + credential->e)); + fprintf(file, "%d # %s.length\n", credential->vPrimePrimeLength, "vPrimePrime"); + fprintf(file, "%s\n", dump_byte_array( credential->vPrimePrimeLength, + credential->vPrimePrime)); + fprintf(file, "%d # %s\n", credential->attributesIssuerLength, "attributesIssuerLength"); + for( i=0; i < (int)credential->attributesIssuerLength; i++) { + fprintf(file, "%s\n", dump_byte_array( DAA_PARAM_SIZE_F_I / 8, + credential->attributesIssuer[i])); + + } + fprintf(file, "%d # %s.length\n", credential->cPrimeLength, "cPrime"); + fprintf(file, "%s\n", dump_byte_array( credential->cPrimeLength, + credential->cPrime)); + fprintf(file, "%d # %s.length\n", credential->sELength, "sE"); + fprintf(file, "%s\n", dump_byte_array( credential->sELength, + credential->sE)); + return 0; +} + +TSS_DAA_CREDENTIAL * +load_TSS_DAA_CREDENTIAL(FILE *file) +{ + TSS_DAA_CREDENTIAL *credential = + (TSS_DAA_CREDENTIAL *)malloc(sizeof(TSS_DAA_CREDENTIAL)); + char *read_buffer; + int i, len; + TSS_DAA_PK_internal *pk_internal; + TSS_DAA_PK *pk; + + init_tss_version( credential); + credential->capitalALength = read_int( file); + read_buffer = read_str( file); + credential->capitalA = retrieve_byte_array( &(credential->capitalALength), + read_buffer); + credential->exponentLength = read_int( file); + read_buffer = read_str( file); + credential->exponent = retrieve_byte_array( &(credential->exponentLength), + read_buffer); + credential->vBar0Length = read_int( file); + read_buffer = read_str( file); + credential->vBar0 = retrieve_byte_array(&(credential->vBar0Length), + read_buffer); + credential->vBar1Length = read_int( file); + read_buffer = read_str( file); + credential->vBar1 = retrieve_byte_array(&(credential->vBar1Length), + read_buffer); + // attributes issuer + credential->attributesLength = read_int( file); + printf("attributesLength=%d\n", credential->attributesLength); + credential->attributes = malloc(credential->attributesLength * sizeof( BYTE *)); + for( i=0; i < (int)credential->attributesLength; i++) { + read_buffer = read_str( file); + credential->attributes[i] = retrieve_byte_array( &len, read_buffer); + if( len != DAA_PARAM_SIZE_F_I / 8) { + LogError("Error when parsing attributes"); + LogError("\tattribute length:%d", len); + LogError("\texpected length:%d", DAA_PARAM_SIZE_F_I / 8); + return NULL; + } + } + pk_internal = load_DAA_PK_internal( file); + pk = i_2_e_TSS_DAA_PK( pk_internal, &normal_malloc, (TSS_HOBJECT)NULL); + memcpy( &(credential->issuerPK), pk, sizeof(TSS_DAA_PK)); + free( pk); + free_TSS_DAA_PK_internal( pk_internal); + credential->tpmSpecificEncLength = read_int( file); + read_buffer = read_str( file); + credential->tpmSpecificEnc = retrieve_byte_array( &(credential->tpmSpecificEncLength), + read_buffer); + credential->daaCounter = read_int( file); + return credential; +} + +int +save_TSS_DAA_CREDENTIAL(FILE *file, + TSS_DAA_CREDENTIAL *credential) +{ + int i; + TSS_DAA_PK_internal *pk_internal; + + fprintf(file, "%d # %s.length\n", credential->capitalALength, "capitalA"); + fprintf(file, "%s\n", dump_byte_array( credential->capitalALength, + credential->capitalA)); + fprintf(file, "%d # %s.length\n", credential->exponentLength, "exponent"); + fprintf(file, "%s\n", dump_byte_array( credential->exponentLength, + credential->exponent)); + fprintf(file, "%d # %s.length\n", credential->vBar0Length, "vBar0"); + fprintf(file, "%s\n", dump_byte_array( credential->vBar0Length, + credential->vBar0)); + fprintf(file, "%d # %s.length\n", credential->vBar1Length, "vBar1"); + fprintf(file, "%s\n", dump_byte_array( credential->vBar1Length, + credential->vBar1)); + fprintf(file, "%d # %s\n", credential->attributesLength, "attributesLength"); + for( i=0; i < (int)credential->attributesLength; i++) { + fprintf(file, "%s\n", dump_byte_array( DAA_PARAM_SIZE_F_I / 8, + credential->attributes[i])); + } + pk_internal = e_2_i_TSS_DAA_PK( &(credential->issuerPK) ); + save_DAA_PK_internal( file, pk_internal); + free_TSS_DAA_PK_internal( pk_internal); + fprintf(file, "%d # %s.length\n", credential->tpmSpecificEncLength, "tpmSpecificEnc"); + fprintf(file, "%s\n", dump_byte_array( credential->tpmSpecificEncLength, + credential->tpmSpecificEnc)); + fprintf(file, "%d # daaCounter\n", credential->daaCounter); + return 0; +} + diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_debug.h b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_debug.h new file mode 100644 index 00000000000..368dd3d0941 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_debug.h @@ -0,0 +1,66 @@ + +/******************************************************************************************** + * KEY PAIR WITH PROOF + ********************************************************************************************/ + +typedef struct tdKEY_PAIR_WITH_PROOF_internal { + TSS_DAA_PK_internal *pk; + DAA_PRIVATE_KEY_internal *private_key; + TSS_DAA_PK_PROOF_internal *proof; +} KEY_PAIR_WITH_PROOF_internal; + +int save_KEY_PAIR_WITH_PROOF( + FILE *file, + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof +); + +KEY_PAIR_WITH_PROOF_internal *load_KEY_PAIR_WITH_PROOF( + FILE *file +); + +TSS_DAA_KEY_PAIR *get_TSS_DAA_KEY_PAIR( + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof, + void * (*daa_alloc)(size_t size, TSS_HOBJECT object), + TSS_HOBJECT param_alloc +); + + +int save_DAA_PK_internal( + FILE *file, + const TSS_DAA_PK_internal *pk_internal +); + +TSS_DAA_PK_internal *load_DAA_PK_internal( + FILE *file +); + +int save_DAA_PRIVATE_KEY( + FILE *file, + const DAA_PRIVATE_KEY_internal *private_key +); + +DAA_PRIVATE_KEY_internal *load_DAA_PRIVATE_KEY( + FILE *file +); + +int save_DAA_PK_PROOF_internal( + FILE *file, + TSS_DAA_PK_PROOF_internal *pk_internal +); + +TSS_DAA_PK_PROOF_internal *load_DAA_PK_PROOF_internal( + FILE *file +); + +TSS_DAA_CRED_ISSUER *load_TSS_DAA_CRED_ISSUER( FILE *file); + +int save_TSS_DAA_CRED_ISSUER( FILE *file, TSS_DAA_CRED_ISSUER *credential); + +TSS_DAA_CREDENTIAL *load_TSS_DAA_CREDENTIAL( FILE *file); + +int save_TSS_DAA_CREDENTIAL( + FILE *file, + TSS_DAA_CREDENTIAL *credential +); + + diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issue_credential.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issue_credential.c index 0602dcb5b54..4d07b08327d 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issue_credential.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issue_credential.c @@ -46,7 +46,7 @@ void compute_prime( bi_ptr e, int length, int interval) { */ TSS_RESULT verify_authentificity(TSS_DAA_CREDENTIAL_REQUEST *credentialRequest, TSS_DAA_JOIN_ISSUER_SESSION *joinSession) { - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; BYTE *modulus_N0_bytes; BYTE *digest_n0; BYTE *contextHash; @@ -82,21 +82,22 @@ TSS_RESULT verify_authentificity(TSS_DAA_CREDENTIAL_REQUEST *credentialRequest, TPM_DAA_SIZE_issuerModulus*8, DAA_PARAM_KEY_SIZE); return TSS_E_INTERNAL_ERROR; } - EVP_DigestInit(&mdctx, DAA_PARAM_get_message_digest()); + mdctx = EVP_MD_CTX_create(); + EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); // digestN0 = hash( modulus_N0) see Appendix B of spec. and TPM join stage 7 and 8 - EVP_DigestUpdate(&mdctx, modulus_N0_bytes, TPM_DAA_SIZE_issuerModulus); - digest_n0Length = EVP_MD_CTX_size(&mdctx); + EVP_DigestUpdate(mdctx, modulus_N0_bytes, TPM_DAA_SIZE_issuerModulus); + digest_n0Length = EVP_MD_CTX_size(mdctx); digest_n0 = (BYTE *)malloc( digest_n0Length); if (digest_n0 == NULL) { LogError("malloc of %d bytes failed", digest_n0Length); result = TSPERR(TSS_E_OUTOFMEMORY); goto close; } - EVP_DigestFinal(&mdctx, digest_n0, NULL); + EVP_DigestFinal(mdctx, digest_n0, NULL); // test if credentialRequest->authenticationProof = // H( H( U, daaCount, H(n0), joinSession->nonceEncrypted)) - EVP_DigestInit(&mdctx, DAA_PARAM_get_message_digest()); + EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); // enlarge capitalU to 256 (TPM_DAA_SIZE_issuerModulus) // allocation capitalUPrime = bi_set_as_nbin( joinSession->capitalUprimeLength, joinSession->capitalUprime); @@ -107,36 +108,36 @@ TSS_RESULT verify_authentificity(TSS_DAA_CREDENTIAL_REQUEST *credentialRequest, goto close; } bi_2_byte_array( capitalUPrime_bytes, TPM_DAA_SIZE_issuerModulus, capitalUPrime); - EVP_DigestUpdate(&mdctx, capitalUPrime_bytes, TPM_DAA_SIZE_issuerModulus); + EVP_DigestUpdate(mdctx, capitalUPrime_bytes, TPM_DAA_SIZE_issuerModulus); bi_free_ptr( capitalUPrime); daaCount = htonl( joinSession->daaCounter); - EVP_DigestUpdate(&mdctx, &daaCount, sizeof(UINT32)); - EVP_DigestUpdate(&mdctx, digest_n0, digest_n0Length); - contextHashLength = EVP_MD_CTX_size(&mdctx); + EVP_DigestUpdate(mdctx, &daaCount, sizeof(UINT32)); + EVP_DigestUpdate(mdctx, digest_n0, digest_n0Length); + contextHashLength = EVP_MD_CTX_size(mdctx); contextHash = (BYTE *)malloc( contextHashLength); if (contextHash == NULL) { LogError("malloc of %d bytes failed", contextHashLength); result = TSPERR(TSS_E_OUTOFMEMORY); goto close; } - EVP_DigestFinal(&mdctx, contextHash, NULL); - EVP_DigestInit(&mdctx, DAA_PARAM_get_message_digest()); + EVP_DigestFinal(mdctx, contextHash, NULL); + EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); LogDebug("PK(0).n=%s", dump_byte_array( TPM_DAA_SIZE_issuerModulus, modulus_N0_bytes)); LogDebug("digestN0h=%s", dump_byte_array( digest_n0Length, digest_n0)); LogDebug("UPrime=%s", dump_byte_array( TPM_DAA_SIZE_issuerModulus, capitalUPrime_bytes)); LogDebug("daaCount=%4x", daaCount); LogDebug("contextHash[%d]=%s", contextHashLength, dump_byte_array( contextHashLength, contextHash)); - EVP_DigestUpdate(&mdctx, contextHash, contextHashLength); - EVP_DigestUpdate(&mdctx, joinSession->nonceEncrypted, joinSession->nonceEncryptedLength); - hashLength = EVP_MD_CTX_size(&mdctx); + EVP_DigestUpdate(mdctx, contextHash, contextHashLength); + EVP_DigestUpdate(mdctx, joinSession->nonceEncrypted, joinSession->nonceEncryptedLength); + hashLength = EVP_MD_CTX_size(mdctx); hash = (BYTE *)malloc( hashLength); if (hash == NULL) { LogError("malloc of %d bytes failed", hashLength); result = TSPERR(TSS_E_OUTOFMEMORY); goto close; } - EVP_DigestFinal(&mdctx, hash, NULL); + EVP_DigestFinal(mdctx, hash, NULL); if( credentialRequest->authenticationProofLength != hashLength || memcmp( credentialRequest->authenticationProof, hash, hashLength) != 0) { LogError("Verification of authenticationProof failed - Step 2.b"); @@ -153,6 +154,7 @@ TSS_RESULT verify_authentificity(TSS_DAA_CREDENTIAL_REQUEST *credentialRequest, LogDebug("verify_authenticity Done:%s", dump_byte_array( hashLength, hash)); close: + EVP_MD_CTX_destroy(mdctx); free( contextHash); free( digest_n0); free( capitalUPrime_bytes); @@ -169,7 +171,7 @@ compute_join_challenge_issuer( TSS_DAA_PK_internal *pk_intern, BYTE *nonceReceiver, UINT32 *c_primeLength, BYTE **c_prime) { // out allocation - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; BYTE *encoded_pk; BYTE *byte_array; UINT32 encoded_pkLength; @@ -179,12 +181,13 @@ compute_join_challenge_issuer( TSS_DAA_PK_internal *pk_intern, LogError("malloc of %d bytes failed", DAA_PARAM_SIZE_RND_VALUE_CERTIFICATE / 8); return TSPERR(TSS_E_OUTOFMEMORY); } - EVP_DigestInit(&mdctx, DAA_PARAM_get_message_digest()); + mdctx = EVP_MD_CTX_create(); + EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); encoded_pk = encoded_DAA_PK_internal( &encoded_pkLength, pk_intern); - EVP_DigestUpdate(&mdctx, encoded_pk, encoded_pkLength); + EVP_DigestUpdate(mdctx, encoded_pk, encoded_pkLength); LogDebug( "issuerPk: %s", dump_byte_array( encoded_pkLength, encoded_pk)); bi_2_byte_array( byte_array, DAA_PARAM_SIZE_RND_VALUE_CERTIFICATE / 8, v_prime_prime); - EVP_DigestUpdate(&mdctx, byte_array, DAA_PARAM_SIZE_RND_VALUE_CERTIFICATE / 8); + EVP_DigestUpdate(mdctx, byte_array, DAA_PARAM_SIZE_RND_VALUE_CERTIFICATE / 8); LogDebug( "vPrimePrime: %s", dump_byte_array( DAA_PARAM_SIZE_RND_VALUE_CERTIFICATE / 8, byte_array)); free( byte_array); @@ -195,16 +198,16 @@ compute_join_challenge_issuer( TSS_DAA_PK_internal *pk_intern, return TSPERR(TSS_E_OUTOFMEMORY); } bi_2_byte_array( byte_array, DAA_PARAM_SIZE_RSA_MODULUS / 8, capitalA); - EVP_DigestUpdate(&mdctx, byte_array, DAA_PARAM_SIZE_RSA_MODULUS / 8); + EVP_DigestUpdate(mdctx, byte_array, DAA_PARAM_SIZE_RSA_MODULUS / 8); LogDebug( "capitalA: %s", dump_byte_array( DAA_PARAM_SIZE_RSA_MODULUS / 8, byte_array)); bi_2_byte_array( byte_array, DAA_PARAM_SIZE_RSA_MODULUS / 8, capital_Atilde); - EVP_DigestUpdate(&mdctx, byte_array, DAA_PARAM_SIZE_RSA_MODULUS / 8); + EVP_DigestUpdate(mdctx, byte_array, DAA_PARAM_SIZE_RSA_MODULUS / 8); LogDebug( "capital_Atilde: %s", dump_byte_array( DAA_PARAM_SIZE_RSA_MODULUS / 8, byte_array)); - EVP_DigestUpdate(&mdctx, nonceReceiver, nonceReceiverLength); + EVP_DigestUpdate(mdctx, nonceReceiver, nonceReceiverLength); LogDebug( "nonceReceiver: %s", dump_byte_array( nonceReceiverLength, nonceReceiver)); - *c_primeLength = EVP_MD_CTX_size(&mdctx); + *c_primeLength = EVP_MD_CTX_size(mdctx); *c_prime = (BYTE *)malloc( *c_primeLength); if (*c_prime == NULL) { LogError("malloc of %d bytes failed", *c_primeLength); @@ -212,7 +215,8 @@ compute_join_challenge_issuer( TSS_DAA_PK_internal *pk_intern, return TSPERR(TSS_E_OUTOFMEMORY); } LogDebug( "c_prime: %s", dump_byte_array( *c_primeLength, *c_prime)); - EVP_DigestFinal(&mdctx, *c_prime, NULL); + EVP_DigestFinal(mdctx, *c_prime, NULL); + EVP_MD_CTX_destroy(mdctx); free( byte_array); return TSS_SUCCESS; } @@ -306,7 +310,7 @@ TSPICALL Tspi_DAA_IssueCredential_internal TSS_DAA_PK_internal *pk_intern; TSS_DAA_PRIVATE_KEY *private_key; UINT32 i, chLength, challengeLength, length, interval; - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; BYTE *ch = NULL, *challenge = NULL; tmp1 = bi_new_ptr(); @@ -515,17 +519,18 @@ TSPICALL Tspi_DAA_IssueCredential_internal &ch); // out allocation if( result != TSS_SUCCESS) goto close; LogDebug("JoinChallengeHost: %s", dump_byte_array( chLength, ch)); - EVP_DigestInit(&mdctx, DAA_PARAM_get_message_digest()); - EVP_DigestUpdate(&mdctx, ch, chLength); - challengeLength = EVP_MD_CTX_size( &mdctx); + mdctx = EVP_MD_CTX_create(); + EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); + EVP_DigestUpdate(mdctx, ch, chLength); + challengeLength = EVP_MD_CTX_size(mdctx); challenge = (BYTE *)malloc( challengeLength); if( challenge == NULL) { LogError("malloc of %d bytes failed", challengeLength); result = TSPERR(TSS_E_OUTOFMEMORY); goto close; } - EVP_DigestUpdate(&mdctx, credentialRequest.nonceTpm, credentialRequest.nonceTpmLength); - EVP_DigestFinal(&mdctx, challenge, NULL); + EVP_DigestUpdate(mdctx, credentialRequest.nonceTpm, credentialRequest.nonceTpmLength); + EVP_DigestFinal(mdctx, challenge, NULL); // checks if( credentialRequest.challengeLength != challengeLength || memcmp( credentialRequest.challenge, challenge, challengeLength)!=0) { @@ -751,6 +756,7 @@ TSPICALL Tspi_DAA_IssueCredential_internal bi_2_nbin1( &(credIssuer->sELength), credIssuer->sE, s_e); close: + EVP_MD_CTX_destroy(mdctx); //free_TSS_DAA_PK( daa_pk_extern); if( ch != NULL) free( ch); if( challenge != NULL) free( challenge); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issuer_setup.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issuer_setup.c new file mode 100644 index 00000000000..44e36795f30 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/issuer_setup.c @@ -0,0 +1,166 @@ +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#include +#include +#include +#include + +#include "trousers/tss.h" +#include "spi_internal_types.h" +#include "spi_utils.h" +#include "obj.h" +// #include "tcslog.h" +#include "bi.h" +#include "daa_parameter.h" +#include "issuer.h" + +static char *DEFAULT_FILENAME = "issuer.txt"; +static char *DEFAULT_ISSUER = "IBM-Issuer"; + +static const int DEFAULT_ISSUER_ATTRIBUTES = 2; // A1 A2 +static const int DEFAULT_RECEIVER_ATTRIBUTES = 3; // A3 A4 A5 + +int print_usage(char *cmd) { + fprintf(stderr, "usage: %s\n", cmd); + fprintf(stderr, " \t-npa,\t--nb_platform_attr\tnumber of attributes that the\ + Platform can choose and which will not be visible to the Issuer (default: %d)\n", + DEFAULT_ISSUER_ATTRIBUTES); + fprintf(stderr, " \t-nia,\t--nb_issuer_attr\tnumber of attributes that the issuer\ + can choose and which will be visible to both the Platform and the Issuer(default: %d)\n", + DEFAULT_RECEIVER_ATTRIBUTES); + fprintf(stderr, " \t-if,\t--issuer_file\tthe file that will contain all key pair\ + and proof to be used by the issuer (default: %s)\n", + DEFAULT_FILENAME); + fprintf(stderr, " \t-i,\t--issuer\tissuer identity (default: %s)\n", + DEFAULT_ISSUER); + return -1; +} + +int main(int argc, char *argv[]) { + int nb_platform_attr = DEFAULT_ISSUER_ATTRIBUTES; + int nb_issuer_attr = DEFAULT_RECEIVER_ATTRIBUTES; + char *filename = DEFAULT_FILENAME; + char *issuer = DEFAULT_ISSUER; + int i; + char *param; + TSS_HCONTEXT hContext; + TSS_DAA_KEY_PAIR *key_pair; + TSS_DAA_PK_PROOF *public_keyproof; + TSS_RESULT result; + TSS_HDAA hDAA; + TSS_DAA_PK_PROOF_internal *public_keyproof_internal; + TSS_DAA_PK_internal *pk; + TSS_DAA_PRIVATE_KEY *private_key; + DAA_PRIVATE_KEY_internal *private_key_internal; + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof; + + printf("Issuer Setup (%s:%s,%s)\n", argv[0], __DATE__, __TIME__); + i = 1; + while( i < argc) { + param = argv[ i]; + if ( strcmp( param, "-if") == 0 || strcmp( param, "--issuer_file")) { + i++; + if( i == argc) return print_usage( argv[0]); + filename = argv[i]; + } else if( strcmp( param, "-npa") == 0 || strcmp( param, "--nb_platform_attr")) { + i++; + if( i == argc) return print_usage( argv[0]); + nb_platform_attr = atoi( argv[i]); + } else if( strcmp( param, "-nia") == 0 || strcmp( param, "--nb_issuer_attr")) { + i++; + if( i == argc) return print_usage( argv[0]); + nb_issuer_attr = atoi(argv[i]); + } else if( strcmp( param, "-i") == 0 || strcmp( param, "--issuer")) { + i++; + if( i == argc) return print_usage( argv[0]); + issuer = argv[i]; + } else { + fprintf(stderr, "%s:unrecognized option `%s'\n", argv[0], param); + return print_usage( argv[0]); + } + i++; + } + bi_init( NULL); + // Create Context + printf("Create Context\n"); + result = Tspi_Context_Create( &hContext ); + if ( result != TSS_SUCCESS ) + { + fprintf( stderr, "Tspi_Context_Create %d\n", result ); + exit( result ); + } + + // Connect to Context + printf("Connect to the context\n"); + result = Tspi_Context_Connect( hContext, NULL ); + if ( result != TSS_SUCCESS ) + { + fprintf( stderr, "Tspi_Context_Connect error:%d\n", result ); + Tspi_Context_FreeMemory( hContext, NULL ); + Tspi_Context_Close( hContext ); + exit( result ); + } + //Create Object + result = obj_daa_add( hContext, &hDAA); + if (result != TSS_SUCCESS) { + goto close; + } + result = Tspi_DAA_IssueSetup( + hDAA, // in + strlen( issuer), // in + (BYTE *)issuer, // in + nb_platform_attr, // in + nb_issuer_attr, // in + (TSS_HKEY *)&key_pair, // out + &public_keyproof); // out + if( result != TSS_SUCCESS) goto close; + + // TSS_DAA_KEY_PAIR_internal *key_pair_internal = DAA_KEY_PAIR_2_internal( key_pair); + public_keyproof_internal = e_2_i_TSS_DAA_PK_PROOF( public_keyproof); + pk = e_2_i_TSS_DAA_PK( key_pair->public_key); + private_key = key_pair->private_key; + private_key_internal = e_2_i_TSS_DAA_PRIVATE_KEY( private_key); + key_pair_with_proof = + (KEY_PAIR_WITH_PROOF_internal *)malloc( sizeof(KEY_PAIR_WITH_PROOF_internal)); + if( key_pair_with_proof == NULL) { + fprintf("malloc of %d bytes failed", sizeof(KEY_PAIR_WITH_PROOF_internal)); + goto close; + } + key_pair_with_proof->pk = pk; + key_pair_with_proof->private_key = private_key_internal; + key_pair_with_proof->proof = public_keyproof_internal; + + printf("Saving key pair with proof -> \'%s\'", filename); + FILE *file = fopen( filename, "w"); + if( file == NULL) { + fprintf( stderr, "%s: Error when saving \'%s\': %s\n", + argv[0], + filename, + strerror( errno)); + return -1; + } + if( save_KEY_PAIR_WITH_PROOF( file, key_pair_with_proof) != 0) { + fprintf( stderr, "%s: Error when saving \'%s\': %s\n", + argv[0], + filename, + strerror( errno)); + return -1; + } + fclose( file); + printf("\nDone.\n"); +close: + obj_daa_remove( hDAA, hContext); + printf("Closing the context\n"); + Tspi_Context_FreeMemory( hContext, NULL ); + Tspi_Context_Close( hContext ); + bi_release(); + printf("Result: %d", result); + return result; +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/key_correctness_proof.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/key_correctness_proof.c index 505e760800f..d82f2d1a590 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/key_correctness_proof.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/key_correctness_proof.c @@ -87,7 +87,7 @@ generateMessageDigest(BYTE *md_value, bi_array_ptr *commitments, const int commitments_size ) { - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; const EVP_MD *md; int i, j; int length = DAA_PARAM_SIZE_RSA_MODULUS / 8; @@ -101,52 +101,52 @@ generateMessageDigest(BYTE *md_value, } OpenSSL_add_all_digests(); md = EVP_get_digestbyname( DAA_PARAM_MESSAGE_DIGEST_ALGORITHM); - EVP_MD_CTX_init(&mdctx); - EVP_DigestInit_ex(&mdctx, md, NULL); + EVP_MD_CTX_create(mdctx); + EVP_DigestInit_ex(mdctx, md, NULL); #ifdef DAA_DEBUG fprintf(stderr, "modulus=%s\n", bi_2_hex_char( pk->modulus)); #endif toByteArray( array, length, pk->modulus, "!! [generateMessageDigest modulus] current_size=%d length=%d\n"); - EVP_DigestUpdate(&mdctx, array , length); + EVP_DigestUpdate(mdctx, array , length); toByteArray( array, length, pk->capitalS, "!! [generateMessageDigest capitalS] current_size=%d length=%d\n"); - EVP_DigestUpdate(&mdctx, array , length); + EVP_DigestUpdate(mdctx, array , length); // add capitalZ, capitalR0, capitalR1, capitalY LogDebug("capitalZ capitalR0 capitalY"); toByteArray( array, length, pk->capitalZ, "!! [generateMessageDigest capitalZ] current_size=%d length=%d\n"); - EVP_DigestUpdate(&mdctx, array , length); + EVP_DigestUpdate(mdctx, array , length); toByteArray( array, length, pk->capitalR0, "!! [generateMessageDigest capitalR0] current_size=%d length=%d\n"); - EVP_DigestUpdate(&mdctx, array , length); + EVP_DigestUpdate(mdctx, array , length); toByteArray( array, length, pk->capitalR1, "!! [generateMessageDigest capitalR1] current_size=%d length=%d\n"); - EVP_DigestUpdate(&mdctx, array , length); + EVP_DigestUpdate(mdctx, array , length); // CAPITAL Y ( capitalRReceiver ) LogDebug("capitalRReceiver"); for( i=0; icapitalRReceiver->length; i++) { toByteArray( array, length, pk->capitalRReceiver->array[i], "!![generateMessageDigest capitalRReceiver] current_size=%d length=%d\n"); - EVP_DigestUpdate(&mdctx, array , length); + EVP_DigestUpdate(mdctx, array , length); } LogDebug("capitalRIssuer"); // CAPITAL Y ( capitalRIssuer) for( i=0; icapitalRIssuer->length; i++) { toByteArray( array, length, pk->capitalRIssuer->array[i], "!![generateMessageDigest capitalRReceiver] current_size=%d length=%d\n"); - EVP_DigestUpdate(&mdctx, array , length); + EVP_DigestUpdate(mdctx, array , length); } LogDebug("commitments"); for( i=0; ilength; j++) { toByteArray( array, length, commitments[i]->array[j], "!! [generateMessageDigest commitments] current_size=%d length=%d\n"); - EVP_DigestUpdate(&mdctx, array , length); + EVP_DigestUpdate(mdctx, array , length); } } - EVP_DigestFinal_ex(&mdctx, md_value, md_len); - EVP_MD_CTX_cleanup(&mdctx); + EVP_DigestFinal_ex(mdctx, md_value, md_len); + EVP_MD_CTX_destroy(mdctx); free( array); return TSS_SUCCESS; } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/key_verification.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/key_verification.c new file mode 100644 index 00000000000..d7584f0f480 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/key_verification.c @@ -0,0 +1,147 @@ +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#include +#include +#include +#include + +#include +#include "spi_internal_types.h" +#include "spi_utils.h" +#include "obj.h" +#include "issuer.h" + +static char *DEFAULT_FILENAME = "issuer.txt"; + +//static TSS_HCONTEXT _hContext; + +static void *intern_alloc( size_t size, TSS_HOBJECT param_alloc) { + // void *ret = calloc_tspi( , size); + void *ret = malloc( size); + LogDebug("[intern_alloc (%d)] -> %d", (int)size, (int)ret); + return ret; +} + +void isCorrect( TSS_HDAA hDAA, + TSS_DAA_PK_internal *pk_internal, + TSS_DAA_PK_PROOF_internal *proof_internal) +{ + TSS_BOOL isCorrect; + TSS_RESULT result; + TSS_DAA_PK *pk; + TSS_DAA_PK_PROOF *pk_proof; + + pk = i_2_e_TSS_DAA_PK( pk_internal, &intern_alloc, (TSS_HOBJECT)NULL); + pk_proof = i_2_e_TSS_DAA_PK_PROOF( proof_internal, + &intern_alloc, + (TSS_HOBJECT)NULL); + result = Tspi_DAA_IssuerKeyVerification( hDAA, + (TSS_HKEY)pk, + pk_proof, + &isCorrect); + if ( result != TSS_SUCCESS ) { + fprintf( stderr, "Tspi_DAA_IssuerKeyVerification error: %d\n", result ); + } + free_TSS_DAA_PK( pk); + printf("isCorrect=%d\n", isCorrect); +} + +int print_usage(char *cmd) { + fprintf(stderr, "usage: %s\n", cmd); + fprintf(stderr, "\t-if,\t--issuer_file\tthe file that will contain\ + all key pair and proof to be used by the issuer (default: %s)\n", DEFAULT_FILENAME); + return -1; +} + +int main(int argc, char *argv[]) { + char *filename = DEFAULT_FILENAME; + int i=1; + char *param; + TSS_RESULT result; + TSS_HCONTEXT hContext; + TSS_HDAA hDAA; + FILE *file; + +// foreground = 1; // for debug + printf("Key Verification (%s:%s,%s)\n", argv[0], __DATE__, __TIME__); + while( i < argc) { + param = argv[ i]; + if( strcmp( param, "-if") == 0 || strcmp( param, "--issuer_file")) { + i++; + if( i == argc) return print_usage( argv[0]); + filename = argv[i]; + } else { + fprintf(stderr, "%s:unrecognized option `%s'\n", argv[0], param); + return print_usage( argv[0]); + } + i++; + } + bi_init( NULL); + printf("Loading issuer info (keypair & proof) -> \'%s\'", filename); + file = fopen( filename, "r"); + if( file == NULL) { + fprintf( stderr, + "%s: Error when opening \'%s\': %s\n", + argv[0], + filename, + strerror( errno)); + return -1; + } + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof = load_KEY_PAIR_WITH_PROOF( file); + if( key_pair_with_proof == NULL) { + fprintf( stderr, + "%s: Error when reading \'%s\': %s\n", + argv[0], + filename, + strerror( errno)); + return -1; + } + fclose( file); + + // Create Context + printf("\nCreate Context\n"); + result = Tspi_Context_Create( &hContext ); + if ( result != TSS_SUCCESS ) + { + fprintf( stderr, "Tspi_Context_Create %d\n", result ); + exit( result ); + } + + // Connect to Context + printf("\nConnect to the context\n"); + result = Tspi_Context_Connect( hContext, NULL ); + if ( result != TSS_SUCCESS ) + { + fprintf( stderr, "Tspi_Context_Connect error:%d\n", result ); + Tspi_Context_FreeMemory( hContext, NULL ); + Tspi_Context_Close( hContext ); + exit( result ); + } + + //TODO save key in the persistent store + // result = ps_write_key( fd, ) + + //Create Object + result = obj_daa_add( hContext, &hDAA); + if (result != TSS_SUCCESS) { + LogError("Tspi_Context_CreateObject:%d", result); + Tspi_Context_Close(hContext); + LogError("issuer_setup: %s", err_string(result)); + exit(result); + } + + // TSS_HDAA, TSS_HKEY, TSS_DAA_PK_PROOF, TSS_BOOL* + isCorrect( hDAA, key_pair_with_proof->pk, key_pair_with_proof->proof); + obj_daa_remove( hDAA, hContext); + printf("\nClosing the context\n"); + Tspi_Context_FreeMemory( hContext, NULL ); + Tspi_Context_Close( hContext ); + exit( 0 ); +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/platform.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/platform.c index 80180ca85f7..f550d4954c6 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/platform.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/platform.c @@ -788,7 +788,7 @@ compute_join_challenge_host(TSS_HDAA hDAA, BYTE* nonceIssuer, UINT32 *resultLength, BYTE **result) { - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; BYTE *encoded_pk = NULL, *buffer; UINT32 encoded_pkLength; int rv, length; @@ -798,15 +798,16 @@ compute_join_challenge_host(TSS_HDAA hDAA, LogError("malloc of %d bytes failed", 10000); return TSPERR(TSS_E_OUTOFMEMORY); } - // EVP_MD_CTX_init(&mdctx); - rv = EVP_DigestInit(&mdctx, DAA_PARAM_get_message_digest()); + + mdctx = EVP_MD_CTX_create(); + rv = EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); if (rv != EVP_SUCCESS) goto err; // allocation encoded_pk = encoded_DAA_PK_internal( &encoded_pkLength, pk_internal); LogDebug("encoded issuerPk[%d]: %s", encoded_pkLength, dump_byte_array( encoded_pkLength, encoded_pk)); - rv = EVP_DigestUpdate(&mdctx, encoded_pk, encoded_pkLength); + rv = EVP_DigestUpdate(mdctx, encoded_pk, encoded_pkLength); if (rv != EVP_SUCCESS) goto err; // capitalU length = DAA_PARAM_SIZE_RSA_MODULUS / 8; @@ -814,28 +815,28 @@ compute_join_challenge_host(TSS_HDAA hDAA, LogDebug("capitalU[%ld]: %s", bi_nbin_size(capitalU) , dump_byte_array( length, buffer)); - rv = EVP_DigestUpdate(&mdctx, buffer, length); + rv = EVP_DigestUpdate(mdctx, buffer, length); if (rv != EVP_SUCCESS) goto err; // capital UPrime bi_2_byte_array( buffer, length, capital_Uprime); LogDebug("capitalUPrime[%d]: %s", length, dump_byte_array( length, buffer)); - rv = EVP_DigestUpdate(&mdctx, buffer, length); + rv = EVP_DigestUpdate(mdctx, buffer, length); if (rv != EVP_SUCCESS) goto err; // capital Utilde bi_2_byte_array( buffer, length, capital_utilde); LogDebug("capitalUTilde[%d]: %s", length, dump_byte_array( length, buffer)); - rv = EVP_DigestUpdate(&mdctx, buffer, length); + rv = EVP_DigestUpdate(mdctx, buffer, length); if (rv != EVP_SUCCESS) goto err; // capital UtildePrime bi_2_byte_array( buffer, length, capital_utilde_prime); LogDebug("capital_utilde_prime[%d]: %s", length, dump_byte_array( length, buffer)); - rv = EVP_DigestUpdate(&mdctx, buffer, length); + rv = EVP_DigestUpdate(mdctx, buffer, length); if (rv != EVP_SUCCESS) goto err; //capital_ni length = DAA_PARAM_SIZE_MODULUS_GAMMA / 8; @@ -843,22 +844,22 @@ compute_join_challenge_host(TSS_HDAA hDAA, LogDebug("capital_ni[%d]: %s", length, dump_byte_array( length, buffer)); - rv = EVP_DigestUpdate(&mdctx, buffer, length); + rv = EVP_DigestUpdate(mdctx, buffer, length); if (rv != EVP_SUCCESS) goto err; //capital_ni_tilde bi_2_byte_array( buffer, length, capital_ni_tilde); LogDebug("capital_ni_tilde[%d]: %s", length, dump_byte_array( length, buffer)); - rv = EVP_DigestUpdate(&mdctx, buffer, length); + rv = EVP_DigestUpdate(mdctx, buffer, length); if (rv != EVP_SUCCESS) goto err; // TODO: commitments LogDebug("nonceIssuer[%d]: %s", nonceIssuerLength, dump_byte_array( nonceIssuerLength, nonceIssuer)); - rv = EVP_DigestUpdate(&mdctx, nonceIssuer, nonceIssuerLength); + rv = EVP_DigestUpdate(mdctx, nonceIssuer, nonceIssuerLength); if (rv != EVP_SUCCESS) goto err; - *resultLength = EVP_MD_CTX_size(&mdctx); + *resultLength = EVP_MD_CTX_size(mdctx); *result = (BYTE *)malloc( *resultLength); if (*result == NULL) { LogError("malloc of %d bytes failed", *resultLength); @@ -866,12 +867,14 @@ compute_join_challenge_host(TSS_HDAA hDAA, free( encoded_pk); return TSPERR(TSS_E_OUTOFMEMORY); } - rv = EVP_DigestFinal(&mdctx, *result, NULL); + rv = EVP_DigestFinal(mdctx, *result, NULL); if (rv != EVP_SUCCESS) goto err; + EVP_MD_CTX_destroy(mdctx); free( buffer); free( encoded_pk); return TSS_SUCCESS; err: + EVP_MD_CTX_destroy(mdctx); free( buffer); free( encoded_pk); DEBUG_print_openssl_errors(); @@ -933,7 +936,7 @@ Tspi_TPM_DAA_JoinCreateDaaPubKey_internal( BYTE *ch = NULL; BYTE *c_byte, *noncePlatform, *nonce_tpm; BYTE *internal_cbyte = NULL; - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; if( tmp1 == NULL || tmp2 == NULL || capital_utilde == NULL || v_tilde_prime == NULL || rv_tilde_prime == NULL || @@ -1271,23 +1274,24 @@ Tspi_TPM_DAA_JoinCreateDaaPubKey_internal( } // verify computation of c by TPM - EVP_DigestInit(&mdctx, DAA_PARAM_get_message_digest()); - EVP_DigestUpdate(&mdctx, ch, chLength); - EVP_DigestUpdate(&mdctx, nonce_tpm, nonce_tpmLength); + mdctx = EVP_MD_CTX_create(); + EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); + EVP_DigestUpdate(mdctx, ch, chLength); + EVP_DigestUpdate(mdctx, nonce_tpm, nonce_tpmLength); nonce_tpm = convert_alloc( tcsContext, nonce_tpmLength, nonce_tpm); // allocation if( nonce_tpm == NULL) { LogError("malloc of %d bytes failed", nonce_tpmLength); result = TSPERR(TSS_E_OUTOFMEMORY); goto close; } - internal_cbyteLength = EVP_MD_CTX_size(&mdctx); + internal_cbyteLength = EVP_MD_CTX_size(mdctx); internal_cbyte = (BYTE *)malloc( internal_cbyteLength); if( internal_cbyte == NULL) { LogError("malloc of %d bytes failed", internal_cbyteLength); result = TSPERR(TSS_E_OUTOFMEMORY); goto close; } - EVP_DigestFinal(&mdctx, internal_cbyte, NULL); + EVP_DigestFinal(mdctx, internal_cbyte, NULL); if( c_byteLength != internal_cbyteLength || memcmp( c_byte, internal_cbyte, c_byteLength) != 0) { LogError( "Computation of c in TPM DAA Join command is incorrect. Affected stages: 16,20\n"); @@ -1483,6 +1487,7 @@ Tspi_TPM_DAA_JoinCreateDaaPubKey_internal( } credentialRequest->sALength = sa->length; close: + EVP_MD_CTX_destroy(mdctx); if( capitalSprime_byte_array!=NULL) free( capitalSprime_byte_array); if( ch!=NULL) free( ch); if( internal_cbyte != NULL) free( internal_cbyte); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test.c new file mode 100644 index 00000000000..04fdd38f056 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test.c @@ -0,0 +1,142 @@ + +#include +#include +#include +#include +#include "spi_internal_types.h" +#include +#include +#include "tsplog.h" +#include "daa_parameter.h" + +setenv("TCSD_FOREGROUND", "1", 1); + +// simulating Tspi_TPM_DAA_JoinInit (spi_daa.c) +TSS_RESULT Tspi_DAA_Join(TSS_HTPM hTPM, int stage, UINT32 inputSize0, BYTE *inputData0, UINT32 inputSize1, BYTE *inputData1, UINT32 *outputSize, BYTE **outputData) { + TSS_RESULT result; + TCS_CONTEXT_HANDLE tcsContext; + TSS_HCONTEXT tspContext; + TSS_HPOLICY hPolicy; + TCPA_DIGEST digest; + TPM_AUTH ownerAuth; + UINT16 offset = 0; + BYTE hashblob[1000]; + + printf("[%s:%d] obj_tpm_is_connected(hTPM)\n", __FILE__, __LINE__); + if( (result = obj_tpm_is_connected( hTPM, &tcsContext)) != TSS_SUCCESS) return result; + printf("[%s:%d] obj_tpm_get_tsp_context(hTPM)\n", __FILE__, __LINE__); + if( (result = obj_tpm_get_tsp_context( hTPM, &tspContext)) != TSS_SUCCESS) return result; + printf("[%s:%d] obj_tpm_get_policy(hTPM)\n", __FILE__, __LINE__); + if( (result = obj_tpm_get_policy( hTPM, &hPolicy)) != TSS_SUCCESS) return result; + + printf("[%s:%d] Trspi_LoadBlob_UINT32(&offset, TPM_ORD_DAA_Join, hashblob)\n", __FILE__, __LINE__); + Trspi_LoadBlob_UINT32(&offset, TPM_ORD_DAA_Join, hashblob); // hash TPM_COMMAND_CODE + printf("[%s:%d] Trspi_Hash(TSS_HASH_SHA1, offset, hashblob, digest.digest)\n",__FILE__, __LINE__); + Trspi_LoadBlob_BYTE(&offset, stage, hashblob); // hash stage + printf("[%s:%d] Trspi_LoadBlob_UINT32(&offset, 0, hashblob)\n",__FILE__, __LINE__); + //TODO old 4 + Trspi_LoadBlob_UINT32(&offset, inputSize0, hashblob); // hash inputSize0 + printf("[%s:%d] Trspi_LoadBlob_UINT32(&offset, 0, hashblob)\n",__FILE__, __LINE__); + Trspi_LoadBlob( &offset, inputSize0, hashblob, inputData0); // hash inputData0 + //TODO old 1 + Trspi_LoadBlob_UINT32(&offset, inputSize1, hashblob); // hash inputSize1 + printf("[%s:%d] Trspi_LoadBlob_UINT32(&offset, 0, hashblob)\n",__FILE__, __LINE__); + Trspi_LoadBlob( &offset, inputSize1, hashblob, inputData1); // hash inputData1 + Trspi_Hash(TSS_HASH_SHA1, offset, hashblob, digest.digest); + + if ((result = secret_PerformAuth_OIAP(hTPM, TPM_ORD_DAA_Join, + hPolicy, &digest, + &ownerAuth)) != TSS_SUCCESS) return result; + printf("[%s:%d] secret_PerformAuth_OIAP(hTPM, TPM_ORD_DAA_Join ret=%d\n",__FILE__, __LINE__, result); + // out + + /* step of the following call: + TCSP_DAAJoin tcsd_api/calltcsapi.c (define in spi_utils.h) + TCSP_DAAJoin_TP tcsd_api/tcstp.c (define in trctp.h) + */ + + printf("[%s:%d] TCSP_DAAJoin(%x,%x,%x,%x,%x,%x,%x)\n",__FILE__, __LINE__, + (int)hTPM, 0, inputSize0,(int)inputData0,inputSize1,(int)inputData1,(int)&ownerAuth); + if ( (result = TCSP_DaaJoin( tcsContext, hTPM, 0, inputSize0, inputData0, inputSize1, inputData1, &ownerAuth, outputSize, outputData)) != TSS_SUCCESS) + return result; + + offset = 0; + Trspi_LoadBlob_UINT32(&offset, result, hashblob); + Trspi_LoadBlob_UINT32(&offset, TPM_ORD_DAA_Join, hashblob); + Trspi_LoadBlob_UINT32(&offset, *outputSize, hashblob); + Trspi_LoadBlob(&offset, *outputSize, hashblob, *outputData); + Trspi_Hash(TSS_HASH_SHA1, offset, hashblob, digest.digest); + if( (result = obj_policy_validate_auth_oiap( hPolicy, &digest, &ownerAuth))) + { + printf("[%s:%d] obj_policy_validate_auth=%d\n",__FILE__, __LINE__, result); + } + return result; +} + + +int main(int argc, char *argv[]) +{ + TSS_HCONTEXT hContext; + TSS_RESULT result; + TSS_HTPM hTPM; + TSS_HPOLICY hPolicy; + + // Create Context + printf("Create Context\n"); + result = Tspi_Context_Create( &hContext ); + if ( result != TSS_SUCCESS ) + { + fprintf( stderr, "Tspi_Context_Create %d\n", result ); + exit( result ); + } + + // Connect to Context + printf("\nConnect to the context\n"); + result = Tspi_Context_Connect( hContext, NULL ); + if ( result != TSS_SUCCESS ) goto out_close; + + if( (result = Tspi_Context_GetTpmObject( hContext, &hTPM)) != TSS_SUCCESS) + goto out_close; + + // Get the correct policy using the TPM ownership PASSWD + char *szTpmPasswd = "OWN_PWD"; + if( (result = Tspi_GetPolicyObject( hTPM, TSS_POLICY_USAGE, &hPolicy)) != TSS_SUCCESS) + goto out_close; + //BUSS + if( (result = Tspi_Policy_SetSecret( hPolicy, TSS_SECRET_MODE_PLAIN, strlen( szTpmPasswd), szTpmPasswd)) != TSS_SUCCESS) + goto out_close; + printf("Tspi_Policy_SetSecret hPolicy received;%d\n", hPolicy); + + //BUSS + // in + //int modulus_length = DAA_PARAM_SIZE_MODULUS_GAMMA / 8; + UINT32 inputSize0 = sizeof(int); + UINT32 inputSize1 = 0; + UINT32 outputSize = 0; + int ia_length = 7; + BYTE *inputData0 = (BYTE *)(&ia_length);//= (BYTE *)malloc( inputSize0) + BYTE *inputData1 = NULL; + BYTE *outputData = NULL; + + if( (result = Tspi_DAA_Join(hTPM, 0, inputSize0, inputData0, inputSize1, inputData1, &outputSize, &outputData)) != TSS_SUCCESS) goto out_close; + + goto out; +out_close: + printf( "Tspi Error:%d - %s\n", result, err_string( result) ); + +out: + printf("ouputSize=%d\n", outputSize); + if( outputData != NULL) { + int i; + printf("outputData(hex )=[\n"); + for( i=0; i<(int)outputSize; i++) printf("%x ", outputData[i]); + printf("\n]"); + printf("outputData(ascii)=[\n"); + for( i=0; i<(int)outputSize; i++) printf("%c ", outputData[i]); + printf("\n]"); + } + Tspi_Context_FreeMemory( hContext, NULL ); + Tspi_Context_Close( hContext ); + printf("[%s:%d] THE END\n",__FILE__, __LINE__); + return result; +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test_join.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test_join.c new file mode 100644 index 00000000000..18edd64d8d0 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_platform/test_join.c @@ -0,0 +1,505 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#include +#include +#include + +#include "daa_structs.h" +#include "trousers/tss.h" +#include "trousers/trousers.h" +#include "spi_internal_types.h" +#include "spi_utils.h" +#include "obj.h" +#include "tsplog.h" +#include "daa_parameter.h" +#include "verifier.h" +#include "platform.h" + +// for RSA Key +#include + +#define DEFAULT_FILENAME "issuer.txt" +#define DEFAULT_CREDENTIAL_FILENAME "credential.txt" +#define DEFAULT_DAACOUNTER 0x01020304 +#define DEFAULT_OWN_PASSWD "OWN_PWD" + +// from IssuerFactory +static const int DEFAULT_KEY_CHAIN_LENGTH = 3; + +typedef struct tdIssuer { + // use on Tspi calls + TSS_DAA_PK *pk_extern; + TSS_DAA_KEY_PAIR *key_pair_extern; + + // used internally + int length_key_chain; + RSA **key_chain; + TSS_DAA_PK_internal *pk; + DAA_PRIVATE_KEY_internal *private_key; + TSS_DAA_PK_PROOF_internal *pk_proof; + //RSA **auth_key_pairs; + BYTE **pk_signatures; + bi_ptr zeta; +} Issuer; + +void *alloc( UINT32 length, TCS_CONTEXT_HANDLE tcsContext) { + void *result = calloc_tspi( tcsContext, length); + LogDebug("allocate tspi memory:%d", (int)result); + return result; +} + +/** +Used by RSA_generate_key +From RSA_generate_key documentation: +-> callback(2, n, cb_arg) is called when n-th randomly generated prime is rejected +-> callback(3, 0, cb_arg) is called when p is found with p-1 more or less prime to e +-> callback(3, 1, cb_arg) repeatedly called for prime q +*/ +void callback(int step, int number, void *arg) { +#ifdef DAA_DEBUG + putc( '.', stdout); fflush( stdout); +#endif +} + +int sign( BYTE *buffer_2_sign, + int len_buffer_2_sign, + RSA *rsa, + BYTE *signature, + int *len_signature +) { + EVP_MD_CTX *ctx; + int len_message = EVP_MD_size( EVP_sha1()), current_len_message; + BYTE *message = (BYTE *)malloc( len_message); + int ret; + + ctx = EVP_MD_CTX_create(); + EVP_DigestInit_ex(ctx, EVP_sha1(), NULL); + EVP_DigestUpdate(ctx, buffer_2_sign, len_buffer_2_sign); + EVP_DigestFinal_ex(ctx, message, ¤t_len_message); + LogDebug("Sign rsa-> with message (length=%d)", current_len_message); +// int RSA_sign(int type, unsigned char *m, unsigned int m_len, +// unsigned char *sigret, unsigned int *siglen, RSA *rsa); + ret = RSA_sign( NID_sha1, message, current_len_message, signature, len_signature, rsa); + if( ret == 0) { + LogError("Error in RSA_sign: %s", ERR_error_string( ERR_get_error(), NULL)); + } + LogDebug("Sign rsa-> signature (length=%d)", *len_signature ); + EVP_MD_CTX_destroy(ctx); + free( message); + return ret; +} + +/* Compute key chain. */ +static int init_key_chain(int length_key_chain, Issuer *issuer) { + BYTE *signature; + int i, len_sign, ret; + BYTE *modulus; + BYTE *message; + // generate RSA key of length DAA_PARAM_KEY_SIZE with exponent + // 65537 (java.security.spec.RSAKeyGenParameterSpec.F4) + unsigned long e = 65537; + RSA *rsa; + bi_ptr bi; + EVP_MD_CTX *ctx; + int len_message = EVP_MD_size( EVP_sha1()); + int current_len_message; + + EVP_MD_CTX_create(ctx); + message = (BYTE *)malloc(len_message); + if( length_key_chain < 1) { + free( message); + return -1; + } + issuer->length_key_chain = length_key_chain; + issuer->key_chain = (RSA **)malloc(sizeof(RSA *) * length_key_chain); + issuer->pk_signatures = (BYTE **)malloc(sizeof(BYTE *) * length_key_chain); + for(i = 0; in) + 7) / 8 != (DAA_PARAM_KEY_SIZE + 7) / 8) { + LogError("BN_num_bits(rsa->n) + 7) / 8 != (DAA_PARAM_KEY_SIZE + 7) / 8)"); + return -1; + } + issuer->key_chain[i] = rsa; + if( i > 0) { + signature = (BYTE *)malloc( RSA_size(rsa)); + modulus = (BYTE *)malloc( DAA_PARAM_KEY_SIZE / 8); + // signature algorithm from Issuer.java - "SHA1withRSA" + // sign the modulus (n) of the RSA key with the previous RSA key (chain) + // sign rsa(i)->n with auth_key_pairs[i-1] + LogDebug("modulus=%s\n", dump_byte_array(256, modulus)); + LogDebug("signature=%s\n", dump_byte_array(256, signature)); + bi = bi_new_ptr(); + bi_set_as_hex( bi, BN_bn2hex( rsa->n)); + bi_2_byte_array( modulus, DAA_PARAM_KEY_SIZE / 8, bi); + LogDebug("bi=%s", bi_2_hex_char( bi)); + bi_free_ptr( bi); + EVP_DigestInit_ex(ctx, EVP_sha1(), NULL); + EVP_DigestUpdate(ctx, modulus, DAA_PARAM_KEY_SIZE / 8); + EVP_DigestFinal_ex(ctx, message, ¤t_len_message); + ret = RSA_sign( NID_sha1, message, current_len_message, + signature, &len_sign, issuer->key_chain[i-1]); + if( ret == 0) { + LogError("Error in RSA_sign: %s", + ERR_error_string( ERR_get_error(), NULL)); + } + LogDebug("Sign rsa->n (length=%d) with signature (length=%d,\ + truelength=%d message_len=%d) ret = %d ERROR?=%s", + RSA_size(rsa), + DAA_PARAM_KEY_SIZE / 8, + len_sign, + current_len_message, + ret, + ERR_error_string( ERR_get_error(), + NULL) ); + LogDebug("message=%s\n", dump_byte_array(256, message)); + LogDebug("signature=%s\n",dump_byte_array(256, signature)); + issuer->pk_signatures[i-1] = signature; + } + } + free( message); + EVP_MD_CTX_destroy(ctx); + return 0; +} + +Issuer* initIssuer(int length_key_chain, char *filename, char *exec, TSS_HCONTEXT hContext) { + FILE *file; + EVP_MD_CTX *mdctx; + Issuer *issuer = (Issuer *)malloc(sizeof( Issuer)); + TPM_DAA_ISSUER *tpm_daa_issuer; + bi_ptr modulus_N0; + int len_issuer_settings, len_signature; + BYTE *modulus_N0_bytes; + BYTE *digest_n0; + BYTE *issuer_settings_byte_array; + BYTE *sign_data; + BYTE *signature; + RSA *private_nn; + KEY_PAIR_WITH_PROOF_internal *key_pair_with_proof; + + LogDebug("Loading issuer info (keypair & proof) -> \'%s\'", filename); + file = fopen( filename, "r"); + if( file == NULL) { + fprintf( stderr, "%s: Error when opening \'%s\': %s\n", + exec, + filename, + strerror( errno)); + free( issuer); + return NULL; + } + key_pair_with_proof = load_KEY_PAIR_WITH_PROOF( file); + if( key_pair_with_proof == NULL) { + LogError( "Error when reading \'%s\': %s\n", filename, strerror( errno)); + free( issuer); + return NULL; + } + fclose( file); + issuer->pk = key_pair_with_proof->pk; + issuer->pk_extern = i_2_e_TSS_DAA_PK( issuer->pk, &alloc, hContext); + issuer->key_pair_extern = (TSS_DAA_KEY_PAIR *)malloc( sizeof(TSS_DAA_KEY_PAIR)); + init_tss_version( issuer->key_pair_extern); + issuer->key_pair_extern->public_key = issuer->pk_extern; + issuer->key_pair_extern->private_key = i_2_e_TSS_DAA_PRIVATE_KEY( + key_pair_with_proof->private_key, + &alloc, hContext); + issuer->pk_proof = key_pair_with_proof->proof; + issuer->private_key = key_pair_with_proof->private_key; + init_key_chain( length_key_chain, issuer); + issuer->zeta = compute_zeta( issuer->pk->issuerBaseNameLength, + issuer->pk->issuerBaseName, issuer->pk); + // sign "issuer settings" + modulus_N0 = bi_new_ptr(); + bi_set_as_hex( modulus_N0, BN_bn2hex( issuer->key_chain[0]->n)); + // in TPM, N0 is hashed by hashing the scratch (256 bytes) so it must + // be formatted according to the scratch size (TPM_DAA_SIZE_issuerModulus) + modulus_N0_bytes = (BYTE *)malloc( TPM_DAA_SIZE_issuerModulus); + bi_2_byte_array( modulus_N0_bytes, TPM_DAA_SIZE_issuerModulus, modulus_N0); + bi_free_ptr( modulus_N0); + + if( TPM_DAA_SIZE_issuerModulus * 8 != DAA_PARAM_KEY_SIZE) { + LogError("TPM_DAA_SIZE_issuerModulus * 8 (%d) != DAA_PARAM_KEY_SIZE(%d)", + TPM_DAA_SIZE_issuerModulus*8, + DAA_PARAM_KEY_SIZE); + free( issuer); + return NULL; + } + + EVP_MD_CTX_create(mdctx); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); + // digestN0 = hash( modulus_N0) + EVP_DigestUpdate(mdctx, modulus_N0_bytes, TPM_DAA_SIZE_issuerModulus); + digest_n0 = (BYTE *)EVP_MD_CTX_create(); + EVP_DigestFinal_ex(mdctx, digest_n0, NULL); + tpm_daa_issuer = convert2issuer_settings( issuer->pk); + issuer_settings_byte_array = issuer_2_byte_array( tpm_daa_issuer, &len_issuer_settings); + // data to sign: concatenation of digest_n0 and issuer_settings_byte_array + sign_data = (BYTE *)malloc( EVP_MD_CTX_size(mdctx) + len_issuer_settings); + memcpy( sign_data, digest_n0, EVP_MD_CTX_size(mdctx)); + memcpy( &sign_data[EVP_MD_CTX_size(mdctx)], + issuer_settings_byte_array, + len_issuer_settings); + free( issuer_settings_byte_array); + // sign digest of TPM compatible Issuer key (sign_data) + private_nn = issuer->key_chain[issuer->length_key_chain - 1]; + signature = (BYTE *)malloc( RSA_size(private_nn)); + if ( sign( sign_data, EVP_MD_CTX_size(mdctx) + len_issuer_settings, + private_nn, + signature, + &len_signature) ==0) { + LogError("Can not sign digest of TPM compatible Issuer key"); + goto close; + } + issuer->pk_signatures[ issuer->length_key_chain - 1] = signature; + LogDebug("Set last signature sign[%d] = %s", + issuer->length_key_chain - 1, + dump_byte_array(EVP_MD_size( EVP_sha1()), + signature)); + // TODO sign the complete public key of TPM compatible Issuer key +/* EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestUpdate(mdctx, digest_n0, EVP_MD_CTX_size(mdctx)); + pk_encoded = encoded_DAA_PK_internal( &pk_encodedLength, issuer->pk); + EVP_DigestUpdate(mdctx, pk_encoded, pk_encodedLength); + EVP_DigestFinal(mdctx, , NULL); + signature = (BYTE *)malloc( EVP_MD_size( EVP_sha1())); + if (sign( sign_data, EVP_MD_CTX_size(mdctx) + len_issuer_settings, + private_nn, signature, &len_signature) !=0) goto close; +*/ +close: + EVP_MD_CTX_destroy(mdctx); + free( digest_n0); + free( sign_data); + return issuer; +} + +int print_usage(char *exec) { + fprintf(stderr, "usage: %s\n", exec); + fprintf(stderr, "\t-if,\t--issuer_file\n\t\tthe file that will contain all key\ +pair and proof to be used by the issuer\n\t\t (default: %s)\n", + DEFAULT_FILENAME); + fprintf(stderr, "\t-dc,\t--daa_counter\n\t\tdaa counter (default: %d)\n", + DEFAULT_DAACOUNTER); + fprintf(stderr, + "\t-pw,\t--passwd\n\t\ttpm owner password (default: %s)\n", + DEFAULT_OWN_PASSWD); + return -1; +} + +int main(int argc, char *argv[]) { + TSS_HCONTEXT hContext; + TSS_RESULT result; + TSS_HTPM hTPM; + TSS_HPOLICY hPolicy; + int i, length; + char *param, *filename = DEFAULT_FILENAME; + char *credential_filename = DEFAULT_CREDENTIAL_FILENAME; + UINT32 daaCounter = DEFAULT_DAACOUNTER; + UINT32 capital_UPrimeLength; + BYTE *capitalUPrime; + TSS_DAA_IDENTITY_PROOF identityProof; + TSS_DAA_JOIN_SESSION joinSession; + TSS_DAA_JOIN_ISSUER_SESSION join_issuer_session; + TSS_DAA_CREDENTIAL_REQUEST credentialRequest; + TSS_DAA_CRED_ISSUER credIssuer; + TSS_HDAA hDAA; + Issuer* issuer; + char *szTpmPasswd = DEFAULT_OWN_PASSWD; + UINT32 endorsementKeyLength; + BYTE *endorsementKey; + UINT32 nonceIssuerLength; + BYTE *nonceIssuer; + UINT32 authenticationChallengeLength; + BYTE *authenticationChallenge; + bi_array_ptr capital_receiver; + BYTE **attributesPlatform; + UINT32 attributesPlatformLength; + BYTE **attributesIssuer; + UINT32 attributesIssuerLength; + bi_t random; + FILE *file; + + init_tss_version( &identityProof); + init_tss_version( &joinSession); + init_tss_version( &join_issuer_session); + init_tss_version( &credentialRequest); + init_tss_version( &credIssuer); + i = 1; + while( i < argc) { + param = argv[ i]; + if ( strcmp( param, "-if") == 0 || strcmp( param, "--issuer_file") == 0) { + i++; + if( i == argc) return print_usage( argv[0]); + filename = argv[i]; + } else if( strcmp( param, "-dc") == 0 || strcmp( param, "--daa_counter") == 0){ + i++; + if( i == argc) return print_usage( argv[0]); + daaCounter = atoi(argv[i]); + } else if( strcmp( param, "-pw") == 0 || strcmp( param, "--passwd") == 0){ + i++; + if( i == argc) return print_usage( argv[0]); + szTpmPasswd = argv[i]; + } else { + fprintf(stderr, "\n%s:unrecognized option <%s>\n", argv[0], param); + return print_usage( argv[0]); + } + i++; + } + bi_init( NULL); + + // Create Context + LogDebug("Create Context"); + result = Tspi_Context_Create( &hContext ); + if ( result != TSS_SUCCESS ) + { + LogError( "Tspi_Context_Create %d\n", result ); + goto out; + } + // Connect to Context + result = Tspi_Context_Connect( hContext, NULL ); + if ( result != TSS_SUCCESS) goto out_close; + printf("\nConnect to the context: %X\n", hContext); + + if( (result = Tspi_Context_GetTpmObject( hContext, &hTPM)) != TSS_SUCCESS) + goto out_close; + // Get the correct policy using the TPM ownership PASSWD + if( (result = Tspi_GetPolicyObject( hTPM, + TSS_POLICY_USAGE, + &hPolicy)) != TSS_SUCCESS) + goto out_close; + if( (result = Tspi_Policy_SetSecret( hPolicy, + TSS_SECRET_MODE_PLAIN, + strlen( szTpmPasswd), + szTpmPasswd)) != TSS_SUCCESS) + goto out_close; + LogDebug("Tspi_Policy_SetSecret hPolicy received;%d\n", hPolicy); + + //Create Object + result = obj_daa_add( hContext, &hDAA); + if (result != TSS_SUCCESS) { + LogError("Tspi_Context_CreateObject:%d\n", result); + Tspi_Context_Close(hContext); + LogError("%s: %s\n", argv[0], err_string(result)); + exit(result); + } + LogDebug("created DAA object:%X", hDAA); + issuer = initIssuer( DEFAULT_KEY_CHAIN_LENGTH, filename, argv[0], hContext); + if( issuer == NULL) goto out_close; + + // generate receiver attributes and issuer attributes (random) + attributesPlatformLength = issuer->pk->capitalRReceiver->length; + attributesPlatform = (BYTE **)malloc( attributesPlatformLength * sizeof(BYTE *)); + bi_new( random); + for( i=0; i<(int)attributesPlatformLength; i++) { + bi_urandom( random, DAA_PARAM_SIZE_F_I); + attributesPlatform[i] = bi_2_nbin( &length, random); + if( attributesPlatform[i] == NULL) { + LogError("malloc of %d bytes failed", length); + result = TSPERR(TSS_E_OUTOFMEMORY); + goto out_close; + } + } + attributesIssuerLength = issuer->pk->capitalRIssuer->length; + attributesIssuer = (BYTE **)malloc( attributesIssuerLength * sizeof(BYTE *)); + for( i=0; i<(int)attributesIssuerLength; i++) { + bi_urandom( random, DAA_PARAM_SIZE_F_I); + attributesIssuer[i] = bi_2_nbin( &length, random); + if( attributesIssuer[i] == NULL) { + LogError("malloc of %d bytes failed", length); + result = TSPERR(TSS_E_OUTOFMEMORY); + goto out_close; + } + } + bi_free(random); + LogDebug("Generated attributes (Platform=%d,Issuer=%d)", + attributesPlatformLength, attributesIssuerLength); + + result = Tspi_TPM_DAA_JoinInit( + hDAA, // in + hTPM, // in + daaCounter, // in + (TSS_HKEY)issuer->pk_extern, // in + issuer->length_key_chain, // in + (TSS_HKEY *)issuer->key_chain, // in + issuer->length_key_chain, // in + issuer->pk_signatures, // in + &capital_UPrimeLength, // out + &capitalUPrime, // out + &identityProof, // out + &joinSession // out + ); + if( result != TSS_SUCCESS) goto out_close; + + result = Tspi_DAA_IssueInit( + hDAA, // in + (TSS_HKEY)issuer->key_chain[0], // in + (TSS_HKEY)issuer->key_pair_extern, // in + identityProof, // in + capital_UPrimeLength, // in + capitalUPrime, // in + daaCounter, // in + &nonceIssuerLength, // out + &nonceIssuer, // out + &authenticationChallengeLength, // out + &authenticationChallenge, // out + &join_issuer_session // out + ); + if( result != TSS_SUCCESS) goto out_close; + + result = Tspi_TPM_DAA_JoinCreateDaaPubKey( + hDAA, // in + hTPM, // in + authenticationChallengeLength, // in + authenticationChallenge, // in + nonceIssuerLength, // in + nonceIssuer, // in + attributesPlatformLength, // in + attributesPlatform, // in + &joinSession, // in & out + &credentialRequest // out + ); + if( result != TSS_SUCCESS) goto out_close; + + result = Tspi_DAA_IssueCredential( + hDAA, // in + attributesIssuerLength, // in + attributesIssuer, // in + credentialRequest, // in + join_issuer_session, // in + &credIssuer // out + ); + + result = Tspi_TPM_DAA_JoinStoreCredential( + hDAA, // in + hTPM, // in + credIssuer, // in + joinSession, // in + (TSS_HKEY*)&credentialRequest // out + ); + if( result != TSS_SUCCESS) goto out_close; + + printf("Saving credential: %s ", credential_filename); + file = fopen( credential_filename, "w"); + if( save_TSS_DAA_CREDENTIAL( file, &credentialRequest) != 0) { + LogError( "[test_join]: Error when saving \'%s\': %s", + credential_filename, + strerror( errno)); + result = TSS_E_FAIL; + goto out_close; + } + fclose( file); + printf("Done\n"); + +out_close: + Tspi_Context_FreeMemory( hContext, NULL ); + Tspi_Context_Close( hContext ); +out: + bi_release(); + LogDebug("THE END result=%d:%s",result, err_string( result) );; + return result; +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_structs.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_structs.c index 787d5d05b09..5bab8203c36 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_structs.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_structs.c @@ -818,66 +818,66 @@ TPM_DAA_ISSUER * convert2issuer_settings(TSS_DAA_PK_internal *pk_internal) { TPM_DAA_ISSUER *result = (TPM_DAA_ISSUER *)malloc(sizeof(TPM_DAA_ISSUER)); - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; UINT32 length; BYTE *array = (BYTE*)malloc((DAA_PARAM_SIZE_RSA_MODULUS+7)/8); LogDebug("convert2issuer_settings"); - EVP_MD_CTX_init(&mdctx); + EVP_MD_CTX_create(mdctx); // TAG result->tag = htons( TPM_TAG_DAA_ISSUER); // capitalR0 - EVP_DigestInit(&mdctx, DAA_PARAM_get_message_digest()); + EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); - EVP_DigestInit_ex(&mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); bi_2_byte_array( array, length = (bi_length( pk_internal->capitalR0)+7)/8, pk_internal->capitalR0); LogDebug("capitalR0 length=%d", length); - EVP_DigestUpdate(&mdctx, array, length); - EVP_DigestFinal_ex(&mdctx, (BYTE *)&(result->DAA_digest_R0), NULL); + EVP_DigestUpdate(mdctx, array, length); + EVP_DigestFinal_ex(mdctx, (BYTE *)&(result->DAA_digest_R0), NULL); // capitalR1 - EVP_DigestInit_ex(&mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); bi_2_byte_array( array, length = (bi_length( pk_internal->capitalR1)+7)/8, pk_internal->capitalR1); LogDebug("capitalR1 length=%d", length); - EVP_DigestUpdate(&mdctx, array, length); - EVP_DigestFinal_ex(&mdctx, (BYTE *)&(result->DAA_digest_R1), NULL); + EVP_DigestUpdate(mdctx, array, length); + EVP_DigestFinal_ex(mdctx, (BYTE *)&(result->DAA_digest_R1), NULL); // capitalS (S0) - EVP_DigestInit_ex(&mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); bi_2_byte_array( array, length = (bi_length( pk_internal->capitalS)+7)/8, pk_internal->capitalS); LogDebug("capitalS length=%d", length); - EVP_DigestUpdate(&mdctx, array, length); - EVP_DigestFinal_ex(&mdctx, (BYTE *)&(result->DAA_digest_S0), NULL); + EVP_DigestUpdate(mdctx, array, length); + EVP_DigestFinal_ex(mdctx, (BYTE *)&(result->DAA_digest_S0), NULL); // capitalSprime (S1) - EVP_DigestInit_ex(&mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); bi_2_byte_array( array, length = (bi_length( pk_internal->capitalSprime)+7)/8, pk_internal->capitalSprime); LogDebug("capitalSprime length=%d", length); - EVP_DigestUpdate(&mdctx, array, length); - EVP_DigestFinal_ex(&mdctx, (BYTE *)&(result->DAA_digest_S1), NULL); + EVP_DigestUpdate(mdctx, array, length); + EVP_DigestFinal_ex(mdctx, (BYTE *)&(result->DAA_digest_S1), NULL); // modulus (n) - EVP_DigestInit_ex(&mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); bi_2_byte_array( array, length = (bi_length( pk_internal->modulus)+7)/8, pk_internal->modulus); LogDebug("modulus length=%d", length); - EVP_DigestUpdate(&mdctx, array, length); - EVP_DigestFinal_ex(&mdctx, (BYTE *)&(result->DAA_digest_n), NULL); + EVP_DigestUpdate(mdctx, array, length); + EVP_DigestFinal_ex(mdctx, (BYTE *)&(result->DAA_digest_n), NULL); // modulus (n) - EVP_DigestInit_ex(&mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); bi_2_byte_array( array, length = (bi_length( pk_internal->capitalGamma)+7)/8, pk_internal->capitalGamma); LogDebug("capitalGamma length=%d", length); - EVP_DigestUpdate(&mdctx, array, length); + EVP_DigestUpdate(mdctx, array, length); free(array); - EVP_DigestFinal_ex(&mdctx, (BYTE *)&(result->DAA_digest_gamma), NULL); - EVP_MD_CTX_cleanup(&mdctx); + EVP_DigestFinal_ex(mdctx, (BYTE *)&(result->DAA_digest_gamma), NULL); + EVP_MD_CTX_destroy(mdctx); // rho bi_2_byte_array( (BYTE *)&(result->DAA_generic_q), 26, pk_internal->rho); return result; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/test/Makefile.am b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/test/Makefile.am new file mode 100644 index 00000000000..aa02721ecf4 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/test/Makefile.am @@ -0,0 +1,7 @@ +bin_PROGRAMS = verifier_transaction + +verifier_transaction_SOURCES = ../verifier_transaction.c ../../daa_structs.c \ + ../../big_integer/bi_gmp.c ../../big_integer/bi_openssl.c ../../big_integer/bi.c \ + ../../../include/bi.h ../../../include/bi_openssl.h ../../../include/bi_gmp.h \ + ../../../include/list_.h ../../utils/list.c ../../../include/tss/tss.h ../../../include/daa_parameter.h \ + ../../../include/daa_structs.h diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/verifier_transaction.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/verifier_transaction.c index 1eecd43866a..bb24f266628 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/verifier_transaction.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/verifier_transaction.c @@ -55,7 +55,7 @@ static int verifyNonce( BYTE *nonce_verifier, int length) { } BYTE *compute_bytes( int seedLength, BYTE *seed, int length, const EVP_MD *digest) { - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; int N; BYTE *hash; BYTE *result; @@ -66,8 +66,8 @@ BYTE *compute_bytes( int seedLength, BYTE *seed, int length, const EVP_MD *diges LogError("malloc of %d bytes failed", length); return NULL; } - EVP_MD_CTX_init(&mdctx); - EVP_DigestInit_ex(&mdctx, digest, NULL); + mdctx = EVP_MD_CTX_create(); + EVP_DigestInit_ex(mdctx, digest, NULL); len_hash = EVP_MD_size(digest); N = length / len_hash; hash = (BYTE *)malloc( len_hash); @@ -76,20 +76,21 @@ BYTE *compute_bytes( int seedLength, BYTE *seed, int length, const EVP_MD *diges return NULL; } for( i=0; ibeta); - EVP_DigestUpdate(&mdctx, + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, attribute_commitment_proofs[i]->beta); - EVP_DigestUpdate(&mdctx, + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); } @@ -321,34 +322,34 @@ BYTE *compute_sign_challenge_host( if( !is_anonymity_revocation_enabled) { // Nv, N~v bi_2_byte_array( buffer, length_gamma_modulus, capital_nv); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, capital_tilde_v); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); } else { bi_2_byte_array( buffer, length_gamma_modulus, anonymity_revocator_pk->eta); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, anonymity_revocator_pk->lambda1); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, anonymity_revocator_pk->lambda2); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, anonymity_revocator_pk->lambda3); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, encryption_result_rand->c1); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, encryption_result_rand->c2); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, encryption_result_rand->c3); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, encryption_result_rand->c4); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, encryption_result_proof->c1); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, encryption_result_proof->c2); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, encryption_result_proof->c3); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); bi_2_byte_array( buffer, length_gamma_modulus, encryption_result_proof->c4); - EVP_DigestUpdate(&mdctx, buffer, length_gamma_modulus); + EVP_DigestUpdate(mdctx, buffer, length_gamma_modulus); } free(buffer); buffer = (BYTE *)malloc(EVP_MD_size(digest)); // allocation @@ -356,8 +357,8 @@ BYTE *compute_sign_challenge_host( LogError("malloc of %d bytes failed", EVP_MD_size(digest)); return NULL; } - EVP_DigestFinal_ex(&mdctx, buffer, result_length); - EVP_MD_CTX_cleanup(&mdctx); + EVP_DigestFinal_ex(mdctx, buffer, result_length); + EVP_MD_CTX_destroy(mdctx); LogDebug("compute_sign_challenge_host[%d]:%s", *result_length, dump_byte_array( *result_length, buffer)); @@ -428,7 +429,7 @@ TSPICALL Tspi_DAA_VerifySignature_internal TSS_DAA_ATTRIB_COMMIT_internal **commitment_proofs = NULL; TCS_CONTEXT_HANDLE tcsContext; TSS_RESULT result = TSS_SUCCESS; - EVP_MD_CTX mdctx; + EVP_MD_CTX *mdctx; int length_ch, len_hash, bits; BYTE *ch = NULL, *hash = NULL; TSS_BOOL *indices; @@ -751,10 +752,10 @@ and issuer_pk are not consistent (%d)\n", LogDebug("calculation of c: signdata.payload[%d]%s", sign_data.payloadLength, dump_byte_array( sign_data.payloadLength, sign_data.payload)); - EVP_MD_CTX_init(&mdctx); - EVP_DigestInit_ex(&mdctx, DAA_PARAM_get_message_digest(), NULL); - EVP_DigestUpdate(&mdctx, ch, length_ch); - EVP_DigestUpdate(&mdctx, signature->nonce_tpm, signature->nonce_tpm_length); + mdctx = EVP_MD_CTX_create(); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestUpdate(mdctx, ch, length_ch); + EVP_DigestUpdate(mdctx, signature->nonce_tpm, signature->nonce_tpm_length); len_hash = EVP_MD_size( DAA_PARAM_get_message_digest()); hash = (BYTE *)malloc( len_hash);// allocation if (hash == NULL) { @@ -762,11 +763,11 @@ and issuer_pk are not consistent (%d)\n", result = TSPERR(TSS_E_OUTOFMEMORY); goto close; } - EVP_DigestFinal_ex(&mdctx, hash, NULL); - EVP_DigestInit_ex(&mdctx, DAA_PARAM_get_message_digest(), NULL); - EVP_DigestUpdate(&mdctx, hash, EVP_MD_size( DAA_PARAM_get_message_digest())); - EVP_DigestUpdate(&mdctx, &sign_data.payloadFlag, 1); - EVP_DigestUpdate(&mdctx, sign_data.payload, sign_data.payloadLength); + EVP_DigestFinal_ex(mdctx, hash, NULL); + EVP_DigestInit_ex(mdctx, DAA_PARAM_get_message_digest(), NULL); + EVP_DigestUpdate(mdctx, hash, EVP_MD_size( DAA_PARAM_get_message_digest())); + EVP_DigestUpdate(mdctx, &sign_data.payloadFlag, 1); + EVP_DigestUpdate(mdctx, sign_data.payload, sign_data.payloadLength); len_hash = EVP_MD_size( DAA_PARAM_get_message_digest()); free( hash); hash = (BYTE *)malloc( len_hash);// allocation @@ -775,7 +776,7 @@ and issuer_pk are not consistent (%d)\n", result = TSPERR(TSS_E_OUTOFMEMORY); goto close; } - EVP_DigestFinal(&mdctx, hash, NULL); + EVP_DigestFinal(mdctx, hash, NULL); if( signature->challenge_length != len_hash || memcmp( signature->challenge, hash, len_hash) != 0) { @@ -845,6 +846,7 @@ and issuer_pk are not consistent (%d)\n", // TODO: implement revocation list *isCorrect = TRUE; close: + EVP_MD_CTX_destroy(mdctx); bi_free_ptr( tmp1); if( ch != NULL) free( ch); if( hash != NULL) free( hash); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/daa/test_sign.c b/crypto/external/cpl/trousers/dist/src/tspi/daa/test_sign.c new file mode 100644 index 00000000000..816e9b3b17d --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/daa/test_sign.c @@ -0,0 +1,241 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006 + * + */ + +#include +#include +#include + +#include "daa_structs.h" +#include "trousers/tss.h" +#include "trousers/trousers.h" +#include "spi_internal_types.h" +#include "spi_utils.h" +#include "obj.h" +#include "tsplog.h" +#include "daa_parameter.h" +#include "verifier.h" +#include "platform.h" + +// for RSA Key +#include + +#define DEFAULT_CREDENTIAL_FILENAME "credential.txt" +#define DEFAULT_OWN_PASSWD "OWN_PWD" + +int print_usage(char *exec) { + fprintf(stderr, "usage: %s\n", exec); + fprintf(stderr, + "\t-m,\t--message\n\t\tif define, the data is signed using this message\n\ +\t\totherwise an AIK will be generated and used\n"); + fprintf(stderr, + "\t-pw,\t--passwd\n\t\ttpm owner password (default: %s)\n", + DEFAULT_OWN_PASSWD); + fprintf(stderr, + "\t-cr,\t--credential\n\t\tcredential filename (default: %s)\n", + DEFAULT_CREDENTIAL_FILENAME); + return -1; +} + +int main(int argc, char *argv[]) { + TSS_HCONTEXT hContext; + TSS_RESULT result; + TSS_HTPM hTPM; + TSS_HPOLICY hPolicy; + char *credential_filename = DEFAULT_CREDENTIAL_FILENAME; + UINT32 nonceVerifierLength; + BYTE *nonceVerifier; + TSS_HDAA hDAA; + TSS_DAA_CREDENTIAL *hDaaCredential; + TSS_DAA_SIGN_DATA signData; + TSS_DAA_SIGNATURE daaSignature; + TSS_DAA_SELECTED_ATTRIB revealAttributes; + char *szTpmPasswd = DEFAULT_OWN_PASSWD; + char *message = NULL; + BYTE **attributes = NULL; + FILE *file; + char *param; + int i, length, rv; + bi_ptr random = NULL; + TSS_BOOL isCorrect; + EVP_MD_CTX *mdctx; + TSS_HKEY hKEY; + + init_tss_version( &signData); + init_tss_version( &daaSignature); + init_tss_version( &revealAttributes); + i = 1; + while( i < argc) { + param = argv[ i]; + if ( strcmp( param, "-m") == 0 || strcmp( param, "--message") == 0) { + i++; + if( i == argc) return print_usage( argv[0]); + message = argv[i]; + } else if( strcmp( param, "-cr") == 0 || strcmp( param, "--credential") == 0){ + i++; + if( i == argc) return print_usage( argv[0]); + credential_filename = argv[i]; + } else if( strcmp( param, "-pw") == 0 || strcmp( param, "--passwd") == 0){ + i++; + if( i == argc) return print_usage( argv[0]); + szTpmPasswd = argv[i]; + } else { + fprintf(stderr, "%s:unrecognized option `%s'\n", argv[0], param); + return print_usage( argv[0]); + } + i++; + } + bi_init( NULL); + printf("Loading credential: %s ", credential_filename); + file = fopen( credential_filename, "r"); + if( (hDaaCredential = load_TSS_DAA_CREDENTIAL( file)) == 0) { + LogError( "[test_join]: Error when loading \'%s\': %s\n", + credential_filename, + strerror( errno)); + result = TSS_E_FAIL; + goto out_close; + } + fclose( file); + printf("Done\n"); + + // Create Context + LogDebug("Create Context"); + result = Tspi_Context_Create( &hContext ); + if ( result != TSS_SUCCESS ) + { + LogError( "Tspi_Context_Create %d\n", result ); + goto out; + } + // Connect to Context + result = Tspi_Context_Connect( hContext, NULL ); + if ( result != TSS_SUCCESS) goto out_close; + printf("\nConnect to the context: %X\n", hContext); + + if( (result = Tspi_Context_GetTpmObject( hContext, &hTPM)) != TSS_SUCCESS) + goto out_close; + // Get the correct policy using the TPM ownership PASSWD + if( (result = Tspi_GetPolicyObject( hTPM, TSS_POLICY_USAGE, &hPolicy)) != TSS_SUCCESS) + goto out_close; + if( (result = Tspi_Policy_SetSecret( hPolicy, + TSS_SECRET_MODE_PLAIN, + strlen( szTpmPasswd), + szTpmPasswd)) != TSS_SUCCESS) + goto out_close; + LogDebug("Tspi_Policy_SetSecret hPolicy received;%d", hPolicy); + + //Create Object + result = obj_daa_add( hContext, &hDAA); + if (result != TSS_SUCCESS) { + LogError("Tspi_Context_CreateObject:%d", result); + Tspi_Context_Close(hContext); + LogError("%s: %s", argv[0], err_string(result)); + exit(result); + } + LogDebug("created DAA object:%X", hDAA); + + // TODO: verifier base name ?? + result = Tspi_DAA_VerifyInit( + hDAA, // in + &nonceVerifierLength, // out + &nonceVerifier, // out + 0, //baseNameLength, // out + NULL //baseName // out + ); + if (result != TSS_SUCCESS) goto out_close; + LogDebug("Verify Init return nonceVerifier [%s]", + dump_byte_array( nonceVerifierLength, nonceVerifier)); + + create_TSS_DAA_SELECTED_ATTRIB( &revealAttributes, 5, 0, 1, 1, 0, 0); + + mdctx = EVP_MD_CTX_create(); + + // create the TSS_DAA_SIGN_DATA struct + // .selector: 0 -> payload contains a handle to an AIK + // 1 -> payload contains a hashed message + if( message != NULL) { + signData.selector = TSS_FLAG_DAA_SIGN_MESSAGE_HASH; + signData.payloadFlag = TSS_FLAG_DAA_SIGN_MESSAGE_HASH; + EVP_DigestInit(mdctx, DAA_PARAM_get_message_digest()); + EVP_DigestUpdate(mdctx, (BYTE *)message, strlen( message)); + signData.payloadLength = EVP_MD_CTX_size(mdctx); + signData.payload = (BYTE *)EVP_MD_CTX_create(); + EVP_DigestFinal(mdctx, signData.payload, NULL); + } else { + signData.selector = TSS_FLAG_DAA_SIGN_IDENTITY_KEY; + result = Tspi_Context_CreateObject( + hContext, // in + TSS_OBJECT_TYPE_RSAKEY, // in + TSS_KEY_SIZE_2048, // in + &hKEY // out + ); + if( result != TSS_SUCCESS) goto out_close; + + } + + result = Tspi_TPM_DAA_Sign( + hDAA, // in + hTPM, // in + (TSS_HKEY)hDaaCredential, // in + revealAttributes, // in + 0, // verifierBaseNameLength, // in + NULL, // verifierBaseName, // in + nonceVerifierLength, // in + nonceVerifier, // in + signData, // in + &daaSignature // out + ); + if (result != TSS_SUCCESS) goto out_close; + LogDebug("TPM_DAA_Sign return daaSignature [%s]", + dump_byte_array( nonceVerifierLength, nonceVerifier)); + + // generate attributes list but without copying the not revealed ones + attributes = malloc( sizeof(BYTE *) * hDaaCredential->attributesLength); + for( i=0; i < (int)(hDaaCredential->attributesLength); i++) { + if( revealAttributes.indicesList[i]) { + attributes[i] = (BYTE *)malloc( DAA_PARAM_SIZE_F_I / 8); + memcpy( attributes[i], + hDaaCredential->attributes[i], + DAA_PARAM_SIZE_F_I / 8); + } else { + attributes[i] = NULL; + } + } + + result = Tspi_DAA_VerifySignature( + hDAA, // in + daaSignature, // in + (TSS_HKEY)&(hDaaCredential->issuerPK), // in + signData, // in + hDaaCredential->attributesLength, // in + attributes, // in + nonceVerifierLength, // in + nonceVerifier, // in + 0, //baseNameLength, //in + NULL, // in + &isCorrect // out + ); + printf("Signature correct:%s\n", ( isCorrect ? "yes" : "no")); + +out_close: + EVP_MD_CTX_destroy(mdctx); + if( attributes != NULL) { + for( i=0; i<(int)hDaaCredential->attributesLength; i++) { + if( attributes[i] != NULL) free( attributes[i]); + } + free( attributes); + } + if( random != NULL) bi_free_ptr( random); + Tspi_Context_FreeMemory( hContext, NULL ); + Tspi_Context_Close( hContext ); +out: + bi_release(); + LogDebug("THE END result=%d:%s",result, err_string( result) );; + return result; +} + diff --git a/crypto/external/cpl/trousers/dist/src/tspi/gtk/callbacks.h b/crypto/external/cpl/trousers/dist/src/tspi/gtk/callbacks.h new file mode 100644 index 00000000000..1fca617c00a --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/gtk/callbacks.h @@ -0,0 +1,58 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2004 + * + */ + +#ifndef _CALLBACKS_H_ +#define _CALLBACKS_H_ + +#include + +#include "interface.h" + +/* Callbacks for the simple text imput dialog */ + +void +on_dialog1_close (GtkDialog *dialog, + struct userdata *user_data); + +void +on_cancelbutton1_clicked (GtkButton *button, + struct userdata *user_data); + +void +on_okbutton1_clicked (GtkButton *button, + struct userdata *user_data); + +gboolean +enter_event (GtkWidget *widget, + struct userdata *user_data); + +void +on_inputdialog1_destroy (GtkObject *object, + struct userdata *user_data); + +/* Callbacks for the new password dialog */ + +void +on_entryPassword_activate (GtkEntry *entry, + struct userdata *user_data); + +void +on_entryConfirm_activate (GtkEntry *entry, + struct userdata *user_data); + +void +on_cancelbutton2_clicked (GtkButton *button, + struct userdata *user_data); + +void +on_okbutton2_clicked (GtkButton *button, + struct userdata *user_data); + +#endif diff --git a/crypto/external/cpl/trousers/dist/src/tspi/gtk/interface.h b/crypto/external/cpl/trousers/dist/src/tspi/gtk/interface.h new file mode 100644 index 00000000000..9950fe7d463 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/gtk/interface.h @@ -0,0 +1,30 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2004 + * + */ + +/* + * DO NOT EDIT THIS FILE - it is generated by Glade. + */ + +#ifndef _INTERFACE_H_ +#define _INTERFACE_H_ + +struct userdata { + char *string; + unsigned string_len; + GtkWidget *window; + GtkWidget *entry; + GtkWidget *entryPass; + GtkWidget *entryConf; +}; + +GtkWidget* create_password_dialog (struct userdata *, char *); +GtkWidget* create_new_password_dialog (struct userdata *, char *); + +#endif diff --git a/crypto/external/cpl/trousers/dist/src/tspi/gtk/main.c b/crypto/external/cpl/trousers/dist/src/tspi/gtk/main.c index 3b76402b8cd..7d76995f4ca 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/gtk/main.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/gtk/main.c @@ -65,7 +65,7 @@ DisplayPINWindow(BYTE *string, UINT32 *string_len, BYTE *popup) if (ud.string_len) { memcpy(string, ud.string, ud.string_len); - memset(ud.string, 0, ud.string_len); + __tspi_memset(ud.string, 0, ud.string_len); free(ud.string); } *string_len = ud.string_len; @@ -107,7 +107,7 @@ DisplayNewPINWindow(BYTE *string, UINT32 *string_len, BYTE *popup) if (ud.string_len) { memcpy(string, ud.string, ud.string_len); - memset(ud.string, 0, ud.string_len); + __tspi_memset(ud.string, 0, ud.string_len); free(ud.string); } *string_len = ud.string_len; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/gtk/support.h b/crypto/external/cpl/trousers/dist/src/tspi/gtk/support.h new file mode 100644 index 00000000000..3b8186ac969 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/gtk/support.h @@ -0,0 +1,81 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2004 + * + */ + +#ifndef _SUPPORT_H_ +#define _SUPPOR_H_ + +/* + * DO NOT EDIT THIS FILE - it is generated by Glade. + */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +/* + * Standard gettext macros. + */ +#ifdef ENABLE_NLS +# include +# undef _ +# define _(String) dgettext (PACKAGE, String) +# ifdef gettext_noop +# define N_(String) gettext_noop (String) +# else +# define N_(String) (String) +# endif +#else +# define textdomain(String) (String) +# define gettext(String) (String) +# define dgettext(Domain,Message) (Message) +# define dcgettext(Domain,Message,Type) (Message) +# define bindtextdomain(Domain,Directory) (Domain) +# define _(String) (String) +# define N_(String) (String) +#endif + + +/* + * Public Functions. + */ + +/* + * This function returns a widget in a component created by Glade. + * Call it with the toplevel widget in the component (i.e. a window/dialog), + * or alternatively any widget in the component, and the name of the widget + * you want returned. + */ +GtkWidget* lookup_widget (GtkWidget *widget, + const gchar *widget_name); + + +/* Use this function to set the directory containing installed pixmaps. */ +void __tspi_add_pixmap_directory (const gchar *directory); + + +/* + * Private Functions. + */ + +/* This is used to create the pixmaps used in the interface. */ +GtkWidget* create_pixmap (GtkWidget *widget, + const gchar *filename); + +/* This is used to create the pixbufs used in the interface. */ +GdkPixbuf* create_pixbuf (const gchar *filename); + +/* This is used to set ATK action descriptions. */ +void glade_set_atk_action_description (AtkAction *action, + const gchar *action_name, + const gchar *description); + +#endif diff --git a/crypto/external/cpl/trousers/dist/src/tspi/log.c b/crypto/external/cpl/trousers/dist/src/tspi/log.c index 9f691bef80d..ef2cc9ae2e0 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/log.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/log.c @@ -13,6 +13,7 @@ #include #include "trousers/tss.h" +#include "spi_utils.h" #include "tsplog.h" #ifdef TSS_DEBUG @@ -38,12 +39,12 @@ LogBlobData(char *szDescriptor, unsigned long sizeOfBlob, unsigned char *blob) if (getenv("TSS_DEBUG_OFF")) return; - memset(temp, 0, sizeof(temp)); + __tspi_memset(temp, 0, sizeof(temp)); for (i = 0; (unsigned long)i < sizeOfBlob; i++) { if ((i > 0) && ((i % 16) == 0)) { fprintf(stdout, "%s\n", temp); - memset(temp, 0, sizeof(temp)); + __tspi_memset(temp, 0, sizeof(temp)); } snprintf(&temp[(i%16)*3], 4, "%.2X ", blob[i]); } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj.c b/crypto/external/cpl/trousers/dist/src/tspi/obj.c index ad5c79ae4f6..c434d9a3d92 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj.c @@ -39,8 +39,8 @@ NVSTORE_LIST_DECLARE; DELFAMILY_LIST_DECLARE; MIGDATA_LIST_DECLARE; -void -list_init(struct obj_list *list) +static void +tspi_list_init(struct obj_list *list) { list->head = NULL; MUTEX_INIT(list->lock); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_context.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_context.c index cb2091e6fe1..5db6d8cc9d8 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_context.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_context.c @@ -23,14 +23,13 @@ #include "capabilities.h" #include "tsplog.h" #include "obj.h" - +#include "tsp_tcsi_param.h" TSS_RESULT obj_context_add(TSS_HOBJECT *phObject) { TSS_RESULT result; struct tr_context_obj *context = calloc(1, sizeof(struct tr_context_obj)); - unsigned len = strlen(TSS_LOCALHOST_STRING) + 1; if (context == NULL) { LogError("malloc of %zd bytes failed.", sizeof(struct tr_context_obj)); @@ -42,13 +41,13 @@ obj_context_add(TSS_HOBJECT *phObject) #else context->silentMode = TSS_TSPATTRIB_CONTEXT_SILENT; #endif - if ((context->machineName = calloc(1, len)) == NULL) { - LogError("malloc of %u bytes failed", len); + if ((result = get_tcsd_hostname((char **)&context->machineName, + &context->machineNameLength)) != TSS_SUCCESS) { free(context); - return TSPERR(TSS_E_OUTOFMEMORY); + return result; } - memcpy(context->machineName, TSS_LOCALHOST_STRING, len); - context->machineNameLength = len; + + LogDebug("Hostname to be used by the context is %s.", context->machineName); context->hashMode = TSS_TSPATTRIB_HASH_MODE_NOT_NULL; context->connection_policy = TSS_TSPATTRIB_CONTEXT_VERSION_V1_1; @@ -133,13 +132,13 @@ obj_context_close(TSS_HCONTEXT tspContext) if (context->transAuth.AuthHandle) { RPC_FlushSpecific(tspContext, context->transAuth.AuthHandle, TPM_RT_TRANS); - memset(&context->transPub, 0, sizeof(TPM_TRANSPORT_PUBLIC)); - memset(&context->transMod, 0, sizeof(TPM_MODIFIER_INDICATOR)); - memset(&context->transSecret, 0, sizeof(TPM_TRANSPORT_AUTH)); - memset(&context->transAuth, 0, sizeof(TPM_AUTH)); - memset(&context->transLogIn, 0, sizeof(TPM_TRANSPORT_LOG_IN)); - memset(&context->transLogOut, 0, sizeof(TPM_TRANSPORT_LOG_OUT)); - memset(&context->transLogDigest, 0, sizeof(TPM_DIGEST)); + __tspi_memset(&context->transPub, 0, sizeof(TPM_TRANSPORT_PUBLIC)); + __tspi_memset(&context->transMod, 0, sizeof(TPM_MODIFIER_INDICATOR)); + __tspi_memset(&context->transSecret, 0, sizeof(TPM_TRANSPORT_AUTH)); + __tspi_memset(&context->transAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&context->transLogIn, 0, sizeof(TPM_TRANSPORT_LOG_IN)); + __tspi_memset(&context->transLogOut, 0, sizeof(TPM_TRANSPORT_LOG_OUT)); + __tspi_memset(&context->transLogDigest, 0, sizeof(TPM_DIGEST)); } #endif @@ -186,6 +185,7 @@ obj_context_get_machine_name(TSS_HCONTEXT tspContext, UINT32 *size, BYTE **data) if (context->machineNameLength == 0) { *data = NULL; *size = 0; + LogDebug("context->machineName is NULL."); } else { /* * Don't use calloc_tspi because this memory is @@ -199,6 +199,7 @@ obj_context_get_machine_name(TSS_HCONTEXT tspContext, UINT32 *size, BYTE **data) goto done; } *size = context->machineNameLength; + LogDebug("context->machineName: %s.", context->machineName); memcpy(*data, context->machineName, *size); } @@ -271,7 +272,14 @@ obj_context_set_machine_name(TSS_HCONTEXT tspContext, BYTE *name, UINT32 len) context = (struct tr_context_obj *)obj->data; free(context->machineName); - context->machineName = name; + + context->machineName = (BYTE *)calloc(1, len); + if (context->machineName == NULL) { + LogError("malloc of %u bytes failed.", len); + return TSPERR(TSS_E_OUTOFMEMORY); + } + memcpy(context->machineName, name, len); + context->machineNameLength = len; obj_list_put(&context_list); @@ -795,7 +803,7 @@ obj_context_transport_establish(TSS_HCONTEXT tspContext, struct tr_context_obj * tcsTransKey = TPM_KH_TRANSPORT; /* If logging is on, do TPM commands spec rev106 step 8.a */ - memset(context->transLogDigest.digest, 0, sizeof(TPM_DIGEST)); + __tspi_memset(context->transLogDigest.digest, 0, sizeof(TPM_DIGEST)); if (context->flags & TSS_CONTEXT_FLAGS_TRANSPORT_AUTHENTIC) { context->transLogIn.tag = TPM_TAG_TRANSPORT_LOG_IN; @@ -809,7 +817,7 @@ obj_context_transport_establish(TSS_HCONTEXT tspContext, struct tr_context_obj * return result; /* step 8.a, ii */ - memset(context->transLogIn.pubKeyHash.digest, 0, sizeof(TPM_DIGEST)); + __tspi_memset(context->transLogIn.pubKeyHash.digest, 0, sizeof(TPM_DIGEST)); /* step 8.a, iii */ result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1); @@ -1113,7 +1121,7 @@ obj_context_transport_execute(TSS_HCONTEXT tspContext, memcpy(context->transLogIn.pubKeyHash.digest, pubKeyHash->digest, sizeof(TPM_DIGEST)); else - memset(context->transLogIn.pubKeyHash.digest, 0, sizeof(TPM_DIGEST)); + __tspi_memset(context->transLogIn.pubKeyHash.digest, 0, sizeof(TPM_DIGEST)); /* TPM Commands spec rev106 step 10.f */ result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1); @@ -1420,13 +1428,13 @@ obj_context_transport_close(TSS_HCONTEXT tspContext, signInfo->dataLen = sizeof(TPM_DIGEST); /* destroy all transport session info, except the key handle */ - memset(&context->transPub, 0, sizeof(TPM_TRANSPORT_PUBLIC)); - memset(&context->transMod, 0, sizeof(TPM_MODIFIER_INDICATOR)); - memset(&context->transSecret, 0, sizeof(TPM_TRANSPORT_AUTH)); - memset(&context->transAuth, 0, sizeof(TPM_AUTH)); - memset(&context->transLogIn, 0, sizeof(TPM_TRANSPORT_LOG_IN)); - memset(&context->transLogOut, 0, sizeof(TPM_TRANSPORT_LOG_OUT)); - memset(&context->transLogDigest, 0, sizeof(TPM_DIGEST)); + __tspi_memset(&context->transPub, 0, sizeof(TPM_TRANSPORT_PUBLIC)); + __tspi_memset(&context->transMod, 0, sizeof(TPM_MODIFIER_INDICATOR)); + __tspi_memset(&context->transSecret, 0, sizeof(TPM_TRANSPORT_AUTH)); + __tspi_memset(&context->transAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&context->transLogIn, 0, sizeof(TPM_TRANSPORT_LOG_IN)); + __tspi_memset(&context->transLogOut, 0, sizeof(TPM_TRANSPORT_LOG_OUT)); + __tspi_memset(&context->transLogDigest, 0, sizeof(TPM_DIGEST)); done_disabled: context->flags &= ~TSS_CONTEXT_FLAGS_TRANSPORT_ESTABLISHED; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_daa.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_daa.c new file mode 100644 index 00000000000..a073633dbc4 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_daa.c @@ -0,0 +1,151 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2006, 2007 + * + */ + + +#include +#include +#include +#include + +#include "trousers/tss.h" +#include "trousers/trousers.h" +#include "trousers_types.h" +#include "spi_utils.h" +#include "capabilities.h" +#include "tsplog.h" +#include "obj.h" + +/* + * adds a new daa object to the daa list with TSP context tspContext + */ +TSS_RESULT +obj_daa_add(TSS_HCONTEXT tspContext, TSS_HOBJECT *phObject) +{ + TSS_RESULT result; + struct tr_daa_obj *daa = calloc(1, sizeof(struct tr_daa_obj)); + + if (daa == NULL) { + LogError("malloc of %d bytes failed.", sizeof(struct tr_daa_obj)); + return TSPERR(TSS_E_OUTOFMEMORY); + } + + if ((result = obj_list_add(&daa_list, tspContext, 0, daa, phObject))) { + free(daa); + return result; + } + + return TSS_SUCCESS; +} + +void +daa_free(void *data) +{ + struct tr_daa_obj *daa = (struct tr_daa_obj *)data; + + /* free all pointers in the tr_daa_obj object here */ + free(daa); +} + +/* + * remove DAA object hObject from the DAA list + */ +TSS_RESULT +obj_daa_remove(TSS_HOBJECT hObject, TSS_HCONTEXT tspContext) +{ + TSS_RESULT result; + + if ((result = obj_list_remove(&daa_list, &daa_free, hObject, tspContext))) + return result; + + return TSS_SUCCESS; +} + +TSS_BOOL +obj_is_daa(TSS_HOBJECT hObject) +{ + TSS_BOOL answer = FALSE; + + if ((obj_list_get_obj(&daa_list, hObject))) { + answer = TRUE; + obj_list_put(&daa_list); + } + + return answer; +} + +TSS_RESULT +obj_daa_get_tsp_context(TSS_HDAA hDaa, TSS_HCONTEXT *tspContext) +{ + struct tsp_object *obj; + + if ((obj = obj_list_get_obj(&daa_list, hDaa)) == NULL) + return TSPERR(TSS_E_INVALID_HANDLE); + + *tspContext = obj->tspContext; + + obj_list_put(&daa_list); + + return TSS_SUCCESS; +} + +static TSS_RESULT +obj_daa_get_and_lock_data(TSS_HDAA hDaa, struct tr_daa_obj **daa) +{ + struct tsp_object *obj; + + if ((obj = obj_list_get_obj(&daa_list, hDaa)) == NULL) + return TSPERR(TSS_E_INVALID_HANDLE); + *daa = obj->data; + return TSS_SUCCESS; +} + +TSS_RESULT +obj_daa_get_handle_tpm(TSS_HDAA hDAA, TPM_HANDLE *hTPM) { + struct tr_daa_obj *daa_struct; + TSS_RESULT result; + + if( (result = obj_daa_get_and_lock_data( hDAA, &daa_struct)) != TSS_SUCCESS) return result; + *hTPM = daa_struct->tpm_handle; + obj_list_put(&daa_list); + return TSS_SUCCESS; +} + +TSS_RESULT +obj_daa_set_handle_tpm(TSS_HDAA hDAA, TPM_HANDLE hTPM) { + struct tr_daa_obj *daa_struct; + TSS_RESULT result; + + if( (result = obj_daa_get_and_lock_data( hDAA, &daa_struct)) != TSS_SUCCESS) return result; + daa_struct->tpm_handle = hTPM; + obj_list_put(&daa_list); + return TSS_SUCCESS; +} + +TSS_RESULT +obj_daa_get_session_handle(TSS_HDAA hDAA, UINT32 *session_handle) { + struct tr_daa_obj *daa_struct; + TSS_RESULT result; + + if( (result = obj_daa_get_and_lock_data( hDAA, &daa_struct)) != TSS_SUCCESS) return result; + *session_handle = daa_struct->session_handle; + obj_list_put(&daa_list); + return TSS_SUCCESS; +} + +TSS_RESULT +obj_daa_set_session_handle(TSS_HDAA hDAA, UINT32 session_handle) { + struct tr_daa_obj *daa_struct; + TSS_RESULT result; + + if( (result = obj_daa_get_and_lock_data( hDAA, &daa_struct)) != TSS_SUCCESS) return result; + daa_struct->session_handle = session_handle; + obj_list_put(&daa_list); + return TSS_SUCCESS; +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_delfamily.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_delfamily.c index 363548e53fa..a2fed27cd8f 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_delfamily.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_delfamily.c @@ -86,7 +86,7 @@ void obj_delfamily_find_by_familyid(TSS_HOBJECT hObject, UINT32 familyID, TSS_HDELFAMILY *hFamily) { TSS_HCONTEXT hContext; - struct tsp_object *obj, *prev = NULL; + struct tsp_object *obj; struct obj_list *list = &delfamily_list; struct tr_delfamily_obj *delfamily; @@ -95,12 +95,14 @@ obj_delfamily_find_by_familyid(TSS_HOBJECT hObject, UINT32 familyID, TSS_HDELFAM *hFamily = NULL_HDELFAMILY; if (obj_is_tpm(hObject)) { - if (obj_tpm_get_tsp_context((TSS_HTPM)hObject, &hContext)) + if (obj_tpm_get_tsp_context((TSS_HTPM)hObject, &hContext)) { + pthread_mutex_unlock(&list->lock); return; + } } else hContext = (TSS_HCONTEXT)hObject; - for (obj = list->head; obj; prev = obj, obj = obj->next) { + for (obj = list->head; obj; obj = obj->next) { if (obj->tspContext != hContext) continue; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_encdata.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_encdata.c index 29851017d82..c14062cc5d2 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_encdata.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_encdata.c @@ -302,6 +302,11 @@ obj_encdata_get_pcr_selection(TSS_HENCDATA hEncData, goto done; } + if (selection == NULL) { + result = TSPERR(TSS_E_INVALID_OBJ_ACCESS); + goto done; + } + *size = sizeof(UINT16) + selection->sizeOfSelect; if ((*data = calloc_tspi(obj->tspContext, *size)) == NULL) { @@ -427,13 +432,13 @@ obj_encdata_remove(TSS_HOBJECT hObject, TSS_HCONTEXT tspContext) void obj_encdata_remove_policy_refs(TSS_HPOLICY hPolicy, TSS_HCONTEXT tspContext) { - struct tsp_object *obj, *prev = NULL; + struct tsp_object *obj; struct obj_list *list = &encdata_list; struct tr_encdata_obj *encdata; pthread_mutex_lock(&list->lock); - for (obj = list->head; obj; prev = obj, obj = obj->next) { + for (obj = list->head; obj; obj = obj->next) { if (obj->tspContext != tspContext) continue; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_migdata.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_migdata.c index 39966adfe3d..aee4cba78d2 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_migdata.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_migdata.c @@ -578,7 +578,7 @@ obj_migdata_set_ma_pubkey(TSS_HMIGDATA hMigData, UINT32 blobSize, BYTE *pubKeyBl done: obj_list_put(&migdata_list); - return TSS_SUCCESS; + return result; } TSS_RESULT @@ -656,7 +656,7 @@ obj_migdata_set_dest_pubkey(TSS_HMIGDATA hMigData, UINT32 blobSize, BYTE *pubKey done: obj_list_put(&migdata_list); - return TSS_SUCCESS; + return result; } TSS_RESULT @@ -734,7 +734,7 @@ obj_migdata_set_src_pubkey(TSS_HMIGDATA hMigData, UINT32 blobSize, BYTE *pubKeyB done: obj_list_put(&migdata_list); - return TSS_SUCCESS; + return result; } TSS_RESULT diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_nv.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_nv.c index 1cbe89cca1f..9d394f28f76 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_nv.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_nv.c @@ -3,20 +3,6 @@ * Portions created by Intel Corporation are Copyright (C) 2007 Intel Corporation. * All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the Common Public License as published by - * IBM Corporation; either version 1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * Common Public License for more details. - * - * You should have received a copy of the Common Public License - * along with this program; if not, a copy can be viewed at - * http://www.opensource.org/licenses/cpl1.0.php. - * * trousers - An open source TCG Software Stack * * Author: james.xu@intel.com Rossey.liu@intel.com @@ -442,7 +428,6 @@ obj_nvstore_get_writedigestatrelease(TSS_HNVSTORE hNvstore, UINT32 *size, BYTE * UINT32 data_public_size = MAX_PUBLIC_DATA_SIZE; UINT32 offset; UINT16 pcrread_sizeOfSelect; - UINT16 pcrwrite_sizeOfSelect; TSS_HCONTEXT tspContext; TSS_RESULT result; @@ -466,7 +451,7 @@ obj_nvstore_get_writedigestatrelease(TSS_HNVSTORE hNvstore, UINT32 *size, BYTE * + sizeof(TPM_LOCALITY_SELECTION) + sizeof(TPM_COMPOSITE_HASH); - pcrwrite_sizeOfSelect = Decode_UINT16(nv_data_public + offset); + Decode_UINT16(nv_data_public + offset); offset = offset + sizeof(UINT16) + pcrread_sizeOfSelect + sizeof(TPM_LOCALITY_SELECTION); memcpy(*data, nv_data_public + offset, sizeof(TPM_COMPOSITE_HASH)); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_pcrs.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_pcrs.c index 540830221e7..6476e5c0fb2 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_pcrs.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_pcrs.c @@ -71,9 +71,11 @@ pcrs_free(void *data) switch (pcrs->type) { case TSS_PCRS_STRUCT_INFO: free(pcrs->info.info11.pcrSelection.pcrSelect); + free(pcrs->pcrs); break; case TSS_PCRS_STRUCT_INFO_SHORT: free(pcrs->info.infoshort.pcrSelection.pcrSelect); + free(pcrs->pcrs); break; case TSS_PCRS_STRUCT_INFO_LONG: free(pcrs->info.infolong.creationPCRSelection.pcrSelect); @@ -248,7 +250,7 @@ obj_pcrs_set_value(TSS_HPCRS hPcrs, UINT32 idx, UINT32 size, BYTE *value) goto done; } select->sizeOfSelect = bytes_to_hold; - memset(select->pcrSelect, 0, bytes_to_hold); + __tspi_memset(select->pcrSelect, 0, bytes_to_hold); /* allocate the pcr array */ if ((pcrs->pcrs = malloc(bytes_to_hold * 8 * @@ -265,8 +267,8 @@ obj_pcrs_set_value(TSS_HPCRS hPcrs, UINT32 idx, UINT32 size, BYTE *value) goto done; } /* set the newly allocated bytes to 0 */ - memset(&select->pcrSelect[select->sizeOfSelect], 0, - bytes_to_hold - select->sizeOfSelect); + __tspi_memset(&select->pcrSelect[select->sizeOfSelect], 0, + bytes_to_hold - select->sizeOfSelect); select->sizeOfSelect = bytes_to_hold; /* realloc the pcrs array */ @@ -358,8 +360,13 @@ obj_pcrs_get_digest_at_release(TSS_HPCRS hPcrs, UINT32 *size, BYTE **out) switch(pcrs->type) { case TSS_PCRS_STRUCT_INFO: +#ifdef TSS_SPEC_COMPLIANCE result = TSPERR(TSS_E_INVALID_OBJ_ACCESS); goto done; +#else + digest = (BYTE *)&pcrs->info.info11.digestAtRelease; + break; +#endif case TSS_PCRS_STRUCT_INFO_SHORT: digest = (BYTE *)&pcrs->info.infoshort.digestAtRelease; break; @@ -425,7 +432,7 @@ obj_pcrs_select_index(TSS_HPCRS hPcrs, UINT32 idx) goto done; } select->sizeOfSelect = bytes_to_hold; - memset(select->pcrSelect, 0, bytes_to_hold); + __tspi_memset(select->pcrSelect, 0, bytes_to_hold); /* alloc the pcrs array */ if ((pcrs->pcrs = malloc(bytes_to_hold * 8 * TCPA_SHA1_160_HASH_LEN)) == NULL) { @@ -441,8 +448,8 @@ obj_pcrs_select_index(TSS_HPCRS hPcrs, UINT32 idx) goto done; } /* set the newly allocated bytes to 0 */ - memset(&select->pcrSelect[select->sizeOfSelect], 0, - bytes_to_hold - select->sizeOfSelect); + __tspi_memset(&select->pcrSelect[select->sizeOfSelect], 0, + bytes_to_hold - select->sizeOfSelect); select->sizeOfSelect = bytes_to_hold; /* realloc the pcrs array */ @@ -512,7 +519,7 @@ obj_pcrs_select_index_ex(TSS_HPCRS hPcrs, UINT32 dir, UINT32 idx) goto done; } select->sizeOfSelect = bytes_to_hold; - memset(select->pcrSelect, 0, bytes_to_hold); + __tspi_memset(select->pcrSelect, 0, bytes_to_hold); /* alloc the pcrs array */ if ((pcrs->pcrs = malloc(bytes_to_hold * 8 * TCPA_SHA1_160_HASH_LEN)) == NULL) { @@ -528,8 +535,8 @@ obj_pcrs_select_index_ex(TSS_HPCRS hPcrs, UINT32 dir, UINT32 idx) goto done; } /* set the newly allocated bytes to 0 */ - memset(&select->pcrSelect[select->sizeOfSelect], 0, - bytes_to_hold - select->sizeOfSelect); + __tspi_memset(&select->pcrSelect[select->sizeOfSelect], 0, + bytes_to_hold - select->sizeOfSelect); select->sizeOfSelect = bytes_to_hold; /* realloc the pcrs array */ @@ -606,7 +613,7 @@ obj_pcrs_create_info(TSS_HPCRS hPcrs, UINT32 *size, BYTE **info) pcrs = (struct tr_pcrs_obj *)obj->data; /* Set everything that is not assigned to be all zeroes */ - memset(&info11, 0, sizeof(info11)); + __tspi_memset(&info11, 0, sizeof(info11)); switch (pcrs->type) { case TSS_PCRS_STRUCT_INFO: @@ -666,7 +673,7 @@ obj_pcrs_create_info_long(TSS_HPCRS hPcrs, UINT32 *size, BYTE **info) pcrs = (struct tr_pcrs_obj *)obj->data; /* Set everything that is not assigned to be all zeroes */ - memset(&infolong, 0, sizeof(infolong)); + __tspi_memset(&infolong, 0, sizeof(infolong)); infolong.tag = TPM_TAG_PCR_INFO_LONG; /* localityAtCreation and creationPCRSelection certainly do not need to be set here, but @@ -730,7 +737,7 @@ obj_pcrs_create_info_short(TSS_HPCRS hPcrs, UINT32 *size, BYTE **info) BYTE *ret; /* Set everything that is not assigned to be all zeroes */ - memset(&infoshort, 0, sizeof(infoshort)); + __tspi_memset(&infoshort, 0, sizeof(infoshort)); if (hPcrs != NULL_HPCRS) { if ((obj = obj_list_get_obj(&pcrs_list, hPcrs)) == NULL) diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_policy.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_policy.c index e76681b0fa2..19c4b22cbbe 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_policy.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_policy.c @@ -195,7 +195,7 @@ obj_policy_get_secret(TSS_HPOLICY hPolicy, TSS_BOOL ctx, TCPA_SECRET *secret) policy = (struct tr_policy_obj *)obj->data; - memset(&null_secret, 0, sizeof(TCPA_SECRET)); + __tspi_memset(&null_secret, 0, sizeof(TCPA_SECRET)); switch (policy->SecretMode) { case TSS_SECRET_MODE_POPUP: @@ -247,7 +247,7 @@ obj_policy_flush_secret(TSS_HPOLICY hPolicy) policy = (struct tr_policy_obj *)obj->data; - memset(&policy->Secret, 0, policy->SecretSize); + __tspi_memset(&policy->Secret, 0, policy->SecretSize); policy->SecretSet = FALSE; obj_list_put(&policy_list); @@ -328,7 +328,7 @@ obj_policy_set_secret(TSS_HPOLICY hPolicy, TSS_FLAG mode, UINT32 size, BYTE *dat TSS_BOOL secret_set = TRUE; TSS_RESULT result; - memset(&digest.digest, 0, sizeof(TCPA_DIGEST)); + __tspi_memset(&digest.digest, 0, sizeof(TCPA_DIGEST)); switch (mode) { case TSS_SECRET_MODE_PLAIN: diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_rsakey.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_rsakey.c index ab3bf1fe583..3e15c6c79a6 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_rsakey.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_rsakey.c @@ -87,7 +87,7 @@ obj_rsakey_add(TSS_HCONTEXT tspContext, TSS_FLAG initFlags, TSS_HOBJECT *phObjec if (initFlags == TSS_KEY_EMPTY_KEY) goto add_key; - memset(&rsaKeyParms, 0, sizeof(TCPA_RSA_KEY_PARMS)); + __tspi_memset(&rsaKeyParms, 0, sizeof(TCPA_RSA_KEY_PARMS)); rsakey->key.algorithmParms.algorithmID = TCPA_ALG_RSA; rsakey->key.algorithmParms.parmSize = sizeof(TCPA_RSA_KEY_PARMS); @@ -1722,14 +1722,14 @@ done: TSS_RESULT obj_rsakey_set_srk_pubkey(BYTE *pubkey) { - struct tsp_object *obj, *prev = NULL; + struct tsp_object *obj; struct obj_list *list = &rsakey_list; struct tr_rsakey_obj *rsakey; TSS_RESULT result; MUTEX_LOCK(list->lock); - for (obj = list->head; obj; prev = obj, obj = obj->next) { + for (obj = list->head; obj; obj = obj->next) { rsakey = (struct tr_rsakey_obj *)obj->data; /* we found the SRK, set this data as its public key */ @@ -1896,13 +1896,13 @@ done: void obj_rsakey_remove_policy_refs(TSS_HPOLICY hPolicy, TSS_HCONTEXT tspContext) { - struct tsp_object *obj, *prev = NULL; + struct tsp_object *obj; struct obj_list *list = &rsakey_list; struct tr_rsakey_obj *rsakey; MUTEX_LOCK(list->lock); - for (obj = list->head; obj; prev = obj, obj = obj->next) { + for (obj = list->head; obj; obj = obj->next) { if (obj->tspContext != tspContext) continue; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/obj_tpm.c b/crypto/external/cpl/trousers/dist/src/tspi/obj_tpm.c index 962fd51b5a8..586b8758b44 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/obj_tpm.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/obj_tpm.c @@ -459,13 +459,13 @@ done: void obj_tpm_remove_policy_refs(TSS_HPOLICY hPolicy, TSS_HCONTEXT tspContext) { - struct tsp_object *obj, *prev = NULL; + struct tsp_object *obj; struct obj_list *list = &tpm_list; struct tr_tpm_obj *tpm; pthread_mutex_lock(&list->lock); - for (obj = list->head; obj; prev = obj, obj = obj->next) { + for (obj = list->head; obj; obj = obj->next) { if (obj->tspContext != tspContext) continue; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/hosttable.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/hosttable.c index f3ec2eb97e8..c4d85634aff 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/hosttable.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/hosttable.c @@ -19,7 +19,7 @@ #include "hosttable.h" #include "obj.h" -struct host_table *ht = NULL; +static struct host_table *ht = NULL; TSS_RESULT host_table_init() @@ -39,7 +39,7 @@ host_table_init() #pragma init(_init) void _init(void) #else -void __attribute__ ((constructor)) my_init(void) +static void __attribute__ ((constructor)) my_init(void) #endif { host_table_init(); @@ -73,7 +73,7 @@ host_table_final() #pragma fini(_fini) void _fini(void) #else -void __attribute__ ((destructor)) my_fini(void) +static void __attribute__ ((destructor)) my_fini(void) #endif { host_table_final(); @@ -82,25 +82,35 @@ void __attribute__ ((destructor)) my_fini(void) TSS_RESULT __tspi_add_table_entry(TSS_HCONTEXT tspContext, BYTE *host, int type, struct host_table_entry **ret) { - struct host_table_entry *entry, *tmp; - - entry = calloc(1, sizeof(struct host_table_entry)); - if (entry == NULL) { - LogError("malloc of %zd bytes failed.", sizeof(struct host_table_entry)); - return TSPERR(TSS_E_OUTOFMEMORY); - } - - entry->tspContext = tspContext; - entry->hostname = host; - entry->type = type; - entry->comm.buf_size = TCSD_INIT_TXBUF_SIZE; - entry->comm.buf = calloc(1, entry->comm.buf_size); - if (entry->comm.buf == NULL) { - LogError("malloc of %u bytes failed.", entry->comm.buf_size); - free(entry); - return TSPERR(TSS_E_OUTOFMEMORY); - } - MUTEX_INIT(entry->lock); + struct host_table_entry *entry, *tmp; + int hostlen; + + entry = calloc(1, sizeof(struct host_table_entry)); + if (entry == NULL) { + LogError("malloc of %zd bytes failed.", sizeof(struct host_table_entry)); + return TSPERR(TSS_E_OUTOFMEMORY); + } + + entry->tspContext = tspContext; + + hostlen = strlen((char *)host)+1; + entry->hostname = (BYTE *)calloc(1, hostlen); + if (entry->hostname == NULL) { + LogError("malloc of %u bytes failed.", hostlen); + free(entry); + return TSPERR(TSS_E_OUTOFMEMORY); + } + memcpy(entry->hostname, host, hostlen); + + entry->type = type; + entry->comm.buf_size = TCSD_INIT_TXBUF_SIZE; + entry->comm.buf = calloc(1, entry->comm.buf_size); + if (entry->comm.buf == NULL) { + LogError("malloc of %u bytes failed.", entry->comm.buf_size); + free(entry); + return TSPERR(TSS_E_OUTOFMEMORY); + } + MUTEX_INIT(entry->lock); MUTEX_LOCK(ht->lock); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc.c index 963da1f6a20..b54ca2f4c9e 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc.c @@ -31,22 +31,20 @@ #include "tcsd_wrap.h" #include "obj.h" #include "rpc_tcstp_tsp.h" +#include "tsp_tcsi_param.h" void initData(struct tcsd_comm_data *comm, int parm_count) { /* min packet size should be the size of the header */ - memset(&comm->hdr, 0, sizeof(struct tcsd_packet_hdr)); + __tspi_memset(&comm->hdr, 0, sizeof(struct tcsd_packet_hdr)); comm->hdr.packet_size = sizeof(struct tcsd_packet_hdr); - if (parm_count > 0) { - comm->hdr.type_offset = sizeof(struct tcsd_packet_hdr); - comm->hdr.parm_offset = comm->hdr.type_offset + - (sizeof(TCSD_PACKET_TYPE) * parm_count); - comm->hdr.packet_size = comm->hdr.parm_offset; - } + comm->hdr.type_offset = sizeof(struct tcsd_packet_hdr); + comm->hdr.parm_offset = comm->hdr.type_offset + (sizeof(TCSD_PACKET_TYPE) * parm_count); + comm->hdr.packet_size = comm->hdr.parm_offset; - memset(comm->buf, 0, comm->buf_size); + __tspi_memset(comm->buf, 0, comm->buf_size); } int @@ -123,11 +121,11 @@ setData(TCSD_PACKET_TYPE dataType, offset = 0; if ((result = loadData(&offset, dataType, theData, theDataSize, NULL))) return result; - if (((int)comm->hdr.packet_size + (int)offset) < 0) { + if ((comm->hdr.packet_size + offset) > TSS_TPM_TXBLOB_SIZE) { LogError("Too much data to be transmitted!"); return TSPERR(TSS_E_INTERNAL_ERROR); } - if (((int)comm->hdr.packet_size + (int)offset) > comm->buf_size) { + if ((comm->hdr.packet_size + offset) > comm->buf_size) { /* reallocate the buffer */ BYTE *buffer; int buffer_size = comm->hdr.packet_size + offset; @@ -345,42 +343,9 @@ send_init(struct host_table_entry *hte) BYTE *buffer; TSS_RESULT result; - struct sockaddr_in addr; - struct hostent *hEnt = NULL; - - sd = socket(PF_INET, SOCK_STREAM, 0); - if (sd == -1) { - LogError("socket: %s", strerror(errno)); - result = TSPERR(TSS_E_COMM_FAILURE); - goto err_exit; - } - - memset(&addr, 0, sizeof(addr)); - addr.sin_family = AF_INET; - addr.sin_port = htons(get_port()); - - LogDebug("Sending TSP packet to host %s.", hte->hostname); - - /* try to resolve by hostname first */ - hEnt = gethostbyname((char *)hte->hostname); - if (hEnt == NULL) { - /* if by hostname fails, try by dot notation */ - if (inet_aton((char *)hte->hostname, &addr.sin_addr) == 0) { - LogError("hostname %s does not resolve to a valid address.", hte->hostname); - result = TSPERR(TSS_E_CONNECTION_FAILED); - goto err_exit; - } - } else { - memcpy(&addr.sin_addr, hEnt->h_addr_list[0], 4); - } - - LogDebug("Connecting to %s", inet_ntoa(addr.sin_addr)); - - if (connect(sd, (struct sockaddr *) &addr, sizeof (addr))) { - LogError("connect: %s", strerror(errno)); - result = TSPERR(TSS_E_COMM_FAILURE); + result = get_socket(hte, &sd); + if (result != TSS_SUCCESS) goto err_exit; - } if (send_to_socket(sd, hte->comm.buf, hte->comm.hdr.packet_size) < 0) { result = TSPERR(TSS_E_COMM_FAILURE); @@ -389,7 +354,7 @@ send_init(struct host_table_entry *hte) buffer = hte->comm.buf; recv_size = sizeof(struct tcsd_packet_hdr); - if ((recv_size = recv_from_socket(sd, buffer, recv_size)) < 0) { + if (recv_from_socket(sd, buffer, recv_size) < 0) { result = TSPERR(TSS_E_COMM_FAILURE); goto err_exit; } @@ -404,7 +369,7 @@ send_init(struct host_table_entry *hte) goto err_exit; } - if (recv_size > hte->comm.buf_size ) { + if (recv_size > (int) hte->comm.buf_size ) { BYTE *new_buffer; LogDebug("Increasing communication buffer to %d bytes.", recv_size); @@ -421,7 +386,7 @@ send_init(struct host_table_entry *hte) /* get the rest of the packet */ recv_size -= sizeof(struct tcsd_packet_hdr); /* already received the header */ - if ((recv_size = recv_from_socket(sd, buffer, recv_size)) < 0) { + if (recv_from_socket(sd, buffer, recv_size) < 0) { result = TSPERR(TSS_E_COMM_FAILURE); goto err_exit; } @@ -464,7 +429,7 @@ tcs_sendit(struct host_table_entry *hte) goto err_exit; } - if (recv_size > hte->comm.buf_size ) { + if (recv_size > (int) hte->comm.buf_size ) { BYTE *new_buffer; LogDebug("Increasing communication buffer to %d bytes.", recv_size); @@ -492,23 +457,61 @@ err_exit: return result; } -/* XXX this should be moved out of an RPC-specific file */ -short -get_port(void) +/* TODO: Future work - remove socket creation/manipulation from RPC-specific file */ +TSS_RESULT +get_socket(struct host_table_entry *hte, int *sd) { - char *env_port; - int port = 0; + char port_str[TCP_PORT_STR_MAX_LEN]; // To accomodate string 65535 + struct addrinfo hints, *p, *res=NULL; + int rv; + TSS_RESULT result = TSS_SUCCESS; - env_port = getenv("TSS_TCSD_PORT"); + __tspi_memset(&hints, 0, sizeof(hints)); + hints.ai_socktype = SOCK_STREAM; + hints.ai_flags = AI_NUMERICSERV; - if (env_port == NULL) - return TCSD_DEFAULT_PORT; + __tspi_memset(&port_str, 0, sizeof(port_str)); - port = atoi(env_port); + if (get_tcsd_port(port_str) != TSS_SUCCESS) { + LogError("Could not retrieve TCP port information."); + goto exit; + } - if (port == 0 || port > 65535) - return TCSD_DEFAULT_PORT; + LogDebug("Retrieving address information from host: %s", (char *)hte->hostname); + rv = getaddrinfo((char *)hte->hostname, port_str, + &hints, &res); + if (rv != 0) { + LogError("hostname %s does not resolve to a valid address.", hte->hostname); + result = TSPERR(TSS_E_CONNECTION_FAILED); + res = NULL; + goto exit; + } - return (short)port; -} + LogWarn("Got a list of valid IPs"); + + for (p = res; p != NULL; p = p->ai_next) { + + *sd = socket(p->ai_family, SOCK_STREAM, 0); + if (*sd == -1) + continue; + + if (connect(*sd, p->ai_addr, p->ai_addrlen) != -1) + break; // Got a connection + + LogWarn("Could not connect to machine: %s", (char*)hte->hostname); + close(*sd); + } + + if (p == NULL) { + LogError("Could not connect to any machine in the list."); + result = TSPERR(TSS_E_COMM_FAILURE); + goto exit; + } + +exit: + if (res != NULL) + freeaddrinfo(res); + + return result; +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_admin.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_admin.c index e29726ef1a8..aae6b915bb5 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_admin.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_admin.c @@ -273,7 +273,7 @@ RPC_SetTempDeactivated2_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 1, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_audit.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_audit.c index 63cc0e2afca..5b828f4a623 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_audit.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_audit.c @@ -16,6 +16,7 @@ #include "trousers/tss.h" #include "trousers/trousers.h" #include "trousers_types.h" +#include "spi_utils.h" #include "tsplog.h" #include "hosttable.h" #include "tcsd_wrap.h" @@ -158,7 +159,7 @@ RPC_GetAuditDigestSigned_TP(struct host_table_entry *hte, hte->comm.hdr.u.ordinal = TCSD_ORD_GETAUDITDIGESTSIGNED; LogDebugFn("TCS Context: 0x%x", hte->tcsContext); - memset(&null_auth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&null_auth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_certify.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_certify.c index 3568c94e1ba..3c9a0c8ccc2 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_certify.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_certify.c @@ -42,7 +42,7 @@ RPC_CertifyKey_TP(struct host_table_entry *hte, int i; initData(&hte->comm, 6); - memset(&null_auth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&null_auth, 0, sizeof(TPM_AUTH)); hte->comm.hdr.u.ordinal = TCSD_ORD_CERTIFYKEY; LogDebugFn("TCS Context: 0x%x", hte->tcsContext); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_cmk.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_cmk.c index ef8dfd55496..c9db6e60676 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_cmk.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_cmk.c @@ -16,6 +16,7 @@ #include "trousers/tss.h" #include "trousers/trousers.h" #include "trousers_types.h" +#include "spi_utils.h" #include "tsplog.h" #include "hosttable.h" #include "tcsd_wrap.h" @@ -123,7 +124,7 @@ RPC_CMK_CreateKey_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 7, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } @@ -266,7 +267,7 @@ RPC_CMK_CreateBlob_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 14, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } @@ -359,7 +360,7 @@ RPC_CMK_ConvertMigration_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 10, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_delegate.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_delegate.c index d4b6ac210fa..ae2ce4b73ea 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_delegate.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_delegate.c @@ -16,6 +16,7 @@ #include "trousers/tss.h" #include "trousers/trousers.h" #include "trousers_types.h" +#include "spi_utils.h" #include "tsplog.h" #include "hosttable.h" #include "tcsd_wrap.h" @@ -55,7 +56,7 @@ RPC_Delegate_Manage_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 5, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } @@ -120,7 +121,7 @@ RPC_Delegate_CreateKeyDelegation_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 5, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } @@ -185,7 +186,7 @@ RPC_Delegate_CreateOwnerDelegation_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 5, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } @@ -244,7 +245,7 @@ RPC_Delegate_LoadOwnerDelegation_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 4, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } @@ -345,7 +346,7 @@ RPC_Delegate_UpdateVerificationCount_TP(struct host_table_entry *hte, } else { TPM_AUTH nullAuth; - memset(&nullAuth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&nullAuth, 0, sizeof(TPM_AUTH)); if (setData(TCSD_PACKET_TYPE_AUTH, 3, &nullAuth, 0, &hte->comm)) return TSPERR(TSS_E_INTERNAL_ERROR); } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_migration.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_migration.c index 43f7f27e911..cf272e12f52 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_migration.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_migration.c @@ -45,7 +45,7 @@ RPC_CreateMigrationBlob_TP(struct host_table_entry *hte, UINT32 i; initData(&hte->comm, 9); - memset(&null_auth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&null_auth, 0, sizeof(TPM_AUTH)); hte->comm.hdr.u.ordinal = TCSD_ORD_CREATEMIGRATIONBLOB; LogDebugFn("TCS Context: 0x%x", hte->tcsContext); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_nv.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_nv.c index faf44e5a769..41fbd86cf05 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_nv.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_nv.c @@ -3,20 +3,6 @@ * Portions created by Intel Corporation are Copyright (C) 2007 Intel Corporation. * All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the Common Public License as published by - * IBM Corporation; either version 1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * Common Public License for more details. - * - * You should have received a copy of the Common Public License - * along with this program; if not, a copy can be viewed at - * http://www.opensource.org/licenses/cpl1.0.php. - * * trousers - An open source TCG Software Stack * * Author: james.xu@intel.com Rossey.liu@intel.com diff --git a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_transport.c b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_transport.c index 91102cca463..6e126969d69 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_transport.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/rpc_transport.c @@ -138,7 +138,7 @@ RPC_ExecuteTransport_TP(struct host_table_entry *hte, TPM_AUTH null_auth; UINT32 i = 0; - memset(&null_auth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&null_auth, 0, sizeof(TPM_AUTH)); initData(&hte->comm, 9); hte->comm.hdr.u.ordinal = TCSD_ORD_EXECUTETRANSPORT; @@ -283,7 +283,7 @@ RPC_ReleaseTransportSigned_TP(struct host_table_entry *hte, TSS_RESULT result; TPM_AUTH null_auth; - memset(&null_auth, 0, sizeof(TPM_AUTH)); + __tspi_memset(&null_auth, 0, sizeof(TPM_AUTH)); initData(&hte->comm, 5); hte->comm.hdr.u.ordinal = TCSD_ORD_RELEASETRANSPORTSIGNED; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/ssl_ui.c b/crypto/external/cpl/trousers/dist/src/tspi/ssl_ui.c index 5e258955ead..380389d85b5 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/ssl_ui.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/ssl_ui.c @@ -49,8 +49,9 @@ static TSS_RESULT do_ui(BYTE *string, UINT32 *string_len, BYTE *popup, int verif ret = TSS_SUCCESS; unicode = Trspi_Native_To_UNICODE((BYTE *)pin_buf, string_len); - memset(string, 0, UI_MAX_SECRET_STRING_LENGTH); + __tspi_memset(string, 0, UI_MAX_SECRET_STRING_LENGTH); memcpy(string, unicode, *string_len); + free(unicode); out: UI_free(ui); no_ui: diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_auth.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_auth.c index 4a57ae7376f..d5380796fe6 100755 --- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_auth.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_auth.c @@ -359,7 +359,7 @@ validateReturnAuth(BYTE *secret, BYTE *hash, TPM_AUTH *auth) memcpy(digest, &auth->HMAC, 20); HMAC_Auth(secret, hash, auth); - return ((TSS_BOOL) memcmp(digest, &auth->HMAC, 20) != 0); + return ((TSS_BOOL) (memcmp(digest, &auth->HMAC, 20) != 0)); } void @@ -1211,7 +1211,7 @@ Transport_TerminateHandle(TSS_HCONTEXT tspContext, /* in */ TCS_AUTHHANDLE handle) /* in */ { TSS_RESULT result; - TCS_HANDLE handlesLen = 0, *handles; + TCS_HANDLE handlesLen = 0, *handles, *handles_track; /* Call ExecuteTransport */ handlesLen = 1; @@ -1221,10 +1221,18 @@ Transport_TerminateHandle(TSS_HCONTEXT tspContext, /* in */ } *handles = handle; + handles_track = handles; + // Since the call tree of this function can possibly alloc memory + // (check RPC_ExecuteTransport_TP function), its better to keep track of + // the handle. result = obj_context_transport_execute(tspContext, TPM_ORD_Terminate_Handle, 0, NULL, NULL, &handlesLen, &handles, NULL, NULL, NULL, NULL); + free(handles); + handles = NULL; + free(handles_track); + return result; } #endif diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_caps.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_caps.c index f06fbd63d3e..f0a145b61c7 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_caps.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_caps.c @@ -139,6 +139,7 @@ internal_GetCap(TSS_HCONTEXT tspContext, TSS_FLAG capArea, UINT32 subCap, default: return TSPERR(TSS_E_BAD_PARAMETER); } + break; case TSS_TSPCAP_MANUFACTURER: switch (subCap) { case TSS_TSPCAP_PROP_MANUFACTURER_ID: @@ -168,6 +169,7 @@ internal_GetCap(TSS_HCONTEXT tspContext, TSS_FLAG capArea, UINT32 subCap, default: return TSPERR(TSS_E_BAD_PARAMETER); } + break; default: return TSPERR(TSS_E_BAD_PARAMETER); } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_context_mem.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_context_mem.c index 13f1243dd3b..2982df9fed0 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_context_mem.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_context_mem.c @@ -256,3 +256,10 @@ free_tspi(TSS_HCONTEXT tspContext, void *memPointer) return result; } + +/* definition for a memset that cannot be optimized away */ +void * __no_optimize +__tspi_memset(void *s, int c, size_t n) +{ + return memset(s, c, n); +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_daa.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_daa.c index 5afbf96183a..f8fb4773bdf 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_daa.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_daa.c @@ -69,7 +69,7 @@ Trspi_UnloadBlob_DAA_PK(UINT64 *offset, BYTE *blob, TSS_DAA_PK *pk) { UINT32 i = 0, j; - memset(pk, 0, sizeof(TSS_DAA_PK)); + __tspi_memset(pk, 0, sizeof(TSS_DAA_PK)); Trspi_UnloadBlob_TSS_VERSION(offset, blob, &pk->versionInfo); @@ -201,7 +201,7 @@ error: } free(pk->issuerBaseName); - memset(pk, 0, sizeof(TSS_DAA_PK)); + __tspi_memset(pk, 0, sizeof(TSS_DAA_PK)); return TSPERR(TSS_E_OUTOFMEMORY); } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_delegate.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_delegate.c index 0319e5838f2..02e2c23bbd8 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_delegate.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_delegate.c @@ -135,8 +135,10 @@ create_owner_delegation(TSS_HTPM hTpm, if ((result = authsess_xsap_init(hContext, hTpm, hDelegation, TSS_AUTH_POLICY_NOT_REQUIRED, TPM_ORD_Delegate_CreateOwnerDelegation, TPM_ET_OWNER, - &xsap))) + &xsap))) { + free(publicInfo); return result; + } result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1); result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_Delegate_CreateOwnerDelegation); @@ -222,8 +224,10 @@ create_key_delegation(TSS_HKEY hKey, if ((result = authsess_xsap_init(hContext, hKey, hDelegation, TSS_AUTH_POLICY_REQUIRED, TPM_ORD_Delegate_CreateKeyDelegation, TPM_ET_KEYHANDLE, - &xsap))) + &xsap))) { + free(publicInfo); return result; + } result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1); result |= Trspi_Hash_UINT32(&hashCtx, TPM_ORD_Delegate_CreateKeyDelegation); @@ -388,7 +392,7 @@ __tspi_build_delegate_public_info(BYTE bLabel, if ((result = obj_pcrs_create_info_short(hPcrs, &pcrInfoSize, &pcrInfo))) return result; - memset(&public, 0, sizeof(public)); + __tspi_memset(&public, 0, sizeof(public)); public.tag = TPM_TAG_DELEGATE_PUBLIC; public.label.label = bLabel; offset = 0; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_pcr.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_pcr.c index cc562d7c3f0..68db6940d52 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_pcr.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_pcr.c @@ -116,8 +116,8 @@ pcrs_sanity_check_selection(TSS_HCONTEXT tspContext, return TSPERR(TSS_E_OUTOFMEMORY); } /* set the newly allocated bytes to 0 */ - memset(&select->pcrSelect[select->sizeOfSelect], 0, - bytes_to_hold - select->sizeOfSelect); + __tspi_memset(&select->pcrSelect[select->sizeOfSelect], 0, + bytes_to_hold - select->sizeOfSelect); select->sizeOfSelect = bytes_to_hold; /* realloc the pcr array as well */ diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_policy.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_policy.c index 9d5ec5da25b..1e940989ac1 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_policy.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_policy.c @@ -77,7 +77,7 @@ popup_GetSecret(UINT32 new_pin, UINT32 hash_mode, BYTE *popup_str, void *auth_ha result = Trspi_Hash(TSS_HASH_SHA1, secret_len, secret, auth_hash); /* zero, then unpin the memory */ - memset(secret, 0, secret_len); + __tspi_memset(secret, 0, secret_len); unpin_mem(&secret, UI_MAX_SECRET_STRING_LENGTH); return result; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_ps.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_ps.c index 96c267a1be3..8dca6eded6e 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tsp_ps.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_ps.c @@ -297,7 +297,7 @@ load_from_system_ps(TSS_HCONTEXT tspContext, TSS_UUID *uuid, TSS_HKEY *phKey) TCS_LOADKEY_INFO info; BYTE *keyBlob = NULL; - memset(&info, 0, sizeof(TCS_LOADKEY_INFO)); + __tspi_memset(&info, 0, sizeof(TCS_LOADKEY_INFO)); result = TCSP_LoadKeyByUUID(tspContext, uuidData, &info, &tcsKeyHandle); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_tcsi_param.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_tcsi_param.c new file mode 100644 index 00000000000..34c1cf36b2a --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_tcsi_param.c @@ -0,0 +1,168 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2005, 2007, 2013 + * + */ + +#include +#include +#include + + +#ifndef __APPLE__ +#include +#else +#define HOST_NAME_MAX 64 +#endif + +#include "trousers/tss.h" +#include "trousers/trousers.h" +#include "trousers_types.h" +#include "tsplog.h" +#include "spi_utils.h" +#include "tsp_tcsi_param.h" + +#define RV_OK 0 +#define RV_NO_VALUE -1 +#define RV_NO_MEM -2 +#define RV_WRONG_VALUE -3 +#define RV_UNKNOWN_ERR -4 + +int +get_port_from_env(int *port) +{ + char *env_port; + char *raw_port_str; + + env_port = getenv(PORT_ENV_VAR); + if (env_port == NULL) + return RV_NO_VALUE; + + raw_port_str = strdup(env_port); + if (raw_port_str == NULL) + return RV_NO_MEM; + + LogDebug("Found data in %s environment var: %s", PORT_ENV_VAR, raw_port_str); + + *port = atoi(raw_port_str); + free(raw_port_str); + if (*port < 0 || *port > 65535) { + LogError("Environment var %s contains invalid port value!", PORT_ENV_VAR); + return RV_WRONG_VALUE; + } + + return RV_OK; +} + +TSS_RESULT +convert_port_to_str(int port, char port_str[TCP_PORT_STR_MAX_LEN]) +{ + if (snprintf(port_str, TCP_PORT_STR_MAX_LEN, "%d", port) < 0) + return TSPERR(TSS_E_INTERNAL_ERROR); + + return TSS_SUCCESS; +} + +TSS_RESULT +get_tcsd_port(char port_str[TCP_PORT_STR_MAX_LEN]) +{ + int rv, port = 0; + + // Retrieves port from env var first + rv = get_port_from_env(&port); + switch(rv) { + case RV_OK: + return convert_port_to_str(port, port_str); + case RV_WRONG_VALUE: + return TSPERR(TSS_E_BAD_PARAMETER); + case RV_NO_MEM: + return TSPERR(TSS_E_OUTOFMEMORY); + case RV_NO_VALUE: + break; + } + + // TODO: Future work retrieves port from config file. + + // Last case, retrieve default port used by server. + return convert_port_to_str(TCSD_DEFAULT_PORT, port_str); +} + +/** + * Allocates a string with up to HOST_NAME_MAX chars which contains + * the hostname extracted from the env var + */ +int +get_hostname_from_env(char **host_str, unsigned *len) +{ + char *env_host, *tmp_str = NULL; + unsigned env_len; + + // Tries to retrieve from env var first. + env_host = getenv(HOSTNAME_ENV_VAR); + if (env_host == NULL) { + *host_str = NULL; + *len = 0; + LogDebug("Got no value inside environment var %s.", HOSTNAME_ENV_VAR); + return RV_NO_VALUE; + } + + tmp_str = strdup(env_host); + if (tmp_str == NULL) + return RV_NO_MEM; + + LogDebug("Environment var %s got value: %s", HOSTNAME_ENV_VAR, tmp_str); + env_len = strlen(tmp_str); + if (env_len > HOST_NAME_MAX) { + *len = HOST_NAME_MAX + 1; + } else { + *len = env_len + 1; + } + + *host_str = (char *)malloc(*len); + if (*host_str == NULL) { + LogError("Not enough memory when allocating string to retrieve host name from environment var"); + free(tmp_str); + return RV_NO_MEM; + } + + strncpy(*host_str, tmp_str, *len); + free(tmp_str); + return RV_OK; +} + +TSS_RESULT +get_tcsd_hostname(char **host_str, unsigned *len) +{ + int rv; + + // Retrieve from environment var + rv = get_hostname_from_env(host_str, len); + switch(rv) { + case RV_OK: + LogDebug("Hostname %s will be used", *host_str); + return TSS_SUCCESS; + case RV_NO_MEM: + return TSPERR(TSS_E_OUTOFMEMORY); + case RV_NO_VALUE: // Tente obter de outra maneira + break; + default: + return TSPERR(TSS_E_INTERNAL_ERROR); + } + + // TODO: Future work - Retrieve from config file + + // Use localhost in last case. + *host_str = strdup(TSS_LOCALHOST_STRING); + if (*host_str == NULL) + return TSPERR(TSS_E_OUTOFMEMORY); + + *len = sizeof(TSS_LOCALHOST_STRING); + + LogDebug("Hostname %s will be used", *host_str); + return TSS_SUCCESS; +} + diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tsp_transport.c b/crypto/external/cpl/trousers/dist/src/tspi/tsp_transport.c new file mode 100644 index 00000000000..1fa66115476 --- /dev/null +++ b/crypto/external/cpl/trousers/dist/src/tspi/tsp_transport.c @@ -0,0 +1,88 @@ + +/* + * Licensed Materials - Property of IBM + * + * trousers - An open source TCG Software Stack + * + * (C) Copyright International Business Machines Corp. 2004-2007 + * + */ + + +#include +#include +#include + +#include "trousers/tss.h" +#include "trousers/trousers.h" +#include "trousers_types.h" +#include "spi_utils.h" +#include "capabilities.h" +#include "tsplog.h" +#include "obj.h" + + +TSS_RESULT +Transport_LoadKeyByBlob(TSS_HCONTEXT hContext, + TPM_COMMAND_CODE ordinal, + TSS_HKEY hParentKey, + UINT32 ulBlobLength, + BYTE* rgbBlobData, + TPM_AUTH* pAuth, + TCS_KEY_HANDLE* phKey, + TPM_KEY_HANDLE* phSlot) +{ + TSS_RESULT result; + UINT32 handleListSize, decLen; + TCS_KEY_HANDLE hTCSParentKey; + TCS_HANDLE *handleList; + BYTE *dec = NULL; + TPM_DIGEST pubKeyHash; + Trspi_HashCtx hashCtx; + + + if ((result = obj_context_transport_init(hContext)) == TSS_TSPATTRIB_DISABLE_TRANSPORT) { + if ((result = obj_rsakey_get_tcs_handle(hParentKey, &hTCSParentKey))) + return result; + + return TCSP_LoadKeyByBlob(hContext, hTCSParentKey, ulBlobLength, rgbBlobData, pAuth, + phKey, phSlot); + } else if (result != TSS_TSPATTRIB_ENABLE_TRANSPORT) + return result; + + LogDebugFn("Executing in a transport session"); + + if ((result = obj_rsakey_get_transport_attribs(hParentKey, &hTCSParentKey, &pubKeyHash))) + return result; + + result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1); + result |= Trspi_Hash_DIGEST(&hashCtx, pubKeyHash.digest); + if ((result |= Trspi_HashFinal(&hashCtx, pubKeyHash.digest))) + return result; + + /* Call ExecuteTransport */ + handleListSize = 1; + if ((handleList = malloc(sizeof(TCS_HANDLE))) == NULL) { + LogError("malloc of %zd bytes failed", sizeof(TCS_HANDLE)); + return TSPERR(TSS_E_OUTOFMEMORY); + } + + *handleList = hTCSParentKey; + + if ((result = obj_context_transport_execute(hContext, ordinal, ulBlobLength, + rgbBlobData, &pubKeyHash, &handleListSize, + &handleList, pAuth, NULL, &decLen, &dec))) { + free(handleList); + return result; + } + + if (handleListSize == 1) + *phKey = *(TCS_KEY_HANDLE *)handleList; + else + result = TSPERR(TSS_E_INTERNAL_ERROR); + + free(handleList); + free(dec); + + return result; +} diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_admin.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_admin.c index a20ab451c26..860344b7919 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_admin.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_admin.c @@ -227,14 +227,24 @@ Tspi_TPM_SetStatus(TSS_HTPM hTPM, /* in */ TPM_PHYSICAL_PRESENCE_LIFETIME_LOCK); break; case TSS_TPMSTATUS_PHYSPRES_HWENABLE: - /* set the HW enable bit */ - result = TCS_API(tspContext)->PhysicalPresence(tspContext, + /* HWENABLE, TRUE -> set the TPM_PHYSICAL_PRESENCE_HW_ENABLE bit + * HWENABLE, FALSE -> set the TPM_PHYSICAL_PRESENCE_HW_DISABLE bit */ + if (fTpmState) + result = TCS_API(tspContext)->PhysicalPresence(tspContext, TPM_PHYSICAL_PRESENCE_HW_ENABLE); + else + result = TCS_API(tspContext)->PhysicalPresence(tspContext, + TPM_PHYSICAL_PRESENCE_HW_DISABLE); break; case TSS_TPMSTATUS_PHYSPRES_CMDENABLE: - /* set the command enable bit */ - result = TCS_API(tspContext)->PhysicalPresence(tspContext, + /* CMDENABLE, TRUE -> set the TPM_PHYSICAL_PRESENCE_CMD_ENABLE bit + * CMDENABLE, FALSE -> set the TPM_PHYSICAL_PRESENCE_CMD_DISABLE bit */ + if (fTpmState) + result = TCS_API(tspContext)->PhysicalPresence(tspContext, TPM_PHYSICAL_PRESENCE_CMD_ENABLE); + else + result = TCS_API(tspContext)->PhysicalPresence(tspContext, + TPM_PHYSICAL_PRESENCE_CMD_DISABLE); break; case TSS_TPMSTATUS_PHYSPRES_LOCK: /* set the physical presence lock bit */ diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_aik.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_aik.c index 94763419a6b..3d041b94594 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_aik.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_aik.c @@ -103,7 +103,7 @@ Tspi_TPM_CollateIdentityRequest(TSS_HTPM hTPM, /* in */ return result; /* setup the symmetric key's parms. */ - memset(&symParms, 0, sizeof(TCPA_KEY_PARMS)); + __tspi_memset(&symParms, 0, sizeof(TCPA_KEY_PARMS)); switch (algID) { case TSS_ALG_AES: symParms.algorithmID = TCPA_ALG_AES; @@ -155,7 +155,7 @@ Tspi_TPM_CollateIdentityRequest(TSS_HTPM hTPM, /* in */ return result; offset = 0; - memset(&caKey, 0, sizeof(TSS_KEY)); + __tspi_memset(&caKey, 0, sizeof(TSS_KEY)); if ((result = UnloadBlob_TSS_KEY(&offset, caKeyBlob, &caKey))) return result; @@ -182,8 +182,10 @@ Tspi_TPM_CollateIdentityRequest(TSS_HTPM hTPM, /* in */ return result; if ((result = authsess_xsap_init(tspContext, hTPM, hIdentityKey, TSS_AUTH_POLICY_REQUIRED, - TPM_ORD_MakeIdentity, TPM_ET_OWNER, &xsap))) + TPM_ORD_MakeIdentity, TPM_ET_OWNER, &xsap))){ + free(asymParms.parms); return result; + } /* Hash the Auth data */ result = Trspi_HashInit(&hashCtx, TSS_HASH_SHA1); @@ -392,6 +394,7 @@ Tspi_TPM_CollateIdentityRequest(TSS_HTPM hTPM, /* in */ error: authsess_free(xsap); free_key_refs(&caKey); + free(asymParms.parms); free(prgbIdentityBinding); free(prgbEndorsementCredential); free(prgbPlatformCredential); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_audit.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_audit.c index 1c13ca14208..5ee3abb7bc9 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_audit.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_audit.c @@ -198,7 +198,7 @@ done1: &sig))) return result; - memset(&signInfo, 0, sizeof(signInfo)); + __tspi_memset(&signInfo, 0, sizeof(signInfo)); signInfo.tag = TPM_TAG_SIGNINFO; memcpy(signInfo.fixed, "ADIG", strlen("ADIG")); signInfo.replay = antiReplay; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_certify.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_certify.c index 795d2d4e92f..39dc5685bba 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_certify.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_certify.c @@ -122,43 +122,53 @@ Tspi_Key_CertifyKey(TSS_HKEY hKey, /* in */ result |= Trspi_Hash_UINT32(&hashCtx, outDataSize); result |= Trspi_HashUpdate(&hashCtx, outDataSize, outData); if ((result |= Trspi_HashFinal(&hashCtx, digest.digest))) - return result; + goto cleanup; if (useAuthKey) if ((result = obj_policy_validate_auth_oiap(hPolicy, &digest, &keyAuth))) - return result; + goto cleanup; if (useAuthCert) if ((result = obj_policy_validate_auth_oiap(hCertPolicy, &digest, &certAuth))) - return result; + goto cleanup; } if (pValidationData == NULL) { if ((result = Trspi_Hash(TSS_HASH_SHA1, CertifyInfoSize, CertifyInfo, digest.digest))) - return result; + goto cleanup; + if ((result = __tspi_rsa_verify(hCertifyingKey, TSS_HASH_SHA1, TPM_SHA1_160_HASH_LEN, - digest.digest, outDataSize, outData))) - return TSPERR(TSS_E_VERIFICATION_FAILED); + digest.digest, outDataSize, outData))){ + result = TSPERR(TSS_E_VERIFICATION_FAILED); + goto cleanup; + } } else { pValidationData->ulDataLength = CertifyInfoSize; pValidationData->rgbData = calloc_tspi(tspContext, CertifyInfoSize); if (pValidationData->rgbData == NULL) { LogError("malloc of %u bytes failed.", CertifyInfoSize); - return TSPERR(TSS_E_OUTOFMEMORY); + result = TSPERR(TSS_E_OUTOFMEMORY); + goto cleanup; } memcpy(pValidationData->rgbData, CertifyInfo, CertifyInfoSize); pValidationData->ulValidationDataLength = outDataSize; pValidationData->rgbValidationData = calloc_tspi(tspContext, outDataSize); if (pValidationData->rgbValidationData == NULL) { LogError("malloc of %u bytes failed.", outDataSize); - return TSPERR(TSS_E_OUTOFMEMORY); + result = TSPERR(TSS_E_OUTOFMEMORY); + goto cleanup; } memcpy(pValidationData->rgbValidationData, outData, outDataSize); } - return TSS_SUCCESS; + result = TSS_SUCCESS; + + cleanup: + free(CertifyInfo); + free(outData); + return result; } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_changeauth.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_changeauth.c index 1d6d8f1302b..37d35d60f18 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_changeauth.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_changeauth.c @@ -290,7 +290,7 @@ Tspi_ChangeAuthAsym(TSS_HOBJECT hObjectToChange, /* in */ &keyObjectSize, &keyObject))) return result; - memset(&keyContainer, 0, sizeof(TSS_KEY)); + __tspi_memset(&keyContainer, 0, sizeof(TSS_KEY)); offset = 0; if ((result = UnloadBlob_TSS_KEY(&offset, diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_cmk.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_cmk.c index 6ced20341eb..6ded97ba78f 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_cmk.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_cmk.c @@ -223,7 +223,7 @@ Tspi_Key_CMKCreateBlob(TSS_HKEY hKeyToMigrate, /* in */ UINT64 offset; TSS_RESULT result; - memset(&tssKey, 0, sizeof(tssKey)); + __tspi_memset(&tssKey, 0, sizeof(tssKey)); if (!pulRandomLength || !prgbRandom) return TSPERR(TSS_E_BAD_PARAMETER); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_context.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_context.c index c935a28a996..7e81ddb6788 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_context.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_context.c @@ -55,8 +55,6 @@ Tspi_Context_Close(TSS_HCONTEXT tspContext) /* in */ /* Destroy all objects */ obj_close_context(tspContext); - Tspi_Context_FreeMemory(tspContext, NULL); - /* close the ps file */ PS_close(); @@ -81,8 +79,11 @@ Tspi_Context_Connect(TSS_HCONTEXT tspContext, /* in */ return result; if ((result = RPC_OpenContext(tspContext, machine_name, - CONNECTION_TYPE_TCP_PERSISTANT))) + CONNECTION_TYPE_TCP_PERSISTANT))) { + free(machine_name); return result; + } + } else { if ((machine_name = Trspi_UNICODE_To_Native((BYTE *)wszDestination, NULL)) == NULL) { @@ -91,14 +92,21 @@ Tspi_Context_Connect(TSS_HCONTEXT tspContext, /* in */ } if ((result = RPC_OpenContext(tspContext, machine_name, - CONNECTION_TYPE_TCP_PERSISTANT))) + CONNECTION_TYPE_TCP_PERSISTANT))) { + free(machine_name); return result; + } if ((result = obj_context_set_machine_name(tspContext, machine_name, - strlen((char *)machine_name)+1))) + strlen((char *)machine_name)+1))) { + free(machine_name); return result; + } + } + free(machine_name); + if ((obj_tpm_add(tspContext, &hTpm))) return TSPERR(TSS_E_INTERNAL_ERROR); @@ -358,6 +366,10 @@ Tspi_Context_CloseObject(TSS_HCONTEXT tspContext, /* in */ } else if (obj_is_migdata(hObject)) { #ifdef TSS_BUILD_CMK result = obj_migdata_remove(hObject, tspContext); +#endif + } else if (obj_is_nvstore(hObject)) { +#ifdef TSS_BUILD_NV + result = obj_nvstore_remove(hObject, tspContext); #endif } else { result = TSPERR(TSS_E_INVALID_HANDLE); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_dir.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_dir.c index 10c0c38b552..6dd73031a6f 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_dir.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_dir.c @@ -36,7 +36,7 @@ Tspi_TPM_DirWrite(TSS_HTPM hTPM, /* in */ TCPA_DIRVALUE dirValue = { { 0 } }; Trspi_HashCtx hashCtx; - if (rgbDirData == NULL && ulDirDataLength != 0) + if (rgbDirData == NULL || ulDirDataLength == 0) return TSPERR(TSS_E_BAD_PARAMETER); if (ulDirDataLength > (UINT32)sizeof(TCPA_DIRVALUE)) diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_ek.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_ek.c index d1b206593f8..6fc5f0b083e 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_ek.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_ek.c @@ -41,8 +41,8 @@ Tspi_TPM_CreateEndorsementKey(TSS_HTPM hTPM, /* in */ TCPA_PUBKEY pubEK; Trspi_HashCtx hashCtx; - memset(&pubEK, 0, sizeof(TCPA_PUBKEY)); - memset(&dummyKey, 0, sizeof(TSS_KEY)); + __tspi_memset(&pubEK, 0, sizeof(TCPA_PUBKEY)); + __tspi_memset(&dummyKey, 0, sizeof(TSS_KEY)); if ((result = obj_tpm_get_tsp_context(hTPM, &tspContext))) return result; @@ -149,7 +149,7 @@ Tspi_TPM_GetPubEndorsementKey(TSS_HTPM hTPM, /* in */ TCPA_PUBKEY pubKey; Trspi_HashCtx hashCtx; - memset(&pubKey, 0, sizeof(TCPA_PUBKEY)); + __tspi_memset(&pubKey, 0, sizeof(TCPA_PUBKEY)); if (phEndorsementPubKey == NULL) return TSPERR(TSS_E_BAD_PARAMETER); @@ -194,7 +194,7 @@ Tspi_TPM_GetPubEndorsementKey(TSS_HTPM hTPM, /* in */ * Atmel chips specifically. */ offset = 0; - memset(&pubKey, 0, sizeof(TCPA_PUBKEY)); + __tspi_memset(&pubKey, 0, sizeof(TCPA_PUBKEY)); if ((result = Trspi_UnloadBlob_PUBKEY(&offset, pubEK, &pubKey))) goto done; @@ -281,9 +281,9 @@ Tspi_TPM_CreateRevocableEndorsementKey(TSS_HTPM hTPM, /* in */ TPM_PUBKEY pubEK; Trspi_HashCtx hashCtx; - memset(&pubEK, 0, sizeof(TPM_PUBKEY)); - memset(&dummyKey, 0, sizeof(TSS_KEY)); - memset(&eKResetAuth, 0xff, sizeof(eKResetAuth)); + __tspi_memset(&pubEK, 0, sizeof(TPM_PUBKEY)); + __tspi_memset(&dummyKey, 0, sizeof(TSS_KEY)); + __tspi_memset(&eKResetAuth, 0xff, sizeof(eKResetAuth)); if (!pulEkResetDataLength || !prgbEkResetData) return TSPERR(TSS_E_BAD_PARAMETER); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_key.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_key.c index 5acd605341b..aa4df5067b0 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_key.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_key.c @@ -23,6 +23,11 @@ #include "obj.h" #include "authsess.h" +#define TPM_STORE_ASYMKEY_LEN 214 /* Entire TPM_STORE_ASYMKEY length */ +#define USAGE_MIG_DIGEST_FLD_LEN 20 /* Usage, Migration and Digest lengths for + TPM_STORE_ASYMKEY */ +#define TPM_STORE_PRIVKEY_LEN 151 /* Extracted directly from TPM_STORE_ASYMKEY + field */ TSS_RESULT Tspi_Key_UnloadKey(TSS_HKEY hKey) /* in */ @@ -343,9 +348,11 @@ Tspi_Key_WrapKey(TSS_HKEY hKey, /* in */ TSS_RESULT result; BYTE *keyPrivBlob = NULL, *wrappingPubKey = NULL, *keyBlob = NULL; UINT32 keyPrivBlobLen, wrappingPubKeyLen, keyBlobLen; - BYTE newPrivKey[214]; /* its not magic, see TPM 1.1b spec p.71 */ + BYTE newPrivKey[TPM_STORE_ASYMKEY_LEN]; /* This reflects the size of the + TPM_STORE_ASYMKEY structure + in both TPM 1.1b and 1.2 */ BYTE encPrivKey[256]; - UINT32 newPrivKeyLen = 214, encPrivKeyLen = 256; + UINT32 newPrivKeyLen = TPM_STORE_ASYMKEY_LEN, encPrivKeyLen = 256; UINT64 offset; TSS_KEY keyContainer; TCPA_DIGEST digest; @@ -363,6 +370,10 @@ Tspi_Key_WrapKey(TSS_HKEY hKey, /* in */ /* get the key to be wrapped's private key */ if ((result = obj_rsakey_get_priv_blob(hKey, &keyPrivBlobLen, &keyPrivBlob))) goto done; + /* verify if its under the maximum size, according to the + * TPM_STORE_ASYMKEY specification */ + if (keyPrivBlobLen > TPM_STORE_PRIVKEY_LEN) + return TSPERR(TSS_E_ENC_INVALID_LENGTH); /* get the key to be wrapped's blob */ if ((result = obj_rsakey_get_blob(hKey, &keyBlobLen, &keyBlob))) @@ -385,7 +396,7 @@ Tspi_Key_WrapKey(TSS_HKEY hKey, /* in */ if ((result = obj_policy_get_secret(hMigPolicy, TR_SECRET_CTX_NEW, &migration))) goto done; - memset(&keyContainer, 0, sizeof(TSS_KEY)); + __tspi_memset(&keyContainer, 0, sizeof(TSS_KEY)); /* unload the key to be wrapped's blob */ offset = 0; @@ -400,12 +411,16 @@ Tspi_Key_WrapKey(TSS_HKEY hKey, /* in */ free_key_refs(&keyContainer); - /* create the plaintext private key blob */ + /* create the plaintext private key blob. This is the point where the + * TPM structure TPM_STORE_ASYMKEY is crafted in the buffer */ offset = 0; Trspi_LoadBlob_BYTE(&offset, TCPA_PT_ASYM, newPrivKey); - Trspi_LoadBlob(&offset, 20, newPrivKey, usage.authdata); - Trspi_LoadBlob(&offset, 20, newPrivKey, migration.authdata); - Trspi_LoadBlob(&offset, 20, newPrivKey, digest.digest); + Trspi_LoadBlob(&offset, USAGE_MIG_DIGEST_FLD_LEN, + newPrivKey, usage.authdata); + Trspi_LoadBlob(&offset, USAGE_MIG_DIGEST_FLD_LEN, + newPrivKey, migration.authdata); + Trspi_LoadBlob(&offset, USAGE_MIG_DIGEST_FLD_LEN, + newPrivKey, digest.digest); Trspi_LoadBlob_UINT32(&offset, keyPrivBlobLen, newPrivKey); Trspi_LoadBlob(&offset, keyPrivBlobLen, newPrivKey, keyPrivBlob); newPrivKeyLen = offset; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_maint.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_maint.c index 5576ed36c88..a5a7ec0965f 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_maint.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_maint.c @@ -256,7 +256,6 @@ Tspi_TPM_CheckMaintenancePubKey(TSS_HTPM hTPM, /* in */ if ((pValidationData->rgbValidationData = calloc_tspi(tspContext, TCPA_SHA1_160_HASH_LEN)) == NULL) { - free_tspi(tspContext, pubBlob); return TSPERR(TSS_E_OUTOFMEMORY); } diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_migration.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_migration.c index 83b73f4f23e..39bf712764d 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_migration.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_migration.c @@ -83,7 +83,7 @@ Tspi_TPM_AuthorizeMigrationTicket(TSS_HTPM hTPM, /* in */ /* First, turn the keyBlob into a TSS_KEY structure */ offset = 0; - memset(&tssKey, 0, sizeof(TSS_KEY)); + __tspi_memset(&tssKey, 0, sizeof(TSS_KEY)); if ((result = UnloadBlob_TSS_KEY(&offset, migrationKeyBlob, &tssKey))) { free_tspi(tspContext, migrationKeyBlob); return result; @@ -172,7 +172,7 @@ Tspi_Key_CreateMigrationBlob(TSS_HKEY hKeyToMigrate, /* in */ TSS_HCONTEXT tspContext; Trspi_HashCtx hashCtx; - memset(&tssKey, 0, sizeof(TSS_KEY)); + __tspi_memset(&tssKey, 0, sizeof(TSS_KEY)); if (pulRandomLength == NULL || prgbRandom == NULL || rgbMigTicket == NULL || pulMigrationBlobLength == NULL || prgbMigrationBlob == NULL) @@ -196,7 +196,7 @@ Tspi_Key_CreateMigrationBlob(TSS_HKEY hKeyToMigrate, /* in */ goto done; /* Parsing the migration scheme from the blob and key object */ - memset(&migAuth, 0, sizeof(TCPA_MIGRATIONKEYAUTH)); + __tspi_memset(&migAuth, 0, sizeof(TCPA_MIGRATIONKEYAUTH)); offset = 0; if ((result = Trspi_UnloadBlob_MIGRATIONKEYAUTH(&offset, rgbMigTicket, &migAuth))) @@ -324,7 +324,7 @@ Tspi_Key_ConvertMigrationBlob(TSS_HKEY hKeyToMigrate, /* in */ Trspi_HashCtx hashCtx; UINT64 offset; - memset(&tssKey, 0, sizeof(TSS_KEY)); + __tspi_memset(&tssKey, 0, sizeof(TSS_KEY)); if ((result = obj_rsakey_get_tsp_context(hKeyToMigrate, &tspContext))) return result; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_nv.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_nv.c index bdf10ada830..25cfa29fb0b 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_nv.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_nv.c @@ -3,20 +3,6 @@ * Portions created by Intel Corporation are Copyright (C) 2007 Intel Corporation. * All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the Common Public License as published by - * IBM Corporation; either version 1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * Common Public License for more details. - * - * You should have received a copy of the Common Public License - * along with this program; if not, a copy can be viewed at - * http://www.opensource.org/licenses/cpl1.0.php. - * * trousers - An open source TCG Software Stack * * Author: james.xu@intel.com Rossey.liu@intel.com @@ -69,7 +55,7 @@ Tspi_NV_DefineSpace(TSS_HNVSTORE hNvstore, /* in */ if ((result = obj_nvstore_get_tsp_context(hNvstore, &tspContext))) return result; - memset(&nv_data_public, 0, sizeof(NV_DATA_PUBLIC)); + __tspi_memset(&nv_data_public, 0, sizeof(NV_DATA_PUBLIC)); if ((result = obj_nvstore_get_index(hNvstore, &nv_data_public.nvIndex))) return result; @@ -184,7 +170,7 @@ Tspi_NV_ReleaseSpace(TSS_HNVSTORE hNvstore) /* in */ Trspi_HashCtx hashCtx; struct authsess *xsap = NULL; - memset(&nv_data_public, 0, sizeof(NV_DATA_PUBLIC)); + __tspi_memset(&nv_data_public, 0, sizeof(NV_DATA_PUBLIC)); if ((result = obj_nvstore_get_tsp_context(hNvstore, &tspContext))) return result; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_ps.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_ps.c index 5aa6ea89a8c..237fadf1fc2 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_ps.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_ps.c @@ -44,6 +44,7 @@ Tspi_Context_LoadKeyByUUID(TSS_HCONTEXT tspContext, /* in */ TCS_LOADKEY_INFO info; UINT32 ulPubKeyLength; BYTE *rgbPubKey; + TPM_COMMAND_CODE ordinal; if (phKey == NULL) return TSPERR(TSS_E_BAD_PARAMETER); @@ -51,10 +52,13 @@ Tspi_Context_LoadKeyByUUID(TSS_HCONTEXT tspContext, /* in */ if ((!obj_is_context(tspContext))) return TSPERR(TSS_E_INVALID_HANDLE); + if ((result = obj_context_get_loadkey_ordinal(tspContext, &ordinal))) + return result; + /* This key is in the System Persistant storage */ if (persistentStorageType == TSS_PS_TYPE_SYSTEM) { #if 1 - memset(&info, 0, sizeof(TCS_LOADKEY_INFO)); + __tspi_memset(&info, 0, sizeof(TCS_LOADKEY_INFO)); result = RPC_LoadKeyByUUID(tspContext, uuidData, &info, &tcsKeyHandle); @@ -78,7 +82,7 @@ Tspi_Context_LoadKeyByUUID(TSS_HCONTEXT tspContext, /* in */ &hPolicy, NULL)) return result; - if (secret_PerformAuth_OIAP(keyHandle, TPM_ORD_LoadKey, hPolicy, FALSE, + if (secret_PerformAuth_OIAP(keyHandle, ordinal, hPolicy, FALSE, &info.paramDigest, &info.authData)) return result; @@ -103,7 +107,7 @@ Tspi_Context_LoadKeyByUUID(TSS_HCONTEXT tspContext, /* in */ result = obj_rsakey_set_pubkey(*phKey, FALSE, rgbPubKey); - free(rgbPubKey); + free_tspi(tspContext,rgbPubKey); if (result != TSS_SUCCESS) return result; } else { diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_quote.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_quote.c index 58d5de07402..f6342078847 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_quote.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_quote.c @@ -125,18 +125,26 @@ Tspi_TPM_Quote(TSS_HTPM hTPM, /* in */ if (hPcrComposite) { TCPA_PCR_COMPOSITE pcrComp; + __tspi_memset(&pcrComp, 0, sizeof(pcrComp)); offset = 0; if ((result = Trspi_UnloadBlob_PCR_COMPOSITE(&offset, pcrDataOut, &pcrComp))) { free(pcrDataOut); + free(pcrComp.pcrValue); + free(pcrComp.select.pcrSelect); free(validationData); return result; } if ((result = obj_pcrs_set_values(hPcrComposite, &pcrComp))) { free(pcrDataOut); + free(pcrComp.pcrValue); + free(pcrComp.select.pcrSelect); free(validationData); return result; } + + free(pcrComp.pcrValue); + free(pcrComp.select.pcrSelect); } if ((result = Tspi_GetAttribData(hIdentKey, TSS_TSPATTRIB_KEY_BLOB, @@ -148,7 +156,7 @@ Tspi_TPM_Quote(TSS_HTPM hTPM, /* in */ /* create the validation data */ offset = 0; - memset(&keyContainer, 0, sizeof(TSS_KEY)); + __tspi_memset(&keyContainer, 0, sizeof(TSS_KEY)); if ((result = UnloadBlob_TSS_KEY(&offset, keyData, &keyContainer))) return result; diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_quote2.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_quote2.c index 67d4dc12d5e..1ead4814ce7 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_quote2.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_quote2.c @@ -163,11 +163,13 @@ Tspi_TPM_Quote2(TSS_HTPM hTPM, // in offset = 0; if ((result = Trspi_UnloadBlob_PCR_INFO_SHORT(&offset, pcrDataOut, &pcrInfo))) { free(pcrDataOut); + free(pcrInfo.pcrSelection.pcrSelect); if (*versionInfoSize > 0) free(*versionInfo); free(sig); return result; } + free(pcrInfo.pcrSelection.pcrSelect); /* Set both digestAtRelease and localityAtRelease */ if ((result = obj_pcrs_set_locality(hPcrComposite, pcrInfo.localityAtRelease))) { @@ -189,7 +191,7 @@ Tspi_TPM_Quote2(TSS_HTPM hTPM, // in } /* generate TPM_QUOTE_INFO2 struct */ - memset("einfo, 0, sizeof(quoteinfo)); + __tspi_memset("einfo, 0, sizeof(quoteinfo)); offset = 0; /* 1. Add Structure TAG */ quoteinfo[offset++] = 0x00; @@ -263,7 +265,7 @@ Tspi_TPM_Quote2(TSS_HTPM hTPM, // in if(*versionInfoSize > 0) { - if(fAddVersion) { + if(fAddVersion && pValidationData) { /* tag versionInfo so that it can be free'd by the app through Tspi_Context_FreeMemory */ if ((result = __tspi_add_mem_entry(tspContext, *versionInfo))) { free_tspi(tspContext, pValidationData->rgbValidationData); diff --git a/crypto/external/cpl/trousers/dist/src/tspi/tspi_selftest.c b/crypto/external/cpl/trousers/dist/src/tspi/tspi_selftest.c index 2cd31d25393..cdba02fc869 100644 --- a/crypto/external/cpl/trousers/dist/src/tspi/tspi_selftest.c +++ b/crypto/external/cpl/trousers/dist/src/tspi/tspi_selftest.c @@ -125,7 +125,7 @@ Tspi_TPM_CertifySelfTest(TSS_HTPM hTPM, /* in */ } offset = 0; - memset(&keyContainer, 0, sizeof(TSS_KEY)); + __tspi_memset(&keyContainer, 0, sizeof(TSS_KEY)); if ((result = UnloadBlob_TSS_KEY(&offset, keyData, &keyContainer))) return result; -- cgit