diff options
author | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-04 18:41:13 +1000 |
commit | dd7595a3475407a7fa96a97393bae8c5220e8762 (patch) | |
tree | e341e911d7eb911a51684a7412ef7f7c7605d28e /libraries/eina/src/tests/Makefile.am | |
parent | Add the skeleton. (diff) | |
download | SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.zip SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.gz SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.bz2 SledjHamr-dd7595a3475407a7fa96a97393bae8c5220e8762.tar.xz |
Add the base Enlightenment Foundation Libraries - eina, eet, evas, ecore, embryo, and edje.
Note that embryo wont be used, but I'm not sure yet if you can build edje without it.
Diffstat (limited to 'libraries/eina/src/tests/Makefile.am')
-rw-r--r-- | libraries/eina/src/tests/Makefile.am | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/libraries/eina/src/tests/Makefile.am b/libraries/eina/src/tests/Makefile.am new file mode 100644 index 0000000..a413e6e --- /dev/null +++ b/libraries/eina/src/tests/Makefile.am | |||
@@ -0,0 +1,137 @@ | |||
1 | MAINTAINERCLEANFILES = Makefile.in | ||
2 | |||
3 | benchdir = $(bindir) | ||
4 | |||
5 | AM_CPPFLAGS = \ | ||
6 | -I$(top_srcdir)/src/lib \ | ||
7 | -I$(top_srcdir)/src/include \ | ||
8 | -I$(top_builddir)/src/include \ | ||
9 | -I$(top_builddir)/src/lib \ | ||
10 | -DPACKAGE_BIN_DIR=\"$(bindir)\" \ | ||
11 | -DPACKAGE_LIB_DIR=\"$(libdir)\" \ | ||
12 | -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \ | ||
13 | -DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)\" \ | ||
14 | @CHECK_CFLAGS@ \ | ||
15 | @GLIB_CFLAGS@ | ||
16 | |||
17 | if EINA_HAVE_GLIB | ||
18 | |||
19 | AM_CPPFLAGS += -DEINA_BENCH_HAVE_GLIB | ||
20 | |||
21 | endif | ||
22 | |||
23 | if EINA_ENABLE_BENCHMARK_E17 | ||
24 | |||
25 | AM_CPPFLAGS += -DEINA_ENABLE_BENCH_E17 | ||
26 | |||
27 | endif | ||
28 | |||
29 | if EFL_ENABLE_TESTS | ||
30 | |||
31 | check_PROGRAMS = eina_suite | ||
32 | |||
33 | eina_suite_SOURCES = \ | ||
34 | eina_suite.c \ | ||
35 | eina_test_fp.c \ | ||
36 | eina_test_stringshare.c \ | ||
37 | eina_test_ustringshare.c\ | ||
38 | eina_test_ustr.c \ | ||
39 | eina_test_binshare.c \ | ||
40 | eina_test_binbuf.c \ | ||
41 | eina_test_array.c \ | ||
42 | eina_test_clist.c \ | ||
43 | eina_test_error.c \ | ||
44 | eina_test_sched.c \ | ||
45 | eina_test_log.c \ | ||
46 | eina_test_magic.c \ | ||
47 | eina_test_inlist.c \ | ||
48 | eina_test_main.c \ | ||
49 | eina_test_counter.c \ | ||
50 | eina_test_lalloc.c \ | ||
51 | eina_test_hash.c \ | ||
52 | eina_test_iterator.c \ | ||
53 | eina_test_accessor.c \ | ||
54 | eina_test_module.c \ | ||
55 | eina_test_convert.c \ | ||
56 | eina_test_rbtree.c \ | ||
57 | eina_test_file.c \ | ||
58 | eina_test_benchmark.c \ | ||
59 | eina_test_mempool.c \ | ||
60 | eina_test_rectangle.c \ | ||
61 | eina_test_list.c \ | ||
62 | eina_test_matrixsparse.c \ | ||
63 | eina_test_tiler.c \ | ||
64 | eina_test_strbuf.c \ | ||
65 | eina_test_str.c \ | ||
66 | eina_test_quadtree.c \ | ||
67 | eina_test_simple_xml_parser.c | ||
68 | |||
69 | eina_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeina.la -lm | ||
70 | |||
71 | module_dummydir = $(libdir)/eina/test | ||
72 | module_dummy_LTLIBRARIES = module_dummy.la | ||
73 | |||
74 | module_dummy_la_SOURCES = \ | ||
75 | eina_test_module_dummy.c | ||
76 | |||
77 | module_dummy_la_CPPFLAGS = \ | ||
78 | -I$(top_srcdir)/src/lib \ | ||
79 | -I$(top_srcdir)/src/include \ | ||
80 | -I$(top_builddir)/src/include \ | ||
81 | -I$(top_builddir)/src/lib \ | ||
82 | @EFL_EINA_BUILD@ | ||
83 | module_dummy_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ | ||
84 | module_dummy_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version | ||
85 | module_dummy_la_LIBTOOLFLAGS = --tag=disable-static | ||
86 | |||
87 | endif | ||
88 | |||
89 | if EFL_ENABLE_BENCHMARK | ||
90 | |||
91 | bench_PROGRAMS = eina_bench | ||
92 | |||
93 | eina_bench_SOURCES = \ | ||
94 | eina_bench.c \ | ||
95 | eina_bench_sort.c \ | ||
96 | eina_bench_hash.c \ | ||
97 | eina_bench_stringshare.c \ | ||
98 | eina_bench_convert.c \ | ||
99 | eina_bench_mempool.c \ | ||
100 | eina_bench_stringshare_e17.c \ | ||
101 | eina_bench_array.c \ | ||
102 | eina_bench_rectangle_pool.c \ | ||
103 | ecore_list.c \ | ||
104 | ecore_strings.c \ | ||
105 | ecore_hash.c \ | ||
106 | ecore_sheap.c \ | ||
107 | evas_hash.c \ | ||
108 | evas_list.c \ | ||
109 | evas_mempool.c \ | ||
110 | evas_object_list.c \ | ||
111 | evas_stringshare.c \ | ||
112 | eina_bench_quad.c | ||
113 | |||
114 | if CITYHASH_BENCH | ||
115 | noinst_LTLIBRARIES = libcity.la | ||
116 | libcity_la_SOURCES = city.cc | ||
117 | |||
118 | nodist_EXTRA_eina_bench_SOURCES = dummy.cc | ||
119 | eina_bench_LDADD = @GLIB_LIBS@ $(top_builddir)/src/lib/libeina.la libcity.la | ||
120 | else | ||
121 | eina_bench_LDADD = @GLIB_LIBS@ $(top_builddir)/src/lib/libeina.la | ||
122 | |||
123 | endif | ||
124 | |||
125 | |||
126 | |||
127 | endif | ||
128 | |||
129 | EXTRA_DIST = eina_bench.h \ | ||
130 | eina_suite.h \ | ||
131 | Ecore_Data.h \ | ||
132 | Evas_Data.h \ | ||
133 | evas_mempool.h \ | ||
134 | strlog | ||
135 | |||
136 | clean-local: | ||
137 | rm -rf *.gcno *.gcda | ||