summaryrefslogtreecommitdiff
path: root/src/Makefile_Evas.am
diff options
context:
space:
mode:
authorCedric BAIL <c.bail@partner.samsung.com>2014-07-11 15:15:42 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-11 15:32:51 +0200
commit79ea41b2056ff55fa95b7f31232bbab820ad19f4 (patch)
tree46b366ae28f3bec8fcbfa5e7393f20c620176fda /src/Makefile_Evas.am
parentac9cd3589286f2e3b42fad227bf66dd0c375ebeb (diff)
autotools: turn on build for gl_generic backend.
Diffstat (limited to 'src/Makefile_Evas.am')
-rw-r--r--src/Makefile_Evas.am39
1 files changed, 28 insertions, 11 deletions
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index 2491b97aef..486e859bc8 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -835,8 +835,12 @@ modules/evas/engines/gl_common/shader/yuy2_nomul_frag.shd \
835modules/evas/engines/gl_common/shader/yuy2_nomul_vert.shd \ 835modules/evas/engines/gl_common/shader/yuy2_nomul_vert.shd \
836modules/evas/engines/gl_common/shader/yuy2_vert.shd 836modules/evas/engines/gl_common/shader/yuy2_vert.shd
837 837
838dist_installed_evasmainheaders_DATA += modules/evas/engines/gl_generic/Evas_Engine_GL_Generic.h
839GL_GENERIC_SOURCES = \
840modules/evas/engines/gl_generic/evas_engine.c
841
838if EVAS_STATIC_BUILD_GL_COMMON 842if EVAS_STATIC_BUILD_GL_COMMON
839lib_evas_libevas_la_SOURCES += $(GL_COMMON_SOURCES) 843lib_evas_libevas_la_SOURCES += $(GL_COMMON_SOURCES) $(GL_GENERIC_SOURCES)
840lib_evas_libevas_la_LIBADD += @evas_engine_gl_common_libs@ 844lib_evas_libevas_la_LIBADD += @evas_engine_gl_common_libs@
841else 845else
842noinst_LTLIBRARIES += modules/evas/engines/gl_common/libevas_engine_gl_common.la 846noinst_LTLIBRARIES += modules/evas/engines/gl_common/libevas_engine_gl_common.la
@@ -845,6 +849,27 @@ modules_evas_engines_gl_common_libevas_engine_gl_common_la_CPPFLAGS = -I$(top_bu
845-I$(top_srcdir)/src/lib/evas/include \ 849-I$(top_srcdir)/src/lib/evas/include \
846-I$(top_srcdir)/src/lib/evas/cserve2 \ 850-I$(top_srcdir)/src/lib/evas/cserve2 \
847@EVAS_CFLAGS@ 851@EVAS_CFLAGS@
852
853# The generic backend for GL
854engineglgenericpkgdir = $(libdir)/evas/modules/engines/gl_generic/$(MODULE_ARCH)
855engineglgenericpkg_LTLIBRARIES = modules/evas/engines/gl_generic/module.la
856modules_evas_engines_gl_generic_module_la_SOURCES = $(GL_GENERIC_SOURCES)
857modules_evas_engines_gl_generic_module_la_CFLAGS = \
858-I$(top_builddir)/src/lib/efl \
859-I$(top_srcdir)/src/lib/evas/include \
860-I$(top_srcdir)/src/lib/evas/cserve2 \
861-I$(top_srcdir)/src/modules/evas/engines/gl_common \
862@EVAS_CFLAGS@
863modules_evas_engines_gl_generic_module_la_LIBADD = \
864modules/evas/engines/gl_common/libevas_engine_gl_common.la \
865@evas_engine_gl_common_libs@ \
866@USE_EVAS_LIBS@
867modules_evas_engines_gl_generic_module_la_DEPENDENCIES = \
868@USE_EVAS_INTERNAL_LIBS@ \
869modules/evas/engines/gl_common/libevas_engine_gl_common.la
870modules_evas_engines_gl_generic_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
871modules_evas_engines_gl_generic_module_la_LIBTOOLFLAGS = --tag=disable-static
872
848if BUILD_ENGINE_GL_X11 873if BUILD_ENGINE_GL_X11
849modules_evas_engines_gl_common_libevas_engine_gl_common_la_CPPFLAGS += @evas_engine_gl_xlib_cflags@ @evas_engine_gl_xcb_cflags@ 874modules_evas_engines_gl_common_libevas_engine_gl_common_la_CPPFLAGS += @evas_engine_gl_xlib_cflags@ @evas_engine_gl_xcb_cflags@
850endif 875endif
@@ -939,7 +964,6 @@ modules/evas/engines/gl_x11/evas_engine.h
939if EVAS_STATIC_BUILD_GL_X11 964if EVAS_STATIC_BUILD_GL_X11
940lib_evas_libevas_la_SOURCES += $(GL_X11_SOURCES) 965lib_evas_libevas_la_SOURCES += $(GL_X11_SOURCES)
941lib_evas_libevas_la_CPPFLAGS += \ 966lib_evas_libevas_la_CPPFLAGS += \
942-I$(top_srcdir)/src/modules/evas/engines/gl_common \
943@evas_engine_gl_xlib_cflags@ @evas_engine_gl_xcb_cflags@ 967@evas_engine_gl_xlib_cflags@ @evas_engine_gl_xcb_cflags@
944lib_evas_libevas_la_LIBADD += \ 968lib_evas_libevas_la_LIBADD += \
945@evas_engine_gl_xlib_libs@ @evas_engine_gl_xcb_libs@ 969@evas_engine_gl_xlib_libs@ @evas_engine_gl_xcb_libs@
@@ -950,22 +974,15 @@ modules_evas_engines_gl_x11_module_la_SOURCES = $(GL_X11_SOURCES)
950modules_evas_engines_gl_x11_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ 974modules_evas_engines_gl_x11_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
951-I$(top_srcdir)/src/lib/evas/include \ 975-I$(top_srcdir)/src/lib/evas/include \
952-I$(top_srcdir)/src/lib/evas/cserve2 \ 976-I$(top_srcdir)/src/lib/evas/cserve2 \
953-I$(top_srcdir)/src/modules/evas/engines/gl_common \
954@EVAS_CFLAGS@ \ 977@EVAS_CFLAGS@ \
955@evas_engine_gl_xlib_cflags@ \ 978@evas_engine_gl_xlib_cflags@ \
956@evas_engine_gl_xcb_cflags@ 979@evas_engine_gl_xcb_cflags@
957modules_evas_engines_gl_x11_module_la_LIBADD = 980modules_evas_engines_gl_x11_module_la_LIBADD = \
958if ! EVAS_STATIC_BUILD_GL_COMMON
959modules_evas_engines_gl_x11_module_la_LIBADD += \
960modules/evas/engines/gl_common/libevas_engine_gl_common.la
961endif
962modules_evas_engines_gl_x11_module_la_LIBADD += \
963@USE_EVAS_LIBS@ \ 981@USE_EVAS_LIBS@ \
964@evas_engine_gl_xlib_libs@ \ 982@evas_engine_gl_xlib_libs@ \
965@evas_engine_gl_xcb_libs@ 983@evas_engine_gl_xcb_libs@
966modules_evas_engines_gl_x11_module_la_DEPENDENCIES = \ 984modules_evas_engines_gl_x11_module_la_DEPENDENCIES = \
967@USE_EVAS_INTERNAL_LIBS@ \ 985@USE_EVAS_INTERNAL_LIBS@
968modules/evas/engines/gl_common/libevas_engine_gl_common.la
969modules_evas_engines_gl_x11_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@ 986modules_evas_engines_gl_x11_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
970modules_evas_engines_gl_x11_module_la_LIBTOOLFLAGS = --tag=disable-static 987modules_evas_engines_gl_x11_module_la_LIBTOOLFLAGS = --tag=disable-static
971endif 988endif