summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am223
1 files changed, 0 insertions, 223 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 9675fc1..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,223 +0,0 @@
1AUTOMAKE_OPTIONS= -Wno-portability
2MAINTAINERCLEANFILES = Makefile.in
3CLEANFILES =
4BUILT_SOURCES =
5PHONIES =
6
7EOLIAN_FLAGS = -I$(srcdir)
8EOLIAN_GEN_FLAGS = -S
9
10LOG_COMPILER = dbus-run-session
11AM_LOG_FLAGS = --
12
13DIST_SUBDIRS =
14SUBDIRS =
15
16AM_TESTS_ENVIRONMENT =
17
18lib_LTLIBRARIES =
19bin_PROGRAMS =
20bin_SCRIPTS =
21noinst_PROGRAMS =
22check_PROGRAMS =
23TESTS =
24EXTRA_DIST2 =
25
26noinst_LTLIBRARIES =
27noinst_DATA =
28noinst_HEADERS =
29
30GENERATED_JS_BINDINGS =
31GENERATED_LUA_BINDINGS =
32
33EFL_INSTALL_EXEC_HOOK=
34
35include Makefile_Evil.am
36include Makefile_Escape.am
37
38include Makefile_Eina.am
39include Makefile_Eo.am
40include Makefile_Efl.am
41include Makefile_Emile.am
42include Makefile_Eet.am
43include Makefile_Eolian.am
44include Makefile_Ector.am
45include Makefile_Ecore.am
46include Makefile_Evas.am
47include Makefile_Eldbus.am
48include Makefile_Ecore_Con.am
49include Makefile_Ecore_Ipc.am
50include Makefile_Ecore_File.am
51include Makefile_Eeze.am
52include Makefile_Ecore_Input.am
53include Makefile_Ecore_Input_Evas.am
54include Makefile_Ecore_Cocoa.am
55include Makefile_Ecore_FB.am
56include Makefile_Ecore_SDL.am
57include Makefile_Ecore_Wayland.am
58include Makefile_Ecore_Wl2.am
59include Makefile_Ecore_Win32.am
60include Makefile_Ecore_X.am
61include Makefile_Ecore_IMF.am
62include Makefile_Ecore_IMF_Evas.am
63include Makefile_Elput.am
64include Makefile_Ecore_Drm.am
65include Makefile_Ecore_Drm2.am
66include Makefile_Ecore_Evas.am
67include Makefile_Ecore_Audio.am
68include Makefile_Ecore_Avahi.am
69include Makefile_Embryo.am
70include Makefile_Efreet.am
71include Makefile_Eio.am
72include Makefile_Ecore_Buffer.am
73include Makefile_EPhysics.am
74include Makefile_Edje.am
75include Makefile_Emotion.am
76include Makefile_Ethumb.am
77include Makefile_Ethumb_Client.am
78include Makefile_Elocation.am
79include Makefile_Elementary.am
80include Makefile_efl_wl.am
81
82include Makefile_Cxx.am
83include Makefile_Eolian_Cxx.am
84include Makefile_Efl_Mono.am
85
86include Makefile_Elua.am
87
88include Makefile_Wayland_Protocols.am
89
90if HAVE_JS
91AM_V_CP = $(am__v_CP_@AM_V@)
92am__v_CP_ = $(am__v_CP_@AM_DEFAULT_V@)
93am__v_CP_0 = @echo " CP " $@;
94CP = cp
95if EFL_ENABLE_TESTS
96if HAVE_NODEJS
97AM_TESTS_ENVIRONMENT += NODE_PATH='$(abs_builddir)/bin/efl_js:$(abs_builddir)/tests/eolian_js:$(abs_builddir)/tests/efl_js'; export NODE_PATH;
98endif
99endif
100endif
101
102include Makefile_Eolian_Js.am
103include Makefile_Efl_Js.am
104
105.PHONY: benchmark examples $(PHONIES)
106
107BENCHMARK_SUBDIRS = \
108benchmarks/eina \
109benchmarks/eo \
110benchmarks/evas
111DIST_SUBDIRS += $(BENCHMARK_SUBDIRS)
112
113benchmark: all
114 @for d in $(BENCHMARK_SUBDIRS); do \
115 echo "Making benchmark in $$d"; \
116 $(MAKE) $(AM_MAKEFLAGS) -C $$d benchmark; \
117 done
118
119EXAMPLES_SUBDIRS = \
120examples
121
122if ALWAYS_BUILD_EXAMPLES
123SUBDIRS += . $(EXAMPLES_SUBDIRS)
124endif
125
126DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
127
128if EFL_ENABLE_TESTS
129noinst_PROGRAMS += tests/timeout
130
131$(check_PROGRAMS): tests/timeout
132
133check-build: all
134 @$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
135endif
136
137examples: all
138 @for d in $(EXAMPLES_SUBDIRS); do \
139 echo "Making examples in $$d"; \
140 $(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
141 done
142
143install-examples:
144 @for d in $(EXAMPLES_SUBDIRS); do \
145 echo "Making install-examples in $$d"; \
146 $(MAKE) $(AM_MAKEFLAGS) -C $$d install-examples || exit 1; \
147 done
148
149dist-hook:
150 @mkdir -p $(distdir)/tests/elua/data/apps $(distdir)/tests/eolian/data
151 @mkdir -p $(distdir)/tests/evas/images $(distdir)/tests/evas/meshes
152 @mkdir -p $(distdir)/tests/evas/fonts $(distdir)/tests/eolian/data_aux
153 @mkdir -p $(distdir)/tests/efreet/data $(distdir)/tests/edje/data
154 @mkdir -p $(distdir)/tests/emotion/data $(distdir)/tests/evas/meshes/md2
155 @mkdir -p $(distdir)/tests/evas/meshes/obj $(distdir)/tests/efreet/data/sub
156 @mkdir -p $(distdir)/tests/efl_mono
157 @mkdir -p $(distdir)/scripts/eina $(distdir)/scripts/elua/modules
158 @mkdir -p $(distdir)/scripts/elua/core $(distdir)/scripts/elua/apps/docgen
159 @mkdir -p $(distdir)/lib/evas/common/evas_op_add $(distdir)/lib/evas/common/evas_op_copy
160 @mkdir -p $(distdir)/lib/evas/common/evas_op_mask $(distdir)/lib/evas/common/evas_op_mul
161 @mkdir -p $(distdir)/lib/evas/common/evas_op_sub $(distdir)/lib/evas/filters/blur
162 @mkdir -p $(distdir)/static_libs/http-parser/contrib $(distdir)/bindings/luajit/eina
163 @mkdir -p $(distdir)/wayland_protocol $(distdir)/lib/efl_wl/
164 @mkdir -p $(distdir)/modules/evas/engines/software_generic/filters/blur
165 @mkdir -p $(distdir)/bindings/mono/efl_mono
166 @mkdir -p $(distdir)/bindings/mono/eina_mono
167 @mkdir -p $(distdir)/bindings/mono/eldbus_mono
168 @mkdir -p $(distdir)/bindings/mono/eo_mono
169 for F in $(EXTRA_DIST2); do cp -f $(srcdir)/$$F $(distdir)/$$F; done
170
171clean-local:
172 find . -type f -name '*.gcno' -delete
173 find . -type f -name '*.gcda' -delete
174 find . -type f -name check-results*.xml -delete
175 rm -f $(GENERATED_JS_BINDINGS)
176 rm -f $(GENERATED_LUA_BINDINGS)
177 rm -f $(BUILT_SOURCES)
178
179install-exec-hook:
180 $(MKDIR_P) $(DESTDIR)$(libdir)
181 for i in $(lib_LTLIBRARIES); do \
182 FNAME="$(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`"; \
183 FNAMEEXT="$$FNAME.$$$$"; \
184 sed "s/-luuid//" $$FNAME > $$FNAMEEXT; \
185 mv $$FNAMEEXT $$FNAME; \
186 done
187 $(EFL_INSTALL_EXEC_HOOK)
188
189#At the bottom because .SECONDEXPANSION is applied to all following rules.
190if HAVE_WAYLAND_SCANNER
191#Stolen from weston's Makefile.am and modified for Enlightenment
192.SECONDEXPANSION:
193
194define protostability
195$(if $(findstring unstable,$1),unstable,stable)
196endef
197
198define protoname
199$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/')
200endef
201
202#rules for generating protocol from wayland_protocols
203%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
204 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
205
206%-server-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
207 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
208
209%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
210 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
211
212#rules for generating local protocols which must be in src/wayland_protocol
213%-protocol.c : $(top_srcdir)/src/wayland_protocol/$(notdir $$*).xml
214 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
215
216%-server-protocol.h : $(top_srcdir)/src/wayland_protocol/$(notdir $$*).xml
217 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
218
219%-client-protocol.h : $(top_srcdir)/src/wayland_protocol/$(notdir $$*).xml
220 $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
221
222#End of weston stuff
223endif