blob: 149be35d1b1f812e0cb16763b725f832e77aa307 [file] [log] [blame]
# Copyright 2005 Adam Jackson.
# Copyright 2011 Diego Elio Pettenò <flameeyes@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# on the rights to use, copy, modify, merge, publish, distribute, sub
# license, and/or sell copies of the Software, and to permit persons to whom
# the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AM_CFLAGS = $(XORG_CFLAGS) $(MTDEV_CFLAGS) $(CWARNFLAGS)
AM_CPPFLAGS =-I$(top_srcdir)/include
input_LTLIBRARIES = multitouch_drv.la
multitouch_drv_la_LDFLAGS = -module -avoid-version -export-dynamic -shared
multitouch_drv_la_SOURCES = \
driver/multitouch.c \
include/button.h \
include/capabilities.h \
include/common.h \
include/gestures.h \
include/hwstate.h \
include/memory.h \
include/mtouch.h \
include/mtstate.h \
src/capabilities.c \
src/gestures.c \
src/hwstate.c \
src/memory.c \
src/mtouch.c \
src/mtstate.c
multitouch_drv_la_LIBADD = $(MTDEV_LIBS) -lm
EXTRA_PROGRAMS = test
test_SOURCES = \
include/xbypass.h \
src/test.c