ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = doc src po
+SUBDIRS = doc src
+if HAVE_PO
+
+SUBDIRS += po
+
+endif
MAINTAINERCLEANFILES = \
ABOUT-NLS \
Makefile.in \
aclocal.m4 \
-autom4te.cache \
config.guess \
config.h.in \
config.h.in~ \
m4/progtest.m4 \
m4/stdint_h.m4 \
m4/uintmax_t.m4 \
-m4/ulonglong.m4 \
+m4/ulonglong.m4
+
+if HAVE_PO
+
+MAINTAINERCLEANFILES += \
po/boldquot.sed \
po/en@boldquot.header \
po/en@quot.header \
po/remove-potcdate.sin \
po/Rules-quot
+endif
+
bin_SCRIPTS =
-EXTRA_DIST = AUTHORS COPYING COPYING-PLAIN \
- autogen.sh ecore.supp \
- ecore.pc.in \
- ecore-con.pc.in \
- ecore-config.pc.in \
- ecore-directfb.pc.in\
- ecore-evas.pc.in \
- ecore-fb.pc.in \
- ecore-file.pc.in \
- ecore-imf.pc.in \
- ecore-imf-evas.pc.in \
- ecore-ipc.pc.in \
- ecore-txt.pc.in \
- ecore-x.pc.in \
- ecore-win32.pc.in \
- ecore-sdl.pc.in \
- ecore-quartz.pc.in \
- ecore-input.pc.in \
- ecore-wince.pc.in \
- ecore-data.pc.in \
- ecore.spec.in ecore.spec
+EXTRA_DIST = \
+AUTHORS \
+COPYING \
+autogen.sh \
+ecore.supp \
+ecore.pc.in \
+ecore-con.pc.in \
+ecore-config.pc.in \
+ecore-directfb.pc.in\
+ecore-evas.pc.in \
+ecore-fb.pc.in \
+ecore-file.pc.in \
+ecore-imf.pc.in \
+ecore-imf-evas.pc.in \
+ecore-ipc.pc.in \
+ecore-x.pc.in \
+ecore-win32.pc.in \
+ecore-sdl.pc.in \
+ecore-cocoa.pc.in \
+ecore-input.pc.in \
+ecore-wince.pc.in \
+ecore.spec.in \
+ecore.spec \
+m4/ac_abstract_socket.m4 \
+m4/ac_attribute.m4 \
+m4/check_x_extension.m4 \
+m4/ecore_check_module.m4 \
+m4/ecore_check_options.m4 \
+m4/efl_doxygen.m4 \
+m4/efl_path_max.m4 \
+m4/efl_tests.m4 \
+m4/efl_threads.m4
+
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = ecore.pc ecore-data.pc
+pkgconfig_DATA = ecore.pc
if BUILD_ECORE_CON
pkgconfig_DATA += ecore-con.pc
pkgconfig_DATA += ecore-ipc.pc
endif
-if BUILD_ECORE_TXT
-pkgconfig_DATA += ecore-txt.pc
-endif
-
if BUILD_ECORE_X
pkgconfig_DATA += ecore-x.pc
endif
pkgconfig_DATA += ecore-sdl.pc
endif
-if BUILD_ECORE_QUARTZ
-pkgconfig_DATA += ecore-quartz.pc
+if BUILD_ECORE_COCOA
+pkgconfig_DATA += ecore-cocoa.pc
endif
.PHONY: doc
+# Documentation
+
doc:
@echo "entering doc/"
make -C doc doc
+# Unit tests
+
+if EFL_ENABLE_TESTS
+
+check-local:
+ @./src/tests/ecore_suite
+
+else
+
+check-local:
+ @echo "reconfigure with --enable-tests"
+
+endif