Skip to content

Commit

Permalink
build: Use libtool 'LT' and 'la' prefixes.
Browse files Browse the repository at this point in the history
Should have been part of tpm2-software#23

Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
  • Loading branch information
flihp authored and flihp committed Nov 3, 2015
1 parent 5e81143 commit 4b91242
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,27 @@ include src_vars.mk
ACLOCAL_AMFLAGS = -I m4

bin_PROGRAMS = resourcemgr/resourcemgr test/tpmclient/tpmclient test/tpmtest/tpmtest
noinst_LIBRARIES = sysapi/libtpm.a
noinst_LTLIBRARIES = sysapi/libtpm.la

resourcemgr_resourcemgr_CFLAGS = $(RESOURCEMGR_INC) $(PTHREAD_CFLAGS)
resourcemgr_resourcemgr_CXXFLAGS = $(RESOURCEMGR_INC) $(PTHREAD_CFLAGS)
resourcemgr_resourcemgr_LDADD = $(noinst_LIBRARIES)
resourcemgr_resourcemgr_LDADD = $(noinst_LTLIBRARIES)
resourcemgr_resourcemgr_LDFLAGS = $(PTHREAD_LDFLAGS)
resourcemgr_resourcemgr_SOURCES = $(RESOURCEMGR_SRC) $(TPMSOCKETS_SRC) \
$(LOCALTPM_SRC) $(COMMON_SRC)

sysapi_libtpm_a_CFLAGS = -I$(srcdir)/sysapi/include/
sysapi_libtpm_a_SOURCES = $(SYSAPI_C) $(SYSAPIUTIL_C)
sysapi_libtpm_la_CFLAGS = -I$(srcdir)/sysapi/include/
sysapi_libtpm_la_SOURCES = $(SYSAPI_C) $(SYSAPIUTIL_C)

test_tpmclient_tpmclient_CFLAGS = -DSAPI_CLIENT $(TPMCLIENT_INC)
test_tpmclient_tpmclient_CXXFLAGS = -DSAPI_CLIENT $(TPMCLIENT_INC)
test_tpmclient_tpmclient_LDADD = $(noinst_LIBRARIES)
test_tpmclient_tpmclient_LDADD = $(noinst_LTLIBRARIES)
test_tpmclient_tpmclient_SOURCES = $(COMMON_SRC) $(SAMPLE_SRC) \
$(TPMCLIENT_SRC) $(TPMSOCKETS_SRC)

test_tpmtest_tpmtest_CFLAGS = -DSAPI_CLIENT $(TPMTEST_INC)
test_tpmtest_tpmtest_CXXFLAGS = -DSAPI_CLIENT $(TPMTEST_INC)
test_tpmtest_tpmtest_LDADD = $(noinst_LIBRARIES)
test_tpmtest_tpmtest_LDADD = $(noinst_LTLIBRARIES)
test_tpmtest_tpmtest_SOURCES = $(COMMON_SRC) $(SAMPLE_SRC) \
$(TPMTEST_SRC) $(TPMSOCKETS_SRC)

Expand Down

0 comments on commit 4b91242

Please sign in to comment.