blob: f613f75f67941c13c200c5497a966111532facf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
NULL =
AM_CFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/samsung-ipc \
$(OPENSSL_CFLAGS) \
$(NULL)
if WANT_DEBUG
AM_CFLAGS += -ggdb -O0 -DDEBUG
endif
lib_LTLIBRARIES = \
libsamsung-ipc.la \
$(NULL)
# This defines libsamsung_ipc_la_SOURCES so we can reuse it in
# samsung-ipc/test/Makefile.am
include common/Makefile.am
libsamsung_ipc_la_LIBADD = \
$(OPENSSL_LIBS) \
$(NULL)
# 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.
# Without that we might have errors like this one during autogen.sh:
# error: object 'ipc.$(OBJEXT)' created both with libtool and without
libsamsung_ipc_la_CPPFLAGS = ${AM_CPPFLAGS}
|