summaryrefslogtreecommitdiff
path: root/src/examples/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/Makefile.am')
-rw-r--r--src/examples/Makefile.am287
1 files changed, 0 insertions, 287 deletions
diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am
deleted file mode 100644
index e987a44..0000000
--- a/src/examples/Makefile.am
+++ /dev/null
@@ -1,287 +0,0 @@
1AUTOMAKE_OPTIONS= -Wno-portability
2CLEANFILES =
3DISTCLEANFILES =
4MAINTAINERCLEANFILES = Makefile.in
5EXTRA_PROGRAMS =
6DATA_FILES =
7EXTRA_DIST =
8EDCS =
9PHONIES =
10EOLIAN_FLAGS := \
11 -I$(srcdir) \
12 -I$(top_srcdir)/src/lib/eo \
13 -I$(top_srcdir)/src/lib/evas/canvas \
14 -I$(top_srcdir)/src/lib/evas/gesture \
15 -I$(top_srcdir)/src/lib/edje \
16 -I$(top_srcdir)/src/lib/efl \
17 -I$(top_srcdir)/src/lib/ecore \
18 -I$(top_srcdir)/src/lib/ecore_audio \
19 -I$(top_srcdir)/src/lib/elementary
20
21#defined in Makefile_Edje_Helper.am
22#EDJE_CC_FLAGS =
23
24CLEAN_EXAMPLES =
25INSTALL_EXAMPLES =
26UNINSTALL_EXAMPLES =
27
28include ../Makefile_Edje_Helper.am
29include $(top_srcdir)/src/Makefile_Eolian_Helper.am
30if HAVE_CXX
31include $(top_srcdir)/src/Makefile_Eolian_Cxx_Helper.am
32if ! HAVE_EOLIAN_CXX
33_EOLIAN_CXX_DEP = ../bin/eolian_cxx/eolian_cxx$(EXEEXT)
34bin/eolian_cxx/eolian_cxx$(EXEEXT):
35 false
36endif
37endif
38# Eolian_Files_Helper
39# Thus we need to override it here in order to make its pattern
40# rules work properly.
41if ! HAVE_EOLIAN_GEN
42_EOLIAN_GEN_DEP = ../bin/eolian/eolian_gen$(EXEEXT)
43endif
44
45if HAVE_CSHARP
46include $(top_srcdir)/src/Makefile_Efl_Mono_MSBuild_Gen_Helper.am
47endif
48
49AM_CPPFLAGS = \
50-I. \
51-I$(top_builddir)/src/bindings \
52-I$(top_srcdir)/src/bindings \
53-I$(top_builddir)/src/lib/efl/interfaces \
54-I$(top_builddir)/src/lib/evas/canvas \
55-I$(top_builddir)/src/lib/evas/gesture \
56-I$(top_srcdir)/src/bindings/cxx/eina_cxx \
57-I$(top_builddir)/src/bindings/cxx/eina_cxx \
58-I$(top_srcdir)/src/bindings/cxx/eo_cxx \
59-I$(top_builddir)/src/bindings/cxx/eo_cxx \
60-I$(top_srcdir)/src/bindings/cxx/eldbus_cxx \
61-I$(top_builddir)/src/bindings/cxx/eldbus_cxx \
62-I$(top_srcdir)/src/bindings/cxx/ecore_cxx \
63-I$(top_builddir)/src/bindings/cxx/ecore_cxx \
64-I$(top_builddir)/src/lib/ecore \
65-I$(top_srcdir)/src/lib/ecore \
66-I$(top_builddir)/src/lib/ecore_audio \
67-I$(top_srcdir)/src/lib/ecore_audio \
68-I$(top_builddir)/src/lib/ecore_avahi \
69-I$(top_srcdir)/src/lib/ecore_avahi \
70-I$(top_builddir)/src/lib/ecore_buffer \
71-I$(top_srcdir)/src/lib/ecore_buffer \
72-I$(top_builddir)/src/lib/ecore_cocoa \
73-I$(top_srcdir)/src/lib/ecore_cocoa \
74-I$(top_builddir)/src/lib/ecore_con \
75-I$(top_srcdir)/src/lib/ecore_con \
76-I$(top_builddir)/src/lib/ecore_drm \
77-I$(top_srcdir)/src/lib/ecore_drm \
78-I$(top_builddir)/src/lib/ecore_drm2 \
79-I$(top_srcdir)/src/lib/ecore_drm2 \
80-I$(top_builddir)/src/lib/ecore_evas \
81-I$(top_srcdir)/src/lib/ecore_evas \
82-I$(top_builddir)/src/lib/ecore_fb \
83-I$(top_srcdir)/src/lib/ecore_fb \
84-I$(top_builddir)/src/lib/ecore_file \
85-I$(top_srcdir)/src/lib/ecore_file \
86-I$(top_builddir)/src/lib/ecore_imf \
87-I$(top_srcdir)/src/lib/ecore_imf \
88-I$(top_builddir)/src/lib/ecore_imf_evas \
89-I$(top_srcdir)/src/lib/ecore_imf_evas \
90-I$(top_builddir)/src/lib/ecore_input \
91-I$(top_srcdir)/src/lib/ecore_input \
92-I$(top_builddir)/src/lib/ecore_input_evas \
93-I$(top_srcdir)/src/lib/ecore_input_evas \
94-I$(top_builddir)/src/lib/ecore_ipc \
95-I$(top_srcdir)/src/lib/ecore_ipc \
96-I$(top_builddir)/src/lib/ecore_sdl \
97-I$(top_srcdir)/src/lib/ecore_sdl \
98-I$(top_builddir)/src/lib/ecore_wayland \
99-I$(top_srcdir)/src/lib/ecore_wayland \
100-I$(top_builddir)/src/lib/ecore_win32 \
101-I$(top_srcdir)/src/lib/ecore_win32 \
102-I$(top_builddir)/src/lib/ecore_wl2 \
103-I$(top_srcdir)/src/lib/ecore_wl2 \
104-I$(top_builddir)/src/lib/ecore_x \
105-I$(top_srcdir)/src/lib/ecore_x \
106-I$(top_builddir)/src/lib/ector \
107-I$(top_srcdir)/src/lib/ector \
108-I$(top_builddir)/src/lib/edje \
109-I$(top_srcdir)/src/lib/edje \
110-I$(top_builddir)/src/lib/eet \
111-I$(top_srcdir)/src/lib/eet \
112-I$(top_builddir)/src/lib/eeze \
113-I$(top_srcdir)/src/lib/eeze \
114-I$(top_builddir)/src/lib/efl \
115-I$(top_srcdir)/src/lib/efl \
116-I$(top_builddir)/src/lib/efl_mono \
117-I$(top_srcdir)/src/lib/efl_mono \
118-I$(top_builddir)/src/lib/efl_wl \
119-I$(top_srcdir)/src/lib/efl_wl \
120-I$(top_builddir)/src/lib/efreet \
121-I$(top_srcdir)/src/lib/efreet \
122-I$(top_builddir)/src/lib/eina \
123-I$(top_srcdir)/src/lib/eina \
124-I$(top_builddir)/src/lib/eio \
125-I$(top_srcdir)/src/lib/eio \
126-I$(top_builddir)/src/lib/eldbus \
127-I$(top_srcdir)/src/lib/eldbus \
128-I$(top_builddir)/src/lib/elementary \
129-I$(top_srcdir)/src/lib/elementary \
130-I$(top_builddir)/src/lib/elocation \
131-I$(top_srcdir)/src/lib/elocation \
132-I$(top_builddir)/src/lib/elput \
133-I$(top_srcdir)/src/lib/elput \
134-I$(top_builddir)/src/lib/elua \
135-I$(top_srcdir)/src/lib/elua \
136-I$(top_builddir)/src/lib/embryo \
137-I$(top_srcdir)/src/lib/embryo \
138-I$(top_builddir)/src/lib/emile \
139-I$(top_srcdir)/src/lib/emile \
140-I$(top_builddir)/src/lib/emotion \
141-I$(top_srcdir)/src/lib/emotion \
142-I$(top_builddir)/src/lib/eo \
143-I$(top_srcdir)/src/lib/eo \
144-I$(top_builddir)/src/lib/eolian \
145-I$(top_srcdir)/src/lib/eolian \
146-I$(top_builddir)/src/lib/eolian_cxx \
147-I$(top_srcdir)/src/lib/eolian_cxx \
148-I$(top_builddir)/src/lib/ephysics \
149-I$(top_srcdir)/src/lib/ephysics \
150-I$(top_builddir)/src/lib/escape \
151-I$(top_srcdir)/src/lib/escape \
152-I$(top_builddir)/src/lib/ethumb \
153-I$(top_srcdir)/src/lib/ethumb \
154-I$(top_builddir)/src/lib/ethumb_client \
155-I$(top_srcdir)/src/lib/ethumb_client \
156-I$(top_builddir)/src/lib/evas \
157-I$(top_srcdir)/src/lib/evas \
158-DPACKAGE_BIN_DIR=\"$(bindir)\" \
159-DPACKAGE_LIB_DIR=\"$(libdir)\" \
160@ELEMENTARY_CFLAGS@
161
162if HAVE_WINDOWS
163AM_CPPFLAGS += \
164-I$(top_srcdir)/src/lib/evil \
165-I$(top_builddir)/src/lib/evil \
166@EFL_WINDOWS_VERSION_CFLAGS@
167endif
168
169AM_CXXFLAGS = \
170$(AM_CPPFLAGS) \
171@ELEMENTARY_CXX_CFLAGS@
172
173LDADD = \
174-lm \
175@EFL_PTHREAD_LIBS@ \
176$(top_builddir)/src/lib/ecore_avahi/libecore_avahi.la \
177$(top_builddir)/src/lib/ecore_con/libecore_con.la \
178$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
179$(top_builddir)/src/lib/ecore_file/libecore_file.la \
180$(top_builddir)/src/lib/ecore_imf_evas/libecore_imf_evas.la \
181$(top_builddir)/src/lib/ecore_imf/libecore_imf.la \
182$(top_builddir)/src/lib/ecore_input_evas/libecore_input_evas.la \
183$(top_builddir)/src/lib/ecore_input/libecore_input.la \
184$(top_builddir)/src/lib/ecore_ipc/libecore_ipc.la \
185$(top_builddir)/src/lib/ecore/libecore.la \
186$(top_builddir)/src/lib/ector/libector.la \
187$(top_builddir)/src/lib/edje/libedje.la \
188$(top_builddir)/src/lib/eet/libeet.la \
189$(top_builddir)/src/lib/efl/libefl.la \
190$(top_builddir)/src/lib/efreet/libefreet.la \
191$(top_builddir)/src/lib/efreet/libefreet_mime.la \
192$(top_builddir)/src/lib/efreet/libefreet_trash.la \
193$(top_builddir)/src/lib/eina/libeina.la \
194$(top_builddir)/src/lib/eio/libeio.la \
195$(top_builddir)/src/lib/eldbus/libeldbus.la \
196$(top_builddir)/src/lib/elementary/libelementary.la \
197$(top_builddir)/src/lib/elocation/libelocation.la \
198$(top_builddir)/src/lib/embryo/libembryo.la \
199$(top_builddir)/src/lib/emile/libemile.la \
200$(top_builddir)/src/lib/emotion/libemotion.la \
201$(top_builddir)/src/lib/eolian/libeolian.la \
202$(top_builddir)/src/lib/eo/libeo.la \
203$(top_builddir)/src/lib/ethumb_client/libethumb_client.la \
204$(top_builddir)/src/lib/ethumb/libethumb.la \
205$(top_builddir)/src/lib/evas/libevas.la
206
207
208AM_LDFLAGS = @ELEMENTARY_LDFLAGS@
209
210if HAVE_ECORE_AUDIO
211LDADD += $(top_builddir)/src/lib/ecore_audio/libecore_audio.la
212endif
213
214if HAVE_EPHYSICS
215LDADD += $(top_builddir)/src/lib/ephysics/libephysics.la
216endif
217
218if HAVE_ECORE_WL2
219LDADD += \
220$(top_builddir)/src/lib/ecore_wl2/libecore_wl2.la \
221$(top_builddir)/src/lib/efl_wl/libefl_wl.la
222endif
223
224if HAVE_EEZE
225LDADD += $(top_builddir)/src/lib/eeze/libeeze.la
226endif
227
228if HAVE_ELPUT
229LDADD += $(top_builddir)/src/lib/elput/libelput.la
230endif
231
232if HAVE_ELUA
233LDADD += $(top_builddir)/src/lib/elua/libelua.la
234endif
235
236if HAVE_ECORE_X
237LDADD += $(top_builddir)/src/lib/ecore_x/libecore_x.la
238endif
239
240include ecore_avahi.mk
241include ecore.mk
242include edje.mk
243include eet.mk
244include efl_mono.mk
245include eina_cxx.mk
246include eina.mk
247include eio.mk
248include eldbus.mk
249include elementary.mk
250include elocation.mk
251include emile.mk
252include emotion.mk
253include eolian_cxx.mk
254include ephysics.mk
255include ethumb_client.mk
256include evas.mk
257
258$(top_builddir)/src/bin/edje_cc$(EXEEXT):
259 @test -f $(top_builddir)/src/bin/edje_cc$(EXEEXT) || $(MAKE) $(AM_MAKEFLAGS) -C ../ bin/edje_cc$(EXEEXT)
260
261# this is a bit hacky
262# currently all options from all directories are passed to all edje_cc cmds
263# so if there are any files with the same name in different dirs it will fail
264.edc.edj: $(top_builddir)/src/bin/edje_cc$(EXEEXT)
265 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) $< $(builddir)/$@
266
267EXTRA_DIST += $(EDCS) $(DATA_FILES)
268EDJS = $(EDCS:%.edc=%.edj)
269
270examples: $(EXTRA_PROGRAMS) $(EDJS)
271
272clean-local: $(CLEAN_EXAMPLES)
273 rm -f $(EXTRA_PROGRAMS) $(EDJS)
274
275install-examples: $(INSTALL_EXAMPLES)
276uninstall-local: $(UNINSTALL_EXAMPLES)
277.PHONY: $(PHONIES)
278
279EXTRA_DIST += $(EDCS) $(DATA_FILES)
280
281if ALWAYS_BUILD_EXAMPLES
282noinst_PROGRAMS = $(EXTRA_PROGRAMS)
283nodist_pkgdata_DATA = $(EDJS)
284else
285endif
286
287check: ;