summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 343e75c715452fa59b4abe0ffc5c2ebe55cad0c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
lib_LTLIBRARIES = libinput.la
noinst_LTLIBRARIES = libinput-util.la \
		     libfilter.la

include_HEADERS =			\
	libinput.h

libinput_la_SOURCES =			\
	libinput.c			\
	libinput.h			\
	libinput-private.h		\
	evdev.c				\
	evdev.h				\
	evdev-middle-button.c		\
	evdev-mt-touchpad.c		\
	evdev-mt-touchpad.h		\
	evdev-mt-touchpad-tap.c		\
	evdev-mt-touchpad-buttons.c	\
	evdev-mt-touchpad-edge-scroll.c	\
	evdev-mt-touchpad-gestures.c	\
	evdev-tablet.c			\
	evdev-tablet.h			\
	filter.c			\
	filter.h			\
	filter-private.h		\
	path.h				\
	path.c				\
	udev-seat.c			\
	udev-seat.h			\
	timer.c				\
	timer.h				\
	../include/linux/input.h

libinput_la_LIBADD = $(MTDEV_LIBS) \
		     $(LIBUDEV_LIBS) \
		     $(LIBEVDEV_LIBS) \
		     $(LIBWACOM_LIBS) \
		     libinput-util.la

libinput_la_CFLAGS = -I$(top_srcdir)/include \
		     $(MTDEV_CFLAGS)	\
		     $(LIBUDEV_CFLAGS)	\
		     $(LIBEVDEV_CFLAGS)	\
		     $(LIBWACOM_CFLAGS) \
		     $(GCC_CFLAGS)
EXTRA_libinput_la_DEPENDENCIES = $(srcdir)/libinput.sym

libinput_util_la_SOURCES = \
	libinput-util.c		\
	libinput-util.h

libinput_util_la_LIBADD =
libinput_util_la_CFLAGS = -I$(top_srcdir)/include \
			  $(LIBUDEV_CFLAGS) \
			  $(GCC_CFLAGS)

libfilter_la_SOURCES = \
	filter.c \
	filter.h \
	filter-private.h
libfilter_la_LIBADD =
libfilter_la_CFLAGS =

libinput_la_LDFLAGS = -version-info $(LIBINPUT_LT_VERSION) -shared \
		      -Wl,--version-script=$(srcdir)/libinput.sym

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libinput.pc

AM_CFLAGS = $(GCC_CFLAGS)

DISTCLEANFILES = libinput-version.h
EXTRA_DIST = libinput-version.h.in libinput.sym