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@ -I$(top_srcdir)/src/gfx -I$(top_srcdir)/src/panel
27AM_CCASFLAGS = @XORG_CFLAGS@
28nsc_drv_la_LTLIBRARIES = nsc_drv.la
29nsc_drv_la_LDFLAGS = -module -avoid-version
30nsc_drv_ladir = @moduledir@/drivers
31
32nsc_drv_la_SOURCES = \
33         durango.c \
34         nsc_driver.c \
35         nsc_fourcc.h \
36         nsc_galstub.c \
37         nsc_gx1_accel.c \
38         nsc_gx1_cursor.c \
39         nsc_gx1_dga.c \
40         nsc_gx1_driver.c \
41         nsc_gx1_shadow.c \
42         nsc_gx1_video.c \
43         nsc_gx2_accel.c \
44         nsc_gx2_cursor.c \
45         nsc_gx2_dga.c \
46         nsc_gx2_driver.c \
47         nsc_gx2_shadow.c \
48         nsc_gx2_video.c \
49         nsc.h \
50         panel.c
51
52if I386ARCH
53nsc_drv_la_SOURCES += \
54	nsc_msr_asm.S
55endif
56
57EXTRA_DIST =			\
58        nsc_galfns.c		\
59        nsc_gx2_vga.c		\
60        nsc_regacc.c		\
61				\
62	panel/92xx.h		\
63	panel/cen9211.c		\
64	panel/cen9211.h		\
65	panel/dora9211.c	\
66	panel/dora9211.h	\
67	panel/drac9210.c	\
68	panel/drac9210.h	\
69	panel/gx2_9211.c	\
70	panel/gx2_9211.h	\
71	panel/panel.c		\
72	panel/panel.h		\
73	panel/platform.c	\
74	panel/pnl_bios.c	\
75	panel/pnl_defs.h	\
76	panel/pnl_init.c	\
77	panel/readme.txt	\
78				\
79	gfx/disp_gu1.c		\
80	gfx/disp_gu2.c		\
81	gfx/gfx_dcdr.c		\
82	gfx/gfx_defs.h		\
83	gfx/gfx_disp.c		\
84	gfx/gfx_i2c.c		\
85	gfx/gfx_init.c		\
86	gfx/gfx_mode.h		\
87	gfx/gfx_msr.c		\
88	gfx/gfx_regs.h		\
89	gfx/gfx_rndr.c		\
90	gfx/gfx_rtns.h		\
91	gfx/gfx_tv.c		\
92	gfx/gfx_type.h		\
93	gfx/gfx_vga.c		\
94	gfx/gfx_vid.c		\
95	gfx/gfx_vip.c		\
96	gfx/i2c_acc.c		\
97	gfx/i2c_gpio.c		\
98	gfx/init_gu1.c		\
99	gfx/init_gu2.c		\
100	gfx/msr_rdcl.c		\
101	gfx/rndr_gu1.c		\
102	gfx/rndr_gu2.c		\
103	gfx/saa7114.c		\
104	gfx/tv_1200.c		\
105	gfx/vga_gu1.c		\
106	gfx/vid_1200.c		\
107	gfx/vid_5530.c		\
108	gfx/vid_rdcl.c		\
109	gfx/vip_1200.c		\
110				\
111	gfx/durango.c		\
112	gfx/gfx_tv.h		\
113	gfx/history.h		\
114	gfx/release.txt		\
115	gfx/tv_fs450.c		\
116	gfx/tv_fs450.h		\
117	gfx/tv_fs451.c		\
118	gfx/tv_geode.c		\
119	gfx/vid_1400.c		\
120	gfx/vip_1400.c
121
122
123