summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: d5f57b9612050fdd3bf9ec1c2b74ec40ebbebcd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
#  Copyright 2005 Adam Jackson.
#
#  Permission is hereby granted, free of charge, to any person obtaining a
#  copy of this software and associated documentation files (the "Software"),
#  to deal in the Software without restriction, including without limitation
#  on the rights to use, copy, modify, merge, publish, distribute, sub
#  license, and/or sell copies of the Software, and to permit persons to whom
#  the Software is furnished to do so, subject to the following conditions:
#
#  The above copyright notice and this permission notice (including the next
#  paragraph) shall be included in all copies or substantial portions of the
#  Software.
#
#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

# this is obnoxious:
# -module lets us name the module exactly how we want
# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
# _ladir passes a dummy rpath to libtool so the thing will actually link
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.

AM_CPPFLAGS = 				\
	-I$(top_srcdir)/src/cim 	\
	-I$(top_srcdir)/src/gfx 	\
	-I$(top_srcdir)/src/panel

# -DPNL_SUP is now provided by AMD_CFLAGS
#
AM_CFLAGS = 		\
	$(XORG_CFLAGS)	\
	$(CWARNFLAGS)	\
	$(AMD_CFLAGS)	\
	-DHAVE_GX	\
	-DHAVE_LX	\
	-DOPT_ACCEL

geode_drv_la_LTLIBRARIES = geode_drv.la
geode_drv_la_LDFLAGS = -module -avoid-version
geode_drv_ladir = @moduledir@/drivers

geode_drv_la_SOURCES =		\
	cimarron.c		\
	cim_dev.h		\
	durango.c		\
	geode_blend.h		\
	geode_common.c		\
	geode_dcon.c		\
	geode_ddc.c		\
	geode_driver.c		\
	geode_fourcc.h		\
	geode.h			\
	geode_msr.c		\
	geode_pcirename.h	\
	gx_accel.c		\
	gx_cursor.c		\
	gx_driver.c		\
	gx_randr.c		\
	gx_regacc.c		\
	gx_rotate.c		\
	gx_video.c		\
	lx_cursor.c		\
	lx_display.c		\
	lx_driver.c		\
	lx_exa.c		\
	lx_memory.c		\
	lx_output.c		\
	lx_panel.c		\
	lx_video.c		\
	panel.c

EXTRA_DIST =			\
        cim/cim_defs.h		\
        cim/cim_df.c		\
        cim/cim_filter.c	\
        cim/cim_gp.c		\
        cim/cim_init.c		\
        cim/cim_modes.c		\
        cim/cim_msr.c		\
        cim/cim_parm.h		\
        cim/cim_regs.h		\
        cim/cim_rtns.h		\
        cim/cim_version.h	\
        cim/cim_vg.c		\
        cim/cim_vip.c		\
        cim/cim_vop.c		\
        cim/doc/release.txt	\
				\
        gfx/disp_gu1.c		\
        gfx/disp_gu2.c		\
        gfx/gfx_dcdr.c		\
        gfx/gfx_defs.h		\
        gfx/gfx_disp.c		\
        gfx/gfx_i2c.c		\
        gfx/gfx_init.c		\
        gfx/gfx_mode.h		\
        gfx/gfx_msr.c		\
        gfx/gfx_priv.h		\
        gfx/gfx_regs.h		\
        gfx/gfx_rndr.c		\
        gfx/gfx_rtns.h		\
        gfx/gfx_tv.c		\
        gfx/gfx_type.h		\
        gfx/gfx_vga.c		\
        gfx/gfx_vid.c		\
        gfx/gfx_vip.c		\
        gfx/history.h		\
        gfx/i2c_acc.c		\
        gfx/i2c_gpio.c		\
        gfx/init_gu1.c		\
        gfx/init_gu2.c		\
        gfx/msr_rdcl.c		\
        gfx/release.txt		\
        gfx/rndr_gu1.c		\
        gfx/rndr_gu2.c		\
        gfx/saa7114.c		\
        gfx/tv_1200.c		\
        gfx/tv_fs450.c		\
        gfx/tv_fs450.h		\
        gfx/vga_gu1.c		\
        gfx/vid_1200.c		\
        gfx/vid_5530.c		\
        gfx/vid_rdcl.c		\
        gfx/vip_1200.c		\
				\
        panel/92xx.h		\
        panel/cen9211.c		\
        panel/cen9211.h		\
        panel/dora9211.c	\
        panel/dora9211.h	\
        panel/drac9210.c	\
        panel/drac9210.h	\
        panel/gx2_9211.c	\
        panel/gx2_9211.h	\
        panel/panel.c		\
        panel/panel.h		\
        panel/platform.c	\
        panel/pnl_bios.c	\
        panel/pnl_defs.h	\
        panel/pnl_init.c	\
        panel/readme.txt	\
				\
        gx_vga.c		\
        lx_vga.c