1af101e7fSchristos#
2af101e7fSchristos# Makefile.am
3af101e7fSchristos#
4af101e7fSchristos#       The Initial Developer of the Original Code is International
5af101e7fSchristos#       Business Machines Corporation. Portions created by IBM
6af101e7fSchristos#       Corporation are Copyright (C) 2005, 2006 International Business
7af101e7fSchristos#       Machines Corporation. All Rights Reserved.
8af101e7fSchristos#
9af101e7fSchristos#       This program is free software; you can redistribute it and/or modify
10af101e7fSchristos#       it under the terms of the Common Public License as published by
11af101e7fSchristos#       IBM Corporation; either version 1 of the License, or (at your option)
12af101e7fSchristos#       any later version.
13af101e7fSchristos#
14af101e7fSchristos#       This program is distributed in the hope that it will be useful,
15af101e7fSchristos#       but WITHOUT ANY WARRANTY; without even the implied warranty of
16af101e7fSchristos#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17af101e7fSchristos#       Common Public License for more details.
18af101e7fSchristos#
19af101e7fSchristos#       You should have received a copy of the Common Public License
20af101e7fSchristos#       along with this program; if not, a copy can be viewed at
21af101e7fSchristos#       http://www.opensource.org/licenses/cpl1.0.php.
22af101e7fSchristos#
23af101e7fSchristos
24af101e7fSchristosbin_PROGRAMS	=	tpmtoken_init		\
25af101e7fSchristos			tpmtoken_setpasswd	\
26af101e7fSchristos			tpmtoken_objects	\
27af101e7fSchristos			tpmtoken_import		\
28af101e7fSchristos			tpmtoken_protect
29af101e7fSchristos
30af101e7fSchristosnoinst_HEADERS =	data_common.h \
31af101e7fSchristos			data_import.h \
32af101e7fSchristos			data_init.h \
33af101e7fSchristos			data_object.h \
34af101e7fSchristos			data_passwd.h \
35af101e7fSchristos			data_protect.h
36af101e7fSchristos
37af101e7fSchristos#
38af101e7fSchristos# Common build flags
39af101e7fSchristosAM_CPPFLAGS	=	-I$(top_srcdir)/include -D_LINUX
40af101e7fSchristos
41*910cd79bSchristosLDADD		=	$(top_builddir)/lib/libtpm_pkcs11.la -ltspi @INTLLIBS@
42af101e7fSchristos
43af101e7fSchristos
44af101e7fSchristos#
45af101e7fSchristos# TPM Token initialization command
46af101e7fSchristostpmtoken_init_SOURCES		=	data_init.c
47af101e7fSchristos
48af101e7fSchristos#
49af101e7fSchristos# TPM Token change password command
50af101e7fSchristostpmtoken_setpasswd_SOURCES	=	data_passwd.c
51af101e7fSchristos
52af101e7fSchristos#
53af101e7fSchristos# TPM Token object list command
54af101e7fSchristostpmtoken_objects_SOURCES	=	data_object.c
55af101e7fSchristos
56af101e7fSchristos#
57af101e7fSchristos# TPM Token object import command
58af101e7fSchristostpmtoken_import_SOURCES		=	data_import.c
59af101e7fSchristostpmtoken_import_LDADD		=	$(LDADD) -lcrypto
60af101e7fSchristos
61af101e7fSchristos#
62af101e7fSchristos# TPM Token data protection command
63af101e7fSchristostpmtoken_protect_SOURCES	=	data_protect.c
64