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