update for beta release
[framework/uifw/e17.git] / src / modules / conf_randr / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in module.desktop
2 MODULE = conf_randr
3
4 EDJE_CC = @edje_cc@
5 EDJE_FLAGS = -v \
6            -id $(top_srcdir)/src/modules/$(MODULE)/images \
7            @EDJE_DEF@
8
9 # data files for the module
10 filesdir = $(libdir)/enlightenment/modules/$(MODULE)
11 files_DATA = \
12            e-module-$(MODULE).edj \
13            module.desktop
14
15 EXTRA_DIST = \
16            images/display-glass-shine.png \
17            images/display.png \
18            images/icon.png \
19            images/video-display.png \
20            e-module-$(MODULE).edc \
21            module.desktop.in
22
23 # the module .so file
24 INCLUDES               = -I. \
25                          -I$(top_srcdir) \
26                          -I$(top_srcdir)/src/modules/$(MODULE) \
27                          -I$(top_srcdir)/src/bin \
28                          -I$(top_builddir)/src/bin \
29                          -I$(top_srcdir)/src/lib \
30                          -I$(top_srcdir)/src/modules \
31                          @e_cflags@
32 pkgdir                 = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
33 pkg_LTLIBRARIES        = module.la
34 module_la_SOURCES      = e_mod_main.c \
35                          e_mod_main.h \
36                          e_int_config_randr_orientation.c \
37                          e_int_config_randr_resolutions.c \
38                          e_int_config_randr_arrangement.c \
39                          e_int_config_randr_policies.c \
40                          e_int_config_randr.c \
41                          e_int_config_randr.h
42
43 module_la_LIBADD       = @e_libs@ @dlopen_libs@
44 module_la_LDFLAGS      = -module -avoid-version
45 module_la_DEPENDENCIES = $(top_builddir)/config.h
46
47 e-module-$(MODULE).edj: Makefile $(EXTRA_DIST)
48         $(EDJE_CC) $(EDJE_FLAGS) \
49         $(top_srcdir)/src/modules/$(MODULE)/e-module-$(MODULE).edc \
50         $(top_builddir)/src/modules/$(MODULE)/e-module-$(MODULE).edj
51
52 clean-local:
53         rm -f *.edj
54
55 uninstall:
56         rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)