150806d53Smrg#  Copyright 2005 Adam Jackson.
250806d53Smrg#
350806d53Smrg#  Permission is hereby granted, free of charge, to any person obtaining a
450806d53Smrg#  copy of this software and associated documentation files (the "Software"),
550806d53Smrg#  to deal in the Software without restriction, including without limitation
650806d53Smrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
750806d53Smrg#  license, and/or sell copies of the Software, and to permit persons to whom
850806d53Smrg#  the Software is furnished to do so, subject to the following conditions:
950806d53Smrg#
1050806d53Smrg#  The above copyright notice and this permission notice (including the next
1150806d53Smrg#  paragraph) shall be included in all copies or substantial portions of the
1250806d53Smrg#  Software.
1350806d53Smrg#
1450806d53Smrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1550806d53Smrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1650806d53Smrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
1750806d53Smrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
1850806d53Smrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
1950806d53Smrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2050806d53Smrg
2150806d53Smrg# this is obnoxious:
2250806d53Smrg# -module lets us name the module exactly how we want
2350806d53Smrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
2450806d53Smrg# _ladir passes a dummy rpath to libtool so the thing will actually link
2550806d53Smrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
2650806d53SmrgAM_CFLAGS = @XORG_CFLAGS@
2750806d53Smrgi128_drv_la_LTLIBRARIES = i128_drv.la
2850806d53Smrgi128_drv_la_LDFLAGS = -module -avoid-version
2950806d53Smrgi128_drv_ladir = @moduledir@/drivers
3050806d53Smrg
3150806d53Smrgi128_drv_la_SOURCES = \
32a73423d7Smrg         compat-api.h \
3350806d53Smrg         i128accel.c \
3450806d53Smrg         i128dga.c \
3550806d53Smrg         i128exa.c \
3650806d53Smrg         i128_driver.c \
3750806d53Smrg         i128.h \
3850806d53Smrg         i128IBMDAC.c \
3950806d53Smrg         i128init.c \
407965d9acSmrg	 i128pcirename.h \
4150806d53Smrg         i128reg.h \
4250806d53Smrg         IBMRGB.h \
4350806d53Smrg         Ti302X.h
44