mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
tslib: Add USE_TSLIB conditional for clutter-event-tslib.c
This adds an automake USE_TSLIB condition to decide when we should compile clutter-event-tslib.c. This is in preparation for consolidating the eglx and eglnative backends.
This commit is contained in:
parent
5b6800bf63
commit
46bed23302
@ -17,9 +17,13 @@ noinst_LTLIBRARIES = libclutter-eglnative.la
|
||||
libclutter_eglnative_la_SOURCES = \
|
||||
clutter-backend-egl.h \
|
||||
clutter-backend-egl.c \
|
||||
clutter-event-tslib.c \
|
||||
clutter-stage-egl.h \
|
||||
clutter-stage-egl.c \
|
||||
clutter-egl-headers.h
|
||||
|
||||
if USE_TSLIB
|
||||
libclutter_eglnative_la_SOURCES += clutter-event-tslib.c
|
||||
endif
|
||||
|
||||
libclutter_eglnative_la_CPPFLAGS = $(CLUTTER_CFLAGS) $(CLUTTER_DEBUG_CFLAGS) $(MAINTAINER_CFLAGS)
|
||||
libclutter_eglnative_la_LIBADD = $(common_ldadd)
|
||||
|
@ -424,6 +424,8 @@ AS_IF([test "x$COGL_DRIVER" = "xgles"],
|
||||
]
|
||||
)
|
||||
|
||||
AM_CONDITIONAL(USE_TSLIB, [test "x$have_tslib" = "xyes"])
|
||||
|
||||
AM_CONDITIONAL(USE_GLES2_WRAPPER, [test "x$use_gles2_wrapper" = "xyes"])
|
||||
|
||||
# at this point we must have a GL header to check
|
||||
|
Loading…
Reference in New Issue
Block a user