36 lines
780 B
Makefile
36 lines
780 B
Makefile
|
MAINTAINERCLEANFILES = Makefile.in mkinstalldirs
|
||
|
|
||
|
EDJE_CC = @edje_cc@
|
||
|
EDJE_FLAGS = -v
|
||
|
|
||
|
# data files for the module
|
||
|
filesdir = $(datadir)
|
||
|
|
||
|
files_DATA = newmail.png module_icon.png module.eap mail.edj
|
||
|
|
||
|
EXTRA_DIST = $(files_DATA) mount.edc VeraBd.ttf
|
||
|
|
||
|
# 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
|
||
|
|
||
|
module_la_LIBADD = @e_libs@ -lm
|
||
|
module_la_LDFLAGS = -module -avoid-version
|
||
|
module_la_DEPENDENCIES = $(top_builddir)/config.h
|
||
|
|
||
|
mail.edj: Makefile mail.edc
|
||
|
$(EDJE_CC) $(EDJE_FLAGS) \
|
||
|
mail.edc \
|
||
|
mail.edj
|
||
|
|
||
|
clean-local:
|
||
|
rm -rf *.edj *~
|