summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: e22c601469a52e23120233afbe7aad95e368be4c (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
#  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.
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) \
  -I$(top_srcdir)/src/cim -I$(top_srcdir)/src/gfx \
  -I$(top_srcdir)/src/panel -I$(top_srcdir)/linux_v26

# -DPNL_SUP is now provided by AMD_CFLAGS
#
AM_CFLAGS = @XORG_CFLAGS@ \
   -DHAVE_GX -DHAVE_LX -DAMD_V4L2_VIDEO -DOPT_ACCEL \
   -DLINUX_2_6 @AMD_CFLAGS@

AM_CCASFLAGS = @XORG_CFLAGS@
amd_drv_la_LTLIBRARIES = amd_drv.la
amd_drv_la_LDFLAGS = -module -avoid-version
amd_drv_ladir = @moduledir@/drivers

amd_drv_la_SOURCES = \
        amd.h \
        amd_fourcc.h \
        build_num.h \
        cim_dev.h \
        amd_driver.c \
        amd_gx_driver.c\
        amd_gx_accel.c \
        amd_gx_cursor.c \
        amd_gx_video.c \
        amd_gx_regacc.c \
        amd_gx_rotate.c \
        amd_gx_dcon.c \
        amd_gx_randr.c \
        durango.c \
        panel.c \
        amd_lx_driver.c \
        amd_lx_accel.c \
        amd_lx_cursor.c \
        amd_lx_dga.c \
        amd_lx_video.c \
        amd_lx_shadow.c \
        amd_lx_regacc.c \
        cimarron.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 \
  \
        amd_gx_vga.c \
        amd_lx_vga.c

ztv_drv_la_LTLIBRARIES = ztv_drv.la
ztv_drv_la_LDFLAGS = -module -avoid-version
ztv_drv_ladir = @moduledir@/drivers

ztv_drv_la_SOURCES = \
        z4l.c