153e90a53Smrg#  Copyright 2005 Adam Jackson.
253e90a53Smrg#
353e90a53Smrg#  Permission is hereby granted, free of charge, to any person obtaining a
453e90a53Smrg#  copy of this software and associated documentation files (the "Software"),
553e90a53Smrg#  to deal in the Software without restriction, including without limitation
653e90a53Smrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
753e90a53Smrg#  license, and/or sell copies of the Software, and to permit persons to whom
853e90a53Smrg#  the Software is furnished to do so, subject to the following conditions:
953e90a53Smrg#
1053e90a53Smrg#  The above copyright notice and this permission notice (including the next
1153e90a53Smrg#  paragraph) shall be included in all copies or substantial portions of the
1253e90a53Smrg#  Software.
1353e90a53Smrg#
1453e90a53Smrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1553e90a53Smrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1653e90a53Smrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
1753e90a53Smrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1853e90a53Smrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1953e90a53Smrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2053e90a53Smrg
2153e90a53Smrg# this is obnoxious:
2253e90a53Smrg# -module lets us name the module exactly how we want
2353e90a53Smrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
2453e90a53Smrg# _ladir passes a dummy rpath to libtool so the thing will actually link
2553e90a53Smrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
2653e90a53SmrgAM_CFLAGS = @XORG_CFLAGS@
2753e90a53Smrgimstt_drv_la_LTLIBRARIES = imstt_drv.la
2853e90a53Smrgimstt_drv_la_LDFLAGS = -module -avoid-version
2953e90a53Smrgimstt_drv_ladir = @moduledir@/drivers
3053e90a53Smrg
3153e90a53Smrgimstt_drv_la_SOURCES = \
3253e90a53Smrg         imstt_accel.c \
3353e90a53Smrg         imstt_driver.c \
3453e90a53Smrg         imstt.h \
3553e90a53Smrg         imstt_reg.h
36