Start on ecore_evas Drm code.
authorChris Michael <cp.michael@samsung.com>
Tue, 14 May 2013 07:15:53 +0000 (08:15 +0100)
committerChris Michael <cp.michael@samsung.com>
Tue, 14 May 2013 09:49:14 +0000 (10:49 +0100)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
configure.ac
src/Makefile_Ecore_Evas.am

index 12b66ed..b47c678 100644 (file)
@@ -2960,6 +2960,7 @@ want_ecore_evas_software_ddraw="${have_evas_engine_software_ddraw}"
 want_ecore_evas_gl_cocoa="${have_evas_engine_gl_cocoa}"
 want_ecore_evas_wayland_egl="${have_evas_engine_wayland_egl}"
 want_ecore_evas_extn="yes"
+want_ecore_evas_drm="${have_evas_engine_drm}"
 
 if test "x${have_ecore_ipc}" = "xno" || \
    test "x${efl_func_shm_open}" = "xno" || \
@@ -3002,6 +3003,7 @@ AM_CONDITIONAL([BUILD_ECORE_EVAS_SDL],
 
 ECORE_EVAS_MODULE([wayland-shm], [${want_wayland}])
 ECORE_EVAS_MODULE([wayland-egl], [${want_ecore_evas_wayland_egl}])
+ECORE_EVAS_MODULE([drm], [${want_drm}])
 
 build_ecore_evas_wayland="no"
 if test "x${have_ecore_evas_wayland_shm}" = "xyes" || \
@@ -3714,6 +3716,7 @@ pc/evas-software-ddraw.pc
 pc/evas-software-sdl.pc
 pc/evas-wayland-shm.pc
 pc/evas-wayland-egl.pc
+pc/evas-drm.pc
 pc/evas.pc
 pc/ecore.pc
 pc/ecore-con.pc
index 4f8c34a..5654289 100644 (file)
@@ -200,3 +200,19 @@ modules_ecore_evas_engines_win32_module_la_DEPENDENCIES = \
 modules_ecore_evas_engines_win32_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
 modules_ecore_evas_engines_win32_module_la_LIBTOOLFLAGS = --tag=disable-static
 endif
+
+if BUILD_ECORE_EVAS_DRM
+DRMSOURCES = \
+modules/ecore_evas/engines/drm/ecore_evas_drm.c
+ecoreevasenginedrmpkgdir = $(libdir)/ecore_evas/engines/drm/$(MODULE_ARCH)
+ecoreevasenginedrmpkg_LTLIBRARIES = modules/ecore_evas/engines/drm/module.la
+modules_ecore_evas_engines_drm_module_la_SOURCES = $(DRMSOURCES)
+modules_ecore_evas_engines_drm_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
+@ECORE_EVAS_CFLAGS@ \
+-I$(top_srcdir)/src/modules/evas/engines/drm
+modules_ecore_evas_engines_drm_module_la_LIBADD = @USE_ECORE_EVAS_LIBS@
+modules_ecore_evas_engines_drm_module_la_DEPENDENCIES = @USE_ECORE_EVAS_INTERNAL_LIBS@
+modules_ecore_evas_engines_drm_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
+modules_ecore_evas_engines_drm_module_la_LIBTOOLFLAGS = --tag=disable-static
+endif
+