summaryrefslogtreecommitdiff
path: root/src/trspi/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/trspi/Makefile.am')
-rw-r--r--src/trspi/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/trspi/Makefile.am b/src/trspi/Makefile.am
new file mode 100644
index 0000000..300e492
--- /dev/null
+++ b/src/trspi/Makefile.am
@@ -0,0 +1,11 @@
+noinst_LTLIBRARIES=libtrousers.la
+
+libtrousers_la_SOURCES=trousers.c crypto/@CRYPTO_PACKAGE@/hash.c
+libtrousers_la_CFLAGS=-DAPPID=\"TSPI\" -I${top_srcdir}/src/include
+
+if TSS_BUILD_ASYM_CRYPTO
+libtrousers_la_SOURCES+=crypto/@CRYPTO_PACKAGE@/rsa.c
+endif
+if TSS_BUILD_SYM_CRYPTO
+libtrousers_la_SOURCES+=crypto/@CRYPTO_PACKAGE@/symmetric.c
+endif