Tizen 2.1 release
[platform/core/uifw/e17.git] / src / modules / comp / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in
2 MODULE = comp
3
4 # data files for the module
5 filesdir = $(libdir)/enlightenment/modules/$(MODULE)
6 files_DATA = \
7 e-module-$(MODULE).edj module.desktop
8
9 EXTRA_DIST = $(files_DATA)
10
11 # the module .so file
12 INCLUDES               = -I. \
13                          -I$(top_srcdir) \
14                          -I$(top_srcdir)/src/modules/$(MODULE) \
15                          -I$(top_srcdir)/src/bin \
16                          -I$(top_builddir)/src/bin \
17                          -I$(top_srcdir)/src/modules \
18                          @e_cflags@ @WAYLAND_CFLAGS@
19
20 pkgdir                 = $(libdir)/enlightenment/modules/$(MODULE)/$(MODULE_ARCH)
21 pkg_LTLIBRARIES        = module.la
22
23 module_la_SOURCES      = e_mod_main.c \
24                          e_mod_main.h \
25                          e_mod_config.c \
26                          e_mod_config.h \
27                          e_mod_comp.c \
28                          e_mod_comp.h \
29                          e_mod_comp_update.c \
30                          e_mod_comp_update.h \
31                          e_mod_comp_cfdata.c \
32                          e_mod_comp_cfdata.h
33 if HAVE_WAYLAND_CLIENTS
34 module_la_SOURCES += e_mod_comp_wl.h \
35                      e_mod_comp_wl.c \
36                      e_mod_comp_wl_comp.h \
37                      e_mod_comp_wl_comp.c \
38                      e_mod_comp_wl_output.h \
39                      e_mod_comp_wl_output.c \
40                      e_mod_comp_wl_input.h \
41                      e_mod_comp_wl_input.c \
42                      e_mod_comp_wl_shell.h \
43                      e_mod_comp_wl_shell.c \
44                      e_mod_comp_wl_surface.h \
45                      e_mod_comp_wl_surface.c \
46                      e_mod_comp_wl_buffer.h \
47                      e_mod_comp_wl_buffer.c \
48                      e_mod_comp_wl_region.h \
49                      e_mod_comp_wl_region.c
50 endif
51
52 module_la_LIBADD       = @e_libs@ @dlopen_libs@ @WAYLAND_LIBS@
53 module_la_LDFLAGS      = -module -avoid-version
54 module_la_DEPENDENCIES = $(top_builddir)/config.h
55
56 uninstall:
57         rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)