Makefile.am revision c35d236e
1c35d236eSmrg#  Copyright 2005 Adam Jackson.
2c35d236eSmrg#
3c35d236eSmrg#  Permission is hereby granted, free of charge, to any person obtaining a
4c35d236eSmrg#  copy of this software and associated documentation files (the "Software"),
5c35d236eSmrg#  to deal in the Software without restriction, including without limitation
6c35d236eSmrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
7c35d236eSmrg#  license, and/or sell copies of the Software, and to permit persons to whom
8c35d236eSmrg#  the Software is furnished to do so, subject to the following conditions:
9c35d236eSmrg#
10c35d236eSmrg#  The above copyright notice and this permission notice (including the next
11c35d236eSmrg#  paragraph) shall be included in all copies or substantial portions of the
12c35d236eSmrg#  Software.
13c35d236eSmrg#
14c35d236eSmrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15c35d236eSmrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16c35d236eSmrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17c35d236eSmrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18c35d236eSmrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19c35d236eSmrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20c35d236eSmrg
21c35d236eSmrg# this is obnoxious:
22c35d236eSmrg# -module lets us name the module exactly how we want
23c35d236eSmrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
24c35d236eSmrg# _ladir passes a dummy rpath to libtool so the thing will actually link
25c35d236eSmrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
26c35d236eSmrgAM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@
27c35d236eSmrgglint_drv_la_LTLIBRARIES = glint_drv.la
28c35d236eSmrgglint_drv_la_LDFLAGS = -module -avoid-version
29c35d236eSmrgglint_drv_ladir = @moduledir@/drivers
30c35d236eSmrg
31c35d236eSmrgglint_drv_la_SOURCES = \
32c35d236eSmrg         glint_common.h \
33c35d236eSmrg         glint_dga.c \
34c35d236eSmrg         glint_driver.c \
35c35d236eSmrg         glint.h \
36c35d236eSmrg         glint_regs.h \
37c35d236eSmrg         glint_shadow.c \
38c35d236eSmrg         IBMramdac.c \
39c35d236eSmrg         pm2_accel.c \
40c35d236eSmrg         pm2_dac.c \
41c35d236eSmrg         pm2ramdac.c \
42c35d236eSmrg         pm2v_dac.c \
43c35d236eSmrg         pm2_video.c \
44c35d236eSmrg         pm2vramdac.c \
45c35d236eSmrg         pm3_accel.c \
46c35d236eSmrg         pm3_dac.c \
47c35d236eSmrg         pm3_regs.h \
48c35d236eSmrg         pm3_video.c \
49c35d236eSmrg         pm_accel.c \
50c35d236eSmrg         pm_dac.c \
51c35d236eSmrg         sx_accel.c \
52c35d236eSmrg         TIramdac.c \
53c35d236eSmrg         tx_accel.c \
54c35d236eSmrg         tx_dac.c
55c35d236eSmrg
56c35d236eSmrgif DRI
57c35d236eSmrgglint_drv_la_SOURCES += \
58c35d236eSmrg         glint_dri.c \
59c35d236eSmrg         glint_dri.h \
60c35d236eSmrg         glint_dripriv.h
61c35d236eSmrgendif
62