11d54945dSmrg#  Copyright 2005 Adam Jackson.
21d54945dSmrg#
31d54945dSmrg#  Permission is hereby granted, free of charge, to any person obtaining a
41d54945dSmrg#  copy of this software and associated documentation files (the "Software"),
51d54945dSmrg#  to deal in the Software without restriction, including without limitation
61d54945dSmrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
71d54945dSmrg#  license, and/or sell copies of the Software, and to permit persons to whom
81d54945dSmrg#  the Software is furnished to do so, subject to the following conditions:
91d54945dSmrg#
101d54945dSmrg#  The above copyright notice and this permission notice (including the next
111d54945dSmrg#  paragraph) shall be included in all copies or substantial portions of the
121d54945dSmrg#  Software.
131d54945dSmrg#
141d54945dSmrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
151d54945dSmrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
161d54945dSmrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
171d54945dSmrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
181d54945dSmrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
191d54945dSmrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
201d54945dSmrg
211d54945dSmrg# this is obnoxious:
221d54945dSmrg# -module lets us name the module exactly how we want
231d54945dSmrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
241d54945dSmrg# _ladir passes a dummy rpath to libtool so the thing will actually link
251d54945dSmrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
261d54945dSmrgAM_CFLAGS = @XORG_CFLAGS@
271d54945dSmrgs3virge_drv_la_LTLIBRARIES = s3virge_drv.la
281d54945dSmrgs3virge_drv_la_LDFLAGS = -module -avoid-version
291d54945dSmrgs3virge_drv_ladir = @moduledir@/drivers
301d54945dSmrg
311d54945dSmrgs3virge_drv_la_SOURCES = \
32d769e936Smrg         compat-api.h \
331d54945dSmrg         newmmio.h \
341d54945dSmrg         regs3v.h \
351d54945dSmrg         s3v_accel.c \
361d54945dSmrg         s3v_dac.c \
371d54945dSmrg         s3v_dga.c \
381d54945dSmrg         s3v_driver.c \
391d54945dSmrg         s3v.h \
401d54945dSmrg         s3v_hwcurs.c \
411d54945dSmrg         s3v_i2c.c \
421d54945dSmrg         s3v_macros.h \
43d769e936Smrg	 s3v_pciids.h \
44ba85709eSmrg	 s3v_pcirename.h \
451d54945dSmrg         s3v_rop.h \
461d54945dSmrg         s3v_shadow.c \
471d54945dSmrg         s3v_xv.c
48