autotools: so it seems like the space is required after all.
[platform/upstream/efl.git] / src / Makefile.am
1 AUTOMAKE_OPTIONS = subdir-objects
2
3 MAINTAINERCLEANFILES = Makefile.in
4 CLEANFILES =
5 BUILT_SOURCES =
6
7 EOLIAN_FLAGS = \
8                -I$(srcdir)/lib/eo \
9                -I$(srcdir)/lib/evas/canvas \
10                -I$(srcdir)/lib/edje \
11                -I$(srcdir)/lib/ecore_audio
12
13 ELUA_GEN_FLAGS =
14
15 DIST_SUBDIRS =
16 SUBDIRS =
17
18 lib_LTLIBRARIES =
19 bin_PROGRAMS =
20 bin_SCRIPTS =
21 noinst_PROGRAMS =
22 check_PROGRAMS =
23 TESTS =
24 EXTRA_DIST =
25
26
27 EFL_INSTALL_EXEC_HOOK=
28
29 include Makefile_Efl.am
30
31 include Makefile_Evil.am
32 include Makefile_Escape.am
33
34 include Makefile_Eina.am
35 include Makefile_Eo.am
36 include Makefile_Eet.am
37 include Makefile_Eolian.am
38 include Makefile_Ecore.am
39 include Makefile_Ecore_Cxx.am
40 include Makefile_Ecore_Con.am
41 include Makefile_Ecore_Ipc.am
42 include Makefile_Ecore_File.am
43 include Makefile_Ecore_Avahi.am
44 include Makefile_Embryo.am
45 include Makefile_Eio.am
46 include Makefile_Eldbus.am
47 include Makefile_Efreet.am
48 include Makefile_Eeze.am
49
50 if BUILD_GUI
51 include Makefile_Evas.am
52 include Makefile_Ecore_Input.am
53 include Makefile_Ecore_Input_Evas.am
54 include Makefile_Ecore_Cocoa.am
55 include Makefile_Ecore_Drm.am
56 include Makefile_Ecore_FB.am
57 include Makefile_Ecore_Psl1ght.am
58 include Makefile_Ecore_SDL.am
59 include Makefile_Ecore_Wayland.am
60 include Makefile_Ecore_Win32.am
61 include Makefile_Ecore_WinCE.am
62 include Makefile_Ecore_X.am
63 include Makefile_Ecore_Audio.am
64 include Makefile_Ecore_IMF.am
65 include Makefile_Ecore_IMF_Evas.am
66 include Makefile_Ecore_Evas.am
67 include Makefile_EPhysics.am
68 include Makefile_Edje.am
69 include Makefile_Emotion.am
70 include Makefile_Ethumb.am
71 include Makefile_Ethumb_Client.am
72
73 include Makefile_Ecore_Audio_Cxx.am
74 include Makefile_Edje_Cxx.am
75 include Makefile_Evas_Cxx.am
76 endif
77
78 include Makefile_Eina_Cxx.am
79 include Makefile_Eolian_Cxx.am
80 include Makefile_Eet_Cxx.am
81 include Makefile_Eo_Cxx.am
82
83 include Makefile_Elua.am
84
85 .PHONY: benchmark examples
86
87 BENCHMARK_SUBDIRS = \
88 benchmarks/eina \
89 benchmarks/eo \
90 benchmarks/evas
91 DIST_SUBDIRS += $(BENCHMARK_SUBDIRS)
92
93 benchmark: all-am
94         @for d in $(BENCHMARK_SUBDIRS); do \
95            echo "Making benchmark in $$d"; \
96            $(MAKE) $(AM_MAKEFLAGS) -C $$d benchmark; \
97         done
98
99 EXAMPLES_SUBDIRS = \
100 examples/eina \
101 examples/eo \
102 examples/eet \
103 examples/evas \
104 examples/ecore \
105 examples/ecore_avahi \
106 examples/eio \
107 examples/eldbus \
108 examples/ephysics \
109 examples/edje \
110 examples/emotion \
111 examples/ethumb_client
112
113 if HAVE_ELUA
114 EXAMPLES_SUBDIRS += examples/elua
115 endif
116
117 if HAVE_CXX11
118 EXAMPLES_SUBDIRS += \
119 examples/eina_cxx \
120 examples/eolian_cxx
121 endif
122
123 if ALWAYS_BUILD_EXAMPLES
124 SUBDIRS += . $(EXAMPLES_SUBDIRS)
125 endif
126
127 DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
128
129 examples: all-am
130         @for d in $(EXAMPLES_SUBDIRS); do \
131            echo "Making examples in $$d"; \
132            $(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
133         done
134
135 install-examples:
136         @for d in $(EXAMPLES_SUBDIRS); do \
137            echo "Making install-examples in $$d"; \
138            $(MAKE) $(AM_MAKEFLAGS) -C $$d install-examples || exit 1; \
139         done
140
141 clean-local:
142         find . -type f -name '*.gcno' -delete
143         find . -type f -name '*.gcda' -delete
144         find . -type f -name check-results.xml -delete
145
146 install-exec-hook:
147         for i in $(lib_LTLIBRARIES); do sed -i "" "s/-luuid//" $(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`; done
148         $(EFL_INSTALL_EXEC_HOOK)