1transform=s&^&tss&
2
3lib_LTLIBRARIES = libibmtss.la
4#if CONFIG_TPM20
5lib_LTLIBRARIES += libibmtssutils.la
6#endif
7
8# default TSS Library
9libibmtss_la_SOURCES = tssfile.c tsscryptoh.c tsscrypto.c
10libibmtss_la_LIBADD = $(LIBCRYPTO_LIBS)
11
12# TSS shared library object files (utils/makefile-common)
13libibmtss_la_SOURCES += tss.c tssproperties.c tssmarshal.c tssauth.c tssutils.c tsssocket.c tssdev.c tsstransmit.c tssresponsecode.c tssccattributes.c tssprint.c Unmarshal.c CommandAttributeData.c
14
15# TPM 2.0
16# TSS share libarary object files
17if CONFIG_TPM20
18libibmtss_la_SOURCES += tss20.c tssauth20.c Commands.c tssprintcmd.c
19libibmtss_la_SOURCES += ntc2lib.c tssntc.c
20endif
21
22# (from utils/makefile-common12)
23if CONFIG_TPM12
24libibmtss_la_SOURCES += tss12.c tssauth12.c tssmarshal12.c Unmarshal12.c Commands12.c tssccattributes12.c CommandAttributeData12.c
25endif
26
27libibmtss_la_CFLAGS = -fPIC
28if CONFIG_HWTPM
29libibmtss_la_CFLAGS += -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\""
30endif
31
32if CONFIG_RMTPM
33libibmtss_la_CFLAGS += -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\""
34endif
35
36if CONFIG_TPM20
37libibmtss_la_CFLAGS += -DTPM_TPM20
38endif
39
40if CONFIG_TPM12
41libibmtss_la_CFLAGS += -DTPM_TPM12
42endif
43
44if CONFIG_TSS_NOPRINT
45libibmtss_la_CFLAGS += -DTPM_TSS_NO_PRINT
46endif
47
48if CONFIG_TSS_NOFILE
49libibmtss_la_CFLAGS += -DTPM_TSS_NOFILE
50if CONFIG_TSS_NOCRYPTO
51libibmtss_la_CFLAGS += -DTPM_TSS_NOCRYPTO
52endif
53endif
54
55if CONFIG_TSS_NOECC
56libibmtss_la_CFLAGS += -DTPM_TSS_NOECC
57endif
58
59libibmtss_la_CCFLAGS = -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wformat=2 -Wold-style-definition -Wno-self-assign -ggdb
60libibmtss_la_LDFLAGS = -version-info @TSSLIB_VERSION_INFO@
61
62libibmtssutils_la_SOURCES = cryptoutils.c ekutils.c imalib.c eventlib.c
63libibmtssutils_la_CFLAGS = -fPIC
64
65if CONFIG_TPM20
66libibmtssutils_la_CFLAGS += -DTPM_TPM20
67endif
68
69if CONFIG_TPM12
70libibmtssutils_la_CFLAGS += -DTPM_TPM12
71endif
72
73if CONFIG_TSS_NOECC
74libibmtssutils_la_CFLAGS += -DTPM_TSS_NOECC
75endif
76
77#current[:revision[:age]]
78#result: [current-age].age.revision
79libibmtssutils_la_LDFLAGS = -version-info @TSSLIB_VERSION_INFO@
80libibmtssutils_la_LIBADD = libibmtss.la $(LIBCRYPTO_LIBS)
81
82noinst_HEADERS = CommandAttributes.h imalib.h tssdev.h ntc2lib.h tssntc.h Commands_fp.h objecttemplates.h tssproperties.h cryptoutils.h Platform.h tssauth.h tsssocket.h ekutils.h eventlib.h tssccattributes.h
83# install every header in ibmtss
84nobase_include_HEADERS = ibmtss/*.h
85
86notrans_man_MANS = man/man1/*.1
87
88if CONFIG_TPM20
89noinst_HEADERS += tss20.h tssauth20.h ibmtss/tssprintcmd.h
90endif
91
92if CONFIG_TPM12
93noinst_HEADERS += tss12.h Commands12_fp.h tssauth12.h tssccattributes12.h ibmtss/Unmarshal12_fp.h ibmtss/Parameters12.h ibmtss/tpmstructures12.h ibmtss/tpmconstants12.h ibmtss/tpmtypes12.h
94endif
95
96if CONFIG_TPM20
97bin_PROGRAMS = activatecredential eventextend imaextend certify certifycreation certifyx509 changeeps changepps clear \
98	clearcontrol clockrateadjust clockset commit contextload contextsave create createloaded createprimary \
99	dictionaryattacklockreset dictionaryattackparameters duplicate eccparameters ecephemeral encryptdecrypt \
100	eventsequencecomplete evictcontrol flushcontext getcommandauditdigest getcapability getcryptolibrary \
101	getrandom gettestresult getsessionauditdigest gettime hashsequencestart hash hierarchycontrol \
102	hierarchychangeauth hmac hmacstart import importpem load loadexternal makecredential nvcertify nvchangeauth \
103	nvdefinespace nvextend nvglobalwritelock nvincrement nvread nvreadlock nvreadpublic nvsetbits \
104	nvundefinespace nvundefinespacespecial nvwrite nvwritelock objectchangeauth pcrallocate pcrevent pcrextend \
105	pcrread pcrreset policyauthorize policyauthvalue policycommandcode policycphash policynamehash \
106	policycountertimer policyduplicationselect policygetdigest policymaker policymakerpcr policyauthorizenv \
107	policynv policynvwritten policyor policypassword policypcr policyrestart policysigned policysecret \
108	policytemplate policyticket quote powerup readclock readpublic returncode rewrap rsadecrypt rsaencrypt \
109	sequenceupdate sequencecomplete setcommandcodeauditstatus setprimarypolicy shutdown sign startauthsession \
110	startup stirrandom unseal \
111	verifysignature zgen2phase signapp writeapp timepacket createek createekcert tpm2pem tpmpublic2eccpoint \
112	ntc2getconfig ntc2preconfig ntc2lockconfig publicname tpmcmd printattr
113
114if CONFIG_TSS_NOECC
115UTILS_CFLAGS = -DTPM_TSS_NOECC
116endif
117
118activatecredential_SOURCES = activatecredential.c
119activatecredential_CFLAGS = $(UTILS_CFLAGS)
120activatecredential_LDADD = libibmtssutils.la libibmtss.la
121
122eventextend_SOURCES = eventextend.c
123eventextend_CFLAGS = $(UTILS_CFLAGS)
124eventextend_LDADD = libibmtssutils.la libibmtss.la
125
126imaextend_SOURCES = imaextend.c
127imaextend_CFLAGS = $(UTILS_CFLAGS)
128imaextend_LDADD = libibmtssutils.la libibmtss.la
129
130certify_SOURCES = certify.c
131certify_CFLAGS = $(UTILS_CFLAGS)
132certify_LDADD = libibmtssutils.la libibmtss.la
133
134certifycreation_SOURCES = certifycreation.c
135certifycreation_CFLAGS = $(UTILS_CFLAGS)
136certifycreation_LDADD = libibmtssutils.la libibmtss.la
137
138certifyx509_SOURCES = certifyx509.c
139certifyx509_CFLAGS = $(UTILS_CFLAGS)
140certifyx509_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
141
142changeeps_SOURCES = changeeps.c
143changeeps_CFLAGS = $(UTILS_CFLAGS)
144changeeps_LDADD = libibmtssutils.la libibmtss.la
145
146changepps_SOURCES = changepps.c
147changepps_CFLAGS = $(UTILS_CFLAGS) -DTPM_POSIX
148changepps_LDADD = libibmtssutils.la libibmtss.la
149
150clear_SOURCES = clear.c
151clear_CFLAGS = $(UTILS_CFLAGS)
152clear_LDADD = libibmtssutils.la libibmtss.la
153
154clearcontrol_SOURCES = clearcontrol.c
155clearcontrol_CFLAGS = $(UTILS_CFLAGS)
156clearcontrol_LDADD = libibmtssutils.la libibmtss.la
157
158clockrateadjust_SOURCES = clockrateadjust.c
159clockrateadjust_CFLAGS = $(UTILS_CFLAGS)
160clockrateadjust_LDADD = libibmtssutils.la libibmtss.la
161
162clockset_SOURCES = clockset.c
163clockset_CFLAGS = $(UTILS_CFLAGS)
164clockset_LDADD = libibmtssutils.la libibmtss.la
165
166commit_SOURCES = commit.c
167commit_CFLAGS = $(UTILS_CFLAGS)
168commit_LDADD = libibmtssutils.la libibmtss.la
169
170contextload_SOURCES = contextload.c
171contextload_CFLAGS = $(UTILS_CFLAGS)
172contextload_LDADD = libibmtssutils.la libibmtss.la
173
174contextsave_SOURCES = contextsave.c
175contextsave_CFLAGS = $(UTILS_CFLAGS)
176contextsave_LDADD = libibmtssutils.la libibmtss.la
177
178create_SOURCES = create.c objecttemplates.c
179create_CFLAGS = $(UTILS_CFLAGS)
180create_LDADD = libibmtssutils.la libibmtss.la
181
182createloaded_SOURCES = createloaded.c objecttemplates.c
183createloaded_CFLAGS = $(UTILS_CFLAGS)
184createloaded_LDADD = libibmtssutils.la libibmtss.la
185
186createprimary_SOURCES = createprimary.c objecttemplates.c
187createprimary_CFLAGS = $(UTILS_CFLAGS)
188createprimary_LDADD = libibmtssutils.la libibmtss.la
189
190dictionaryattacklockreset_SOURCES = dictionaryattacklockreset.c
191dictionaryattacklockreset_CFLAGS = $(UTILS_CFLAGS)
192dictionaryattacklockreset_LDADD = libibmtssutils.la libibmtss.la
193
194dictionaryattackparameters_SOURCES = dictionaryattackparameters.c
195dictionaryattackparameters_CFLAGS = $(UTILS_CFLAGS)
196dictionaryattackparameters_LDADD = libibmtssutils.la libibmtss.la
197
198duplicate_SOURCES = duplicate.c
199duplicate_CFLAGS = $(UTILS_CFLAGS)
200duplicate_LDADD = libibmtssutils.la libibmtss.la
201
202eccparameters_SOURCES = eccparameters.c
203eccparameters_CFLAGS = $(UTILS_CFLAGS)
204eccparameters_LDADD = libibmtssutils.la libibmtss.la
205
206ecephemeral_SOURCES = ecephemeral.c
207ecephemeral_CFLAGS = $(UTILS_CFLAGS)
208ecephemeral_LDADD = libibmtssutils.la libibmtss.la
209
210encryptdecrypt_SOURCES = encryptdecrypt.c
211encryptdecrypt_CFLAGS = $(UTILS_CFLAGS)
212encryptdecrypt_LDADD = libibmtssutils.la libibmtss.la
213
214eventsequencecomplete_SOURCES = eventsequencecomplete.c
215eventsequencecomplete_CFLAGS = $(UTILS_CFLAGS)
216eventsequencecomplete_LDADD = libibmtssutils.la libibmtss.la
217
218evictcontrol_SOURCES = evictcontrol.c
219evictcontrol_CFLAGS = $(UTILS_CFLAGS)
220evictcontrol_LDADD = libibmtssutils.la libibmtss.la
221
222flushcontext_SOURCES = flushcontext.c
223flushcontext_CFLAGS = $(UTILS_CFLAGS)
224flushcontext_LDADD = libibmtssutils.la libibmtss.la
225
226getcommandauditdigest_SOURCES = getcommandauditdigest.c
227getcommandauditdigest_CFLAGS = $(UTILS_CFLAGS)
228getcommandauditdigest_LDADD = libibmtssutils.la libibmtss.la
229
230getcapability_SOURCES = getcapability.c
231getcapability_CFLAGS = $(UTILS_CFLAGS)
232getcapability_LDADD = libibmtssutils.la libibmtss.la
233
234getcryptolibrary_SOURCES = getcryptolibrary.c
235getcryptolibrary_CFLAGS = $(UTILS_CFLAGS)
236getcryptolibrary_LDADD = libibmtssutils.la libibmtss.la
237
238getrandom_SOURCES = getrandom.c
239getrandom_CFLAGS = $(UTILS_CFLAGS)
240getrandom_LDADD = libibmtssutils.la libibmtss.la
241
242gettestresult_SOURCES = gettestresult.c
243gettestresult_CFLAGS = $(UTILS_CFLAGS)
244gettestresult_LDADD = libibmtssutils.la libibmtss.la
245
246getsessionauditdigest_SOURCES = getsessionauditdigest.c
247getsessionauditdigest_CFLAGS = $(UTILS_CFLAGS)
248getsessionauditdigest_LDADD = libibmtssutils.la libibmtss.la
249
250gettime_SOURCES = gettime.c
251gettime_CFLAGS = $(UTILS_CFLAGS)
252gettime_LDADD = libibmtssutils.la libibmtss.la
253
254hashsequencestart_SOURCES = hashsequencestart.c
255hashsequencestart_CFLAGS = $(UTILS_CFLAGS)
256hashsequencestart_LDADD = libibmtssutils.la libibmtss.la
257
258hash_SOURCES = hash.c
259hash_CFLAGS = $(UTILS_CFLAGS)
260hash_LDADD = libibmtssutils.la libibmtss.la
261
262hierarchycontrol_SOURCES = hierarchycontrol.c
263hierarchycontrol_CFLAGS = $(UTILS_CFLAGS)
264hierarchycontrol_LDADD = libibmtssutils.la libibmtss.la
265
266hierarchychangeauth_SOURCES = hierarchychangeauth.c
267hierarchychangeauth_CFLAGS = $(UTILS_CFLAGS)
268hierarchychangeauth_LDADD = libibmtssutils.la libibmtss.la
269
270hmac_SOURCES = hmac.c
271hmac_CFLAGS = $(UTILS_CFLAGS)
272hmac_LDADD = libibmtssutils.la libibmtss.la
273
274hmacstart_SOURCES = hmacstart.c
275hmacstart_CFLAGS = $(UTILS_CFLAGS)
276hmacstart_LDADD = libibmtssutils.la libibmtss.la
277
278import_SOURCES = import.c
279import_CFLAGS = $(UTILS_CFLAGS)
280import_LDADD = libibmtssutils.la libibmtss.la
281
282importpem_SOURCES = importpem.c objecttemplates.c
283importpem_CFLAGS = $(UTILS_CFLAGS)
284importpem_LDADD = libibmtssutils.la libibmtss.la
285
286load_SOURCES = load.c
287load_CFLAGS = $(UTILS_CFLAGS)
288load_LDADD = libibmtssutils.la libibmtss.la
289
290loadexternal_SOURCES = loadexternal.c
291loadexternal_CFLAGS = $(UTILS_CFLAGS)
292loadexternal_LDADD = libibmtssutils.la libibmtss.la
293
294makecredential_SOURCES = makecredential.c
295makecredential_CFLAGS = $(UTILS_CFLAGS)
296makecredential_LDADD = libibmtssutils.la libibmtss.la
297
298nvcertify_SOURCES = nvcertify.c
299nvcertify_CFLAGS = $(UTILS_CFLAGS)
300nvcertify_LDADD = libibmtssutils.la libibmtss.la
301
302nvchangeauth_SOURCES = nvchangeauth.c
303nvchangeauth_CFLAGS = $(UTILS_CFLAGS)
304nvchangeauth_LDADD = libibmtssutils.la libibmtss.la
305
306nvdefinespace_SOURCES = nvdefinespace.c
307nvdefinespace_CFLAGS = $(UTILS_CFLAGS)
308nvdefinespace_LDADD = libibmtssutils.la libibmtss.la
309
310nvextend_SOURCES = nvextend.c
311nvextend_CFLAGS = $(UTILS_CFLAGS)
312nvextend_LDADD = libibmtssutils.la libibmtss.la
313
314nvglobalwritelock_SOURCES = nvglobalwritelock.c
315nvglobalwritelock_CFLAGS = $(UTILS_CFLAGS)
316nvglobalwritelock_LDADD = libibmtssutils.la libibmtss.la
317
318nvincrement_SOURCES = nvincrement.c
319nvincrement_CFLAGS = $(UTILS_CFLAGS)
320nvincrement_LDADD = libibmtssutils.la libibmtss.la
321
322nvread_SOURCES = nvread.c
323nvread_CFLAGS = $(UTILS_CFLAGS)
324nvread_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
325
326nvreadlock_SOURCES = nvreadlock.c
327nvreadlock_CFLAGS = $(UTILS_CFLAGS)
328nvreadlock_LDADD = libibmtssutils.la libibmtss.la
329
330nvreadpublic_SOURCES = nvreadpublic.c
331nvreadpublic_CFLAGS = $(UTILS_CFLAGS)
332nvreadpublic_LDADD = libibmtssutils.la libibmtss.la
333
334nvsetbits_SOURCES = nvsetbits.c
335nvsetbits_CFLAGS = $(UTILS_CFLAGS)
336nvsetbits_LDADD = libibmtssutils.la libibmtss.la
337
338nvundefinespace_SOURCES = nvundefinespace.c
339nvundefinespace_CFLAGS = $(UTILS_CFLAGS)
340nvundefinespace_LDADD = libibmtssutils.la libibmtss.la
341
342nvundefinespacespecial_SOURCES = nvundefinespacespecial.c
343nvundefinespacespecial_CFLAGS = $(UTILS_CFLAGS)
344nvundefinespacespecial_LDADD = libibmtssutils.la libibmtss.la
345
346nvwrite_SOURCES = nvwrite.c
347nvwrite_CFLAGS = $(UTILS_CFLAGS)
348nvwrite_LDADD = libibmtssutils.la libibmtss.la
349
350nvwritelock_SOURCES = nvwritelock.c
351nvwritelock_CFLAGS = $(UTILS_CFLAGS)
352nvwritelock_LDADD = libibmtssutils.la libibmtss.la
353
354objectchangeauth_SOURCES = objectchangeauth.c
355objectchangeauth_CFLAGS = $(UTILS_CFLAGS)
356objectchangeauth_LDADD = libibmtssutils.la libibmtss.la
357
358pcrallocate_SOURCES = pcrallocate.c
359pcrallocate_CFLAGS = $(UTILS_CFLAGS)
360pcrallocate_LDADD = libibmtssutils.la libibmtss.la
361
362pcrevent_SOURCES = pcrevent.c
363pcrevent_CFLAGS = $(UTILS_CFLAGS)
364pcrevent_LDADD = libibmtssutils.la libibmtss.la
365
366pcrextend_SOURCES = pcrextend.c
367pcrextend_CFLAGS = $(UTILS_CFLAGS)
368pcrextend_LDADD = libibmtssutils.la libibmtss.la
369
370pcrread_SOURCES = pcrread.c
371pcrread_CFLAGS = $(UTILS_CFLAGS)
372pcrread_LDADD = libibmtssutils.la libibmtss.la
373
374pcrreset_SOURCES = pcrreset.c
375pcrreset_CFLAGS = $(UTILS_CFLAGS)
376pcrreset_LDADD = libibmtssutils.la libibmtss.la
377
378policyauthorize_SOURCES = policyauthorize.c
379policyauthorize_CFLAGS = $(UTILS_CFLAGS)
380policyauthorize_LDADD = libibmtssutils.la libibmtss.la
381
382policyauthvalue_SOURCES = policyauthvalue.c
383policyauthvalue_CFLAGS = $(UTILS_CFLAGS)
384policyauthvalue_LDADD = libibmtssutils.la libibmtss.la
385
386policycommandcode_SOURCES = policycommandcode.c
387policycommandcode_CFLAGS = $(UTILS_CFLAGS)
388policycommandcode_LDADD = libibmtssutils.la libibmtss.la
389
390policycphash_SOURCES = policycphash.c
391policycphash_CFLAGS = $(UTILS_CFLAGS)
392policycphash_LDADD = libibmtssutils.la libibmtss.la
393
394policynamehash_SOURCES = policynamehash.c
395policynamehash_CFLAGS = $(UTILS_CFLAGS)
396policynamehash_LDADD = libibmtssutils.la libibmtss.la
397
398policycountertimer_SOURCES = policycountertimer.c
399policycountertimer_CFLAGS = $(UTILS_CFLAGS)
400policycountertimer_LDADD = libibmtssutils.la libibmtss.la
401
402policyduplicationselect_SOURCES = policyduplicationselect.c
403policyduplicationselect_CFLAGS = $(UTILS_CFLAGS)
404policyduplicationselect_LDADD = libibmtssutils.la libibmtss.la
405
406policygetdigest_SOURCES = policygetdigest.c
407policygetdigest_CFLAGS = $(UTILS_CFLAGS)
408policygetdigest_LDADD = libibmtssutils.la libibmtss.la
409
410policymaker_SOURCES = policymaker.c
411policymaker_CFLAGS = $(UTILS_CFLAGS)
412policymaker_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
413
414policymakerpcr_SOURCES = policymakerpcr.c
415policymakerpcr_CFLAGS = $(UTILS_CFLAGS)
416policymakerpcr_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
417
418policyauthorizenv_SOURCES = policyauthorizenv.c
419policyauthorizenv_CFLAGS = $(UTILS_CFLAGS)
420policyauthorizenv_LDADD = libibmtssutils.la libibmtss.la
421
422policynv_SOURCES = policynv.c
423policynv_CFLAGS = $(UTILS_CFLAGS)
424policynv_LDADD = libibmtssutils.la libibmtss.la
425
426policynvwritten_SOURCES = policynvwritten.c
427policynvwritten_CFLAGS = $(UTILS_CFLAGS)
428policynvwritten_LDADD = libibmtssutils.la libibmtss.la
429
430policyor_SOURCES = policyor.c
431policyor_CFLAGS = $(UTILS_CFLAGS)
432policyor_LDADD = libibmtssutils.la libibmtss.la
433
434policypassword_SOURCES = policypassword.c
435policypassword_CFLAGS = $(UTILS_CFLAGS)
436policypassword_LDADD = libibmtssutils.la libibmtss.la
437
438policypcr_SOURCES = policypcr.c
439policypcr_CFLAGS = $(UTILS_CFLAGS)
440policypcr_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
441
442policyrestart_SOURCES = policyrestart.c
443policyrestart_CFLAGS = $(UTILS_CFLAGS)
444policyrestart_LDADD = libibmtssutils.la libibmtss.la
445
446policysigned_SOURCES = policysigned.c
447policysigned_CFLAGS = $(UTILS_CFLAGS)
448policysigned_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
449
450policysecret_SOURCES = policysecret.c
451policysecret_CFLAGS = $(UTILS_CFLAGS)
452policysecret_LDADD = libibmtssutils.la libibmtss.la
453
454policytemplate_SOURCES = policytemplate.c
455policytemplate_CFLAGS = $(UTILS_CFLAGS)
456policytemplate_LDADD = libibmtssutils.la libibmtss.la
457
458policyticket_SOURCES = policyticket.c
459policyticket_CFLAGS = $(UTILS_CFLAGS)
460policyticket_LDADD = libibmtssutils.la libibmtss.la
461
462quote_SOURCES = quote.c
463quote_CFLAGS = $(UTILS_CFLAGS)
464quote_LDADD = libibmtssutils.la libibmtss.la
465
466powerup_SOURCES = powerup.c
467powerup_CFLAGS = $(UTILS_CFLAGS)
468powerup_LDADD = libibmtssutils.la libibmtss.la
469
470readclock_SOURCES = readclock.c
471readclock_CFLAGS = $(UTILS_CFLAGS)
472readclock_LDADD = libibmtssutils.la libibmtss.la
473
474readpublic_SOURCES = readpublic.c
475readpublic_CFLAGS = $(UTILS_CFLAGS)
476readpublic_LDADD = libibmtssutils.la libibmtss.la
477
478returncode_SOURCES = returncode.c
479returncode_CFLAGS = $(UTILS_CFLAGS)
480returncode_LDADD = libibmtssutils.la libibmtss.la
481
482rewrap_SOURCES = rewrap.c
483rewrap_CFLAGS = $(UTILS_CFLAGS)
484rewrap_LDADD = libibmtssutils.la libibmtss.la
485
486rsadecrypt_SOURCES = rsadecrypt.c
487rsadecrypt_CFLAGS = $(UTILS_CFLAGS)
488rsadecrypt_LDADD = libibmtssutils.la libibmtss.la
489
490rsaencrypt_SOURCES = rsaencrypt.c
491rsaencrypt_CFLAGS = $(UTILS_CFLAGS)
492rsaencrypt_LDADD = libibmtssutils.la libibmtss.la
493
494sequenceupdate_SOURCES = sequenceupdate.c
495sequenceupdate_CFLAGS = $(UTILS_CFLAGS)
496sequenceupdate_LDADD = libibmtssutils.la libibmtss.la
497
498sequencecomplete_SOURCES = sequencecomplete.c
499sequencecomplete_CFLAGS = $(UTILS_CFLAGS)
500sequencecomplete_LDADD = libibmtssutils.la libibmtss.la
501
502setcommandcodeauditstatus_SOURCES = setcommandcodeauditstatus.c
503setcommandcodeauditstatus_CFLAGS = $(UTILS_CFLAGS)
504setcommandcodeauditstatus_LDADD = libibmtssutils.la libibmtss.la
505
506setprimarypolicy_SOURCES = setprimarypolicy.c
507setprimarypolicy_CFLAGS = $(UTILS_CFLAGS)
508setprimarypolicy_LDADD = libibmtssutils.la libibmtss.la
509
510shutdown_SOURCES = shutdown.c
511shutdown_CFLAGS = $(UTILS_CFLAGS)
512shutdown_LDADD = libibmtssutils.la libibmtss.la
513
514sign_SOURCES = sign.c
515sign_CFLAGS = $(UTILS_CFLAGS)
516sign_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
517
518startauthsession_SOURCES = startauthsession.c
519startauthsession_CFLAGS = $(UTILS_CFLAGS)
520startauthsession_LDADD = libibmtssutils.la libibmtss.la
521
522startup_SOURCES = startup.c
523startup_CFLAGS = $(UTILS_CFLAGS)
524startup_LDADD = libibmtssutils.la libibmtss.la
525
526stirrandom_SOURCES = stirrandom.c
527stirrandom_CFLAGS = $(UTILS_CFLAGS)
528stirrandom_LDADD = libibmtssutils.la libibmtss.la
529
530unseal_SOURCES = unseal.c
531unseal_CFLAGS = $(UTILS_CFLAGS)
532unseal_LDADD = libibmtssutils.la libibmtss.la
533
534verifysignature_SOURCES = verifysignature.c
535verifysignature_CFLAGS = $(UTILS_CFLAGS)
536verifysignature_LDADD = libibmtssutils.la libibmtss.la
537
538zgen2phase_SOURCES = zgen2phase.c
539zgen2phase_CFLAGS = $(UTILS_CFLAGS)
540zgen2phase_LDADD = libibmtssutils.la libibmtss.la
541
542signapp_SOURCES = signapp.c
543signapp_CFLAGS = $(UTILS_CFLAGS)
544signapp_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
545
546writeapp_SOURCES = writeapp.c
547writeapp_CFLAGS = $(UTILS_CFLAGS)
548writeapp_LDADD = libibmtssutils.la libibmtss.la
549
550timepacket_SOURCES = timepacket.c
551timepacket_CFLAGS = $(UTILS_CFLAGS)
552timepacket_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
553
554createek_SOURCES = createek.c
555createek_CFLAGS = $(UTILS_CFLAGS)
556createek_LDADD = libibmtssutils.la libibmtss.la $(LIBCRYPTO_LIBS)
557
558createekcert_SOURCES = createekcert.c
559createekcert_CFLAGS = $(UTILS_CFLAGS)
560createekcert_LDADD = libibmtssutils.la libibmtss.la
561
562tpm2pem_SOURCES = tpm2pem.c
563tpm2pem_CFLAGS = $(UTILS_CFLAGS)
564tpm2pem_LDADD = libibmtssutils.la libibmtss.la
565
566tpmpublic2eccpoint_SOURCES = tpmpublic2eccpoint.c
567tpmpublic2eccpoint_CFLAGS = $(UTILS_CFLAGS)
568tpmpublic2eccpoint_LDADD = libibmtssutils.la libibmtss.la
569
570ntc2getconfig_SOURCES = ntc2getconfig.c
571ntc2getconfig_CFLAGS = $(UTILS_CFLAGS)
572ntc2getconfig_LDADD = libibmtssutils.la libibmtss.la
573
574ntc2preconfig_SOURCES = ntc2preconfig.c
575ntc2preconfig_CFLAGS = $(UTILS_CFLAGS)
576ntc2preconfig_LDADD = libibmtssutils.la libibmtss.la
577
578ntc2lockconfig_SOURCES = ntc2lockconfig.c
579ntc2lockconfig_CFLAGS = $(UTILS_CFLAGS)
580ntc2lockconfig_LDADD = $(OPENSSL_LIBS) libibmtssutils.la libibmtss.la
581
582publicname_SOURCES = publicname.c
583publicname_CFLAGS = $(OPENSSL_CFLAGS)
584publicname_LDADD = $(OPENSSL_LIBS) libibmtssutils.la libibmtss.la
585
586tpmcmd_SOURCES = tpmcmd.c
587tpmcmd_CFLAGS = $(OPENSSL_CFLAGS)
588tpmcmd_LDADD = $(OPENSSL_LIBS) libibmtssutils.la libibmtss.la
589
590printattr_SOURCES = printattr.c
591printattr_CFLAGS = $(OPENSSL_CFLAGS)
592printattr_LDADD = $(OPENSSL_LIBS) libibmtssutils.la libibmtss.la
593
594endif
595