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