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
24af101e7fSchristosnoinst_HEADERS	=	tpm_nvcommon.h
25af101e7fSchristos
26af101e7fSchristosnoinst_PROGRAMS =	tpm_startup	\
27af101e7fSchristos			tpm_reset
28af101e7fSchristos
29af101e7fSchristossbin_PROGRAMS	=	tpm_changeownerauth \
30af101e7fSchristos			tpm_clear	\
31af101e7fSchristos			tpm_createek	\
32af101e7fSchristos			tpm_getpubek    \
33af101e7fSchristos			tpm_restrictpubek \
34af101e7fSchristos			tpm_setactive	\
35af101e7fSchristos			tpm_setenable	\
36af101e7fSchristos			tpm_setclearable \
37af101e7fSchristos			tpm_setownable	\
38af101e7fSchristos			tpm_setpresence	\
39af101e7fSchristos			tpm_takeownership \
40af101e7fSchristos			tpm_version	\
41af101e7fSchristos			tpm_selftest
42af101e7fSchristos
43af101e7fSchristosif TSS_LIB_IS_12
44af101e7fSchristossbin_PROGRAMS  += 	tpm_nvdefine    \
45af101e7fSchristos			tpm_nvinfo      \
46af101e7fSchristos			tpm_nvread      \
47af101e7fSchristos			tpm_nvrelease   \
48af101e7fSchristos			tpm_nvwrite     \
49af101e7fSchristos			tpm_resetdalock \
50af101e7fSchristos			tpm_restrictsrk \
51af101e7fSchristos			tpm_revokeek \
52af101e7fSchristos			tpm_setoperatorauth
53af101e7fSchristosAM_CPPFLAGS	=	-I$(top_srcdir)/include -D_LINUX -DTSS_LIB_IS_12
54af101e7fSchristoselse
55af101e7fSchristosAM_CPPFLAGS	=	-I$(top_srcdir)/include -D_LINUX
56af101e7fSchristosendif
57af101e7fSchristos
58*739b7041SchristosLDADD		=	$(top_builddir)/lib/libtpm_tspi.la -ltspi @INTLLIBS@
59af101e7fSchristos
60af101e7fSchristostpm_startup_SOURCES =		tpm_startup.c
61af101e7fSchristostpm_reset_SOURCES =		tpm_reset.c
62af101e7fSchristos
63af101e7fSchristostpm_changeownerauth_SOURCES =	tpm_changeauth.c
64af101e7fSchristostpm_clear_SOURCES	=	tpm_clear.c
65af101e7fSchristostpm_createek_SOURCES	=	tpm_createek.c
66af101e7fSchristostpm_getpubek_SOURCES	=	tpm_getpubek.c
67af101e7fSchristostpm_nvdefine_SOURCES	=	tpm_nvdefine.c tpm_nvcommon.c
68af101e7fSchristostpm_nvinfo_SOURCES	=	tpm_nvinfo.c tpm_nvcommon.c
69af101e7fSchristostpm_nvrelease_SOURCES	=	tpm_nvrelease.c tpm_nvcommon.c
70af101e7fSchristostpm_nvread_SOURCES	=	tpm_nvread.c tpm_nvcommon.c
71af101e7fSchristostpm_nvwrite_SOURCES	=	tpm_nvwrite.c tpm_nvcommon.c
72af101e7fSchristostpm_restrictpubek_SOURCES =	tpm_restrictpubek.c
73af101e7fSchristostpm_setactive_SOURCES	=	tpm_activate.c
74af101e7fSchristostpm_setclearable_SOURCES =	tpm_clearable.c
75af101e7fSchristostpm_setenable_SOURCES	=	tpm_enable.c
76af101e7fSchristostpm_setownable_SOURCES	=	tpm_ownable.c
77af101e7fSchristostpm_setpresence_SOURCES =	tpm_present.c
78af101e7fSchristostpm_takeownership_SOURCES =	tpm_takeownership.c
79af101e7fSchristostpm_version_SOURCES	=	tpm_version.c
80af101e7fSchristostpm_selftest_SOURCES	=	tpm_selftest.c
81af101e7fSchristostpm_revokeek_SOURCES	=	tpm_revokeek.c
82af101e7fSchristostpm_setoperatorauth_SOURCES =   tpm_setoperatorauth.c
83af101e7fSchristostpm_resetdalock_SOURCES =       tpm_resetdalock.c
84af101e7fSchristostpm_restrictsrk_SOURCES =       tpm_restrictsrk.c
85af101e7fSchristos
86