aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/Makefile.am
blob: 2def938967d738856d1267a1ab5a199f4ee3a844 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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)

libsamsung_ipc_la_SOURCES = \
	$(top_srcdir)/samsung-ipc/ipc.c \
	$(top_srcdir)/samsung-ipc/ipc.h \
	$(top_srcdir)/samsung-ipc/ipc_utils.c \
	$(top_srcdir)/samsung-ipc/utils.c \
	$(top_srcdir)/samsung-ipc/call.c \
	$(top_srcdir)/samsung-ipc/sms.c \
	$(top_srcdir)/samsung-ipc/sec.c \
	$(top_srcdir)/samsung-ipc/net.c \
	$(top_srcdir)/samsung-ipc/misc.c \
	$(top_srcdir)/samsung-ipc/svc.c \
	$(top_srcdir)/samsung-ipc/gprs.c \
	$(top_srcdir)/samsung-ipc/rfs.c \
	$(top_srcdir)/samsung-ipc/gen.c \
	$(top_srcdir)/samsung-ipc/partitions/android/android.c \
	$(top_srcdir)/samsung-ipc/partitions/android/android.h \
	$(top_srcdir)/samsung-ipc/partitions/toc/toc.c \
	$(top_srcdir)/samsung-ipc/partitions/toc/toc.h \
	$(NULL)

include $(top_srcdir)/samsung-ipc/devices/Makefile.am
include $(top_srcdir)/samsung-ipc/modems/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
# 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_CPPFLAGS = ${AM_CPPFLAGS}