don't always add po/ subdir
[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 autom4te.cache \
18 config.guess \
19 config.h.in \
20 config.h.in~ \
21 config.rpath \
22 config.sub \
23 configure \
24 depcomp \
25 install-sh \
26 ltmain.sh \
27 missing \
28 mkinstalldirs \
29 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
30 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 \
31 $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)-doc.tar.bz2 \
32 m4/libtool.m4 \
33 m4/lt~obsolete.m4 \
34 m4/ltoptions.m4 \
35 m4/ltsugar.m4 \
36 m4/ltversion.m4 \
37 m4/codeset.m4 \
38 m4/gettext.m4 \
39 m4/glibc21.m4 \
40 m4/iconv.m4 \
41 m4/intdiv0.m4 \
42 m4/inttypes_h.m4 \
43 m4/inttypes.m4 \
44 m4/inttypes-pri.m4 \
45 m4/isc-posix.m4 \
46 m4/lcmessage.m4 \
47 m4/lib-ld.m4 \
48 m4/lib-link.m4 \
49 m4/lib-prefix.m4 \
50 m4/nls.m4 \
51 m4/po.m4 \
52 m4/progtest.m4 \
53 m4/stdint_h.m4 \
54 m4/uintmax_t.m4 \
55 m4/ulonglong.m4
56
57 if HAVE_PO
58
59 MAINTAINERCLEANFILES += \
60 po/boldquot.sed \
61 po/en@boldquot.header \
62 po/en@quot.header \
63 po/insert-header.sin \
64 po/Makefile.in.in \
65 po/Makevars.template \
66 po/quot.sed \
67 po/remove-potcdate.sin \
68 po/Rules-quot
69
70 endif
71
72 bin_SCRIPTS = 
73
74 EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN \
75              autogen.sh ecore.supp \
76              ecore.pc.in \
77              ecore-con.pc.in \
78              ecore-config.pc.in \
79              ecore-directfb.pc.in\
80              ecore-evas.pc.in \
81              ecore-fb.pc.in \
82              ecore-file.pc.in \
83              ecore-imf.pc.in \
84              ecore-imf-evas.pc.in \
85              ecore-ipc.pc.in \
86              ecore-x.pc.in \
87              ecore-win32.pc.in \
88              ecore-sdl.pc.in \
89              ecore-cocoa.pc.in \
90              ecore-input.pc.in \
91              ecore-wince.pc.in \
92              ecore.spec.in ecore.spec
93
94 pkgconfigdir = $(libdir)/pkgconfig
95 pkgconfig_DATA = ecore.pc
96
97 if BUILD_ECORE_CON
98 pkgconfig_DATA += ecore-con.pc
99 endif
100
101 if BUILD_ECORE_CONFIG
102 pkgconfig_DATA += ecore-config.pc
103 endif
104
105 if BUILD_ECORE_DIRECTFB
106 pkgconfig_DATA += ecore-directfb.pc
107 endif
108
109 if BUILD_ECORE_EVAS
110 pkgconfig_DATA += ecore-evas.pc
111 endif
112
113 if BUILD_ECORE_FB
114 pkgconfig_DATA += ecore-fb.pc
115 endif
116
117 if BUILD_ECORE_FILE
118 pkgconfig_DATA += ecore-file.pc
119 endif
120
121 if BUILD_ECORE_IMF
122 pkgconfig_DATA += ecore-imf.pc
123 endif
124
125 if BUILD_ECORE_IMF_EVAS
126 pkgconfig_DATA += ecore-imf-evas.pc
127 endif
128
129 if BUILD_ECORE_INPUT
130 pkgconfig_DATA += ecore-input.pc
131 endif
132
133 if BUILD_ECORE_INPUT_EVAS
134 pkgconfig_DATA += ecore-input-evas.pc
135 endif
136
137 if BUILD_ECORE_IPC
138 pkgconfig_DATA += ecore-ipc.pc
139 endif
140
141 if BUILD_ECORE_X
142 pkgconfig_DATA += ecore-x.pc
143 endif
144
145 if BUILD_ECORE_WIN32
146 pkgconfig_DATA += ecore-win32.pc
147 endif
148
149 if BUILD_ECORE_WINCE
150 pkgconfig_DATA += ecore-wince.pc
151 endif
152
153 if BUILD_ECORE_SDL
154 pkgconfig_DATA += ecore-sdl.pc
155 endif
156
157 if BUILD_ECORE_COCOA
158 pkgconfig_DATA += ecore-cocoa.pc
159 endif
160
161 .PHONY: doc
162
163 # Documentation
164
165 doc:
166         @echo "entering doc/"
167         make -C doc doc
168
169 # Unit tests
170
171 if EFL_ENABLE_TESTS
172
173 check-local:
174         @./src/tests/ecore_suite
175
176 else
177
178 check-local:
179         @echo "reconfigure with --enable-tests"
180
181 endif