sugar-toolkit-gtk3/src/sugar3/event-controller/Makefile.am
Carlos Garnacho ade02f958b event-controller: Add separate library for event controllers
SugarEventController is an abstract object that attaches to a widget
and interprets an arbitrary set of events. Implementations of that
object get to define the sequence of events that trigger these.

The basic touch gestures (long press, rotate, swipe, zoom) have
been implemented on top of that object.

Signed-off-by: Carlos Garnacho <carlos@lanedo.com>
Acked-by: Simon Schampijer <simon@laptop.org>
2012-09-16 12:10:30 +02:00

52 lines
1.4 KiB
Makefile

lib_LTLIBRARIES = libsugar-eventcontroller.la
libsugar_eventcontroller_la_LDFLAGS = $(LDADD)
libsugar_eventcontroller_la_LIBADD = $(EXT_LIBS)
libsugar_eventcontrollerincludedir = $(includedir)/sugar-3.0/event-controller/
libsugar_eventcontroller_la_CFLAGS = \
$(EXT_CFLAGS) \
$(WARN_FLAGS) \
-DSUGAR_TOOLKIT_COMPILATION
eventcontroller_h_sources = \
sugar-event-controller.h \
sugar-event-controllers.h \
sugar-long-press-controller.h \
sugar-rotate-controller.h \
sugar-swipe-controller.h \
sugar-zoom-controller.h
eventcontroller_c_sources = \
sugar-event-controller.c \
sugar-long-press-controller.c \
sugar-rotate-controller.c \
sugar-swipe-controller.c \
sugar-zoom-controller.c
libsugar_eventcontroller_la_SOURCES = \
$(BUILT_SOURCES) \
$(eventcontroller_h_sources) \
$(eventcontroller_c_sources)
libsugar_eventcontrollerinclude_HEADERS = \
$(eventcontroller_h_sources)
BUILT_SOURCES = \
sugar-enum-types.c \
sugar-enum-types.h
sugar-enum-types.h: sugar-enum-types.h.template $(eventcontroller_h_sources)
$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template sugar-enum-types.h.template $(eventcontroller_h_sources)) > $@
sugar-enum-types.c: sugar-enum-types.c.template $(eventcontroller_h_sources)
$(AM_V_GEN) (cd $(srcdir) && $(GLIB_MKENUMS) --template sugar-enum-types.c.template $(eventcontroller_h_sources)) > $@
EXTRA_DIST = \
sugar-enum-types.c.template \
sugar-enum-types.h.template
CLEANFILES = $(BUILT_SOURCES)