aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_X.am
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-27 14:22:27 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-28 23:00:34 +0900
commit2d63a704222fa27d61a53d6b7248cd7e01ebb100 (patch)
tree5fc471053b54615d0bdf2d7d609520f10f661700 /src/Makefile_Ecore_X.am
parentadd simple ecore_con_url test suite (diff)
downloadefl-2d63a704222fa27d61a53d6b7248cd7e01ebb100.tar.gz
ecore x vsync animator support - add a glx based vsync ticker
this adds a slave process that is useful on nvidia drivers as there isn't another way to get vsync evenys (that i know about). i need to make another slave process to that includes a dri2 protocol implementation since mesa has now hidden its dri2 symbols.
Diffstat (limited to 'src/Makefile_Ecore_X.am')
-rw-r--r--src/Makefile_Ecore_X.am24
1 files changed, 21 insertions, 3 deletions
diff --git a/src/Makefile_Ecore_X.am b/src/Makefile_Ecore_X.am
index fcb4bb4a8b..5cc4ccf138 100644
--- a/src/Makefile_Ecore_X.am
+++ b/src/Makefile_Ecore_X.am
@@ -1,5 +1,19 @@
if HAVE_ECORE_X
+ecore_x_vsync_bin_PROGRAMS = lib/ecore_x/ecore_x_vsync
+ecore_x_vsync_bindir = $(libdir)/ecore_x/bin/$(MODULE_ARCH)
+lib_ecore_x_ecore_x_vsync_SOURCES = \
+lib/ecore_x/ecore_x_vsync_tool.c \
+lib/ecore_x/ecore_x_vsync_tool_glx.c
+lib_ecore_x_ecore_x_vsync_CPPFLAGS = \
+-I$(top_builddir)/src/lib/efl \
+@ECORE_CFLAGS@ @ECORE_CON_CFLAGS@ @EINA_CFLAGS@ \
+-DPACKAGE_BIN_DIR=\"$(bindir)\" \
+-DPACKAGE_LIB_DIR=\"$(libdir)\" \
+-DPACKAGE_DATA_DIR=\"$(datadir)/ecore_x\"
+lib_ecore_x_ecore_x_vsync_LDADD = @USE_EINA_LIBS@ @USE_ECORE_LIBS@ @USE_ECORE_CON_LIBS@
+lib_ecore_x_ecore_x_vsync_DEPENDENCIES = @EINA_INTERNAL_LIBS@ @ECORE_INTERNAL_LIBS@ @ECORE_CON_INTERNAL_LIBS@
+
### Library
lib_LTLIBRARIES += lib/ecore_x/libecore_x.la
@@ -93,12 +107,17 @@ lib/ecore_x/xlib/ecore_x_gesture.c \
lib/ecore_x/xlib/ecore_x_private.h
endif
-lib_ecore_x_libecore_x_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ECORE_X_CFLAGS@
+lib_ecore_x_libecore_x_la_CPPFLAGS = \
+-I$(top_builddir)/src/lib/efl \
+@ECORE_X_CFLAGS@ @ECORE_CON_CFLAGS@ \
+-DPACKAGE_BIN_DIR=\"$(bindir)\" \
+-DPACKAGE_LIB_DIR=\"$(libdir)\" \
+-DPACKAGE_DATA_DIR=\"$(datadir)/ecore_x\"
if HAVE_ECORE_X_XCB
lib_ecore_x_libecore_x_la_CPPFLAGS += -I$(top_builddir)/src/lib/ecore_x/xcb
endif
-lib_ecore_x_libecore_x_la_LIBADD = @ECORE_X_LIBS@
+lib_ecore_x_libecore_x_la_LIBADD = @ECORE_X_LIBS@ @USE_ECORE_CON_LIBS@
lib_ecore_x_libecore_x_la_DEPENDENCIES = @ECORE_X_INTERNAL_LIBS@
lib_ecore_x_libecore_x_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
@@ -125,4 +144,3 @@ utils_ecore_makekeys_CFLAGS = @ECORE_X_CFLAGS@
endif
EXTRA_DIST += utils/ecore/mkks.sh
-