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