aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/tests/Makefile.am
blob: 591dfc876257cbe328bcd37658c2cea2bd1b7cde (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
NULL =

AM_CFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/samsung-ipc \
        $(OPENSSL_CFLAGS) \
        $(NULL)

if WANT_DEBUG
AM_CFLAGS += -ggdb -O0 -DDEBUG
endif

bin_PROGRAMS = \
	libsamsung-ipc-test \
	$(NULL)

libsamsung_ipc_test_SOURCES = \
	$(top_srcdir)/samsung-ipc/tests/main.c \
	$(top_srcdir)/samsung-ipc/tests/partitions/android.c \
	$(top_srcdir)/samsung-ipc/tests/partitions/android.h \
	$(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/devices/ipc_devices.c \
	$(top_srcdir)/samsung-ipc/devices/ipc_devices.h \
	$(top_srcdir)/samsung-ipc/devices/crespo/crespo.c \
	$(top_srcdir)/samsung-ipc/devices/crespo/crespo.h \
	$(top_srcdir)/samsung-ipc/devices/crespo/crespo_modem_ctl.h \
	$(top_srcdir)/samsung-ipc/devices/aries/aries.c \
	$(top_srcdir)/samsung-ipc/devices/aries/aries.h \
	$(top_srcdir)/samsung-ipc/devices/aries/onedram.h \
	$(top_srcdir)/samsung-ipc/devices/aries/phonet.h \
	$(top_srcdir)/samsung-ipc/devices/galaxys2/galaxys2.c \
	$(top_srcdir)/samsung-ipc/devices/galaxys2/galaxys2.h \
	$(top_srcdir)/samsung-ipc/devices/maguro/maguro.c \
	$(top_srcdir)/samsung-ipc/devices/maguro/maguro.h \
	$(top_srcdir)/samsung-ipc/devices/piranha/piranha.c \
	$(top_srcdir)/samsung-ipc/devices/piranha/piranha.h \
	$(top_srcdir)/samsung-ipc/devices/i9300/i9300.c \
	$(top_srcdir)/samsung-ipc/devices/i9300/i9300.h \
	$(top_srcdir)/samsung-ipc/devices/n7100/n7100.c \
	$(top_srcdir)/samsung-ipc/devices/n7100/n7100.h \
	$(top_srcdir)/samsung-ipc/devices/n5100/n5100.c \
	$(top_srcdir)/samsung-ipc/devices/n5100/n5100.h \
	$(top_srcdir)/samsung-ipc/devices/herolte/herolte.c \
	$(top_srcdir)/samsung-ipc/devices/herolte/herolte.h \
	$(top_srcdir)/samsung-ipc/devices/generic/generic.c \
	$(top_srcdir)/samsung-ipc/devices/generic/generic.h \
        $(top_srcdir)/samsung-ipc/modems/xmm616/xmm616.c \
        $(top_srcdir)/samsung-ipc/modems/xmm616/xmm616.h \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626.c \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626.h \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_hsic.c \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_hsic.h \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_kernel_smdk4412.c \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_kernel_smdk4412.h \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_mipi.c \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_mipi.h \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_modem_if.h \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_modem_link_device_hsic.h \
        $(top_srcdir)/samsung-ipc/modems/xmm626/xmm626_modem_prj.h \
	$(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)

libsamsung_ipc_test_SOURCES += $(libsamsung_ipc_la_SOURCES)

libsamsung_ipc_test_LDADD = \
	$(OPENSSL_LIBS) \
	$(NULL)

libsamsung_ipc_test_LDFLAGS =

# 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_test_CPPFLAGS = ${AM_CPPFLAGS}

# TODO: Find a way to make test more modular and represent each run of
# libsamsung-ipc-test in TEST while having it implemented in a single
# python file
PY_LOG_COMPILER = $(PYTHON)
TEST_EXTENSIONS = .py
TESTS = libsamsung-ipc-test.py