1e4da13eeSmacallan#  Copyright 2005 Adam Jackson.
2e4da13eeSmacallan#
3e4da13eeSmacallan#  Permission is hereby granted, free of charge, to any person obtaining a
4e4da13eeSmacallan#  copy of this software and associated documentation files (the "Software"),
5e4da13eeSmacallan#  to deal in the Software without restriction, including without limitation
6e4da13eeSmacallan#  on the rights to use, copy, modify, merge, publish, distribute, sub
7e4da13eeSmacallan#  license, and/or sell copies of the Software, and to permit persons to whom
8e4da13eeSmacallan#  the Software is furnished to do so, subject to the following conditions:
9e4da13eeSmacallan#
10e4da13eeSmacallan#  The above copyright notice and this permission notice (including the next
11e4da13eeSmacallan#  paragraph) shall be included in all copies or substantial portions of the
12e4da13eeSmacallan#  Software.
13e4da13eeSmacallan#
14e4da13eeSmacallan#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15e4da13eeSmacallan#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16e4da13eeSmacallan#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17e4da13eeSmacallan#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18e4da13eeSmacallan#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19e4da13eeSmacallan#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20e4da13eeSmacallan
21e4da13eeSmacallan# this is obnoxious:
22e4da13eeSmacallan# -module lets us name the module exactly how we want
23e4da13eeSmacallan# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
24e4da13eeSmacallan# _ladir passes a dummy rpath to libtool so the thing will actually link
25e4da13eeSmacallan# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
26e4da13eeSmacallanAM_CFLAGS = @XORG_CFLAGS@
27e4da13eeSmacallansuntcx_drv_la_LTLIBRARIES = suntcx_drv.la
28e4da13eeSmacallansuntcx_drv_la_LDFLAGS = -module -avoid-version
29e4da13eeSmacallansuntcx_drv_ladir = @moduledir@/drivers
30e4da13eeSmacallan
31e4da13eeSmacallansuntcx_drv_la_SOURCES = \
3265d490d0Smrg         compat-api.h \
33e4da13eeSmacallan         tcx_cursor.c \
34e4da13eeSmacallan         tcx_driver.c \
35e4da13eeSmacallan         tcx.h \
36e4da13eeSmacallan         tcx_regs.h
37