Use of TPM 2.0 private keys for signatures via tpm plugin
[strongswan.git] / src / libtpmtss / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 # copy-n-paste from Makefile.am
5 libtpmtss_la_SOURCES := \
6 tpm_tss.h tpm_tss.c \
7 tpm_tss_quote_info.h tpm_tss_quote_info.c \
8 tpm_tss_trousers.h tpm_tss_trousers.c \
9 tpm_tss_tss2.h tpm_tss_tss2.c \
10 tpm_tss_tss2_names.h tpm_tss_tss2_names.c
11
12 LOCAL_SRC_FILES := $(filter %.c,$(libtpmtss_la_SOURCES))
13
14 # build libtpmtss --------------------------------------------------------------
15
16 LOCAL_C_INCLUDES += \
17 $(strongswan_PATH)/src/libstrongswan
18
19 LOCAL_CFLAGS := $(strongswan_CFLAGS)
20
21 LOCAL_MODULE := libtpmtss
22
23 LOCAL_MODULE_TAGS := optional
24
25 LOCAL_ARM_MODE := arm
26
27 LOCAL_PRELINK_MODULE := false
28
29 LOCAL_SHARED_LIBRARIES += libstrongswan
30
31 include $(BUILD_SHARED_LIBRARY)
32