summaryrefslogtreecommitdiff
path: root/src/Makefile_Eina.am
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2016-03-03 15:02:03 -0800
committerCedric Bail <cedric@osg.samsung.com>2016-03-03 15:10:59 -0800
commit7f4ea1a79c63615bb14051db16e6fe5d90c9bd10 (patch)
treee50f4f5362a2072d4ce491043185efd9812c9a1e /src/Makefile_Eina.am
parent9cbda57bf03bfdaa5c0379023a05868b2f0986aa (diff)
eina: split Makefile with files/headers in preparation for additional per sub directory compilation
Diffstat (limited to 'src/Makefile_Eina.am')
-rw-r--r--src/Makefile_Eina.am190
1 files changed, 7 insertions, 183 deletions
diff --git a/src/Makefile_Eina.am b/src/Makefile_Eina.am
index 71d0330..31162e5 100644
--- a/src/Makefile_Eina.am
+++ b/src/Makefile_Eina.am
@@ -1,6 +1,7 @@
1
2### Library 1### Library
3 2
3include lib/eina/Makefile_File.am
4
4lib_LTLIBRARIES += lib/eina/libeina.la 5lib_LTLIBRARIES += lib/eina/libeina.la
5 6
6installed_einamainheadersdir = $(includedir)/eina-@VMAJ@ 7installed_einamainheadersdir = $(includedir)/eina-@VMAJ@
@@ -8,179 +9,13 @@ dist_installed_einamainheaders_DATA = \
8lib/eina/Eina.h \ 9lib/eina/Eina.h \
9lib/eina/eina_config.h 10lib/eina/eina_config.h
10 11
11installed_einaheadersdir = $(includedir)/eina-@VMAJ@/eina 12lib_eina_libeina_la_SOURCES = $(EINA_S)
12dist_installed_einaheaders_DATA = \
13lib/eina/eina_safety_checks.h \
14lib/eina/eina_error.h \
15lib/eina/eina_log.h \
16lib/eina/eina_inline_log.x \
17lib/eina/eina_fp.h \
18lib/eina/eina_inline_f32p32.x \
19lib/eina/eina_inline_f16p16.x \
20lib/eina/eina_inline_f8p24.x \
21lib/eina/eina_inline_fp.x \
22lib/eina/eina_hash.h \
23lib/eina/eina_inline_hash.x \
24lib/eina/eina_lalloc.h \
25lib/eina/eina_clist.h \
26lib/eina/eina_inline_clist.x \
27lib/eina/eina_inarray.h \
28lib/eina/eina_inlist.h \
29lib/eina/eina_inline_inlist.x \
30lib/eina/eina_list.h \
31lib/eina/eina_file.h \
32lib/eina/eina_inline_file.x \
33lib/eina/eina_mempool.h \
34lib/eina/eina_module.h \
35lib/eina/eina_rectangle.h \
36lib/eina/eina_types.h \
37lib/eina/eina_array.h \
38lib/eina/eina_counter.h \
39lib/eina/eina_inline_array.x \
40lib/eina/eina_magic.h \
41lib/eina/eina_stringshare.h \
42lib/eina/eina_binshare.h \
43lib/eina/eina_binbuf.h \
44lib/eina/eina_ustringshare.h \
45lib/eina/eina_inline_stringshare.x \
46lib/eina/eina_inline_ustringshare.x \
47lib/eina/eina_inline_list.x \
48lib/eina/eina_accessor.h \
49lib/eina/eina_convert.h \
50lib/eina/eina_rbtree.h \
51lib/eina/eina_benchmark.h \
52lib/eina/eina_inline_rbtree.x \
53lib/eina/eina_inline_mempool.x \
54lib/eina/eina_inline_rectangle.x \
55lib/eina/eina_inline_trash.x \
56lib/eina/eina_thread.h \
57lib/eina/eina_trash.h \
58lib/eina/eina_iterator.h \
59lib/eina/eina_main.h \
60lib/eina/eina_cpu.h \
61lib/eina/eina_inline_cpu.x \
62lib/eina/eina_sched.h \
63lib/eina/eina_tiler.h \
64lib/eina/eina_hamster.h \
65lib/eina/eina_matrixsparse.h \
66lib/eina/eina_inline_tiler.x \
67lib/eina/eina_str.h \
68lib/eina/eina_inline_str.x \
69lib/eina/eina_strbuf.h \
70lib/eina/eina_ustrbuf.h \
71lib/eina/eina_unicode.h \
72lib/eina/eina_quadtree.h \
73lib/eina/eina_simple_xml_parser.h \
74lib/eina/eina_lock.h \
75lib/eina/eina_prefix.h \
76lib/eina/eina_refcount.h \
77lib/eina/eina_mmap.h \
78lib/eina/eina_xattr.h \
79lib/eina/eina_value.h \
80lib/eina/eina_inline_value.x \
81lib/eina/eina_value_util.h \
82lib/eina/eina_inline_value_util.x \
83lib/eina/eina_inline_lock_barrier.x \
84lib/eina/eina_inline_lock_posix.x \
85lib/eina/eina_tmpstr.h \
86lib/eina/eina_alloca.h \
87lib/eina/eina_cow.h \
88lib/eina/eina_inline_unicode.x \
89lib/eina/eina_thread_queue.h \
90lib/eina/eina_matrix.h \
91lib/eina/eina_quad.h \
92lib/eina/eina_crc.h \
93lib/eina/eina_inline_crc.x \
94lib/eina/eina_evlog.h \
95lib/eina/eina_util.h \
96lib/eina/eina_quaternion.h \
97lib/eina/eina_vector.h \
98lib/eina/eina_inline_vector.x \
99lib/eina/eina_bezier.h
100
101lib_eina_libeina_la_SOURCES = \
102lib/eina/eina_abi.c \
103lib/eina/eina_accessor.c \
104lib/eina/eina_array.c \
105lib/eina/eina_benchmark.c \
106lib/eina/eina_binbuf.c \
107lib/eina/eina_binshare.c \
108lib/eina/eina_convert.c \
109lib/eina/eina_counter.c \
110lib/eina/eina_cow.c \
111lib/eina/eina_cpu.c \
112lib/eina/eina_crc.c \
113lib/eina/eina_debug.c \
114lib/eina/eina_debug_bt.c \
115lib/eina/eina_debug_bt_file.c \
116lib/eina/eina_debug_chunk.c \
117lib/eina/eina_debug_monitor.c \
118lib/eina/eina_debug_proto.c \
119lib/eina/eina_debug_thread.c \
120lib/eina/eina_error.c \
121lib/eina/eina_evlog.c \
122lib/eina/eina_file_common.h \
123lib/eina/eina_file_common.c \
124lib/eina/eina_fp.c \
125lib/eina/eina_hamster.c \
126lib/eina/eina_hash.c \
127lib/eina/eina_inarray.c \
128lib/eina/eina_inlist.c \
129lib/eina/eina_iterator.c \
130lib/eina/eina_lalloc.c \
131lib/eina/eina_list.c \
132lib/eina/eina_log.c \
133lib/eina/eina_magic.c \
134lib/eina/eina_main.c \
135lib/eina/eina_matrix.c \
136lib/eina/eina_matrixsparse.c \
137lib/eina/eina_mempool.c \
138lib/eina/eina_mmap.c \
139lib/eina/eina_module.c \
140lib/eina/eina_prefix.c \
141lib/eina/eina_quad.c \
142lib/eina/eina_quadtree.c \
143lib/eina/eina_rbtree.c \
144lib/eina/eina_rectangle.c \
145lib/eina/eina_safety_checks.c \
146lib/eina/eina_sched.c \
147lib/eina/eina_share_common.c \
148lib/eina/eina_simple_xml_parser.c \
149lib/eina/eina_str.c \
150lib/eina/eina_strbuf.c \
151lib/eina/eina_strbuf_common.c \
152lib/eina/eina_stringshare.c \
153lib/eina/eina_thread.c \
154lib/eina/eina_thread_queue.c \
155lib/eina/eina_tiler.c \
156lib/eina/eina_tmpstr.c \
157lib/eina/eina_unicode.c \
158lib/eina/eina_ustrbuf.c \
159lib/eina/eina_ustringshare.c \
160lib/eina/eina_util.c \
161lib/eina/eina_value.c \
162lib/eina/eina_value_util.c \
163lib/eina/eina_xattr.c \
164lib/eina/eina_debug.h \
165lib/eina/eina_private.h \
166lib/eina/eina_share_common.h \
167lib/eina/eina_strbuf_common.h \
168lib/eina/eina_quaternion.c \
169lib/eina/eina_bezier.c
170
171if HAVE_WIN32
172lib_eina_libeina_la_SOURCES += lib/eina/eina_file_win32.c
173else
174lib_eina_libeina_la_SOURCES += lib/eina/eina_file.c
175endif
176 13
177EINA_MODULE_COMMON_CFLAGS = \ 14EINA_MODULE_COMMON_CFLAGS = \
178@EINA_CFLAGS@ \ 15@EINA_CFLAGS@ \
179@VALGRIND_CFLAGS@ 16@VALGRIND_CFLAGS@
180 17
181if EINA_STATIC_BUILD_CHAINED_POOL 18if !EINA_STATIC_BUILD_CHAINED_POOL
182lib_eina_libeina_la_SOURCES += modules/eina/mp/chained_pool/eina_chained_mempool.c
183else
184einampchainedpooldir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH) 19einampchainedpooldir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH)
185einampchainedpool_LTLIBRARIES = modules/eina/mp/chained_pool/chained_pool_module.la 20einampchainedpool_LTLIBRARIES = modules/eina/mp/chained_pool/chained_pool_module.la
186 21
@@ -197,9 +32,7 @@ modules_eina_mp_chained_pool_chained_pool_module_la_LIBTOOLFLAGS = --tag=disable
197modules_eina_mp_chained_pool_chained_pool_module_la_SOURCES = modules/eina/mp/chained_pool/eina_chained_mempool.c 32modules_eina_mp_chained_pool_chained_pool_module_la_SOURCES = modules/eina/mp/chained_pool/eina_chained_mempool.c
198endif 33endif
199 34
200if EINA_STATIC_BUILD_ONE_BIG 35if !EINA_STATIC_BUILD_ONE_BIG
201lib_eina_libeina_la_SOURCES += modules/eina/mp/one_big/eina_one_big.c
202else
203einamponebigdir = $(libdir)/eina/modules/mp/one_big/$(MODULE_ARCH) 36einamponebigdir = $(libdir)/eina/modules/mp/one_big/$(MODULE_ARCH)
204einamponebig_LTLIBRARIES = modules/eina/mp/one_big/one_big_module.la 37einamponebig_LTLIBRARIES = modules/eina/mp/one_big/one_big_module.la
205 38
@@ -216,9 +49,7 @@ modules_eina_mp_one_big_one_big_module_la_LIBTOOLFLAGS = --tag=disable-static
216modules_eina_mp_one_big_one_big_module_la_SOURCES = modules/eina/mp/one_big/eina_one_big.c 49modules_eina_mp_one_big_one_big_module_la_SOURCES = modules/eina/mp/one_big/eina_one_big.c
217endif 50endif
218 51
219if EINA_STATIC_BUILD_PASS_THROUGH 52if !EINA_STATIC_BUILD_PASS_THROUGH
220lib_eina_libeina_la_SOURCES += modules/eina/mp/pass_through/eina_pass_through.c
221else
222einamppassthroughdir = $(libdir)/eina/modules/mp/pass_through/$(MODULE_ARCH) 53einamppassthroughdir = $(libdir)/eina/modules/mp/pass_through/$(MODULE_ARCH)
223einamppassthrough_LTLIBRARIES = modules/eina/mp/pass_through/pass_through_module.la 54einamppassthrough_LTLIBRARIES = modules/eina/mp/pass_through/pass_through_module.la
224 55
@@ -235,14 +66,7 @@ modules_eina_mp_pass_through_pass_through_module_la_LIBTOOLFLAGS = --tag=disable
235modules_eina_mp_pass_through_pass_through_module_la_SOURCES = modules/eina/mp/pass_through/eina_pass_through.c 66modules_eina_mp_pass_through_pass_through_module_la_SOURCES = modules/eina/mp/pass_through/eina_pass_through.c
236endif 67endif
237 68
238lib_eina_libeina_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ 69lib_eina_libeina_la_CPPFLAGS = $(EINA_FLAGS)
239@EINA_CFLAGS@ \
240@UNWIND_CFLAGS@ \
241-DPACKAGE_BIN_DIR=\"$(bindir)\" \
242-DPACKAGE_LIB_DIR=\"$(libdir)\" \
243-DPACKAGE_DATA_DIR=\"$(datadir)/eina\" \
244@VALGRIND_CFLAGS@
245
246lib_eina_libeina_la_LIBADD = @EINA_LIBS@ @UNWIND_LIBS@ 70lib_eina_libeina_la_LIBADD = @EINA_LIBS@ @UNWIND_LIBS@
247lib_eina_libeina_la_DEPENDENCIES = @EINA_INTERNAL_LIBS@ 71lib_eina_libeina_la_DEPENDENCIES = @EINA_INTERNAL_LIBS@
248lib_eina_libeina_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 72lib_eina_libeina_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@