Ecore: Add Ecore_Wayland (Wayland backend like ecore_x).
[profile/ivi/ecore.git] / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 ACLOCAL_AMFLAGS = -I m4
4
5 SUBDIRS = doc src
6
7 if HAVE_PO
8
9 SUBDIRS += po
10
11 endif
12
13 MAINTAINERCLEANFILES = \
14 ABOUT-NLS \
15 Makefile.in \
16 aclocal.m4 \
17 config.guess \
18 config.h.in \
19 config.h.in~ \
20 config.rpath \
21 config.sub \
22 configure \
23 depcomp \
24 install-sh \
25 ltmain.sh \
26 missing \
27 mkinstalldirs \
28 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
29 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 \
30 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2 \
31 m4/libtool.m4 \
32 m4/lt~obsolete.m4 \
33 m4/ltoptions.m4 \
34 m4/ltsugar.m4 \
35 m4/ltversion.m4 \
36 m4/codeset.m4 \
37 m4/gettext.m4* \
38 m4/glibc2*.m4 \
39 m4/iconv.m4 \
40 m4/intdiv0.m4 \
41 m4/intldir.m4 \
42 m4/intl.m4 \
43 m4/intlmacosx.m4 \
44 m4/intmax.m4* \
45 m4/inttypes_h.m4 \
46 m4/inttypes.m4 \
47 m4/inttypes-pri.m4 \
48 m4/isc-posix.m4 \
49 m4/lcmessage.m4 \
50 m4/lib-ld.m4* \
51 m4/lib-link.m4 \
52 m4/lib-prefix.m4* \
53 m4/lock.m4 \
54 m4/longdouble.m4* \
55 m4/longlong.m4* \
56 m4/nls.m4 \
57 m4/po.m4* \
58 m4/printf-posix.m4* \
59 m4/progtest.m4 \
60 m4/signed.m4 \
61 m4/size_max.m4* \
62 m4/stdint_h.m4 \
63 m4/uintmax_t.m4 \
64 m4/ulonglong.m4* \
65 m4/visibility.m4 \
66 m4/wchar_t.m4 \
67 m4/wint_t.m4* \
68 m4/xsize.m4*
69
70 if HAVE_PO
71
72 MAINTAINERCLEANFILES += \
73 po/boldquot.sed \
74 po/en@boldquot.header \
75 po/en@quot.header \
76 po/insert-header.sin \
77 po/Makefile.in.in* \
78 po/Makevars.template \
79 po/quot.sed \
80 po/remove-potcdate.sin \
81 po/Rules-quot*
82
83 endif
84
85 bin_SCRIPTS = 
86
87 EXTRA_DIST = \
88 AUTHORS \
89 COPYING \
90 autogen.sh \
91 ecore.supp \
92 ecore.pc.in \
93 ecore-con.pc.in \
94 ecore-config.pc.in \
95 ecore-directfb.pc.in\
96 ecore-evas.pc.in \
97 ecore-fb.pc.in \
98 ecore-file.pc.in \
99 ecore-imf.pc.in \
100 ecore-imf-evas.pc.in \
101 ecore-ipc.pc.in \
102 ecore-x.pc.in \
103 ecore-win32.pc.in \
104 ecore-sdl.pc.in \
105 ecore-cocoa.pc.in \
106 ecore-psl1ght.pc.in \
107 ecore-input.pc.in \
108 ecore-wince.pc.in \
109 ecore-wayland.pc.in \
110 ecore.spec.in \
111 ecore.spec \
112 m4/ac_abstract_socket.m4 \
113 m4/ac_attribute.m4 \
114 m4/check_x_extension.m4 \
115 m4/ecore_check_module.m4 \
116 m4/ecore_check_options.m4 \
117 m4/efl_doxygen.m4 \
118 m4/efl_path_max.m4 \
119 m4/efl_tests.m4 \
120 m4/efl_threads.m4
121
122
123 pkgconfigdir = $(libdir)/pkgconfig
124 pkgconfig_DATA = ecore.pc
125
126 if BUILD_ECORE_CON
127 pkgconfig_DATA += ecore-con.pc
128 endif
129
130 if BUILD_ECORE_CONFIG
131 pkgconfig_DATA += ecore-config.pc
132 endif
133
134 if BUILD_ECORE_DIRECTFB
135 pkgconfig_DATA += ecore-directfb.pc
136 endif
137
138 if BUILD_ECORE_EVAS
139 pkgconfig_DATA += ecore-evas.pc
140 endif
141
142 if BUILD_ECORE_FB
143 pkgconfig_DATA += ecore-fb.pc
144 endif
145
146 if BUILD_ECORE_FILE
147 pkgconfig_DATA += ecore-file.pc
148 endif
149
150 if BUILD_ECORE_IMF
151 pkgconfig_DATA += ecore-imf.pc
152 endif
153
154 if BUILD_ECORE_IMF_EVAS
155 pkgconfig_DATA += ecore-imf-evas.pc
156 endif
157
158 if BUILD_ECORE_INPUT
159 pkgconfig_DATA += ecore-input.pc
160 endif
161
162 if BUILD_ECORE_INPUT_EVAS
163 pkgconfig_DATA += ecore-input-evas.pc
164 endif
165
166 if BUILD_ECORE_IPC
167 pkgconfig_DATA += ecore-ipc.pc
168 endif
169
170 if BUILD_ECORE_X
171 pkgconfig_DATA += ecore-x.pc
172 endif
173
174 if BUILD_ECORE_WIN32
175 pkgconfig_DATA += ecore-win32.pc
176 endif
177
178 if BUILD_ECORE_WINCE
179 pkgconfig_DATA += ecore-wince.pc
180 endif
181
182 if BUILD_ECORE_SDL
183 pkgconfig_DATA += ecore-sdl.pc
184 endif
185
186 if BUILD_ECORE_COCOA
187 pkgconfig_DATA += ecore-cocoa.pc
188 endif
189
190 if BUILD_ECORE_PSL1GHT
191 pkgconfig_DATA += ecore-psl1ght.pc
192 endif
193
194 if BUILD_ECORE_WAYLAND
195 pkgconfig_DATA += ecore-wayland.pc
196 endif
197
198 .PHONY: doc
199
200 # Documentation
201
202 doc:
203         @echo "entering doc/"
204         make -C doc doc
205
206 # Unit tests
207
208 if EFL_ENABLE_TESTS
209
210 check-local:
211         @./src/tests/ecore_suite
212
213 else
214
215 check-local:
216         @echo "reconfigure with --enable-tests"
217
218 endif