summaryrefslogtreecommitdiff
path: root/src/Makefile_Eina.am
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-01 12:56:52 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-01 12:56:52 +0000
commit58a9a0ad574c417bbe56043f151fc91ceba78822 (patch)
tree7578110d789dfdd63bee714449f952bf13d27a23 /src/Makefile_Eina.am
parentede6b6ba795c688c6b9555c741d7b06c3fa712ef (diff)
merge: don't use recursive subdirs. Compilation should be faster.
Please check. note1: Only lib and bin for now, but should be extended to other stuff note2: distcheck does not work because eo_suite is failing. SVN revision: 78758
Diffstat (limited to 'src/Makefile_Eina.am')
-rw-r--r--src/Makefile_Eina.am241
1 files changed, 241 insertions, 0 deletions
diff --git a/src/Makefile_Eina.am b/src/Makefile_Eina.am
new file mode 100644
index 0000000000..930f62f973
--- /dev/null
+++ b/src/Makefile_Eina.am
@@ -0,0 +1,241 @@
1
2### Library
3
4lib_LTLIBRARIES += lib/eina/libeina.la
5
6installed_einamainheadersdir = $(includedir)/eina-@VMAJ@
7dist_installed_einamainheaders_DATA = \
8lib/eina/Eina.h \
9lib/eina/eina_config.h
10
11installed_einaheadersdir = $(includedir)/eina-@VMAJ@/eina
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_list.h \
30lib/eina/eina_file.h \
31lib/eina/eina_mempool.h \
32lib/eina/eina_module.h \
33lib/eina/eina_rectangle.h \
34lib/eina/eina_types.h \
35lib/eina/eina_array.h \
36lib/eina/eina_counter.h \
37lib/eina/eina_inline_array.x \
38lib/eina/eina_magic.h \
39lib/eina/eina_stringshare.h \
40lib/eina/eina_binshare.h \
41lib/eina/eina_binbuf.h \
42lib/eina/eina_ustringshare.h \
43lib/eina/eina_inline_stringshare.x \
44lib/eina/eina_inline_ustringshare.x \
45lib/eina/eina_inline_list.x \
46lib/eina/eina_accessor.h \
47lib/eina/eina_convert.h \
48lib/eina/eina_rbtree.h \
49lib/eina/eina_benchmark.h \
50lib/eina/eina_inline_rbtree.x \
51lib/eina/eina_inline_mempool.x \
52lib/eina/eina_inline_rectangle.x \
53lib/eina/eina_inline_trash.x \
54lib/eina/eina_thread.h \
55lib/eina/eina_trash.h \
56lib/eina/eina_iterator.h \
57lib/eina/eina_main.h \
58lib/eina/eina_cpu.h \
59lib/eina/eina_sched.h \
60lib/eina/eina_tiler.h \
61lib/eina/eina_hamster.h \
62lib/eina/eina_matrixsparse.h \
63lib/eina/eina_inline_tiler.x \
64lib/eina/eina_str.h \
65lib/eina/eina_inline_str.x \
66lib/eina/eina_strbuf.h \
67lib/eina/eina_ustrbuf.h \
68lib/eina/eina_unicode.h \
69lib/eina/eina_quadtree.h \
70lib/eina/eina_simple_xml_parser.h \
71lib/eina/eina_lock.h \
72lib/eina/eina_prefix.h \
73lib/eina/eina_refcount.h \
74lib/eina/eina_mmap.h \
75lib/eina/eina_xattr.h \
76lib/eina/eina_value.h \
77lib/eina/eina_inline_value.x \
78lib/eina/eina_inline_lock_barrier.x \
79lib/eina/eina_tmpstr.h
80
81# Will be back for developper after 1.2.
82# lib/eina/eina_model.h
83# lib/eina/eina_object.h
84
85if HAVE_WINCE
86dist_installed_einaheaders_DATA += lib/eina/eina_inline_lock_wince.x
87else
88if HAVE_WIN32
89dist_installed_einaheaders_DATA += lib/eina/eina_inline_lock_win32.x
90else
91dist_installed_einaheaders_DATA += lib/eina/eina_inline_lock_posix.x
92endif
93endif
94
95lib_eina_libeina_la_SOURCES = \
96lib/eina/eina_accessor.c \
97lib/eina/eina_array.c \
98lib/eina/eina_benchmark.c \
99lib/eina/eina_binbuf.c \
100lib/eina/eina_binshare.c \
101lib/eina/eina_convert.c \
102lib/eina/eina_counter.c \
103lib/eina/eina_cpu.c \
104lib/eina/eina_error.c \
105lib/eina/eina_fp.c \
106lib/eina/eina_hamster.c \
107lib/eina/eina_hash.c \
108lib/eina/eina_inarray.c \
109lib/eina/eina_inlist.c \
110lib/eina/eina_iterator.c \
111lib/eina/eina_lalloc.c \
112lib/eina/eina_list.c \
113lib/eina/eina_log.c \
114lib/eina/eina_magic.c \
115lib/eina/eina_main.c \
116lib/eina/eina_matrixsparse.c \
117lib/eina/eina_mempool.c \
118lib/eina/eina_mmap.c \
119lib/eina/eina_module.c \
120lib/eina/eina_prefix.c \
121lib/eina/eina_quadtree.c \
122lib/eina/eina_rbtree.c \
123lib/eina/eina_rectangle.c \
124lib/eina/eina_safety_checks.c \
125lib/eina/eina_sched.c \
126lib/eina/eina_share_common.c \
127lib/eina/eina_simple_xml_parser.c \
128lib/eina/eina_str.c \
129lib/eina/eina_strbuf.c \
130lib/eina/eina_strbuf_common.c \
131lib/eina/eina_stringshare.c \
132lib/eina/eina_tiler.c \
133lib/eina/eina_thread.c \
134lib/eina/eina_unicode.c \
135lib/eina/eina_ustrbuf.c \
136lib/eina/eina_ustringshare.c \
137lib/eina/eina_value.c \
138lib/eina/eina_xattr.c \
139lib/eina/eina_share_common.h \
140lib/eina/eina_private.h \
141lib/eina/eina_strbuf_common.h \
142lib/eina/eina_tmpstr.c
143
144# Will be back for developper after 1.2
145# lib/eina/eina_model.c \
146# lib/eina/eina_object.c
147
148if HAVE_WIN32
149lib_eina_libeina_la_SOURCES += lib/eina/eina_file_win32.c
150else
151lib_eina_libeina_la_SOURCES += lib/eina/eina_file.c
152endif
153
154if EINA_STATIC_BUILD_CHAINED_POOL
155lib_eina_libeina_la_SOURCES += modules/eina/mp/chained_pool/eina_chained_mempool.c
156else
157einampchainedpooldir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH)
158einampchainedpool_LTLIBRARIES = chained_pool_module.la
159
160chained_pool_module_la_CPPFLAGS = \
161-I$(top_srcdir)/src/lib/eina \
162-I$(top_builddir)/src/lib/eina \
163-DEFL_EINA_BUILD \
164@VALGRIND_CFLAGS@
165chained_pool_module_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@
166chained_pool_module_la_SOURCES = modules/eina/mp/chained_pool/eina_chained_mempool.c
167chained_pool_module_la_LIBADD = lib/eina/libeina.la @EINA_LIBS@
168chained_pool_module_la_LDFLAGS = -no-undefined -module -avoid-version @EFL_PTHREAD_LIBS@
169chained_pool_module_la_LIBTOOLFLAGS = --tag=disable-static
170endif
171
172if EINA_STATIC_BUILD_ONE_BIG
173lib_eina_libeina_la_SOURCES += modules/eina/mp/one_big/eina_one_big.c
174else
175einamponebigdir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH)
176einamponebig_LTLIBRARIES = one_big_module.la
177
178one_big_module_la_CPPFLAGS = \
179-I$(top_srcdir)/src/lib/eina \
180-I$(top_builddir)/src/lib/eina \
181-DEFL_EINA_BUILD \
182@VALGRIND_CFLAGS@
183one_big_module_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@
184one_big_module_la_SOURCES = modules/eina/mp/chained_pool/eina_chained_mempool.c
185one_big_module_la_LIBADD = lib/eina/libeina.la @EINA_LIBS@
186one_big_module_la_LDFLAGS = -no-undefined -module -avoid-version @EFL_PTHREAD_LIBS@
187one_big_module_la_LIBTOOLFLAGS = --tag=disable-static
188endif
189
190if EINA_STATIC_BUILD_PASS_THROUGH
191lib_eina_libeina_la_SOURCES += modules/eina/mp/pass_through/eina_pass_through.c
192else
193einamppassthroughdir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH)
194einamppassthrough_LTLIBRARIES = pass_through_module.la
195
196pass_through_module_la_CPPFLAGS = \
197-I$(top_srcdir)/src/lib/eina \
198-I$(top_builddir)/src/lib/eina \
199-DEFL_EINA_BUILD \
200@VALGRIND_CFLAGS@
201pass_through_module_la_CFLAGS = @EINA_CFLAGS@
202pass_through_module_la_SOURCES = modules/eina/mp/chained_pool/eina_chained_mempool.c
203pass_through_module_la_LIBADD = lib/eina/libeina.la @EINA_LIBS@
204pass_through_module_la_LDFLAGS = -no-undefined -module -avoid-version
205pass_through_module_la_LIBTOOLFLAGS = --tag=disable-static
206endif
207
208lib_eina_libeina_la_CPPFLAGS = \
209-I$(top_srcdir)/src/lib/eina \
210-I$(top_builddir)/src/lib/eina \
211-DPACKAGE_BIN_DIR=\"$(bindir)\" \
212-DPACKAGE_LIB_DIR=\"$(libdir)\" \
213-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
214-DEFL_EINA_BUILD \
215@EFL_CFLAGS@ \
216@EFL_PTHREAD_CFLAGS@ \
217@EINA_CFLAGS@ \
218@VALGRIND_CFLAGS@
219
220if HAVE_WINDOWS
221lib_eina_libeina_la_CPPFLAGS += \
222-I$(top_srcdir)/src/lib/evil \
223-I$(top_builddir)/src/lib/evil
224endif
225
226lib_eina_libeina_la_LIBADD = @EINA_LIBS@
227
228if HAVE_WINDOWS
229lib_eina_libeina_la_LIBADD += \
230$(top_builddir)/src/lib/evil/libevil.la \
231$(top_builddir)/src/lib/evil/libdl.la
232endif
233
234lib_eina_libeina_la_LIBADD += -lm
235
236lib_eina_libeina_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
237
238EXTRA_DIST += \
239lib/eina/eina_config.h.in \
240lib/eina/eina_strbuf_template_c.x \
241lib/eina/eina_binbuf_template_c.x