Makefile.am revision cd34e0e1
1#  Copyright 2005 Adam Jackson.
2#
3#  Permission is hereby granted, free of charge, to any person obtaining a
4#  copy of this software and associated documentation files (the "Software"),
5#  to deal in the Software without restriction, including without limitation
6#  on the rights to use, copy, modify, merge, publish, distribute, sub
7#  license, and/or sell copies of the Software, and to permit persons to whom
8#  the Software is furnished to do so, subject to the following conditions:
9#
10#  The above copyright notice and this permission notice (including the next
11#  paragraph) shall be included in all copies or substantial portions of the
12#  Software.
13#
14#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
21# this is obnoxious:
22# -module lets us name the module exactly how we want
23# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
24# _ladir passes a dummy rpath to libtool so the thing will actually link
25# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
26AM_CFLAGS = @XORG_CFLAGS@ @LIBUDEV_CFLAGS@ @LIBDRM_NOUVEAU_CFLAGS@ @LIBDRM_CFLAGS@
27nouveau_drv_la_LTLIBRARIES = nouveau_drv.la
28nouveau_drv_la_LDFLAGS = -module -avoid-version @LIBDRM_NOUVEAU_LIBS@ \
29			 @LIBUDEV_LIBS@ @LIBDRM_LIBS@
30nouveau_drv_ladir = @moduledir@/drivers
31
32nouveau_drv_la_SOURCES = \
33			 nouveau_copy.c \
34			 nouveau_copy85b5.c \
35			 nouveau_copy90b5.c \
36			 nouveau_copya0b5.c \
37			 nouveau_exa.c nouveau_xv.c nouveau_dri2.c \
38			 nouveau_present.c \
39			 nouveau_sync.c \
40			 nouveau_wfb.c \
41			 nv_accel_common.c \
42			 nv_driver.c \
43			 nv_shadow.c \
44			 nv04_exa.c \
45			 nv04_xv_ovl.c \
46			 nv04_xv_blit.c \
47			 nv10_exa.c \
48			 nv10_xv_ovl.c \
49			 nv30_exa.c \
50			 nv30_xv_tex.c \
51			 nv40_exa.c \
52			 nv40_xv_tex.c \
53			 nv50_accel.c \
54			 nv50_exa.c \
55			 nv50_xv.c \
56			 nvc0_accel.c \
57			 nvc0_exa.c \
58			 nvc0_xv.c \
59			 drmmode_display.c \
60			 vl_hwmc.c
61
62EXTRA_DIST = hwdefs/nv_3ddefs.xml.h \
63	     hwdefs/nv_m2mf.xml.h \
64	     hwdefs/nv_object.xml.h \
65	     hwdefs/nv01_2d.xml.h \
66	     hwdefs/nv10_3d.xml.h \
67	     hwdefs/nv30-40_3d.xml.h \
68	     hwdefs/nv50_2d.xml.h \
69	     hwdefs/nv50_3d.xml.h \
70	     hwdefs/nv50_defs.xml.h \
71	     hwdefs/nv50_texture.h \
72	     hwdefs/nvc0_3d.xml.h \
73	     hwdefs/nvc0_m2mf.xml.h \
74	     hwdefs/gm107_texture.xml.h \
75	     shader/exac8nvc0.fp \
76	     shader/exac8nvc0.fpc \
77	     shader/exac8nve0.fp \
78	     shader/exac8nve0.fpc \
79	     shader/exac8nvf0.fp \
80	     shader/exac8nvf0.fpc \
81	     shader/exac8nv110.fp \
82	     shader/exac8nv110.fpc \
83	     shader/exacanvc0.fp \
84	     shader/exacanvc0.fpc \
85	     shader/exacanve0.fp \
86	     shader/exacanve0.fpc \
87	     shader/exacanvf0.fp \
88	     shader/exacanvf0.fpc \
89	     shader/exacanv110.fp \
90	     shader/exacanv110.fpc \
91	     shader/exacmnvc0.fp \
92	     shader/exacmnvc0.fpc \
93	     shader/exacmnve0.fp \
94	     shader/exacmnve0.fpc \
95	     shader/exacmnvf0.fp \
96	     shader/exacmnvf0.fpc \
97	     shader/exacmnv110.fp \
98	     shader/exacmnv110.fpc \
99	     shader/exas8nvc0.fp \
100	     shader/exas8nvc0.fpc \
101	     shader/exas8nve0.fp \
102	     shader/exas8nve0.fpc \
103	     shader/exas8nvf0.fp \
104	     shader/exas8nvf0.fpc \
105	     shader/exas8nv110.fp \
106	     shader/exas8nv110.fpc \
107	     shader/exasanvc0.fp \
108	     shader/exasanvc0.fpc \
109	     shader/exasanve0.fp \
110	     shader/exasanve0.fpc \
111	     shader/exasanvf0.fp \
112	     shader/exasanvf0.fpc \
113	     shader/exasanv110.fp \
114	     shader/exasanv110.fpc \
115	     shader/exascnvc0.fp \
116	     shader/exascnvc0.fpc \
117	     shader/exascnve0.fp \
118	     shader/exascnve0.fpc \
119	     shader/exascnvf0.fp \
120	     shader/exascnvf0.fpc \
121	     shader/exascnv110.fp \
122	     shader/exascnv110.fpc \
123	     shader/videonvc0.fp \
124	     shader/videonvc0.fpc \
125	     shader/videonve0.fp \
126	     shader/videonve0.fpc \
127	     shader/videonvf0.fp \
128	     shader/videonvf0.fpc \
129	     shader/videonv110.fp \
130	     shader/videonv110.fpc \
131	     shader/xfrm2nvc0.vp \
132	     shader/xfrm2nvc0.vpc \
133	     shader/xfrm2nve0.vp \
134	     shader/xfrm2nve0.vpc \
135	     shader/xfrm2nvf0.vp \
136	     shader/xfrm2nvf0.vpc \
137	     shader/xfrm2nv110.vp \
138	     shader/xfrm2nv110.vpc \
139	     shader/Makefile \
140	     nouveau_local.h \
141	     nouveau_copy.h \
142	     nouveau_present.h \
143	     nouveau_sync.h \
144	     nv_const.h \
145	     nv_dma.h \
146	     nv_include.h \
147	     nv_proto.h \
148	     nv_rop.h \
149	     nv_type.h \
150	     nv04_accel.h \
151	     nv50_accel.h \
152	     nvc0_accel.h \
153	     compat-api.h \
154	     vl_hwmc.c \
155	     vl_hwmc.h
156
157
158
159