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