summaryrefslogtreecommitdiff
path: root/src/Makefile_Eet.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_Eet.am
parent766a0c790d31795a2eaa51f9e7981b13eeb378a7 (diff)
merge: do not use recursive make for unit tests
SVN revision: 79413
Diffstat (limited to 'src/Makefile_Eet.am')
-rw-r--r--src/Makefile_Eet.am40
1 files changed, 38 insertions, 2 deletions
diff --git a/src/Makefile_Eet.am b/src/Makefile_Eet.am
index 625a19a66e..79d9a625a7 100644
--- a/src/Makefile_Eet.am
+++ b/src/Makefile_Eet.am
@@ -34,6 +34,7 @@ lib_eet_libeet_la_CPPFLAGS = \
34-DPACKAGE_DATA_DIR=\"$(datadir)/eet\" \ 34-DPACKAGE_DATA_DIR=\"$(datadir)/eet\" \
35-DEFL_EET_BUILD \ 35-DEFL_EET_BUILD \
36@EFL_CFLAGS@ \ 36@EFL_CFLAGS@ \
37@EFL_COV_CFLAGS@ \
37@EET_CFLAGS@ 38@EET_CFLAGS@
38 39
39if HAVE_WINDOWS 40if HAVE_WINDOWS
@@ -48,7 +49,7 @@ if HAVE_WINDOWS
48lib_eet_libeet_la_LIBADD += lib/evil/libevil.la 49lib_eet_libeet_la_LIBADD += lib/evil/libevil.la
49endif 50endif
50 51
51lib_eet_libeet_la_LIBADD += @EET_LIBS@ -lm 52lib_eet_libeet_la_LIBADD += @EET_LIBS@ @EFL_COV_LIBS@ -lm
52 53
53lib_eet_libeet_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@ 54lib_eet_libeet_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
54 55
@@ -69,6 +70,7 @@ bin_eet_eet_CPPFLAGS = \
69-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 70-DPACKAGE_LIB_DIR=\"$(libdir)\" \
70-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ 71-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
71@EFL_CFLAGS@ \ 72@EFL_CFLAGS@ \
73@EFL_COV_CFLAGS@ \
72@EET_CFLAGS@ 74@EET_CFLAGS@
73 75
74if HAVE_WINDOWS 76if HAVE_WINDOWS
@@ -85,4 +87,38 @@ if HAVE_WINDOWS
85bin_eet_eet_LDADD += lib/evil/libevil.la 87bin_eet_eet_LDADD += lib/evil/libevil.la
86endif 88endif
87 89
88bin_eet_eet_LDADD += @EET_LIBS@ 90bin_eet_eet_LDADD += @EET_LIBS@ @EFL_COV_LIBS@
91
92### Unit tests
93
94if EFL_ENABLE_TESTS
95
96check_PROGRAMS += tests/eet/eet_suite
97
98tests_eet_eet_suite_SOURCES = \
99tests/eet/eet_suite.c \
100tests/eet/eet_data_suite.c \
101tests/eet/eet_suite.h
102
103tests_eet_eet_suite_CPPFLAGS = \
104-I$(top_srcdir)/src/lib/eina \
105-I$(top_srcdir)/src/lib/eet \
106-I$(top_builddir)/src/lib/eina \
107-I$(top_builddir)/src/lib/eet \
108-DTESTS_SRC_DIR=\"$(top_srcdir)\" \
109@CHECK_CFLAGS@ \
110@EET_CFLAGS@
111
112tests_eet_eet_suite_LDADD = \
113lib/eet/libeet.la \
114lib/eina/libeina.la \
115@CHECK_LIBS@ \
116@EET_LIBS@
117
118endif
119
120EXTRA_DIST += \
121tests/eet/cert.pem \
122tests/eet/key_enc_none.pem \
123tests/eet/key_enc.pem \
124tests/eet/key.pem