forked from tpm2-software/tpm2-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
122 lines (116 loc) · 4.61 KB
/
Makefile.am
File metadata and controls
122 lines (116 loc) · 4.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#;**********************************************************************;
#
# Copyright (c) 2015, Intel Corporation
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
#
# 2. 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.
#
# 3. Neither the name of Intel Corporation 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.
#;**********************************************************************;
ACLOCAL_AMFLAGS = -I m4
INCLUDE_DIRS = -I$(srcdir)
AM_CFLAGS = -DSAPI_CLIENT $(INCLUDE_DIRS)
AM_CXXFLAGS = -DSAPI_CLIENT $(INCLUDE_DIRS)
LDADD = src/libcommon.a -ltctisocket
noinst_LIBRARIES = src/libcommon.a
sbin_PROGRAMS = src/tpm2_listpcrs \
src/tpm2_quote \
src/tpm2_takeownership \
src/tpm2_getpubek \
src/tpm2_getpubak \
src/tpm2_getmanufec \
src/tpm2_akparse \
src/tpm2_makecredential \
src/tpm2_activatecredential \
src/tpm2_hash \
src/tpm2_nvlist \
src/tpm2_nvread \
src/tpm2_nvreadlock \
src/tpm2_nvwrite \
src/tpm2_nvdefine \
src/tpm2_nvrelease \
src/tpm2_createprimary \
src/tpm2_create \
src/tpm2_hmac \
src/tpm2_certify \
src/tpm2_readpublic \
src/tpm2_getrandom \
src/tpm2_encryptdecrypt \
src/tpm2_evictcontrol \
src/tpm2_load \
src/tpm2_loadexternal \
src/tpm2_rsadecrypt \
src/tpm2_rsaencrypt \
src/tpm2_sign \
src/tpm2_unseal \
src/tpm2_verifysignature
COMMON_SRC = \
src/common.c \
src/debug.c \
src/syscontext.c \
src/CatSizedByteBuffer.c \
src/CopySizedBuffer.c \
src/DecryptEncrypt.c \
src/Entity.c \
src/kdfa.c \
src/LoadExternalHMACKey.c \
src/SessionHmac.c \
src/StartAuthSession.c \
src/TpmCalcPHash.c \
src/TpmHandleToName.c \
src/TpmHash.c \
src/TpmHmac.c
src_libcommon_a_SOURCES = $(COMMON_SRC)
src_tpm2_listpcrs_SOURCES = src/tpm2_listpcrs.cpp
src_tpm2_quote_SOURCES = src/tpm2_quote.cpp
src_tpm2_takeownership_SOURCES = src/tpm2_takeownership.cpp
src_tpm2_getpubek_SOURCES = src/tpm2_getpubek.cpp
src_tpm2_getpubak_SOURCES = src/tpm2_getpubak.cpp
src_tpm2_getmanufec_SOURCES = src/tpm2_getmanufec.cpp
src_tpm2_akparse_SOURCES = src/tpm2_akparse.cpp
src_tpm2_makecredential_SOURCES = src/tpm2_makecredential.cpp
src_tpm2_activatecredential_SOURCES = src/tpm2_activatecredential.cpp
src_tpm2_hash_SOURCES = src/tpm2_hash.cpp
src_tpm2_nvlist_SOURCES = src/tpm2_nvlist.cpp
src_tpm2_nvread_SOURCES = src/tpm2_nvread.cpp
src_tpm2_nvreadlock_SOURCES = src/tpm2_nvreadlock.cpp
src_tpm2_nvwrite_SOURCES = src/tpm2_nvwrite.cpp
src_tpm2_nvdefine_SOURCES = src/tpm2_nvdefine.cpp
src_tpm2_nvrelease_SOURCES = src/tpm2_nvrelease.cpp
src_tpm2_createprimary_SOURCES = src/tpm2_createprimary.cpp
src_tpm2_create_SOURCES = src/tpm2_create.cpp
src_tpm2_hmac_SOURCES = src/tpm2_hmac.cpp
src_tpm2_certify_SOURCES = src/tpm2_certify.cpp
src_tpm2_readpublic_SOURCES = src/tpm2_readpublic.cpp
src_tpm2_getrandom_SOURCES = src/tpm2_getrandom.cpp
src_tpm2_encryptdecrypt_SOURCES = src/tpm2_encryptdecrypt.cpp
src_tpm2_evictcontrol_SOURCES = src/tpm2_evictcontrol.cpp
src_tpm2_load_SOURCES = src/tpm2_load.cpp
src_tpm2_loadexternal_SOURCES = src/tpm2_loadexternal.cpp
src_tpm2_rsadecrypt_SOURCES = src/tpm2_rsadecrypt.cpp
src_tpm2_rsaencrypt_SOURCES = src/tpm2_rsaencrypt.cpp
src_tpm2_sign_SOURCES = src/tpm2_sign.cpp
src_tpm2_unseal_SOURCES = src/tpm2_unseal.cpp
src_tpm2_verifysignature_SOURCES = src/tpm2_verifysignature.cpp