e277678667c4e89b7afc835c5905f481ccab6ad0
[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
12
13 DIST_SUBDIRS =
14 SUBDIRS =
15
16 lib_LTLIBRARIES =
17 bin_PROGRAMS =
18 bin_SCRIPTS =
19 noinst_PROGRAMS =
20 check_PROGRAMS =
21 TESTS =
22 EXTRA_DIST =
23
24
25 EFL_INSTALL_EXEC_HOOK=
26
27 include Makefile_Efl.am
28
29 include Makefile_Evil.am
30 include Makefile_Escape.am
31
32 include Makefile_Eina.am
33 include Makefile_Eo.am
34 include Makefile_Eet.am
35 include Makefile_Eolian.am
36 include Makefile_Evas.am
37 include Makefile_Ecore.am
38 include Makefile_Ecore_Cxx.am
39 include Makefile_Ecore_Con.am
40 include Makefile_Ecore_Ipc.am
41 include Makefile_Ecore_File.am
42 include Makefile_Ecore_Input.am
43 include Makefile_Ecore_Input_Evas.am
44 include Makefile_Ecore_Cocoa.am
45 include Makefile_Ecore_Drm.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_Win32.am
51 include Makefile_Ecore_WinCE.am
52 include Makefile_Ecore_X.am
53 include Makefile_Ecore_IMF.am
54 include Makefile_Ecore_IMF_Evas.am
55 include Makefile_Ecore_Evas.am
56 include Makefile_Ecore_Audio.am
57 include Makefile_Ecore_Avahi.am
58 include Makefile_Embryo.am
59 include Makefile_Eio.am
60 include Makefile_Eldbus.am
61 include Makefile_Efreet.am
62 include Makefile_Eeze.am
63 include Makefile_EPhysics.am
64 include Makefile_Edje.am
65 include Makefile_Emotion.am
66 include Makefile_Ethumb.am
67 include Makefile_Ethumb_Client.am
68
69 include Makefile_Eina_Cxx.am
70
71 .PHONY: benchmark examples
72
73 BENCHMARK_SUBDIRS = \
74 benchmarks/eina \
75 benchmarks/eo
76 DIST_SUBDIRS += $(BENCHMARK_SUBDIRS)
77
78 benchmark: all-am
79         @for d in $(BENCHMARK_SUBDIRS); do \
80            echo "Making benchmark in $$d"; \
81            $(MAKE) $(AM_MAKEFLAGS) -C $$d benchmark; \
82         done
83
84 EXAMPLES_SUBDIRS = \
85 examples/eina \
86 examples/eina_cxx \
87 examples/eo \
88 examples/eet \
89 examples/evas \
90 examples/ecore \
91 examples/ecore_avahi \
92 examples/eio \
93 examples/eldbus \
94 examples/ephysics \
95 examples/edje \
96 examples/emotion \
97 examples/ethumb_client
98 if ALWAYS_BUILD_EXAMPLES
99 SUBDIRS += . $(EXAMPLES_SUBDIRS)
100 endif
101 DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
102
103 examples: all-am
104         @for d in $(EXAMPLES_SUBDIRS); do \
105            echo "Making examples in $$d"; \
106            $(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
107         done
108
109 install-examples:
110         @for d in $(EXAMPLES_SUBDIRS); do \
111            echo "Making install-examples in $$d"; \
112            $(MAKE) $(AM_MAKEFLAGS) -C $$d install-examples || exit 1; \
113         done
114
115 clean-local:
116         find . -type f -name '*.gcno' -delete
117         find . -type f -name '*.gcda' -delete
118         find . -type f -name check-results.xml -delete
119
120 install-exec-hook:
121         for i in $(lib_LTLIBRARIES); do sed -i "s/-luuid//" $(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`; done
122         $(EFL_INSTALL_EXEC_HOOK)