summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Drm.am
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-03-06 11:17:26 +0000
committerChris Michael <cp.michael@samsung.com>2014-03-06 11:17:26 +0000
commit667702d1a513de22ec815f686ba2daabc5957669 (patch)
treed5ab062cce2dafe0791dc0dce2a843a3b0ccbf38 /src/Makefile_Ecore_Drm.am
parent5938f486f3d0bc3c3593bd26c26f260ce9df10e9 (diff)
ecore-drm: Add ecore-drm Makefile
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/Makefile_Ecore_Drm.am')
-rw-r--r--src/Makefile_Ecore_Drm.am56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/Makefile_Ecore_Drm.am b/src/Makefile_Ecore_Drm.am
new file mode 100644
index 0000000000..42b280cf31
--- /dev/null
+++ b/src/Makefile_Ecore_Drm.am
@@ -0,0 +1,56 @@
1if HAVE_ECORE_DRM
2
3### Library
4
5lib_LTLIBRARIES += lib/ecore_drm/libecore_drm.la
6
7installed_ecoredrmmainheadersdir = $(includedir)/ecore-drm-@VMAJ@
8dist_installed_ecoredrmmainheaders_DATA = \
9 lib/ecore_drm/Ecore_Drm.h
10
11lib_ecore_drm_libecore_drm_la_SOURCES = \
12lib/ecore_drm/ecore_drm_sprites.c \
13lib/ecore_drm/ecore_drm_fb.c \
14lib/ecore_drm/ecore_drm_evdev.c \
15lib/ecore_drm/ecore_drm_inputs.c \
16lib/ecore_drm/ecore_drm_output.c \
17lib/ecore_drm/ecore_drm_tty.c \
18lib/ecore_drm/ecore_drm_device.c \
19lib/ecore_drm/ecore_drm.c \
20lib/ecore_drm/ecore_drm_private.h
21
22lib_ecore_drm_libecore_drm_la_CPPFLAGS = \
23 -I$(top_builddir)/src/lib/efl \
24 @ECORE_DRM_CFLAGS@ \
25 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
26 -DMODULE_ARCH=\"$(MODULE_ARCH)\"
27
28lib_ecore_drm_libecore_drm_la_LIBADD = @ECORE_DRM_LIBS@
29lib_ecore_drm_libecore_drm_la_DEPENDENCIES = @ECORE_DRM_INTERNAL_LIBS@
30lib_ecore_drm_libecore_drm_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
31
32### Drm Launch Binary
33
34ecoredrmlaunchinternal_bindir = $(libdir)/ecore_drm/bin/$(MODULE_ARCH)
35ecoredrmlaunchinternal_bin_PROGRAMS = bin/ecore_drm/ecore_drm_launch
36
37bin_ecore_drm_ecore_drm_launch_SOURCES = \
38 bin/ecore_drm/ecore_drm_launch.c
39
40bin_ecore_drm_ecore_drm_launch_CPPFLAGS = \
41 -I$(top_builddir)/src/lib/efl \
42 @ECORE_DRM_CFLAGS@ @SUID_CFLAGS@ \
43 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
44 -DMODULE_ARCH=\"$(MODULE_ARCH)\"
45
46bin_ecore_drm_ecore_drm_launch_LDADD = \
47 @ECORE_DRM_LIBS@ \
48 @SUID_LDFLAGS@
49
50bin_ecore_drm_ecore_drm_launch_DEPENDENCIES = \
51 @USE_ECORE_DRM_INTERNAL_LIBS@
52
53setuid_root_mode = a=rx,u+xs
54EFL_INSTALL_EXEC_HOOK += @chmod $(setuid_root_mode) $(DESTDIR)$(libdir)/ecore_drm/bin/$(MODULE_ARCH)/ecore_drm_launch$(EXEEXT) || true;
55
56endif