summaryrefslogtreecommitdiff
path: root/src/modules/illume-indicator/Makefile.am
blob: 541df75ec464970a63c7758b817812c427810aa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
MAINTAINERCLEANFILES = Makefile.in
MODULE = illume-indicator
SUBDIRS = images

EDJE_CC = @edje_cc@
EDJE_FLAGS_VERBOSE_ = 
EDJE_FLAGS_VERBOSE_0 = 
EDJE_FLAGS_VERBOSE_1 = -v
EDJE_FLAGS = $(EDJE_FLAGS_$(V)) \
           -id $(top_srcdir)/src/modules/$(MODULE)/images \
           @EDJE_DEF@

# data files for the module
filesdir = $(libdir)/enlightenment/modules/$(MODULE)
files_DATA = \
           e-module-$(MODULE).edj \
           module.desktop

EXTRA_DIST = \
           e-module-$(MODULE).edc \
           module.desktop.in

# the module .so file
AM_CPPFLAGS               = -I. \
                         -I$(top_srcdir) \
                         -I$(top_srcdir)/src/modules/$(MODULE) \
                         -I$(top_srcdir)/src/bin \
                         -I$(top_builddir)/src/bin \
                         -I$(top_srcdir)/src/modules \
                         @e_cflags@ @ENOTIFY_CFLAGS@

pkgdir                 = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
pkg_LTLIBRARIES        = module.la

module_la_SOURCES      = \
                       e_mod_ind_win.c \
                       e_mod_ind_win.h \
                       e_mod_config.c \
                       e_mod_config.h \
                       e_mod_main.c \
                       e_mod_main.h

if HAVE_ENOTIFY
module_la_SOURCES += e_mod_notify.h e_mod_notify.c
endif

module_la_LIBADD       = @e_libs@ @ENOTIFY_LIBS@ @dlopen_libs@
module_la_LDFLAGS      = -module -avoid-version
module_la_DEPENDENCIES = $(top_builddir)/config.h

e-module-$(MODULE).edj: Makefile $(EXTRA_DIST)
	$(EDJE_CC) $(EDJE_FLAGS) \
	$(top_srcdir)/src/modules/$(MODULE)/e-module-$(MODULE).edc \
	$(top_builddir)/src/modules/$(MODULE)/e-module-$(MODULE).edj

clean-local:
	rm -f *.edj

uninstall:
	rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)