Tizen 2.1 release
[platform/core/uifw/e17.git] / src / modules / wl_drm / Makefile.am
1 MAINTAINERCLEANFILES = Makefile.in
2 MODULE = wl_drm
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/e_wayland \
16                          -I$(top_builddir)/src/bin/e_wayland \
17                          -I$(top_srcdir)/src/modules \
18                          @e_wl_cflags@ @WAYLAND_DRM_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_tty.c \
26                          e_sprite.c \
27                          e_drm_output.c \
28                          e_evdev.c
29
30 module_la_LIBADD       = @e_wl_libs@ @dlopen_libs@ @WAYLAND_DRM_LIBS@
31 module_la_LDFLAGS      = -module -avoid-version
32 module_la_DEPENDENCIES = $(top_builddir)/config.h
33
34 uninstall:
35         rm -rf $(DESTDIR)$(libdir)/enlightenment/modules/$(MODULE)