summaryrefslogtreecommitdiff
path: root/src/examples/edje/Makefile.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-04 02:08:14 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-04 02:08:14 +0000
commit9ea2ce1041549c90f94062ce5ec145056e7fbdfa (patch)
tree3bcd3fb016bc498a72ff99c8d67c8b7ef2d91718 /src/examples/edje/Makefile.am
parente2ce20e9a4dfd12bb383a1b60032f2ef7b507850 (diff)
efl: merge edje.
this is still in progress, mostly the multisense stuff is pending. it seems that when we merge ecore_audio in edje the libremix and similar are gone, at least from Edje, and will be in ecore_audio itself (or pulseaudio). Changes: * __UNUSED__ to EINA_UNUSED * binaries (epp, embryo_cc, edje_cc) now consider EFL_RUN_IN_TREE and will assume the binaries are still not installed, running from build tree location (needs more testing, maybe doesn't work with srcdir != builddir, still doesn't solve cross compile builds) SVN revision: 82139
Diffstat (limited to 'src/examples/edje/Makefile.am')
-rw-r--r--src/examples/edje/Makefile.am198
1 files changed, 198 insertions, 0 deletions
diff --git a/src/examples/edje/Makefile.am b/src/examples/edje/Makefile.am
new file mode 100644
index 0000000000..d1f587668e
--- /dev/null
+++ b/src/examples/edje/Makefile.am
@@ -0,0 +1,198 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3EDJE_CC = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/edje/edje_cc
4EDJE_CC_FLAGS_VERBOSE_0 =
5EDJE_CC_FLAGS_VERBOSE_1 = -v
6EDJE_CC_FLAGS = $(EDJE_CC_FLAGS_VERBOSE_$(V)) -id $(srcdir) -fd $(srcdir)
7
8AM_V_EDJ = $(am__v_EDJ_$(V))
9am__v_EDJ_ = $(am__v_EDJ_$(AM_DEFAULT_VERBOSITY))
10am__v_EDJ_0 = @echo " EDJ " $@;
11
12EDJE_CODEGEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/edje/edje_codegen
13EDJE_CODEGEN_FLAGS = --prefix=codegen_example
14
15AM_V_GEN = $(am__v_GEN_$(V))
16am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
17am__v_GEN_0 = @echo " GEN " $@;
18
19examplesdir = $(datadir)/edje/examples
20
21if ENABLE_MULTISENSE
22SND_DIR = -sd $(srcdir)
23endif
24
25#put here all EDCs one needs to the examples
26EDCS = \
27animations2.edc \
28animations.edc \
29basic2.edc \
30basic.edc \
31box.edc \
32codegen.edc \
33color-class.edc \
34drag.edc \
35edje_example.edc \
36edje-nested.edc \
37embryo_custom_state.edc \
38embryo_pong.edc \
39embryo_run_program.edc \
40embryo_set_state.edc \
41embryo_set_text.edc \
42embryo_timer.edc \
43external_elm_anchorblock.edc \
44external_elm_button.edc \
45external_elm_check.edc \
46external_elm_panes.edc \
47external_emotion_elm.edc \
48lua_script.edc \
49messages_echo.edc \
50perspective.edc \
51signalsBubble.edc \
52signals-messages.edc \
53sigtest.edc \
54swallow.edc \
55table.edc \
56text.edc \
57toggle_using_filter.edc
58
59if ENABLE_MULTISENSE
60EDCS += multisense.edc
61endif
62
63if HAVE_EPHYSICS
64EDCS += \
65physics_3d.edc \
66physics_actions.edc \
67physics_backcull.edc \
68physics_basic.edc \
69physics_complex.edc \
70physics_soft_bodies.edc
71endif
72
73.edc.edj:
74 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $(SND_DIR) $< $(builddir)/$(@F)
75
76
77EDJS = $(EDCS:%.edc=%.edj)
78
79filesdir = $(datadir)/edje/examples
80files_DATA = \
81$(EDCS) \
82bubble.png \
83bubble-blue.png \
84red.png \
85test.png \
86Vera.ttf \
87duck.wav \
88edje-codegen-example.c \
89edje_example.c \
90edje-basic.c \
91edje-swallow.c \
92edje-text.c \
93edje-table.c \
94edje-box.c \
95edje-box2.c \
96edje-drag.c \
97edje-signals-messages.c \
98edje-color-class.c \
99edje-perspective.c \
100edje-animations.c \
101sigtest.c \
102animations2.c \
103edje-basic2.c \
104signals2.c \
105edje-swallow2.c
106
107if ENABLE_MULTISENSE
108files_DATA += edje-multisense.c
109endif
110
111EXTRA_DIST = $(files_DATA)
112
113AM_CPPFLAGS = \
114-I. \
115-I$(top_srcdir)/src/lib/eina \
116-I$(top_builddir)/src/lib/eina \
117-I$(top_srcdir)/src/lib/eo \
118-I$(top_builddir)/src/lib/eo \
119-I$(top_srcdir)/src/lib/eet \
120-I$(top_builddir)/src/lib/eet \
121-I$(top_srcdir)/src/lib/evas \
122-I$(top_builddir)/src/lib/evas \
123-I$(top_srcdir)/src/lib/ecore \
124-I$(top_builddir)/src/lib/ecore \
125-I$(top_srcdir)/src/lib/ecore_evas \
126-I$(top_builddir)/src/lib/ecore_evas \
127-I$(top_srcdir)/src/lib/ecore_file \
128-I$(top_builddir)/src/lib/ecore_file \
129-I$(top_srcdir)/src/lib/ecore_input \
130-I$(top_builddir)/src/lib/ecore_input \
131-I$(top_srcdir)/src/lib/ecore_imf \
132-I$(top_builddir)/src/lib/ecore_imf \
133-I$(top_srcdir)/src/lib/embryo \
134-I$(top_builddir)/src/lib/embryo \
135-I$(top_srcdir)/src/lib/edje \
136-I$(top_srcdir)/src/lib/edje/include \
137-DPACKAGE_BIN_DIR=\"$(bindir)\" \
138-DPACKAGE_LIB_DIR=\"$(libdir)\" \
139-DPACKAGE_DATA_DIR=\"$(datadir)/edje\" \
140@EDJE_CFLAGS@
141
142codegen_example_generated.c codegen_example_generated.h: codegen.edj
143 $(AM_V_GEN)$(EDJE_CODEGEN) $(EDJE_CODEGEN_FLAGS) codegen.edj example_group $(builddir)/codegen_example_generated.c $(builddir)/codegen_example_generated.h
144
145BUILT_SOURCES = codegen_example_generated.c codegen_example_generated.h
146
147edje_codegen_example_SOURCES = \
148edje-codegen-example.c
149nodist_edje_codegen_example_SOURCES = \
150codegen_example_generated.c \
151codegen_example_generated.h
152
153files_DATA += $(EDJS)
154
155examples_PROGRAMS = \
156edje-animations \
157edje-basic \
158edje-box \
159edje-box2 \
160edje-codegen-example \
161edje-color-class \
162edje-drag\
163edje-perspective \
164edje-signals-messages \
165edje-swallow \
166edje-table \
167edje-text \
168sigtest \
169animations2 \
170edje-basic2 \
171signals2 \
172edje-swallow2
173
174if ENABLE_MULTISENSE
175examples_PROGRAMS += edje-multisense
176endif
177
178LDADD = \
179$(top_builddir)/src/lib/eina/libeina.la \
180$(top_builddir)/src/lib/eo/libeo.la \
181$(top_builddir)/src/lib/eet/libeet.la \
182$(top_builddir)/src/lib/evas/libevas.la \
183$(top_builddir)/src/lib/ecore/libecore.la \
184$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
185$(top_builddir)/src/lib/ecore_file/libecore_file.la \
186$(top_builddir)/src/lib/ecore_input/libecore_input.la \
187$(top_builddir)/src/lib/ecore_imf/libecore_imf.la \
188$(top_builddir)/src/lib/ecore_imf/libecore_imf_evas.la \
189$(top_builddir)/src/lib/embryo/libembryo.la \
190$(top_builddir)/src/lib/edje/libedje.la \
191@EDJE_LDFLAGS@
192
193if HAVE_EPHYSICS
194LDADD += $(top_builddir)/src/lib/ephysics/libephysics.la
195endif
196
197clean-local:
198 rm -f *.edj