enlightenment-module-mail/Makefile.am

54 lines
1.1 KiB
Makefile

MAINTAINERCLEANFILES = Makefile.in mkinstalldirs
SUBDIRS = po
EDJE_FLAGS = -v \
-id $(top_srcdir) \
-fd $(top_srcdir)
# data files for the module
filesdir = $(datadir)
files_DATA = module.desktop \
e-module-mail.edj \
mail.edj
EXTRA_DIST = $(files_DATA) \
mail.edc \
checking.png \
newmail.png \
VeraBd.ttf \
module_icon.png
# the module .so file
INCLUDES = -I. \
-I$(top_srcdir) \
-I$(includedir) \
@E_CFLAGS@
pkgdir = $(datadir)/$(MODULE_ARCH)
pkg_LTLIBRARIES = module.la
module_la_SOURCES = e_mod_main.c \
e_mod_main.h \
e_mod_config.c \
e_mod_config_box.h \
e_mod_config_box.c \
pop.h pop.c \
mdir.h mdir.c \
mbox.h mbox.c
if IMAP2
module_la_SOURCES += imap2.h imap2.c
else
module_la_SOURCES += imap.h imap.c
endif
module_la_LIBADD = @E_LIBS@
module_la_LDFLAGS = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h $(top_builddir)/mail.edj
%.edj: %.edc
$(EDJE_CC) $(EDJE_FLAGS) $< $@
clean-local:
rm -rf mail.edj *~