Makefile.am revision 1.1.1.1
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 24noinst_HEADERS = tpm_nvcommon.h 25 26noinst_PROGRAMS = tpm_startup \ 27 tpm_reset 28 29sbin_PROGRAMS = tpm_changeownerauth \ 30 tpm_clear \ 31 tpm_createek \ 32 tpm_getpubek \ 33 tpm_restrictpubek \ 34 tpm_setactive \ 35 tpm_setenable \ 36 tpm_setclearable \ 37 tpm_setownable \ 38 tpm_setpresence \ 39 tpm_takeownership \ 40 tpm_version \ 41 tpm_selftest 42 43if TSS_LIB_IS_12 44sbin_PROGRAMS += tpm_nvdefine \ 45 tpm_nvinfo \ 46 tpm_nvread \ 47 tpm_nvrelease \ 48 tpm_nvwrite \ 49 tpm_resetdalock \ 50 tpm_restrictsrk \ 51 tpm_revokeek \ 52 tpm_setoperatorauth 53AM_CPPFLAGS = -I$(top_srcdir)/include -D_LINUX -DTSS_LIB_IS_12 54else 55AM_CPPFLAGS = -I$(top_srcdir)/include -D_LINUX 56endif 57 58LDADD = $(top_builddir)/lib/libtpm_tspi.la -ltspi 59 60tpm_startup_SOURCES = tpm_startup.c 61tpm_reset_SOURCES = tpm_reset.c 62 63tpm_changeownerauth_SOURCES = tpm_changeauth.c 64tpm_clear_SOURCES = tpm_clear.c 65tpm_createek_SOURCES = tpm_createek.c 66tpm_getpubek_SOURCES = tpm_getpubek.c 67tpm_nvdefine_SOURCES = tpm_nvdefine.c tpm_nvcommon.c 68tpm_nvinfo_SOURCES = tpm_nvinfo.c tpm_nvcommon.c 69tpm_nvrelease_SOURCES = tpm_nvrelease.c tpm_nvcommon.c 70tpm_nvread_SOURCES = tpm_nvread.c tpm_nvcommon.c 71tpm_nvwrite_SOURCES = tpm_nvwrite.c tpm_nvcommon.c 72tpm_restrictpubek_SOURCES = tpm_restrictpubek.c 73tpm_setactive_SOURCES = tpm_activate.c 74tpm_setclearable_SOURCES = tpm_clearable.c 75tpm_setenable_SOURCES = tpm_enable.c 76tpm_setownable_SOURCES = tpm_ownable.c 77tpm_setpresence_SOURCES = tpm_present.c 78tpm_takeownership_SOURCES = tpm_takeownership.c 79tpm_version_SOURCES = tpm_version.c 80tpm_selftest_SOURCES = tpm_selftest.c 81tpm_revokeek_SOURCES = tpm_revokeek.c 82tpm_setoperatorauth_SOURCES = tpm_setoperatorauth.c 83tpm_resetdalock_SOURCES = tpm_resetdalock.c 84tpm_restrictsrk_SOURCES = tpm_restrictsrk.c 85 86