mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-10 10:20:24 +01:00
This commit introduces build script configuration for building a shared library 'libinput.so' containing the evdev input device functionality from weston. evdev.c, evdev.h and evdev-touchpad.c are ported to not use the data structures and API in weston and libwayland-server in order to minimize dependencies. The API of filter.c and filter.h are renamed to not include the 'weston_' prefix. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
26 lines
480 B
Makefile
26 lines
480 B
Makefile
lib_LTLIBRARIES = libinput.la
|
|
|
|
include_HEADERS = \
|
|
libinput.h
|
|
|
|
libinput_la_SOURCES = \
|
|
libinput.c \
|
|
libinput.h \
|
|
evdev.c \
|
|
evdev.h \
|
|
evdev-touchpad.c \
|
|
filter.c \
|
|
filter.h
|
|
|
|
libinput_la_LIBADD = $(MTDEV_LIBS)
|
|
libinput_la_CFLAGS = $(MTDEV_CFLAGS) \
|
|
$(GCC_CFLAGS)
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
pkgconfig_DATA = libinput.pc
|
|
|
|
AM_CPPFLAGS = $(FFI_CFLAGS)
|
|
AM_CFLAGS = $(GCC_CFLAGS)
|
|
|
|
DISTCLEANFILES = libinput-version.h
|
|
EXTRA_DIST = libinput-version.h.in
|