-SUBDIRS = src data doc po intl
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
+AUTOMAKE_OPTIONS = subdir-objects foreign
-MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
- config.h.in config.sub configure install-sh \
- ltconfig ltmain.sh missing mkinstalldirs \
- stamp-h.in acconfig.h
+SUBDIRS = tests
+CLEANFILES =
+DISTCLEANFILES =
+INSTALL_DATA_HOOKS =
+PHONIES =
-bin_SCRIPTS = enlightenment-config
+MAINTAINERCLEANFILES = \
+ABOUT-NLS* \
+Makefile.in \
+aclocal.m4 \
+compile \
+config.guess \
+config.h.in \
+config.h.in~ \
+config.rpath \
+config.sub \
+configure \
+depcomp \
+install-sh \
+ltmain.sh \
+missing \
+$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \
+$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2
-EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN enlightenment.spec
+EXTRA_DIST = \
+config.rpath \
+README \
+AUTHORS \
+COPYING \
+enlightenment.pc \
+pkgbuild/PKGBUILD \
+pkgbuild/enlightenment.install
+
+EDJE_CC = $(EDJE_CC_$(V))
+EDJE_CC_ = $(EDJE_CC_$(AM_DEFAULT_VERBOSITY))
+EDJE_CC_0 = @echo " EDJE_CC " $@; @edje_cc@
+EDJE_CC_1 = @edje_cc@
+
+EDJE_FLAGS_VERBOSE_ = $(EDJE_FLAGS_VERBOSE_$(AM_DEFAULT_VERBOSITY))
+EDJE_FLAGS_VERBOSE_0 =
+EDJE_FLAGS_VERBOSE_1 = -v
+EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V)) \
+@EDJE_DEF@
+
+include m4/Makefile.mk
+
+DISTCHECK_CONFIGURE_FLAGS = --disable-systemd
+
+include config/Makefile.mk
+
+include data/Makefile.mk
+
+include src/Makefile.mk
+
+filesdir = $(datadir)/enlightenment/
+files_DATA = AUTHORS COPYING
+
+pkgconfigdir = $(libdir)/pkgconfig
+
+pkgconfig_DATA = enlightenment.pc
+
+.PHONY: $(PHONIES)
+
+isudir = $(sysconfdir)/isu/enlightenment/
+isu_DATA = isu/isu.cfg
+
+isusystemservicesdir = $(sysconfdir)/isu/enlightenment/system-services/
+isusystemservices_DATA = isu/system-services/display-manager.service
+
+clean-local:
+ rm -rf config/*.cfg config/*~
+ rm -rf config/standard/*.cfg config/standard/*~
+ rm -rf config/tiling/*.cfg config/tiling/*~
+ rm -rf config/mobile/*.cfg config/mobile/*~
+ rm -rf config/default/*.cfg config/default/*~
+ rm -f data/themes/*.edj
+
+install-data-hook: $(INSTALL_DATA_HOOKS)