Makefile.am revision f29dbc25
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.
26
27AM_CPPFLAGS = 			\
28	-I$(top_srcdir)/src/cim \
29	-I$(top_srcdir)/src/gfx \
30	-I$(top_srcdir)/src/panel \
31	-I$(top_srcdir)/linux_v26
32
33# -DPNL_SUP is now provided by AMD_CFLAGS
34#
35AM_CFLAGS = @XORG_CFLAGS@ \
36   -DHAVE_GX -DHAVE_LX -DAMD_V4L2_VIDEO -DOPT_ACCEL \
37   -DLINUX_2_6 @AMD_CFLAGS@
38
39AM_CCASFLAGS = @XORG_CFLAGS@
40geode_drv_la_LTLIBRARIES = geode_drv.la
41geode_drv_la_LDFLAGS = -module -avoid-version
42geode_drv_ladir = @moduledir@/drivers
43
44geode_drv_la_SOURCES = \
45        geode.h \
46	geode_blend.h \
47        geode_fourcc.h \
48        cim_dev.h \
49        geode_driver.c \
50	geode_common.c \
51        geode_dcon.c \
52	geode_ddc.c \
53	geode_msr.c \
54        gx_driver.c\
55        gx_accel.c \
56        gx_cursor.c \
57        gx_video.c \
58        gx_regacc.c \
59        gx_rotate.c \
60        gx_randr.c \
61        durango.c \
62        panel.c \
63        lx_driver.c \
64        lx_cursor.c \
65	lx_memory.c \
66	lx_panel.c \
67	lx_output.c \
68	lx_display.c \
69        lx_video.c \
70	lx_exa.c \
71        cimarron.c \
72	geode_pcirename.h
73
74EXTRA_DIST = \
75        cim/cim_defs.h \
76        cim/cim_df.c \
77        cim/cim_filter.c \
78        cim/cim_gp.c \
79        cim/cim_init.c \
80        cim/cim_modes.c \
81        cim/cim_msr.c \
82        cim/cim_parm.h \
83        cim/cim_regs.h \
84        cim/cim_rtns.h \
85        cim/cim_version.h \
86        cim/cim_vg.c \
87        cim/cim_vip.c \
88        cim/cim_vop.c \
89        cim/doc/release.txt \
90  \
91        gfx/disp_gu1.c \
92        gfx/disp_gu2.c \
93        gfx/gfx_dcdr.c \
94        gfx/gfx_defs.h \
95        gfx/gfx_disp.c \
96        gfx/gfx_i2c.c \
97        gfx/gfx_init.c \
98        gfx/gfx_mode.h \
99        gfx/gfx_msr.c \
100        gfx/gfx_priv.h \
101        gfx/gfx_regs.h \
102        gfx/gfx_rndr.c \
103        gfx/gfx_rtns.h \
104        gfx/gfx_tv.c \
105        gfx/gfx_type.h \
106        gfx/gfx_vga.c \
107        gfx/gfx_vid.c \
108        gfx/gfx_vip.c \
109        gfx/history.h \
110        gfx/i2c_acc.c \
111        gfx/i2c_gpio.c \
112        gfx/init_gu1.c \
113        gfx/init_gu2.c \
114        gfx/msr_rdcl.c \
115        gfx/release.txt \
116        gfx/rndr_gu1.c \
117        gfx/rndr_gu2.c \
118        gfx/saa7114.c \
119        gfx/tv_1200.c \
120        gfx/tv_fs450.c \
121        gfx/tv_fs450.h \
122        gfx/vga_gu1.c \
123        gfx/vid_1200.c \
124        gfx/vid_5530.c \
125        gfx/vid_rdcl.c \
126        gfx/vip_1200.c \
127  \
128        panel/92xx.h \
129        panel/cen9211.c \
130        panel/cen9211.h \
131        panel/dora9211.c \
132        panel/dora9211.h \
133        panel/drac9210.c \
134        panel/drac9210.h \
135        panel/gx2_9211.c \
136        panel/gx2_9211.h \
137        panel/panel.c \
138        panel/panel.h \
139        panel/platform.c \
140        panel/pnl_bios.c \
141        panel/pnl_defs.h \
142        panel/pnl_init.c \
143        panel/readme.txt \
144  \
145        gx_vga.c \
146        lx_vga.c
147
148ztv_drv_la_LTLIBRARIES = ztv_drv.la
149ztv_drv_la_LDFLAGS = -module -avoid-version
150ztv_drv_ladir = @moduledir@/drivers
151
152ztv_drv_la_SOURCES = \
153        z4l.c
154
155