summaryrefslogtreecommitdiff
path: root/src/modules/comp/Makefile.am
blob: 3af451cfe0820eab13eb94ab14857f4e17f28736 (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
MAINTAINERCLEANFILES = Makefile.in
MODULE = comp

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

EXTRA_DIST = $(files_DATA)

# 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@ @WAYLAND_CFLAGS@

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

module_la_SOURCES      = e_mod_main.c \
                         e_mod_main.h \
			 e_mod_config.c \
			 e_mod_config.h \
                         e_mod_comp.c \
                         e_mod_comp.h \
                         e_mod_comp_update.c \
                         e_mod_comp_update.h \
                         e_mod_comp_cfdata.c \
                         e_mod_comp_cfdata.h
if HAVE_WAYLAND_CLIENTS
module_la_SOURCES += e_mod_comp_wl.h \
                     e_mod_comp_wl.c \
                     e_mod_comp_wl_comp.h \
                     e_mod_comp_wl_comp.c \
                     e_mod_comp_wl_output.h \
                     e_mod_comp_wl_output.c \
                     e_mod_comp_wl_input.h \
                     e_mod_comp_wl_input.c \
                     e_mod_comp_wl_shell.h \
                     e_mod_comp_wl_shell.c \
                     e_mod_comp_wl_surface.h \
                     e_mod_comp_wl_surface.c \
                     e_mod_comp_wl_buffer.h \
                     e_mod_comp_wl_buffer.c \
                     e_mod_comp_wl_region.h \
                     e_mod_comp_wl_region.c
endif

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

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