Makefile.am revision aa9e3350
1ab47cfaaSmrg#  Copyright 2005 Adam Jackson.
2ab47cfaaSmrg#
3ab47cfaaSmrg#  Permission is hereby granted, free of charge, to any person obtaining a
4ab47cfaaSmrg#  copy of this software and associated documentation files (the "Software"),
5ab47cfaaSmrg#  to deal in the Software without restriction, including without limitation
6ab47cfaaSmrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
7ab47cfaaSmrg#  license, and/or sell copies of the Software, and to permit persons to whom
8ab47cfaaSmrg#  the Software is furnished to do so, subject to the following conditions:
9ab47cfaaSmrg#
10ab47cfaaSmrg#  The above copyright notice and this permission notice (including the next
11ab47cfaaSmrg#  paragraph) shall be included in all copies or substantial portions of the
12ab47cfaaSmrg#  Software.
13ab47cfaaSmrg#
14ab47cfaaSmrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15ab47cfaaSmrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16ab47cfaaSmrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17ab47cfaaSmrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18ab47cfaaSmrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19ab47cfaaSmrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20ab47cfaaSmrg
21ab47cfaaSmrg# this is obnoxious:
22ab47cfaaSmrg# -module lets us name the module exactly how we want
23ab47cfaaSmrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
24ab47cfaaSmrg# _ladir passes a dummy rpath to libtool so the thing will actually link
25ab47cfaaSmrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
26ab47cfaaSmrgAM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@
27ab47cfaaSmrgsavage_drv_la_LTLIBRARIES = savage_drv.la
28ab47cfaaSmrgsavage_drv_la_LDFLAGS = -module -avoid-version
29ab47cfaaSmrgsavage_drv_ladir = @moduledir@/drivers
30ab47cfaaSmrg
31ab47cfaaSmrgsavage_drv_la_SOURCES = \
32aa9e3350Smrg         compat-api.h \
33ab47cfaaSmrg         savage_accel.c \
34ab47cfaaSmrg	 savage_xaa.c \
35ab47cfaaSmrg	 savage_exa.c \
36ab47cfaaSmrg         savage_bci.h \
37ab47cfaaSmrg         savage_common.h \
38ab47cfaaSmrg         savage_cursor.c \
39ab47cfaaSmrg         savage_dga.c \
40ab47cfaaSmrg         savage_driver.c \
41ab47cfaaSmrg         savage_driver.h \
42ab47cfaaSmrg         savage_drm.h \
43ab47cfaaSmrg         savage_i2c.c \
44aa9e3350Smrg         savage_pciids.h \
45ab47cfaaSmrg         savage_regs.h \
46ab47cfaaSmrg         savage_sarea.h \
47ab47cfaaSmrg         savage_shadow.c \
48ab47cfaaSmrg         savage_streams.c \
49ab47cfaaSmrg         savage_streams.h \
50ab47cfaaSmrg         savage_vbe.c \
51ab47cfaaSmrg         savage_vbe.h \
52ab47cfaaSmrg         savage_video.c
53ab47cfaaSmrg
54ab47cfaaSmrgif DRI
55ab47cfaaSmrgsavage_drv_la_SOURCES += \
56ab47cfaaSmrg         savage_hwmc.c \
57ab47cfaaSmrg         savage_dri.c \
58ab47cfaaSmrg         savage_dri.h \
59ab47cfaaSmrg         savage_dripriv.h 
60ab47cfaaSmrgendif
61