diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2012-11-18 07:12:38 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2012-11-18 07:12:38 +0000 |
commit | 4ae8b8cf8617ffcc2f82576ca586cff91f5fdda3 (patch) | |
tree | 2e7323a4f7f7ae08addcfed16795cc96ef5d39bd /src/Makefile_Eet.am | |
parent | 766a0c790d31795a2eaa51f9e7981b13eeb378a7 (diff) |
merge: do not use recursive make for unit tests
SVN revision: 79413
Diffstat (limited to '')
-rw-r--r-- | src/Makefile_Eet.am | 40 |
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 | ||
39 | if HAVE_WINDOWS | 40 | if HAVE_WINDOWS |
@@ -48,7 +49,7 @@ if HAVE_WINDOWS | |||
48 | lib_eet_libeet_la_LIBADD += lib/evil/libevil.la | 49 | lib_eet_libeet_la_LIBADD += lib/evil/libevil.la |
49 | endif | 50 | endif |
50 | 51 | ||
51 | lib_eet_libeet_la_LIBADD += @EET_LIBS@ -lm | 52 | lib_eet_libeet_la_LIBADD += @EET_LIBS@ @EFL_COV_LIBS@ -lm |
52 | 53 | ||
53 | lib_eet_libeet_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@ | 54 | lib_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 | ||
74 | if HAVE_WINDOWS | 76 | if HAVE_WINDOWS |
@@ -85,4 +87,38 @@ if HAVE_WINDOWS | |||
85 | bin_eet_eet_LDADD += lib/evil/libevil.la | 87 | bin_eet_eet_LDADD += lib/evil/libevil.la |
86 | endif | 88 | endif |
87 | 89 | ||
88 | bin_eet_eet_LDADD += @EET_LIBS@ | 90 | bin_eet_eet_LDADD += @EET_LIBS@ @EFL_COV_LIBS@ |
91 | |||
92 | ### Unit tests | ||
93 | |||
94 | if EFL_ENABLE_TESTS | ||
95 | |||
96 | check_PROGRAMS += tests/eet/eet_suite | ||
97 | |||
98 | tests_eet_eet_suite_SOURCES = \ | ||
99 | tests/eet/eet_suite.c \ | ||
100 | tests/eet/eet_data_suite.c \ | ||
101 | tests/eet/eet_suite.h | ||
102 | |||
103 | tests_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 | |||
112 | tests_eet_eet_suite_LDADD = \ | ||
113 | lib/eet/libeet.la \ | ||
114 | lib/eina/libeina.la \ | ||
115 | @CHECK_LIBS@ \ | ||
116 | @EET_LIBS@ | ||
117 | |||
118 | endif | ||
119 | |||
120 | EXTRA_DIST += \ | ||
121 | tests/eet/cert.pem \ | ||
122 | tests/eet/key_enc_none.pem \ | ||
123 | tests/eet/key_enc.pem \ | ||
124 | tests/eet/key.pem | ||