summaryrefslogtreecommitdiff
path: root/src/Makefile_Edje.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_Edje.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_Edje.am')
-rw-r--r--src/Makefile_Edje.am404
1 files changed, 0 insertions, 404 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
deleted file mode 100644
index 827e723..0000000
--- a/src/Makefile_Edje.am
+++ /dev/null
@@ -1,404 +0,0 @@
1
2### Library
3
4edje_eolian_files = \
5 lib/edje/efl_layout_calc.eo \
6 lib/edje/efl_layout_signal.eo \
7 lib/edje/efl_layout_group.eo \
8 lib/edje/efl_canvas_layout.eo \
9 lib/edje/efl_canvas_layout_part.eo \
10 lib/edje/efl_canvas_layout_part_box.eo \
11 lib/edje/efl_canvas_layout_part_external.eo \
12 lib/edje/efl_canvas_layout_part_swallow.eo \
13 lib/edje/efl_canvas_layout_part_table.eo \
14 lib/edje/efl_canvas_layout_part_text.eo
15
16edje_eolian_type_files = \
17 lib/edje/edje_types.eot
18
19edje_eolian_priv_files = \
20 lib/edje/edje_global.eo \
21 lib/edje/efl_canvas_layout_part_invalid.eo \
22 $(NULL)
23
24edje_eolian_c = $(edje_eolian_files:%.eo=%.eo.c)
25edje_eolian_h = $(edje_eolian_files:%.eo=%.eo.h) \
26 $(edje_eolian_type_files:%.eot=%.eot.h)
27
28edje_eolian_priv_c = $(edje_eolian_priv_files:%.eo=%.eo.c)
29edje_eolian_priv_h = $(edje_eolian_priv_files:%.eo=%.eo.h)
30
31BUILT_SOURCES += \
32 $(edje_eolian_c) \
33 $(edje_eolian_h) \
34 $(edje_eolian_priv_c) \
35 $(edje_eolian_priv_h)
36
37if INSTALL_EO_FILES
38edjeeolianfilesdir = $(datadir)/eolian/include/edje-@VMAJ@
39edjeeolianfiles_DATA = \
40$(edje_eolian_files) \
41$(edje_eolian_type_files)
42endif
43
44noinst_DATA += $(edje_eolian_priv_c) $(edje_eolian_priv_h)
45
46EXTRA_DIST2 += \
47$(edje_eolian_files) \
48$(edje_eolian_type_files) \
49$(edje_eolian_priv_files)
50
51lib_LTLIBRARIES += lib/edje/libedje.la
52
53EDJE_COMMON_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
54-I$(top_builddir) \
55-I$(top_srcdir)/src/lib/edje \
56-I$(top_builddir)/src/lib/edje \
57-DPACKAGE_BIN_DIR=\"$(bindir)\" \
58-DPACKAGE_LIB_DIR=\"$(libdir)\" \
59-DPACKAGE_DATA_DIR=\"$(datadir)/edje\" \
60-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
61-DPACKAGE_SRC_DIR=\"$(abs_top_srcdir)\" \
62@EDJE_LUA_CFLAGS@ \
63@EDJE_CFLAGS@
64
65installed_edjemainheadersdir = $(includedir)/edje-@VMAJ@
66dist_installed_edjemainheaders_DATA = \
67lib/edje/Edje.h \
68lib/edje/Edje_Common.h \
69lib/edje/Edje_Eo.h \
70lib/edje/Edje_Legacy.h \
71lib/edje/Edje_Edit.h \
72lib/edje/edje_edit_eo.h \
73lib/edje/edje_edit_eo.legacy.h \
74lib/edje/efl_canvas_layout_eo.legacy.h \
75lib/edje/efl_layout_group_eo.legacy.h
76
77EXTRA_DIST2 += \
78lib/edje/edje_edit_eo.c \
79lib/edje/efl_canvas_layout_eo.legacy.c \
80lib/edje/efl_layout_group_eo.legacy.c
81
82nodist_installed_edjemainheaders_DATA = \
83 $(edje_eolian_h) \
84 $(NULL)
85
86lib_edje_libedje_la_SOURCES = \
87lib/edje/edje_private.h \
88lib/edje/edje_convert.h \
89lib/edje/edje_box_layout.c \
90lib/edje/edje_cache.c \
91lib/edje/edje_calc.c \
92lib/edje/edje_callbacks.c \
93lib/edje/edje_data.c \
94lib/edje/edje_edit.c \
95lib/edje/edje_embryo.c \
96lib/edje/edje_entry.c \
97lib/edje/edje_external.c \
98lib/edje/edje_load.c \
99lib/edje/edje_lua.c \
100lib/edje/edje_lua2.c \
101lib/edje/edje_lua_script_only.c \
102lib/edje/edje_main.c \
103lib/edje/edje_match.c \
104lib/edje/edje_message_queue.c \
105lib/edje/edje_misc.c \
106lib/edje/edje_module.c \
107lib/edje/edje_multisense.c \
108lib/edje/edje_program.c \
109lib/edje/edje_smart.c \
110lib/edje/edje_text.c \
111lib/edje/edje_textblock.c \
112lib/edje/edje_textblock_styles.c \
113lib/edje/edje_util.c \
114lib/edje/edje_legacy.c \
115lib/edje/edje_var.c \
116lib/edje/edje_signal.c \
117lib/edje/edje_part.c \
118lib/edje/edje_part_helper.h \
119lib/edje/edje_part_external.c \
120lib/edje/edje_part_swallow.c \
121lib/edje/edje_part_table.c \
122lib/edje/edje_part_box.c \
123lib/edje/edje_part_text.c \
124lib/edje/edje_part_invalid.c \
125static_libs/buildsystem/buildsystem.h \
126static_libs/buildsystem/buildsystem_autotools.c
127
128
129lib_edje_libedje_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS) -DEFL_BUILD
130lib_edje_libedje_la_LIBADD = @EDJE_LIBS@ @EDJE_LUA_LIBS@
131lib_edje_libedje_la_DEPENDENCIES = @EDJE_INTERNAL_LIBS@
132lib_edje_libedje_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
133
134if ENABLE_MULTISENSE
135# edjemoduleXXXdir = $(libdir)/edje/modules/
136# edjemoduleXXX_LTLIBRARIES = modules/edje/XXX/module.la
137#
138# # Workaround for broken parallel install support in automake (relink issue)
139# # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
140# install_edjemoduleXXXLTLIBRARIES = install-edjemoduleXXXLTLIBRARIES
141# $(install_edjemoduleXXXLTLIBRARIES): install-libLTLIBRARIES
142#
143# modules_edje_XXX_module_la_SOURCES = modules/edje/XXX/XXX.c
144# modules_edje_XXX_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS) @XXX_LIBS@
145# modules_edje_XXX_module_la_LIBADD = $(EDJE_COMMON_USER_LIBADD)
146# modules_edje_XXX_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
147# modules_edje_XXX_module_la_LIBTOOLFLAGS = --tag=disable-static
148
149# edjemodulemultisensefactorydir = $(libdir)/edje/modules/multisense_factory/$(MODULE_ARCH)
150# edjemodulemultisensefactory_LTLIBRARIES = modules/edje/multisense_factory/module.la
151#
152# # Workaround for broken parallel install support in automake (relink issue)
153# # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
154# install_edjemodulemultisensefactoryLTLIBRARIES = install-edjemodulemultisensefactoryLTLIBRARIES
155# $(install_edjemodulemultisensefactoryLTLIBRARIES): install-libLTLIBRARIES
156#
157# modules_edje_multisense_factory_module_la_SOURCES = \
158# modules/edje/multisense_factory/multisense_factory.c
159# modules_edje_multisense_factory_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
160# $(EDJE_COMMON_CPPFLAGS) \
161# @REMIX_CFLAGS@
162# modules_edje_multisense_factory_module_la_LIBADD = \
163# $(EDJE_COMMON_USER_LIBADD) \
164# @REMIX_LIBS@
165# modules_edje_multisense_factory_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
166# modules_edje_multisense_factory_module_la_LIBTOOLFLAGS = --tag=disable-static
167
168endif
169
170### Binary
171
172if HAVE_WIN32
173USE_EDJE_BIN_LIBS = -L$(top_builddir)/src/lib/evil @USE_EDJE_LIBS@
174else
175USE_EDJE_BIN_LIBS = @USE_EDJE_LIBS@
176endif
177
178bin_PROGRAMS += \
179bin/edje/edje_cc \
180bin/edje/edje_decc \
181bin/edje/edje_player \
182bin/edje/edje_inspector \
183bin/edje/edje_external_inspector \
184bin/edje/edje_codegen \
185bin/edje/edje_pick \
186bin/edje/edje_watch
187
188bin_edje_edje_cc_SOURCES = \
189bin/edje/edje_multisense_convert.h \
190bin/edje/edje_cc.h \
191bin/edje/edje_cc.c \
192bin/edje/edje_cc_out.c \
193bin/edje/edje_cc_parse.c \
194bin/edje/edje_cc_mem.c \
195bin/edje/edje_cc_handlers.c \
196bin/edje/edje_cc_sources.c \
197bin/edje/edje_cc_script.c \
198bin/edje/edje_multisense_convert.c
199
200bin_edje_edje_cc_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS) @EDJE_LUA_CFLAGS@
201bin_edje_edje_cc_LDADD = $(USE_EDJE_BIN_LIBS) @EDJE_LUA_LIBS@
202bin_edje_edje_cc_DEPENDENCIES = \
203@USE_EDJE_INTERNAL_LIBS@ \
204bin/edje/epp/epp$(EXEEXT) # epp is an artificial dependency because edje_cc will use it at runtime, so we be sure if we depend on edje_cc we get epp.
205
206bin_edje_edje_decc_SOURCES = \
207bin/edje/edje_decc.c \
208bin/edje/edje_decc.h \
209bin/edje/edje_cc_mem.c \
210bin/edje/edje_cc_sources.c
211bin_edje_edje_decc_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
212bin_edje_edje_decc_LDADD = $(USE_EDJE_BIN_LIBS)
213bin_edje_edje_decc_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
214
215bin_edje_edje_player_SOURCES = bin/edje/edje_player.c
216bin_edje_edje_player_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
217bin_edje_edje_player_LDADD = $(USE_EDJE_BIN_LIBS)
218bin_edje_edje_player_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
219
220bin_edje_edje_inspector_SOURCES = bin/edje/edje_inspector.c
221bin_edje_edje_inspector_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
222bin_edje_edje_inspector_LDADD = $(USE_EDJE_BIN_LIBS)
223bin_edje_edje_inspector_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
224
225bin_edje_edje_external_inspector_SOURCES = bin/edje/edje_external_inspector.c
226bin_edje_edje_external_inspector_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
227bin_edje_edje_external_inspector_LDADD = $(USE_EDJE_BIN_LIBS)
228bin_edje_edje_external_inspector_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
229
230bin_edje_edje_codegen_SOURCES = bin/edje/edje_codegen.c
231bin_edje_edje_codegen_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
232bin_edje_edje_codegen_LDADD = $(USE_EDJE_BIN_LIBS)
233bin_edje_edje_codegen_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
234
235bin_edje_edje_pick_SOURCES = bin/edje/edje_pick.c
236bin_edje_edje_pick_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
237bin_edje_edje_pick_LDADD = $(USE_EDJE_BIN_LIBS)
238bin_edje_edje_pick_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
239
240bin_edje_edje_watch_SOURCES = bin/edje/edje_watch.c
241bin_edje_edje_watch_CPPFLAGS = -I$(top_builddir)/src/lib/efl $(EDJE_COMMON_CPPFLAGS)
242bin_edje_edje_watch_LDADD = $(USE_EDJE_BIN_LIBS)
243bin_edje_edje_watch_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
244
245# EPP (Edje's CPP)
246eppdir = $(libdir)/edje/utils/$(MODULE_ARCH)
247epp_PROGRAMS = bin/edje/epp/epp
248bin_edje_epp_epp_SOURCES = \
249bin/edje/epp/cpplib.h \
250bin/edje/epp/cpphash.h \
251bin/edje/epp/cppalloc.c \
252bin/edje/epp/cpperror.c \
253bin/edje/epp/cppexp.c \
254bin/edje/epp/cpphash.c \
255bin/edje/epp/cpplib.c \
256bin/edje/epp/cppmain.c
257
258# Note: eina is included only because of EINA_UNUSED
259bin_edje_epp_epp_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
260-I$(top_builddir) \
261-I$(top_srcdir)/src/lib/eina \
262-I$(top_builddir)/src/lib/eina \
263$(CWARNFLAGS) \
264-DHAVE_CONFIG_H \
265-DHAVE_STRERROR \
266-DFATAL_EXIT_CODE=1 \
267-DSUCCESS_EXIT_CODE=0 \
268-DGCC_INCLUDE_DIR=\"/usr/include\" \
269-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include\" \
270-DTOOL_INCLUDE_DIR=\"/usr/bin\" \
271-DHOST_BITS_PER_LONG=32 \
272-DBITS_PER_UNIT=8 \
273-DHOST_BITS_PER_INT=32 \
274-DBITS_PER_WORD=16 \
275-DTARGET_BELL=7 \
276-DTARGET_BS=8 \
277-DTARGET_FF=12 \
278-DTARGET_NEWLINE=10 \
279-DTARGET_CR=13 \
280-DTARGET_TAB=9 \
281-DTARGET_VT=11
282if HAVE_WIN32
283bin_edje_epp_epp_CPPFLAGS += \
284@EFL_WINDOWS_VERSION_CFLAGS@ \
285-I$(top_srcdir)/src/lib/evil \
286-I$(top_builddir)/src/lib/evil
287bin_edje_epp_epp_LDADD = lib/evil/libevil.la
288endif
289
290# TODO: why keep these?
291EXTRA_DIST2 += \
292bin/edje/edje_convert.h \
293bin/edje/edje_convert.c \
294bin/edje/edje_data_convert.c \
295bin/edje/edje_convert_main.c \
296lib/edje/edje_convert.c \
297tests/edje/data/complex_layout.edc \
298tests/edje/data/test_layout.edc \
299tests/edje/data/test_parens.edc \
300tests/edje/data/test_masking.edc \
301tests/edje/data/test_filters.edc \
302tests/edje/data/test_snapshot.edc \
303tests/edje/data/test_size_class.edc \
304tests/edje/data/test_color_class.edc \
305tests/edje/data/test_swallows.edc \
306tests/edje/data/test_box.edc \
307tests/edje/data/test_table.edc \
308tests/edje/data/test_combine_keywords.edc \
309tests/edje/data/test_messages.edc \
310tests/edje/data/test_signals.edc \
311tests/edje/data/test_signal_callback_del_full.edc \
312tests/edje/data/test_text_cursor.edc \
313tests/edje/data/test_textblock.edc \
314tests/edje/data/test_text.edc \
315tests/edje/data/filter.lua
316
317
318bin_SCRIPTS += bin/edje/edje_recc
319
320# Useful to other modules that generate EDJ
321include Makefile_Edje_Helper.am
322
323### Unit tests
324
325if EFL_ENABLE_TESTS
326
327check_PROGRAMS += tests/edje/edje_suite
328TESTS += tests/edje/edje_suite
329
330tests_edje_edje_suite_SOURCES = \
331tests/edje/edje_suite.c \
332tests/edje/edje_test_container.c \
333tests/edje/edje_test_edje.c \
334tests/edje/edje_test_features.c \
335tests/edje/edje_test_signal.c \
336tests/edje/edje_test_swallow.c \
337tests/edje/edje_test_text.c \
338tests/edje/edje_suite.h
339
340tests/edje/data/%.edj: tests/edje/data/%.edc bin/edje/edje_cc${EXEEXT}
341 $(AM_V_EDJ) \
342 $(MKDIR_P) tests/edje/data; \
343 $(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/edje/data \
344 -id $(srcdir)/tests/emotion/data \
345 -dd $(srcdir)/tests/edje/data \
346 $< $@
347
348EDJE_TEST_FILES = tests/edje/data/test_layout.edj \
349 tests/edje/data/complex_layout.edj \
350 tests/edje/data/test_parens.edj \
351 tests/edje/data/test_masking.edj \
352 tests/edje/data/test_filters.edj \
353 tests/edje/data/test_snapshot.edj \
354 tests/edje/data/test_size_class.edj \
355 tests/edje/data/test_swallows.edj \
356 tests/edje/data/test_color_class.edj \
357 tests/edje/data/test_box.edj \
358 tests/edje/data/test_table.edj \
359 tests/edje/data/test_combine_keywords.edj \
360 tests/edje/data/test_messages.edj \
361 tests/edje/data/test_signals.edj \
362 tests/edje/data/test_signal_callback_del_full.edj \
363 tests/edje/data/test_text_cursor.edj \
364 tests/edje/data/test_textblock.edj \
365 tests/edje/data/test_text.edj \
366 $(NULL)
367
368CLEANFILES += $(EDJE_TEST_FILES)
369
370tests_edje_edje_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
371$(EDJE_COMMON_CPPFLAGS) \
372-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/edje\" \
373-DTESTS_BUILD_DIR=\"$(abs_top_builddir)/src/tests/edje\" \
374@CHECK_CFLAGS@
375tests_edje_edje_suite_LDADD = @CHECK_LIBS@ $(USE_EDJE_BIN_LIBS)
376tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ $(EDJE_TEST_FILES)
377
378endif
379
380if HAVE_LUA_BINDINGS
381
382edje_eolian_lua = $(edje_eolian_files:%.eo=%.eo.lua)
383
384generated_edje_lua_all = $(edje_eolian_lua)
385
386GENERATED_LUA_BINDINGS += $(generated_edje_lua_all)
387
388installed_edjeluadir = $(datadir)/elua/modules/edje
389nodist_installed_edjelua_DATA = $(generated_edje_lua_all)
390
391endif
392
393if HAVE_JS
394
395generated_edje_js_bindings = $(edje_eolian_files:%.eo=%.eo.js.cc)
396
397GENERATED_JS_BINDINGS += $(generated_edje_js_bindings)
398
399endif
400
401if HAVE_CXX
402edje_eolian_cxx_hh = $(edje_eolian_files:%.eo=%.eo.hh)
403edje_eolian_cxx_impl_hh = $(edje_eolian_files:%.eo=%.eo.impl.hh)
404endif