summaryrefslogtreecommitdiff
path: root/src/Makefile_Eo.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-18 07:12:38 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-18 07:12:38 +0000
commit4ae8b8cf8617ffcc2f82576ca586cff91f5fdda3 (patch)
tree2e7323a4f7f7ae08addcfed16795cc96ef5d39bd /src/Makefile_Eo.am
parent766a0c790d31795a2eaa51f9e7981b13eeb378a7 (diff)
merge: do not use recursive make for unit tests
SVN revision: 79413
Diffstat (limited to 'src/Makefile_Eo.am')
-rw-r--r--src/Makefile_Eo.am205
1 files changed, 204 insertions, 1 deletions
diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am
index d43f34e14d..22fa8faa82 100644
--- a/src/Makefile_Eo.am
+++ b/src/Makefile_Eo.am
@@ -19,6 +19,7 @@ lib_eo_libeo_la_CPPFLAGS = \
19-DNDEBUG \ 19-DNDEBUG \
20-DEFL_EO_BUILD \ 20-DEFL_EO_BUILD \
21@EFL_CFLAGS@ \ 21@EFL_CFLAGS@ \
22@EFL_COV_CFLAGS@ \
22@EO_CFLAGS@ 23@EO_CFLAGS@
23 24
24if HAVE_WINDOWS 25if HAVE_WINDOWS
@@ -27,6 +28,208 @@ lib_eo_libeo_la_CPPFLAGS += \
27-I$(top_builddir)/src/lib/evil 28-I$(top_builddir)/src/lib/evil
28endif 29endif
29 30
30lib_eo_libeo_la_LIBADD = lib/eina/libeina.la @EO_LIBS@ 31lib_eo_libeo_la_LIBADD = lib/eina/libeina.la @EO_LIBS@ @EFL_COV_LIBS@
31 32
32lib_eo_libeo_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@ 33lib_eo_libeo_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
34
35### Unit tests
36
37check_PROGRAMS += \
38tests/eo/test_access \
39tests/eo/test_composite_objects \
40tests/eo/test_constructors \
41tests/eo/test_function_overrides \
42tests/eo/test_interface \
43tests/eo/test_mixin \
44tests/eo/test_signals
45
46if EFL_ENABLE_TESTS
47check_PROGRAMS += tests/eo/eo_suite
48endif
49
50tests_eo_test_access_SOURCES = \
51tests/eo/access/access_inherit.c \
52tests/eo/access/access_inherit.h \
53tests/eo/access/access_main.c \
54tests/eo/access/access_simple.c \
55tests/eo/access/access_simple.h \
56tests/eo/access/access_simple_protected.h
57
58tests_eo_test_access_CPPFLAGS = \
59-I$(top_srcdir)/src/lib/eina \
60-I$(top_srcdir)/src/lib/eo \
61-I$(top_builddir)/src/lib/eina \
62-I$(top_builddir)/src/lib/eo \
63@CHECK_CFLAGS@ \
64@EO_CFLAGS@
65
66tests_eo_test_access_LDADD = \
67lib/eo/libeo.la \
68@EO_LIBS@
69
70tests_eo_test_composite_objects_SOURCES = \
71tests/eo/composite_objects/composite_objects_comp.c \
72tests/eo/composite_objects/composite_objects_comp.h \
73tests/eo/composite_objects/composite_objects_main.c \
74tests/eo/composite_objects/composite_objects_simple.c \
75tests/eo/composite_objects/composite_objects_simple.h
76
77tests_eo_test_composite_objects_CPPFLAGS = \
78-I$(top_srcdir)/src/lib/eina \
79-I$(top_srcdir)/src/lib/eo \
80-I$(top_builddir)/src/lib/eina \
81-I$(top_builddir)/src/lib/eo \
82@CHECK_CFLAGS@ \
83@EO_CFLAGS@
84
85tests_eo_test_composite_objects_LDADD = \
86lib/eo/libeo.la \
87@EO_LIBS@
88
89tests_eo_test_constructors_SOURCES = \
90tests/eo/constructors/constructors_main.c \
91tests/eo/constructors/constructors_mixin.c \
92tests/eo/constructors/constructors_mixin.h \
93tests/eo/constructors/constructors_simple.c \
94tests/eo/constructors/constructors_simple.h \
95tests/eo/constructors/constructors_simple2.c \
96tests/eo/constructors/constructors_simple2.h \
97tests/eo/constructors/constructors_simple3.c \
98tests/eo/constructors/constructors_simple3.h \
99tests/eo/constructors/constructors_simple4.c \
100tests/eo/constructors/constructors_simple4.h \
101tests/eo/constructors/constructors_simple5.c \
102tests/eo/constructors/constructors_simple5.h \
103tests/eo/constructors/constructors_simple6.c \
104tests/eo/constructors/constructors_simple6.h \
105tests/eo/constructors/constructors_simple7.c \
106tests/eo/constructors/constructors_simple7.h
107
108tests_eo_test_constructors_CPPFLAGS = \
109-I$(top_srcdir)/src/lib/eina \
110-I$(top_srcdir)/src/lib/eo \
111-I$(top_builddir)/src/lib/eina \
112-I$(top_builddir)/src/lib/eo \
113@CHECK_CFLAGS@ \
114@EO_CFLAGS@
115
116tests_eo_test_constructors_LDADD = \
117lib/eo/libeo.la \
118@EO_LIBS@
119
120if EFL_ENABLE_TESTS
121
122tests_eo_eo_suite_SOURCES = \
123tests/eo/suite/eo_test_class_simple.c \
124tests/eo/suite/eo_test_class_simple.h \
125tests/eo/suite/eo_suite.c \
126tests/eo/suite/eo_suite.h \
127tests/eo/suite/eo_test_class_errors.c \
128tests/eo/suite/eo_test_general.c \
129tests/eo/suite/eo_test_init.c
130
131tests_eo_eo_suite_CPPFLAGS = \
132-I$(top_srcdir)/src/lib/eina \
133-I$(top_srcdir)/src/lib/eo \
134-I$(top_builddir)/src/lib/eina \
135-I$(top_builddir)/src/lib/eo \
136-DNDEBUG \
137@CHECK_CFLAGS@ \
138@EO_CFLAGS@
139
140tests_eo_eo_suite_LDADD = \
141lib/eo/libeo.la \
142@CHECK_LIBS@ \
143@EO_LIBS@
144
145endif
146
147tests_eo_test_function_overrides_SOURCES = \
148tests/eo/function_overrides/function_overrides_inherit.c \
149tests/eo/function_overrides/function_overrides_inherit.h \
150tests/eo/function_overrides/function_overrides_inherit2.c \
151tests/eo/function_overrides/function_overrides_inherit2.h \
152tests/eo/function_overrides/function_overrides_inherit3.c \
153tests/eo/function_overrides/function_overrides_inherit3.h \
154tests/eo/function_overrides/function_overrides_main.c \
155tests/eo/function_overrides/function_overrides_simple.c \
156tests/eo/function_overrides/function_overrides_simple.h
157
158tests_eo_test_function_overrides_CPPFLAGS = \
159-I$(top_srcdir)/src/lib/eina \
160-I$(top_srcdir)/src/lib/eo \
161-I$(top_builddir)/src/lib/eina \
162-I$(top_builddir)/src/lib/eo \
163@CHECK_CFLAGS@ \
164@EO_CFLAGS@
165
166tests_eo_test_function_overrides_LDADD = \
167lib/eo/libeo.la \
168@EO_LIBS@
169
170tests_eo_test_interface_SOURCES = \
171tests/eo/interface/interface_interface.c \
172tests/eo/interface/interface_interface.h \
173tests/eo/interface/interface_interface2.c \
174tests/eo/interface/interface_interface2.h \
175tests/eo/interface/interface_main.c \
176tests/eo/interface/interface_simple.c \
177tests/eo/interface/interface_simple.h
178
179tests_eo_test_interface_CPPFLAGS = \
180-I$(top_srcdir)/src/lib/eina \
181-I$(top_srcdir)/src/lib/eo \
182-I$(top_builddir)/src/lib/eina \
183-I$(top_builddir)/src/lib/eo \
184@CHECK_CFLAGS@ \
185@EO_CFLAGS@
186
187tests_eo_test_interface_LDADD = \
188lib/eo/libeo.la \
189@EO_LIBS@
190
191tests_eo_test_mixin_SOURCES = \
192tests/eo/mixin/mixin_inherit.c \
193tests/eo/mixin/mixin_inherit.h \
194tests/eo/mixin/mixin_main.c \
195tests/eo/mixin/mixin_mixin.c \
196tests/eo/mixin/mixin_mixin.h \
197tests/eo/mixin/mixin_mixin2.c \
198tests/eo/mixin/mixin_mixin2.h \
199tests/eo/mixin/mixin_mixin3.c \
200tests/eo/mixin/mixin_mixin3.h \
201tests/eo/mixin/mixin_mixin4.c \
202tests/eo/mixin/mixin_mixin4.h \
203tests/eo/mixin/mixin_simple.c \
204tests/eo/mixin/mixin_simple.h
205
206tests_eo_test_mixin_CPPFLAGS = \
207-I$(top_srcdir)/src/lib/eina \
208-I$(top_srcdir)/src/lib/eo \
209-I$(top_builddir)/src/lib/eina \
210-I$(top_builddir)/src/lib/eo \
211@CHECK_CFLAGS@ \
212@EO_CFLAGS@
213
214tests_eo_test_mixin_LDADD = \
215lib/eo/libeo.la \
216@EO_LIBS@
217
218tests_eo_test_signals_SOURCES = \
219tests/eo/signals/signals_main.c \
220tests/eo/signals/signals_simple.c \
221tests/eo/signals/signals_simple.h
222
223tests_eo_test_signals_CPPFLAGS = \
224-I$(top_srcdir)/src/lib/eina \
225-I$(top_srcdir)/src/lib/eo \
226-I$(top_builddir)/src/lib/eina \
227-I$(top_builddir)/src/lib/eo \
228@CHECK_CFLAGS@ \
229@EO_CFLAGS@
230
231tests_eo_test_signals_LDADD = \
232lib/eo/libeo.la \
233@EO_LIBS@
234
235EXTRA_DIST += tests/eo/eunit_tests.h