summaryrefslogtreecommitdiff
path: root/src/Makefile_Emotion.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 /src/Makefile_Emotion.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 'src/Makefile_Emotion.am')
-rw-r--r--src/Makefile_Emotion.am392
1 files changed, 0 insertions, 392 deletions
diff --git a/src/Makefile_Emotion.am b/src/Makefile_Emotion.am
deleted file mode 100644
index 2de10651c2..0000000000
--- a/src/Makefile_Emotion.am
+++ /dev/null
@@ -1,392 +0,0 @@
1### Library
2
3emotion_eolian_files = \
4 lib/emotion/efl_canvas_video.eo
5
6emotion_eolian_c = $(emotion_eolian_files:%.eo=%.eo.c)
7emotion_eolian_h = $(emotion_eolian_files:%.eo=%.eo.h)
8
9BUILT_SOURCES += \
10 $(emotion_eolian_c) \
11 $(emotion_eolian_h)
12if INSTALL_EO_FILES
13emotioneolianfilesdir = $(datadir)/eolian/include/emotion-@VMAJ@
14emotioneolianfiles_DATA = \
15 $(emotion_eolian_files)
16endif
17EXTRA_DIST2 += \
18lib/emotion/efl_canvas_video_eo.legacy.c \
19 ${emotion_eolian_files}
20
21lib_LTLIBRARIES += \
22lib/emotion/libemotion.la
23
24installed_emotionmainheadersdir = $(includedir)/emotion-@VMAJ@
25dist_installed_emotionmainheaders_DATA = lib/emotion/Emotion.h \
26 lib/emotion/efl_canvas_video_eo.legacy.h \
27 lib/emotion/Emotion_Legacy.h \
28 lib/emotion/Emotion_Eo.h
29
30nodist_installed_emotionmainheaders_DATA = \
31 $(emotion_eolian_h)
32
33# libemotion.la
34lib_emotion_libemotion_la_SOURCES = \
35lib/emotion/emotion_modules.h \
36lib/emotion/emotion_private.h \
37lib/emotion/emotion_smart.c \
38lib/emotion/emotion_webcam.c \
39lib/emotion/emotion_modules.c \
40lib/emotion/emotion_main.c \
41static_libs/buildsystem/buildsystem.h \
42static_libs/buildsystem/buildsystem_autotools.c
43
44lib_emotion_libemotion_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
45-DPACKAGE_BIN_DIR=\"$(bindir)\" \
46-DPACKAGE_LIB_DIR=\"$(libdir)\" \
47-DPACKAGE_DATA_DIR=\"$(datadir)/emotion\" \
48-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
49-DPACKAGE_SRC_DIR=\"$(abs_top_srcdir)\" \
50-DEFL_BUILD \
51@EMOTION_CFLAGS@
52lib_emotion_libemotion_la_LIBADD = @EMOTION_LIBS@
53lib_emotion_libemotion_la_DEPENDENCIES = @EMOTION_INTERNAL_LIBS@
54lib_emotion_libemotion_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
55
56## Modules
57
58# Xine
59EMOTION_XINE_SOURCES = \
60modules/emotion/xine/emotion_xine.h \
61modules/emotion/xine/emotion_xine.c \
62modules/emotion/xine/emotion_xine_vo_out.c
63
64if EMOTION_STATIC_BUILD_XINE
65lib_emotion_libemotion_la_SOURCES += $(EMOTION_XINE_SOURCES)
66else
67if EMOTION_BUILD_XINE
68emotionmodulexinedir = $(libdir)/emotion/modules/xine/$(MODULE_ARCH)
69emotionmodulexine_LTLIBRARIES = modules/emotion/xine/module.la
70
71# Workaround for broken parallel install support in automake (relink issue)
72# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
73install_emotionmodulexineLTLIBRARIES = install-emotionmodulexineLTLIBRARIES
74$(install_emotionmodulexineLTLIBRARIES): install-libLTLIBRARIES
75
76modules_emotion_xine_module_la_SOURCES = $(EMOTION_XINE_SOURCES)
77modules_emotion_xine_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
78-DEFL_BUILD \
79@EMOTION_CFLAGS@ \
80@EMOTION_MODULE_XINE_CFLAGS@
81modules_emotion_xine_module_la_LIBADD = \
82@USE_EMOTION_LIBS@ \
83@EMOTION_MODULE_XINE_LIBS@
84modules_emotion_xine_module_la_DEPENDENCIES = @USE_EMOTION_INTERNAL_LIBS@
85modules_emotion_xine_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
86modules_emotion_xine_module_la_LIBTOOLFLAGS = --tag=disable-static
87endif
88endif
89
90# Gstreamer 0.10
91EMOTION_GSTREAMER_SOURCES = \
92modules/emotion/gstreamer/emotion_gstreamer.h \
93modules/emotion/gstreamer/emotion_gstreamer.c \
94modules/emotion/gstreamer/emotion_alloc.c \
95modules/emotion/gstreamer/emotion_convert.c \
96modules/emotion/gstreamer/emotion_fakeeos.c \
97modules/emotion/gstreamer/emotion_sink.c
98
99if EMOTION_STATIC_BUILD_GSTREAMER
100lib_emotion_libemotion_la_SOURCES += $(EMOTION_GSTREAMER_SOURCES)
101else
102if EMOTION_BUILD_GSTREAMER
103emotionmodulegstreamerdir = $(libdir)/emotion/modules/gstreamer/$(MODULE_ARCH)
104emotionmodulegstreamer_LTLIBRARIES = modules/emotion/gstreamer/module.la
105
106# Workaround for broken parallel install support in automake (relink issue)
107# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
108install_emotionmodulegstreamerLTLIBRARIES = install-emotionmodulegstreamerLTLIBRARIES
109$(install_emotionmodulegstreamerLTLIBRARIES): install-libLTLIBRARIES
110
111modules_emotion_gstreamer_module_la_SOURCES = $(EMOTION_GSTREAMER_SOURCES)
112modules_emotion_gstreamer_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
113-DEFL_BUILD \
114@EMOTION_CFLAGS@ \
115@EMOTION_MODULE_GSTREAMER_CFLAGS@
116modules_emotion_gstreamer_module_la_LIBADD = \
117@USE_EMOTION_LIBS@ \
118@EMOTION_MODULE_GSTREAMER_LIBS@
119modules_emotion_gstreamer_module_la_DEPENDENCIES = @USE_EMOTION_INTERNAL_LIBS@
120modules_emotion_gstreamer_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
121modules_emotion_gstreamer_module_la_LIBTOOLFLAGS = --tag=disable-static
122if HAVE_ECORE_X
123modules_emotion_gstreamer_module_la_CPPFLAGS += @ECORE_X_CFLAGS@ @ECORE_EVAS_CFLAGS@
124modules_emotion_gstreamer_module_la_LIBADD += @USE_ECORE_X_LIBS@ @USE_ECORE_EVAS_LIBS@
125modules_emotion_gstreamer_module_la_DEPENDENCIES += @USE_ECORE_X_INTERNAL_LIBS@ @USE_ECORE_EVAS_INTERNAL_LIBS@
126endif
127endif
128endif
129
130# Gstreamer 1.0
131EMOTION_GSTREAMER1_SOURCES = \
132modules/emotion/gstreamer1/emotion_gstreamer.h \
133modules/emotion/gstreamer1/emotion_gstreamer.c \
134modules/emotion/gstreamer1/emotion_alloc.c \
135modules/emotion/gstreamer1/emotion_convert.c \
136modules/emotion/gstreamer1/emotion_sink.c
137
138if EMOTION_STATIC_BUILD_GSTREAMER1
139lib_emotion_libemotion_la_SOURCES += $(EMOTION_GSTREAMER1_SOURCES)
140else
141if EMOTION_BUILD_GSTREAMER1
142emotionmodulegstreamer1dir = $(libdir)/emotion/modules/gstreamer1/$(MODULE_ARCH)
143emotionmodulegstreamer1_LTLIBRARIES = modules/emotion/gstreamer1/module.la
144
145# Workaround for broken parallel install support in automake (relink issue)
146# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
147install_emotionmodulegstreamer1LTLIBRARIES = install-emotionmodulegstreamer1LTLIBRARIES
148$(install_emotionmodulegstreamer1LTLIBRARIES): install-libLTLIBRARIES
149
150modules_emotion_gstreamer1_module_la_SOURCES = $(EMOTION_GSTREAMER1_SOURCES)
151modules_emotion_gstreamer1_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
152-DEFL_BUILD \
153@EMOTION_CFLAGS@ \
154@EMOTION_MODULE_GSTREAMER1_CFLAGS@
155modules_emotion_gstreamer1_module_la_LIBADD = \
156@USE_EMOTION_LIBS@ \
157@EMOTION_MODULE_GSTREAMER1_LIBS@
158modules_emotion_gstreamer1_module_la_DEPENDENCIES = @USE_EMOTION_INTERNAL_LIBS@
159modules_emotion_gstreamer1_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
160modules_emotion_gstreamer1_module_la_LIBTOOLFLAGS = --tag=disable-static
161endif
162endif
163
164# LibVLC
165EMOTION_LIBVLC_SOURCES =\
166modules/emotion/libvlc/emotion_libvlc.c
167
168if EMOTION_STATIC_BUILD_LIBVLC
169lib_emotion_libemotion_la_SOURCES += $(EMOTION_LIBVLC_SOURCES)
170else
171if EMOTION_BUILD_LIBVLC
172emotionmodulelibvlcdir = $(libdir)/emotion/modules/libvlc/$(MODULE_ARCH)
173emotionmodulelibvlc_LTLIBRARIES = modules/emotion/libvlc/module.la
174
175# Workaround for broken parallel install support in automake (relink issue)
176# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
177install_emotionmodulelibvlcLTLIBRARIES = install-emotionmodulelibvlcLTLIBRARIES
178$(install_emotionmodulelibvlcLTLIBRARIES): install-libLTLIBRARIES
179
180modules_emotion_libvlc_module_la_SOURCES = $(EMOTION_LIBVLC_SOURCES)
181modules_emotion_libvlc_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
182-DEFL_BUILD \
183@EMOTION_CFLAGS@ \
184@EMOTION_MODULE_LIBVLC_CFLAGS@
185modules_emotion_libvlc_module_la_LIBADD = \
186@USE_EMOTION_LIBS@ \
187@EMOTION_MODULE_LIBVLC_LIBS@
188modules_emotion_libvlc_module_la_DEPENDENCIES = @USE_EMOTION_INTERNAL_LIBS@
189modules_emotion_libvlc_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
190modules_emotion_libvlc_module_la_LIBTOOLFLAGS = --tag=disable-static
191endif
192endif
193
194# Generic
195EMOTION_GENERIC_SOURCES = \
196modules/emotion/generic/emotion_generic.h \
197modules/emotion/generic/emotion_generic.c
198
199if EMOTION_STATIC_BUILD_GENERIC
200lib_emotion_libemotion_la_SOURCES += $(EMOTION_GENERIC_SOURCES)
201else
202if EMOTION_BUILD_GENERIC
203emotionmodulegenericdir = $(libdir)/emotion/modules/generic/$(MODULE_ARCH)
204emotionmodulegeneric_LTLIBRARIES = modules/emotion/generic/module.la
205
206# Workaround for broken parallel install support in automake (relink issue)
207# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
208install_emotionmodulegenericLTLIBRARIES = install-emotionmodulegenericLTLIBRARIES
209$(install_emotionmodulegenericLTLIBRARIES): install-libLTLIBRARIES
210
211modules_emotion_generic_module_la_SOURCES = $(EMOTION_GENERIC_SOURCES)
212modules_emotion_generic_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
213-DEFL_BUILD \
214@EMOTION_CFLAGS@ \
215@EMOTION_MODULE_GENERIC_CFLAGS@ \
216-DPACKAGE_BIN_DIR=\"$(bindir)\" \
217-DPACKAGE_LIB_DIR=\"$(libdir)\" \
218-DPACKAGE_DATA_DIR=\"$(datadir)/emotion\"
219modules_emotion_generic_module_la_LIBADD = \
220@USE_EMOTION_LIBS@ \
221@EMOTION_MODULE_GENERIC_LIBS@
222modules_emotion_generic_module_la_DEPENDENCIES = @USE_EMOTION_INTERNAL_LIBS@
223modules_emotion_generic_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
224modules_emotion_generic_module_la_LIBTOOLFLAGS = --tag=disable-static
225endif
226endif
227
228if EMOTION_BUILD_GENERIC
229dist_installed_emotionmainheaders_DATA += \
230modules/emotion/generic/Emotion_Generic_Plugin.h
231endif
232
233
234# Edje_External
235emotionedjeexternaldir = $(libdir)/edje/modules/emotion/$(MODULE_ARCH)
236emotionedjeexternal_LTLIBRARIES = edje_external/emotion/module.la
237
238# Workaround for broken parallel install support in automake (relink issue)
239# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
240install_emotionedjeexternalLTLIBRARIES = install-emotionedjeexternalLTLIBRARIES
241$(install_emotionedjeexternalLTLIBRARIES): install-libLTLIBRARIES
242
243edje_external_emotion_module_la_SOURCES = \
244edje_external/emotion/emotion.c
245edje_external_emotion_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
246-DEFL_BUILD \
247@EDJE_CFLAGS@ \
248@EMOTION_CFLAGS@ \
249-DPACKAGE_DATA_DIR=\"$(datadir)/emotion\"
250edje_external_emotion_module_la_LIBADD = \
251@USE_EDJE_LIBS@ \
252@USE_EMOTION_LIBS@
253edje_external_emotion_module_la_DEPENDENCIES = \
254@USE_EDJE_INTERNAL_LIBS@ \
255@USE_EMOTION_INTERNAL_LIBS@
256edje_external_emotion_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
257edje_external_emotion_module_la_LIBTOOLFLAGS = --tag=disable-static
258
259### Binary
260
261### Unit tests
262
263if EFL_ENABLE_TESTS
264if BUILD_LOADER_PNG
265
266bin_PROGRAMS += tests/emotion/emotion_test
267
268tests_emotion_emotion_test_SOURCES = \
269tests/emotion/emotion_test_main.c
270
271tests_emotion_emotion_test_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
272-DPACKAGE_BIN_DIR=\"$(bindir)\" \
273-DPACKAGE_LIB_DIR=\"$(libdir)\" \
274-DPACKAGE_DATA_DIR=\"$(datadir)/emotion\" \
275-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
276@EDJE_CFLAGS@ \
277@EMOTION_CFLAGS@
278
279tests_emotion_emotion_test_LDADD = @USE_EDJE_LIBS@ @USE_EMOTION_LIBS@
280tests_emotion_emotion_test_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ @USE_EMOTION_INTERNAL_LIBS@
281
282bin_PROGRAMS += tests/emotion/emotion_test-eo
283
284tests_emotion_emotion_test_eo_SOURCES = \
285tests/emotion/emotion_test_main-eo.c
286
287tests_emotion_emotion_test_eo_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
288-DPACKAGE_BIN_DIR=\"$(bindir)\" \
289-DPACKAGE_LIB_DIR=\"$(libdir)\" \
290-DPACKAGE_DATA_DIR=\"$(datadir)/emotion\" \
291-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
292@EDJE_CFLAGS@ \
293@EMOTION_CFLAGS@ \
294@EO_CFLAGS@
295
296tests_emotion_emotion_test_eo_LDADD = @USE_EDJE_LIBS@ @USE_EMOTION_LIBS@ @USE_EO_LIBS@
297tests_emotion_emotion_test_eo_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ @USE_EMOTION_INTERNAL_LIBS@ \
298@USE_EO_INTERNAL_LIBS@
299
300tests/emotion/data/theme.edj: tests/emotion/data/theme.edc bin/edje/edje_cc${EXEEXT}
301 $(AM_V_EDJ) \
302 $(MKDIR_P) tests/emotion/data; \
303 $(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/emotion/data $< $@
304
305emotiondatafilesdir = $(datadir)/emotion/data
306emotiondatafiles_DATA = tests/emotion/data/theme.edj
307CLEANFILES += tests/emotion/data/theme.edj
308
309endif
310endif
311
312# Those probably should be in the if block, but then
313# "make distcheck" would not work
314EXTRA_DIST2 += \
315tests/emotion/data/bpause.png \
316tests/emotion/data/bplay.png \
317tests/emotion/data/bstop.png \
318tests/emotion/data/icon_pause.png \
319tests/emotion/data/icon_play.png \
320tests/emotion/data/icon_stop.png \
321tests/emotion/data/e_logo.png \
322tests/emotion/data/fr1.png \
323tests/emotion/data/fr2.png \
324tests/emotion/data/fr3.png \
325tests/emotion/data/fr4.png \
326tests/emotion/data/fr5.png \
327tests/emotion/data/fr6.png \
328tests/emotion/data/fr7.png \
329tests/emotion/data/h_slider.png \
330tests/emotion/data/icon.edc \
331tests/emotion/data/knob.png \
332tests/emotion/data/orb.png \
333tests/emotion/data/pnl.png \
334tests/emotion/data/sl.png \
335tests/emotion/data/theme.edc \
336tests/emotion/data/tiles.png \
337tests/emotion/data/video_frame_bottom.png \
338tests/emotion/data/video_frame_left.png \
339tests/emotion/data/video_frame_right.png \
340tests/emotion/data/video_frame_top.png \
341tests/emotion/data/whb.png \
342tests/emotion/data/window_inner_shadow.png \
343modules/emotion/generic/README
344
345if HAVE_LUA_BINDINGS
346
347emotion_eolian_lua = $(emotion_eolian_files:%.eo=%.eo.lua)
348
349generated_emotion_lua_all = $(emotion_eolian_lua)
350
351GENERATED_LUA_BINDINGS += $(generated_emotion_lua_all)
352
353installed_emotionluadir = $(datadir)/elua/modules/emotion
354nodist_installed_emotionlua_DATA = $(generated_emotion_lua_all)
355
356endif
357
358# TODO: gives undefined reference to emotion_object_class_get()
359if HAVE_JS
360
361generated_emotion_js_bindings = $(emotion_eolian_files:%.eo=%.eo.js.cc)
362
363GENERATED_JS_BINDINGS += $(generated_emotion_js_bindings)
364
365endif
366
367emotiongenericplayersdir = \
368$(libdir)/emotion/generic_players/$(MODULE_ARCH)
369
370emotiongenericplayers_PROGRAMS =
371
372if HAVE_GENERIC_VLC
373
374emotiongenericplayers_PROGRAMS += generic/emotion/vlc/vlc
375generic_emotion_vlc_vlc_SOURCES = generic/emotion/vlc/emotion_generic_vlc.c
376generic_emotion_vlc_vlc_CPPFLAGS = \
377-I$(top_srcdir)/src/lib/efl \
378-I$(top_builddir)/src/lib/efl \
379-I$(top_srcdir)/src/lib/eina \
380-I$(top_builddir)/src/lib/eina \
381-I$(top_srcdir)/src/lib/eo \
382-I$(top_srcdir)/src/lib/ecore \
383-I$(top_srcdir)/src/modules/emotion/generic \
384-DPACKAGE_BIN_DIR=\"$(bindir)\" \
385-DPACKAGE_LIB_DIR=\"$(libdir)\" \
386-DPACKAGE_DATA_DIR=\"$(datadir)/emotion\" \
387-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
388-DEMOTION_GENERIC_PLAYERS_DIR=\"$(libdir)/emotion/generic_players/$(MODULE_ARCH)\" \
389@GENERIC_VLC_CFLAGS@
390generic_emotion_vlc_vlc_LDADD = @GENERIC_VLC_LIBS@ @USE_EINA_LIBS@ @USE_ECORE_LIBS@
391generic_emotion_vlc_vlc_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@
392endif