blob: 0537a619d26dca5a33a64752c2b62c065570e89e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
|
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
-I$(top_srcdir)/src/include \
-I$(top_builddir)/src/include \
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
@EINA_CPPFLAGS@ \
@EFL_EINA_BUILD@
base_sources = \
eina_accessor.c \
eina_array.c \
eina_benchmark.c \
eina_binbuf.c \
eina_binshare.c \
eina_convert.c \
eina_counter.c \
eina_cpu.c \
eina_error.c \
eina_fp.c \
eina_hamster.c \
eina_hash.c \
eina_inlist.c \
eina_iterator.c \
eina_lalloc.c \
eina_list.c \
eina_log.c \
eina_magic.c \
eina_main.c \
eina_matrixsparse.c \
eina_mempool.c \
eina_mmap.c \
eina_module.c \
eina_prefix.c \
eina_quadtree.c \
eina_rbtree.c \
eina_rectangle.c \
eina_safety_checks.c \
eina_sched.c \
eina_share_common.c \
eina_simple_xml_parser.c \
eina_str.c \
eina_strbuf.c \
eina_strbuf_common.c \
eina_stringshare.c \
eina_tiler.c \
eina_unicode.c \
eina_ustrbuf.c \
eina_ustringshare.c \
eina_value.c \
eina_xattr.c
# Will be back for developper after 1.1
# eina_object.c
if EINA_HAVE_WIN32
base_sources += eina_file_win32.c
else
base_sources += eina_file.c
endif
EXTRA_DIST = \
eina_share_common.h \
eina_private.h \
eina_strbuf_common.h \
eina_strbuf_template_c.x \
eina_binbuf_template_c.x
if EINA_STATIC_BUILD_BUDDY
base_sources += $(top_srcdir)/src/modules/mp/buddy/eina_buddy.c
endif
if EINA_STATIC_BUILD_CHAINED_POOL
base_sources += $(top_srcdir)/src/modules/mp/chained_pool/eina_chained_mempool.c
endif
if EINA_STATIC_BUILD_EMEMOA_FIXED
base_sources += $(top_srcdir)/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c
endif
if EINA_STATIC_BUILD_EMEMOA_UNKNOWN
base_sources += $(top_srcdir)/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c
endif
if EINA_STATIC_BUILD_FIXED_BITMAP
base_sources += $(top_srcdir)/src/modules/mp/fixed_bitmap/eina_fixed_bitmap.c
endif
if EINA_STATIC_BUILD_ONE_BIG
base_sources += $(top_srcdir)/src/modules/mp/one_big/eina_one_big.c
endif
if EINA_STATIC_BUILD_PASS_THROUGH
base_sources += $(top_srcdir)/src/modules/mp/pass_through/eina_pass_through.c
endif
lib_LTLIBRARIES = libeina.la
if EINA_AMALGAMATION
nodist_libeina_la_SOURCES = eina_amalgamation.c
eina_amalgamation.c: $(base_sources) Makefile
-rm -f eina_amalgamation.c
@echo "#ifdef HAVE_CONFIG_H" >> eina_amalgamation.c
@echo "#include \"config.h\"" >> eina_amalgamation.c
@echo "#endif" >> eina_amalgamation.c
@echo "#ifdef HAVE_ALLOCA_H" >> eina_amalgamation.c
@echo "# include <alloca.h>" >> eina_amalgamation.c
@echo "#elif defined __GNUC__" >> eina_amalgamation.c
@echo "# define alloca __builtin_alloca" >> eina_amalgamation.c
@echo "#elif defined _AIX" >> eina_amalgamation.c
@echo "# define alloca __alloca" >> eina_amalgamation.c
@echo "#elif defined _MSC_VER" >> eina_amalgamation.c
@echo "# include <malloc.h>" >> eina_amalgamation.c
@echo "# define alloca _alloca" >> eina_amalgamation.c
@echo "#else" >> eina_amalgamation.c
@echo "# include <stddef.h>" >> eina_amalgamation.c
@echo "# ifdef __cplusplus" >> eina_amalgamation.c
@echo "#extern \"C\"" >> eina_amalgamation.c
@echo "# endif" >> eina_amalgamation.c
@echo "#void *alloca (size_t);" >> eina_amalgamation.c
@echo "#endif" >> eina_amalgamation.c
@echo "#include <stdio.h>" >> eina_amalgamation.c
@echo "#include <stdlib.h>" >> eina_amalgamation.c
@echo "#include <string.h>" >> eina_amalgamation.c
@echo "#include <dlfcn.h>" >> eina_amalgamation.c
@echo "#include <sys/types.h>" >> eina_amalgamation.c
@echo "#include <dirent.h>" >> eina_amalgamation.c
@echo "#include <assert.h>" >> eina_amalgamation.c
@echo "#include <errno.h>" >> eina_amalgamation.c
@echo "#include <fnmatch.h>" >> eina_amalgamation.c
@echo "#ifdef HAVE_EVIL" >> eina_amalgamation.c
@echo "# include <Evil.h>" >> eina_amalgamation.c
@echo "#endif" >> eina_amalgamation.c
@echo "#include \"eina_config.h\"" >> eina_amalgamation.c
@echo "#include \"eina_private.h\"" >> eina_amalgamation.c
@echo "#include \"eina_safety_checks.h\"" >> eina_amalgamation.c
@echo "#include \"Eina.h\"" >> eina_amalgamation.c
@echo "#include \"eina_strbuf_common.h\"" >> eina_amalgamation.c
@echo "#include \"eina_share_common.h\"" >> eina_amalgamation.c
@for f in $(base_sources); do \
if [ `echo $$f | sed -e 's/^...\(.\).*/\1/'` != '/' ]; then \
file="$(srcdir)/$$f" ; \
else \
file="$$f" ; \
fi ; \
echo "/* file: $$file */" >> eina_amalgamation.c; \
grep -v -e '^# *include \+.\(config\|eina_[a-z_]\+\|Evil\|stdio\|stdlib\|string\|dlfcn\|dirent\|assert\|errno\|fnmatch\)[.]h.*' $$file >> eina_amalgamation.c; \
done
@echo "eina_amalgamation.c generated"
else
libeina_la_SOURCES = $(base_sources)
endif
libeina_la_LIBADD = @iconv_libs@ @rt_libs@ @EINA_LIBS@ @dlopen_libs@
libeina_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
libeina_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@
clean-local:
rm -rf *.gcno eina_amalgamation.c
|