elput: Initial checkin of elput library
[platform/upstream/efl.git] / src / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in
2 CLEANFILES =
3 BUILT_SOURCES =
4
5 EOLIAN_FLAGS = -I$(srcdir)
6
7 DIST_SUBDIRS =
8 SUBDIRS =
9
10 AM_TESTS_ENVIRONMENT =
11
12 lib_LTLIBRARIES =
13 bin_PROGRAMS =
14 bin_SCRIPTS =
15 noinst_PROGRAMS =
16 check_PROGRAMS =
17 TESTS =
18 EXTRA_DIST =
19
20 noinst_LTLIBRARIES =
21 noinst_DATA =
22 noinst_HEADERS =
23
24 GENERATED_JS_BINDINGS =
25
26 EFL_INSTALL_EXEC_HOOK=
27
28 include Makefile_Evil.am
29 include Makefile_Escape.am
30
31 include Makefile_Eina.am
32 include Makefile_Eo.am
33 include Makefile_Efl.am
34 include Makefile_Emile.am
35 include Makefile_Eet.am
36 include Makefile_Eolian.am
37 include Makefile_Ector.am
38 include Makefile_Evas.am
39 include Makefile_Ecore.am
40 include Makefile_Ecore_Con.am
41 include Makefile_Ecore_Ipc.am
42 include Makefile_Ecore_File.am
43 include Makefile_Ecore_Input.am
44 include Makefile_Ecore_Input_Evas.am
45 include Makefile_Ecore_Cocoa.am
46 include Makefile_Ecore_FB.am
47 include Makefile_Ecore_Psl1ght.am
48 include Makefile_Ecore_SDL.am
49 include Makefile_Ecore_Wayland.am
50 include Makefile_Ecore_Wl2.am
51 include Makefile_Ecore_Win32.am
52 include Makefile_Ecore_X.am
53 include Makefile_Ecore_IMF.am
54 include Makefile_Ecore_IMF_Evas.am
55 include Makefile_Eldbus.am
56 include Makefile_Eeze.am
57 include Makefile_Ecore_Drm.am
58 include Makefile_Ecore_Evas.am
59 include Makefile_Ecore_Audio.am
60 include Makefile_Ecore_Audio_Cxx.am
61 include Makefile_Ecore_Avahi.am
62 include Makefile_Embryo.am
63 include Makefile_Eio.am
64 include Makefile_Efreet.am
65 include Makefile_Ecore_Buffer.am
66 include Makefile_EPhysics.am
67 include Makefile_Edje.am
68 include Makefile_Emotion.am
69 include Makefile_Ethumb.am
70 include Makefile_Ethumb_Client.am
71 include Makefile_Elocation.am
72 include Makefile_Elementary.am
73 include Makefile_Elput.am
74
75 include Makefile_Eina_Cxx.am
76 include Makefile_Ecore_Cxx.am
77 include Makefile_Eldbus_Cxx.am
78 include Makefile_Eolian_Cxx.am
79 include Makefile_Eet_Cxx.am
80 include Makefile_Eo_Cxx.am
81 include Makefile_Efl_Cxx.am
82 include Makefile_Edje_Cxx.am
83 include Makefile_Evas_Cxx.am
84 include Makefile_Eio_Cxx.am
85 include Makefile_Elementary_Cxx.am
86
87 include Makefile_Elua.am
88
89 if HAVE_JS
90 AM_V_CP = $(am__v_CP_@AM_V@)
91 am__v_CP_ = $(am__v_CP_@AM_DEFAULT_V@)
92 am__v_CP_0 = @echo "  CP  " $@;
93 CP = cp
94 if EFL_ENABLE_TESTS
95 if HAVE_NODEJS
96 AM_TESTS_ENVIRONMENT += NODE_PATH='$(abs_builddir)/lib/efl_js:$(abs_builddir)/tests/eolian_js:$(abs_builddir)/tests/efl_js'; export NODE_PATH;
97 endif
98 endif
99 endif
100
101 include Makefile_Eolian_Js.am
102 include Makefile_Efl_Js.am
103
104 # Make sure all generated files getting cleaned up
105 CLEANFILES += $(BUILT_SOURCES)
106
107 .PHONY: benchmark examples
108
109 BENCHMARK_SUBDIRS = \
110 benchmarks/eina \
111 benchmarks/eo \
112 benchmarks/evas
113 DIST_SUBDIRS += $(BENCHMARK_SUBDIRS)
114
115 benchmark: all
116         @for d in $(BENCHMARK_SUBDIRS); do \
117            echo "Making benchmark in $$d"; \
118            $(MAKE) $(AM_MAKEFLAGS) -C $$d benchmark; \
119         done
120
121 EXAMPLES_SUBDIRS = \
122 examples/eina \
123 examples/eet \
124 examples/evas \
125 examples/ecore \
126 examples/ecore_avahi \
127 examples/eio \
128 examples/eldbus \
129 examples/ephysics \
130 examples/edje \
131 examples/emotion \
132 examples/emile \
133 examples/elocation \
134 examples/ethumb_client \
135 examples/elementary
136
137 if HAVE_ELUA
138 EXAMPLES_SUBDIRS += examples/elua
139 endif
140
141 EXAMPLES_CXX = \
142 examples/eina_cxx \
143 examples/eolian_cxx
144
145 if HAVE_CXX11
146 EXAMPLES_SUBDIRS += $(EXAMPLES_CXX)
147 endif
148
149 if ALWAYS_BUILD_EXAMPLES
150 SUBDIRS += . $(EXAMPLES_SUBDIRS)
151 endif
152
153 DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
154
155 if EFL_ENABLE_TESTS
156 check-build: all
157         @$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
158 endif
159
160 examples: all
161         @for d in $(EXAMPLES_SUBDIRS); do \
162            echo "Making examples in $$d"; \
163            $(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
164         done
165
166 install-examples:
167         @for d in $(EXAMPLES_SUBDIRS); do \
168            echo "Making install-examples in $$d"; \
169            $(MAKE) $(AM_MAKEFLAGS) -C $$d install-examples || exit 1; \
170         done
171
172 clean-local:
173         find . -type f -name '*.gcno' -delete
174         find . -type f -name '*.gcda' -delete
175         find . -type f -name check-results.xml -delete
176
177 install-exec-hook:
178         $(MKDIR_P) $(DESTDIR)$(libdir)
179         for i in $(lib_LTLIBRARIES); do \
180            FNAME="$(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`"; \
181            FNAMEEXT="$$FNAME.$$$$"; \
182            sed "s/-luuid//" $$FNAME > $$FNAMEEXT; \
183            mv $$FNAMEEXT $$FNAME; \
184         done
185         $(EFL_INSTALL_EXEC_HOOK)