Makefiles: fixups and minor improvements
Change-Id: I9fb85f56900519478e3c777901beea1ed4af2b5f
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/libpldmresponder/Makefile.am b/libpldmresponder/Makefile.am
index faa4934..dca2be6 100644
--- a/libpldmresponder/Makefile.am
+++ b/libpldmresponder/Makefile.am
@@ -8,11 +8,12 @@
../libpldm/libpldm.la \
$(CODE_COVERAGE_LIBS)
libpldmresponder_la_LDFLAGS = \
- $(SDBUSPLUS_LIBS)
+ $(SDBUSPLUS_LIBS) \
-version-info 1:0:0 -shared
-libpldmresponder_la_CXXFLAGS = $(CODE_COVERAGE_CXXFLAGS) \
+libpldmresponder_la_CXXFLAGS = \
+ $(CODE_COVERAGE_CXXFLAGS) \
$(SDBUSPLUS_CFLAGS)
-
+
libpldmresponder_la_CPPFLAGS = $(CODE_COVERAGE_CPPFLAGS)
diff --git a/test/Makefile.am b/test/Makefile.am
index ebbf363..71d0a02 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -27,7 +27,9 @@
libpldm_base_test_CPPFLAGS = $(test_cppflags)
libpldm_base_test_CXXFLAGS = $(test_cxxflags)
libpldm_base_test_LDFLAGS = $(test_ldflags)
-libpldm_base_test_LDADD = $(top_builddir)/libpldm/libpldm_la-base.o $(CODE_COVERAGE_LIBS)
+libpldm_base_test_LDADD = \
+ $(top_builddir)/libpldm/libpldm_la-base.o \
+ $(CODE_COVERAGE_LIBS)
libpldm_base_test_SOURCES = libpldm_base_test.cpp
libpldm_platform_test_CPPFLAGS = $(test_cppflags)
@@ -50,13 +52,16 @@
libpldmresponder_bios_test_CPPFLAGS = $(test_cppflags)
libpldmresponder_bios_test_CXXFLAGS = $(test_cxxflags)
-libpldmresponder_bios_test_LDFLAGS = $(test_ldflags) $(SDBUSPLUS_LIBS)
+libpldmresponder_bios_test_LDFLAGS = \
+ $(test_ldflags) \
+ $(SDBUSPLUS_LIBS)
libpldmresponder_bios_test_LDADD = \
$(top_builddir)/libpldmresponder/libpldmresponder_la-bios.o \
$(top_builddir)/libpldmresponder/libpldmresponder_la-utils.o \
$(top_builddir)/libpldm/libpldm_la-base.o \
$(top_builddir)/libpldm/libpldm_la-bios.o \
- $(CODE_COVERAGE_LIBS) $(SDBUSPLUS_LIBS)
+ $(CODE_COVERAGE_LIBS) \
+ $(SDBUSPLUS_LIBS)
libpldmresponder_bios_test_SOURCES = \
libpldmresponder_bios_test.cpp
@@ -66,7 +71,7 @@
libpldmresponder_base_test_LDFLAGS = $(test_ldflags)
libpldmresponder_base_test_LDADD = \
$(top_builddir)/libpldm/libpldm_la-base.o \
- $(top_builddir)/libpldmresponder/libpldmresponder_la-base.o $(CODE_COVERAGE_LIBS)
+ $(top_builddir)/libpldmresponder/libpldmresponder_la-base.o \
+ $(CODE_COVERAGE_LIBS)
libpldmresponder_base_test_SOURCES = libpldmresponder_base_test.cpp
-