From cd80f4ce927a59634894c983471aa0db78ad93a0 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Tue, 2 Mar 2021 16:34:01 +0100 Subject: test: reuse libsamsung-ipc source files Signed-off-by: Denis 'GNUtoo' Carikli --- samsung-ipc/Makefile.am | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'samsung-ipc/Makefile.am') diff --git a/samsung-ipc/Makefile.am b/samsung-ipc/Makefile.am index 2bb18d9..ab33bba 100644 --- a/samsung-ipc/Makefile.am +++ b/samsung-ipc/Makefile.am @@ -14,20 +14,16 @@ lib_LTLIBRARIES = \ libsamsung-ipc.la \ $(NULL) -libsamsung_ipc_la_SOURCES = \ - $(NULL) - +# This defines libsamsung_ipc_la_SOURCES so we can reuse it in +# samsung-ipc/test/Makefile.am include $(top_srcdir)/samsung-ipc/common/Makefile.am -include $(top_srcdir)/samsung-ipc/devices/Makefile.am -include $(top_srcdir)/samsung-ipc/modems/Makefile.am -include $(top_srcdir)/samsung-ipc/partitions/Makefile.am libsamsung_ipc_la_LIBADD = \ $(OPENSSL_LIBS) \ $(NULL) -# As we reuse $(libsamsung_ipc_la_SOURCES) in the libsamsung-ipc-test test -# program, we need to tell the autotools to separate the libsamsung-ipc and +# As we reuse $(libsamsung_ipc_la_SOURCES) in samsung-ipc/common/Makefile.am, +# we need to tell the autotools to separate the libsamsung-ipc and # libsamsung-ipc-test .o, otherwise libsamsung-ipc' .o will be linked # directoy in libsamsung-ipc-test. # As they need to be compiled with different options, this is an issue. -- cgit v1.2.3