evas: implement _op_blend_c_dp_neon in NEON intrinsics.
[platform/upstream/efl.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2 AM_MAKEFLAGS = --no-print-directory
3 AM_DISTCHECK_CONFIGURE_FLAGS = \
4 --with-tests=regular
5
6 SUBDIRS = src data doc
7
8 if HAVE_PO
9
10 SUBDIRS += po
11
12 endif
13
14 MAINTAINERCLEANFILES = \
15 Makefile.in \
16 aclocal.m4 \
17 compile \
18 config.cache-env \
19 config.guess \
20 config.h.in \
21 config.h.in~ \
22 config.sub \
23 configure \
24 depcomp \
25 install-sh \
26 ltmain.sh \
27 missing \
28 m4/libtool.m4 \
29 m4/lt~obsolete.m4 \
30 m4/ltoptions.m4 \
31 m4/ltsugar.m4 \
32 m4/ltversion.m4
33
34 EXTRA_DIST =  \
35 m4/pkg_var.m4 \
36 m4/ac_path_generic.m4 \
37 m4/ecore_check_c_extension.m4 \
38 m4/ecore_check_module.m4 \
39 m4/efl_attribute.m4 \
40 m4/efl_check_funcs.m4 \
41 m4/efl_compiler.m4 \
42 m4/efl_doxygen.m4 \
43 m4/efl_path_max.m4 \
44 m4/efl_threads.m4 \
45 m4/eina_check.m4 \
46 m4/eina_config.m4 \
47 m4/eio_check_options.m4 \
48 m4/evas_check_engine.m4 \
49 m4/evas_check_loader.m4 \
50 m4/evil_windows.m4 \
51 m4/libgcrypt.m4 \
52 m4/gcc_check_builtin.m4
53
54 EXTRA_DIST += \
55 README \
56 AUTHORS \
57 COPYING \
58 COMPLIANCE \
59 licenses/COPYING.LGPL \
60 licenses/COPYING.GPL \
61 licenses/COPYING.BSD \
62 licenses/COPYING.SMALL \
63 old/ChangeLog.ecore \
64 old/ChangeLog.edje \
65 old/ChangeLog.eet \
66 old/ChangeLog.eeze \
67 old/ChangeLog.efreet \
68 old/ChangeLog.eina \
69 old/ChangeLog.eio \
70 old/ChangeLog.embryo \
71 old/ChangeLog.emotion \
72 old/ChangeLog.escape \
73 old/ChangeLog.ethumb \
74 old/ChangeLog.evas \
75 old/ChangeLog.evil \
76 old/ChangeLog.evil.0 \
77 old/NEWS.ecore \
78 old/NEWS.edje \
79 old/NEWS.eet \
80 old/NEWS.eeze \
81 old/NEWS.efreet \
82 old/NEWS.eina \
83 old/NEWS.eio \
84 old/NEWS.embryo \
85 old/NEWS.emotion \
86 old/NEWS.escape \
87 old/NEWS.ethumb \
88 old/NEWS.evas \
89 old/NEWS.evil \
90 old/README.ecore \
91 old/README.eldbus \
92 old/README.edje \
93 old/README.eet \
94 old/README.eeze \
95 old/README.efreet \
96 old/README.eina \
97 old/README.eio \
98 old/README.embryo \
99 old/README.emotion \
100 old/README.ephysics \
101 old/README.escape \
102 old/README.ethumb \
103 old/README.evas \
104 old/README.evil \
105 spec/efl.spec \
106 pkgbuild/PKGBUILD \
107 pkgbuild/efl.install
108
109 if HAVE_FREEBSD
110 pkgconfigdir = $(libdir)data/pkgconfig
111 else
112 pkgconfigdir = $(libdir)/pkgconfig
113 endif
114
115 pkgconfig_DATA =
116
117 if HAVE_WINDOWS
118 pkgconfig_DATA += pc/evil.pc
119 endif
120
121 if HAVE_PS3
122 pkgconfig_DATA += pc/escape.pc
123 endif
124
125 pkgconfig_DATA += \
126 pc/eina.pc \
127 pc/eo.pc \
128 pc/eolian.pc \
129 pc/efl.pc \
130 pc/emile.pc \
131 pc/eet.pc \
132 pc/evas.pc \
133 pc/ecore.pc \
134 pc/ecore-con.pc \
135 pc/ecore-ipc.pc \
136 pc/ecore-file.pc \
137 pc/ecore-input.pc \
138 pc/ecore-input-evas.pc \
139 pc/ecore-imf.pc \
140 pc/ecore-imf-evas.pc \
141 pc/ecore-evas.pc \
142 pc/ecore-avahi.pc \
143 pc/ector.pc \
144 pc/embryo.pc \
145 pc/eio.pc \
146 pc/eldbus.pc \
147 pc/efreet.pc \
148 pc/efreet-mime.pc \
149 pc/efreet-trash.pc \
150 pc/edje.pc \
151 pc/emotion.pc \
152 pc/ethumb.pc \
153 pc/ethumb_client.pc \
154 pc/elocation.pc
155
156 if HAVE_CXX11
157 pkgconfig_DATA += \
158 pc/eina-cxx.pc \
159 pc/evas-cxx.pc \
160 pc/ecore-cxx.pc \
161 pc/efl-cxx.pc \
162 pc/eolian-cxx.pc \
163 pc/edje-cxx.pc \
164 pc/eet-cxx.pc \
165 pc/eo-cxx.pc \
166 pc/eio-cxx.pc
167 endif
168
169 if HAVE_ELUA
170 pkgconfig_DATA += pc/elua.pc
171 endif
172
173 if BUILD_ENGINE_SOFTWARE_X11
174 pkgconfig_DATA += pc/evas-software-x11.pc
175 endif
176
177 if BUILD_ENGINE_FB
178 pkgconfig_DATA += pc/evas-fb.pc
179 endif
180
181 if BUILD_ENGINE_BUFFER
182 pkgconfig_DATA += pc/evas-software-buffer.pc
183 endif
184
185 if BUILD_ENGINE_GL_X11
186 pkgconfig_DATA += pc/evas-opengl-x11.pc
187 endif
188
189 if BUILD_ENGINE_GL_SDL
190 pkgconfig_DATA += pc/evas-opengl-sdl.pc
191 endif
192
193 if BUILD_ENGINE_GL_COCOA
194 pkgconfig_DATA += pc/evas-opengl-cocoa.pc
195 endif
196
197 if BUILD_ENGINE_SOFTWARE_GDI
198 pkgconfig_DATA += pc/evas-software-gdi.pc
199 endif
200
201 if BUILD_ENGINE_SOFTWARE_DDRAW
202 pkgconfig_DATA += pc/evas-software-ddraw.pc
203 endif
204
205 if BUILD_ENGINE_PSL1GHT
206 pkgconfig_DATA += pc/evas-psl1ght.pc
207 endif
208
209 if BUILD_ENGINE_WAYLAND_SHM
210 pkgconfig_DATA += pc/evas-wayland-shm.pc
211 endif
212
213 if BUILD_ENGINE_WAYLAND_EGL
214 pkgconfig_DATA += pc/evas-wayland-egl.pc
215 endif
216
217 if BUILD_ENGINE_DRM
218 pkgconfig_DATA += pc/evas-drm.pc
219 endif
220
221 if HAVE_ECORE_COCOA
222 pkgconfig_DATA += pc/ecore-cocoa.pc
223 endif
224
225 if HAVE_ECORE_FB
226 pkgconfig_DATA += pc/ecore-fb.pc
227 endif
228
229 if HAVE_ECORE_DRM
230 pkgconfig_DATA += pc/ecore-drm.pc
231 endif
232
233 if HAVE_PS3
234 pkgconfig_DATA += pc/ecore-psl1ght.pc
235 endif
236
237 if HAVE_ECORE_SDL
238 pkgconfig_DATA += pc/ecore-sdl.pc
239 endif
240
241 if HAVE_ECORE_WAYLAND
242 pkgconfig_DATA += pc/ecore-wayland.pc
243 endif
244
245 if HAVE_WIN32
246 pkgconfig_DATA += pc/ecore-win32.pc
247 endif
248
249 if HAVE_ECORE_X
250 pkgconfig_DATA += pc/ecore-x.pc
251 endif
252
253 if HAVE_EEZE
254 pkgconfig_DATA += pc/eeze.pc
255 endif
256
257 if HAVE_EPHYSICS
258 pkgconfig_DATA += pc/ephysics.pc
259 endif
260
261 if HAVE_ECORE_AUDIO
262 pkgconfig_DATA += pc/ecore-audio.pc pc/ecore-audio-cxx.pc
263 endif
264
265 # Cmake configs:
266 efl_cmakeconfigdir = $(libdir)/cmake/Efl/
267 efl_cmakeconfig_DATA = \
268 cmakeconfig/EflConfig.cmake \
269 cmakeconfig/EflConfigVersion.cmake
270
271 eina_cmakeconfigdir = $(libdir)/cmake/Eina/
272 eina_cmakeconfig_DATA = \
273 cmakeconfig/EinaConfig.cmake \
274 cmakeconfig/EinaConfigVersion.cmake
275
276 eio_cmakeconfigdir = $(libdir)/cmake/Eio/
277 eio_cmakeconfig_DATA = \
278 cmakeconfig/EioConfig.cmake \
279 cmakeconfig/EioConfigVersion.cmake
280
281 eeze_cmakeconfigdir = $(libdir)/cmake/Eeze/
282 eeze_cmakeconfig_DATA = \
283 cmakeconfig/EezeConfig.cmake \
284 cmakeconfig/EezeConfigVersion.cmake
285
286 eo_cmakeconfigdir = $(libdir)/cmake/Eo/
287 eo_cmakeconfig_DATA = \
288 cmakeconfig/EoConfig.cmake \
289 cmakeconfig/EoConfigVersion.cmake
290
291 eolian_cmakeconfigdir = $(libdir)/cmake/Eolian/
292 eolian_cmakeconfig_DATA = \
293 cmakeconfig/EolianConfig.cmake \
294 cmakeconfig/EolianConfigVersion.cmake
295
296 eolian_cxx_cmakeconfigdir = $(libdir)/cmake/EolianCxx/
297 eolian_cxx_cmakeconfig_DATA = \
298 cmakeconfig/EolianCxxConfig.cmake \
299 cmakeconfig/EolianCxxConfigVersion.cmake
300
301 eina_cxx_cmakeconfigdir = $(libdir)/cmake/EinaCxx/
302 eina_cxx_cmakeconfig_DATA = \
303 cmakeconfig/EinaCxxConfig.cmake \
304 cmakeconfig/EinaCxxConfigVersion.cmake
305
306 eo_cxx_cmakeconfigdir = $(libdir)/cmake/EoCxx/
307 eo_cxx_cmakeconfig_DATA = \
308 cmakeconfig/EoCxxConfig.cmake \
309 cmakeconfig/EoCxxConfigVersion.cmake
310
311 ecore_cxx_cmakeconfigdir = $(libdir)/cmake/EcoreCxx/
312 ecore_cxx_cmakeconfig_DATA = \
313 cmakeconfig/EcoreCxxConfig.cmake \
314 cmakeconfig/EcoreCxxConfigVersion.cmake
315
316 evas_cxx_cmakeconfigdir = $(libdir)/cmake/EvasCxx/
317 evas_cxx_cmakeconfig_DATA = \
318 cmakeconfig/EvasCxxConfig.cmake \
319 cmakeconfig/EvasCxxConfigVersion.cmake
320
321 eet_cxx_cmakeconfigdir = $(libdir)/cmake/EetCxx/
322 eet_cxx_cmakeconfig_DATA = \
323 cmakeconfig/EetCxxConfig.cmake \
324 cmakeconfig/EetCxxConfigVersion.cmake
325
326 eet_cmakeconfigdir = $(libdir)/cmake/Eet/
327 eet_cmakeconfig_DATA = \
328 cmakeconfig/EetConfig.cmake \
329 cmakeconfig/EetConfigVersion.cmake
330
331 evas_cmakeconfigdir =  $(libdir)/cmake/Evas/
332 evas_cmakeconfig_DATA = \
333 cmakeconfig/EvasConfig.cmake \
334 cmakeconfig/EvasConfigVersion.cmake
335
336 ecore_cmakeconfigdir =  $(libdir)/cmake/Ecore/
337 ecore_cmakeconfig_DATA = \
338 cmakeconfig/EcoreConfig.cmake \
339 cmakeconfig/EcoreConfigVersion.cmake
340
341 edje_cmakeconfigdir =  $(libdir)/cmake/Edje/
342 edje_cmakeconfig_DATA = \
343 cmakeconfig/EdjeConfig.cmake \
344 cmakeconfig/EdjeConfigVersion.cmake
345
346 eldbus_cmakeconfigdir = $(libdir)/cmake/Eldbus/
347 eldbus_cmakeconfig_DATA = \
348 cmakeconfig/EldbusConfig.cmake \
349 cmakeconfig/EldbusConfigVersion.cmake
350
351 efreet_cmakeconfigdir =  $(libdir)/cmake/Efreet/
352 efreet_cmakeconfig_DATA = \
353 cmakeconfig/EfreetConfig.cmake \
354 cmakeconfig/EfreetConfigVersion.cmake
355
356 ethumb_cmakeconfigdir =  $(libdir)/cmake/Ethumb/
357 ethumb_cmakeconfig_DATA = \
358 cmakeconfig/EthumbConfig.cmake \
359 cmakeconfig/EthumbConfigVersion.cmake
360
361 ethumbclient_cmakeconfigdir =  $(libdir)/cmake/EthumbClient/
362 ethumbclient_cmakeconfig_DATA = \
363 cmakeconfig/EthumbClientConfig.cmake \
364 cmakeconfig/EthumbClientConfigVersion.cmake
365
366 emotion_cmakeconfigdir =  $(libdir)/cmake/Emotion/
367 emotion_cmakeconfig_DATA = \
368 cmakeconfig/EmotionConfig.cmake \
369 cmakeconfig/EmotionConfigVersion.cmake
370
371 elua_cmakeconfigdir = $(libdir)/cmake/Elua
372 elua_cmakeconfig_DATA = \
373 cmakeconfig/EluaConfig.cmake \
374 cmakeconfig/EluaConfigVersion.cmake
375
376 emile_cmakeconfigdir = $(libdir)/cmake/Emile
377 emile_cmakeconfig_DATA = \
378 cmakeconfig/EmileConfig.cmake \
379 cmakeconfig/EmileConfigVersion.cmake
380
381 # D-Bus services:
382
383 servicedir = @dbusservicedir@
384 service_DATA = \
385 dbus-services/org.enlightenment.Efreet.service \
386 dbus-services/org.enlightenment.Ethumb.service
387
388 if HAVE_SYSTEMD_USER_SESSION
389 systemdunitsdir = @USER_SESSION_DIR@
390 systemdunits_DATA = \
391 systemd-services/efreet.service \
392 systemd-services/ethumb.service
393 endif
394 EXTRA_DIST += $(systemdunits_DATA)
395
396
397 .PHONY: doc benchmark examples install-examples
398
399 # Documentation
400
401 doc:
402         @echo "entering doc/"
403         $(MAKE) $(AM_MAKEFLAGS) -C doc doc
404
405 # Unit tests
406
407 if EFL_ENABLE_COVERAGE
408
409 lcov-reset:
410         @rm -rf $(top_builddir)/coverage
411         @find $(top_builddir) -name "*.gcda" -delete
412         @lcov --zerocounters --directory $(top_builddir)
413
414 lcov-report:
415         $(MKDIR_P) $(top_builddir)/coverage
416         lcov --capture --compat-libtool --no-external --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir) --base-directory $(top_srcdir)/src/
417         lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
418         lcov --remove $(top_builddir)/coverage/coverage.cleaned.info '*/tests/*' --output-file $(top_builddir)/coverage/coverage.cleaned2.info
419         lcov --remove $(top_builddir)/coverage/coverage.cleaned2.info '*NONE*' --output-file $(top_builddir)/coverage/coverage.cleaned3.info
420         genhtml --branch-coverage -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned3.info
421         @echo "Coverage Report at $(top_builddir)/coverage/html"
422
423 endif
424
425 if EFL_ENABLE_TESTS
426
427 lcov-check:
428 if EFL_ENABLE_COVERAGE
429         @$(MAKE) $(AM_MAKEFLAGS) lcov-reset
430 endif
431         @$(MAKE) $(AM_MAKEFLAGS) check
432 if EFL_ENABLE_COVERAGE
433         @$(MAKE) $(AM_MAKEFLAGS) lcov-report
434 endif
435
436 check: override DISABLE_SUBTESTS = 1
437 check:
438         ifeq($(DISABLE_SUBTESTS), 1)
439         make check-recursive
440         endif
441
442 check-eina:
443         $(MAKE) $(AM_MAKEFLAGS) -C src check-eina
444 check-eina-cxx:
445         $(MAKE) $(AM_MAKEFLAGS) -C src check-eina-cxx
446 check-ecore:
447         $(MAKE) $(AM_MAKEFLAGS) -C src check-ecore
448 check-ecore-audio-cxx:
449         $(MAKE) $(AM_MAKEFLAGS) -C src check-ecore-audio-cxx
450 check-ecore-con:
451         $(MAKE) $(AM_MAKEFLAGS) -C src check-ecore-con
452 check-ecore-cxx:
453         $(MAKE) $(AM_MAKEFLAGS) -C src check-ecore-cxx
454 check-ecore-cxx-compile:
455         $(MAKE) $(AM_MAKEFLAGS) -C src check-ecore-cxx-compile
456 check-ector:
457         $(MAKE) $(AM_MAKEFLAGS) -C src check-ector
458 check-edje:
459         $(MAKE) $(AM_MAKEFLAGS) -C src check-edje
460 check-edje-cxx:
461         $(MAKE) $(AM_MAKEFLAGS) -C src check-edje-cxx
462 check-eet:
463         $(MAKE) $(AM_MAKEFLAGS) -C src check-eet
464 check-eet-cxx:
465         $(MAKE) $(AM_MAKEFLAGS) -C src check-eet-cxx
466 check-eeze:
467         $(MAKE) $(AM_MAKEFLAGS) -C src check-eeze
468 check-efreet:
469         $(MAKE) $(AM_MAKEFLAGS) -C src check-efreet
470 check-eio:
471         $(MAKE) $(AM_MAKEFLAGS) -C src check-eio
472 check-eldbus:
473         $(MAKE) $(AM_MAKEFLAGS) -C src check-eldbus
474 check-eldbus-cxx:
475         $(MAKE) $(AM_MAKEFLAGS) -C src check-eldbus-cxx
476 check-emile:
477         $(MAKE) $(AM_MAKEFLAGS) -C src check-emile
478 check-eo:
479         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo
480 check-eo-composite-object:
481         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo-composite-object
482 check-eo-constructors:
483         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo-constructors
484 check-eo-function-overrides:
485         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo-function-overrides
486 check-eo-interface:
487         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo-interface
488 check-eo-mixin:
489         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo-mixin
490 check-eo-text-access:
491         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo-text-access
492 check-eo-signals:
493         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo-signals
494 check-eo-children:
495         $(MAKE) $(AM_MAKEFLAGS) -C src check-eo-children
496 check-eolian:
497         $(MAKE) $(AM_MAKEFLAGS) -C src check-eolian
498 check-eolian-cxx:
499         $(MAKE) $(AM_MAKEFLAGS) -C src check-eolian-cxx
500 check-evas:
501         $(MAKE) $(AM_MAKEFLAGS) -C src check-evas
502 check-evas-cxx:
503         $(MAKE) $(AM_MAKEFLAGS) -C src check-evas-cxx
504 endif
505
506 # benchmark
507
508 benchmark:
509         @$(MAKE) $(AM_MAKEFLAGS) -C src benchmark
510         $(MKDIR_P) benchmark
511         @cd benchmark && ../src/benchmarks/eo/eo_bench$(EXEEXT) `date +%F_%s`
512
513 # examples
514
515 examples:
516         @$(MAKE) $(AM_MAKEFLAGS) -C src examples
517
518 install-examples:
519         @$(MAKE) $(AM_MAKEFLAGS) -C src install-examples
520
521 pkgbuild::
522         @echo "making arch packages"
523         makepkg -f -p $(top_builddir)/pkgbuild/PKGBUILD
524
525 # cleaning
526
527 clean-local:
528         rm -rf benchmark coverage