1b85037dbSmrg# Copyright 2005 Adam Jackson. 2b85037dbSmrg# 3b85037dbSmrg# Permission is hereby granted, free of charge, to any person obtaining a 4b85037dbSmrg# copy of this software and associated documentation files (the "Software"), 5b85037dbSmrg# to deal in the Software without restriction, including without limitation 6b85037dbSmrg# on the rights to use, copy, modify, merge, publish, distribute, sub 7b85037dbSmrg# license, and/or sell copies of the Software, and to permit persons to whom 8b85037dbSmrg# the Software is furnished to do so, subject to the following conditions: 9b85037dbSmrg# 10b85037dbSmrg# The above copyright notice and this permission notice (including the next 11b85037dbSmrg# paragraph) shall be included in all copies or substantial portions of the 12b85037dbSmrg# Software. 13b85037dbSmrg# 14b85037dbSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15b85037dbSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16b85037dbSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17b85037dbSmrg# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18b85037dbSmrg# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19b85037dbSmrg# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20b85037dbSmrg 21b85037dbSmrg 22b85037dbSmrg# this is obnoxious: 23b85037dbSmrg# -module lets us name the module exactly how we want 24b85037dbSmrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end 25b85037dbSmrg# _ladir passes a dummy rpath to libtool so the thing will actually link 26b85037dbSmrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. 2728515619Smrgsynaptics_drv_la_LTLIBRARIES = synaptics_drv.la 2828515619Smrgsynaptics_drv_la_LDFLAGS = -module -avoid-version 2928515619Smrgsynaptics_drv_ladir = @inputdir@ 30b85037dbSmrg 31b85037dbSmrgAM_CPPFLAGS = -I$(top_srcdir)/include 32b85037dbSmrgAM_CFLAGS = $(XORG_CFLAGS) 33b85037dbSmrg 3428515619Smrgsynaptics_drv_la_SOURCES = \ 3528515619Smrg synaptics.c \ 3628515619Smrg synapticsstr.h \ 3728515619Smrg synproto.c \ 38b85037dbSmrg synproto.h \ 39b85037dbSmrg properties.c 40b85037dbSmrg 4128515619Smrgif BUILD_PS2COMM 4228515619Smrgsynaptics_drv_la_SOURCES += \ 4328515619Smrg alpscomm.c \ 4428515619Smrg ps2comm.c ps2comm.h 4528515619Smrgendif 4628515619Smrg 47b85037dbSmrgif BUILD_EVENTCOMM 4828515619Smrgsynaptics_drv_la_SOURCES += \ 49b85037dbSmrg eventcomm.c eventcomm.h 5028515619Smrgsynaptics_drv_la_LIBADD = \ 5128515619Smrg $(MTDEV_LIBS) 52b85037dbSmrgendif 53b85037dbSmrg 54b85037dbSmrgif BUILD_PSMCOMM 5528515619Smrgsynaptics_drv_la_SOURCES += \ 56b85037dbSmrg psmcomm.c 57b85037dbSmrgendif 58