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