[*] Applied upstream r64554.
[profile/ivi/ecore.git] / Makefile.am
index 2c566e1..236341e 100644 (file)
@@ -2,14 +2,18 @@
 
 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~ \
@@ -47,7 +51,11 @@ m4/po.m4 \
 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 \
@@ -58,29 +66,43 @@ po/quot.sed \
 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-job.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.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
@@ -129,14 +151,6 @@ if BUILD_ECORE_IPC
 pkgconfig_DATA += ecore-ipc.pc
 endif
 
-if BUILD_ECORE_JOB
-pkgconfig_DATA += ecore-job.pc
-endif
-
-if BUILD_ECORE_TXT
-pkgconfig_DATA += ecore-txt.pc
-endif
-
 if BUILD_ECORE_X
 pkgconfig_DATA += ecore-x.pc
 endif
@@ -153,13 +167,28 @@ if BUILD_ECORE_SDL
 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