Makefile.am revision f29dbc25
1f29dbc25Smrg#  Copyright 2005 Adam Jackson.
2f29dbc25Smrg#
3f29dbc25Smrg#  Permission is hereby granted, free of charge, to any person obtaining a
4f29dbc25Smrg#  copy of this software and associated documentation files (the "Software"),
5f29dbc25Smrg#  to deal in the Software without restriction, including without limitation
6f29dbc25Smrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
7f29dbc25Smrg#  license, and/or sell copies of the Software, and to permit persons to whom
8f29dbc25Smrg#  the Software is furnished to do so, subject to the following conditions:
9f29dbc25Smrg#
10f29dbc25Smrg#  The above copyright notice and this permission notice (including the next
11f29dbc25Smrg#  paragraph) shall be included in all copies or substantial portions of the
12f29dbc25Smrg#  Software.
13f29dbc25Smrg#
14f29dbc25Smrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15f29dbc25Smrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16f29dbc25Smrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17f29dbc25Smrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18f29dbc25Smrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19f29dbc25Smrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20f29dbc25Smrg
21f29dbc25Smrg# this is obnoxious:
22f29dbc25Smrg# -module lets us name the module exactly how we want
23f29dbc25Smrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
24f29dbc25Smrg# _ladir passes a dummy rpath to libtool so the thing will actually link
25f29dbc25Smrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
26f29dbc25Smrg
27f29dbc25SmrgAM_CPPFLAGS = 			\
28f29dbc25Smrg	-I$(top_srcdir)/src/cim \
29f29dbc25Smrg	-I$(top_srcdir)/src/gfx \
30f29dbc25Smrg	-I$(top_srcdir)/src/panel \
31f29dbc25Smrg	-I$(top_srcdir)/linux_v26
32f29dbc25Smrg
33f29dbc25Smrg# -DPNL_SUP is now provided by AMD_CFLAGS
34f29dbc25Smrg#
35f29dbc25SmrgAM_CFLAGS = @XORG_CFLAGS@ \
36f29dbc25Smrg   -DHAVE_GX -DHAVE_LX -DAMD_V4L2_VIDEO -DOPT_ACCEL \
37f29dbc25Smrg   -DLINUX_2_6 @AMD_CFLAGS@
38f29dbc25Smrg
39f29dbc25SmrgAM_CCASFLAGS = @XORG_CFLAGS@
40f29dbc25Smrggeode_drv_la_LTLIBRARIES = geode_drv.la
41f29dbc25Smrggeode_drv_la_LDFLAGS = -module -avoid-version
42f29dbc25Smrggeode_drv_ladir = @moduledir@/drivers
43f29dbc25Smrg
44f29dbc25Smrggeode_drv_la_SOURCES = \
45f29dbc25Smrg        geode.h \
46f29dbc25Smrg	geode_blend.h \
47f29dbc25Smrg        geode_fourcc.h \
48f29dbc25Smrg        cim_dev.h \
49f29dbc25Smrg        geode_driver.c \
50f29dbc25Smrg	geode_common.c \
51f29dbc25Smrg        geode_dcon.c \
52f29dbc25Smrg	geode_ddc.c \
53f29dbc25Smrg	geode_msr.c \
54f29dbc25Smrg        gx_driver.c\
55f29dbc25Smrg        gx_accel.c \
56f29dbc25Smrg        gx_cursor.c \
57f29dbc25Smrg        gx_video.c \
58f29dbc25Smrg        gx_regacc.c \
59f29dbc25Smrg        gx_rotate.c \
60f29dbc25Smrg        gx_randr.c \
61f29dbc25Smrg        durango.c \
62f29dbc25Smrg        panel.c \
63f29dbc25Smrg        lx_driver.c \
64f29dbc25Smrg        lx_cursor.c \
65f29dbc25Smrg	lx_memory.c \
66f29dbc25Smrg	lx_panel.c \
67f29dbc25Smrg	lx_output.c \
68f29dbc25Smrg	lx_display.c \
69f29dbc25Smrg        lx_video.c \
70f29dbc25Smrg	lx_exa.c \
71f29dbc25Smrg        cimarron.c \
72f29dbc25Smrg	geode_pcirename.h
73f29dbc25Smrg
74f29dbc25SmrgEXTRA_DIST = \
75f29dbc25Smrg        cim/cim_defs.h \
76f29dbc25Smrg        cim/cim_df.c \
77f29dbc25Smrg        cim/cim_filter.c \
78f29dbc25Smrg        cim/cim_gp.c \
79f29dbc25Smrg        cim/cim_init.c \
80f29dbc25Smrg        cim/cim_modes.c \
81f29dbc25Smrg        cim/cim_msr.c \
82f29dbc25Smrg        cim/cim_parm.h \
83f29dbc25Smrg        cim/cim_regs.h \
84f29dbc25Smrg        cim/cim_rtns.h \
85f29dbc25Smrg        cim/cim_version.h \
86f29dbc25Smrg        cim/cim_vg.c \
87f29dbc25Smrg        cim/cim_vip.c \
88f29dbc25Smrg        cim/cim_vop.c \
89f29dbc25Smrg        cim/doc/release.txt \
90f29dbc25Smrg  \
91f29dbc25Smrg        gfx/disp_gu1.c \
92f29dbc25Smrg        gfx/disp_gu2.c \
93f29dbc25Smrg        gfx/gfx_dcdr.c \
94f29dbc25Smrg        gfx/gfx_defs.h \
95f29dbc25Smrg        gfx/gfx_disp.c \
96f29dbc25Smrg        gfx/gfx_i2c.c \
97f29dbc25Smrg        gfx/gfx_init.c \
98f29dbc25Smrg        gfx/gfx_mode.h \
99f29dbc25Smrg        gfx/gfx_msr.c \
100f29dbc25Smrg        gfx/gfx_priv.h \
101f29dbc25Smrg        gfx/gfx_regs.h \
102f29dbc25Smrg        gfx/gfx_rndr.c \
103f29dbc25Smrg        gfx/gfx_rtns.h \
104f29dbc25Smrg        gfx/gfx_tv.c \
105f29dbc25Smrg        gfx/gfx_type.h \
106f29dbc25Smrg        gfx/gfx_vga.c \
107f29dbc25Smrg        gfx/gfx_vid.c \
108f29dbc25Smrg        gfx/gfx_vip.c \
109f29dbc25Smrg        gfx/history.h \
110f29dbc25Smrg        gfx/i2c_acc.c \
111f29dbc25Smrg        gfx/i2c_gpio.c \
112f29dbc25Smrg        gfx/init_gu1.c \
113f29dbc25Smrg        gfx/init_gu2.c \
114f29dbc25Smrg        gfx/msr_rdcl.c \
115f29dbc25Smrg        gfx/release.txt \
116f29dbc25Smrg        gfx/rndr_gu1.c \
117f29dbc25Smrg        gfx/rndr_gu2.c \
118f29dbc25Smrg        gfx/saa7114.c \
119f29dbc25Smrg        gfx/tv_1200.c \
120f29dbc25Smrg        gfx/tv_fs450.c \
121f29dbc25Smrg        gfx/tv_fs450.h \
122f29dbc25Smrg        gfx/vga_gu1.c \
123f29dbc25Smrg        gfx/vid_1200.c \
124f29dbc25Smrg        gfx/vid_5530.c \
125f29dbc25Smrg        gfx/vid_rdcl.c \
126f29dbc25Smrg        gfx/vip_1200.c \
127f29dbc25Smrg  \
128f29dbc25Smrg        panel/92xx.h \
129f29dbc25Smrg        panel/cen9211.c \
130f29dbc25Smrg        panel/cen9211.h \
131f29dbc25Smrg        panel/dora9211.c \
132f29dbc25Smrg        panel/dora9211.h \
133f29dbc25Smrg        panel/drac9210.c \
134f29dbc25Smrg        panel/drac9210.h \
135f29dbc25Smrg        panel/gx2_9211.c \
136f29dbc25Smrg        panel/gx2_9211.h \
137f29dbc25Smrg        panel/panel.c \
138f29dbc25Smrg        panel/panel.h \
139f29dbc25Smrg        panel/platform.c \
140f29dbc25Smrg        panel/pnl_bios.c \
141f29dbc25Smrg        panel/pnl_defs.h \
142f29dbc25Smrg        panel/pnl_init.c \
143f29dbc25Smrg        panel/readme.txt \
144f29dbc25Smrg  \
145f29dbc25Smrg        gx_vga.c \
146f29dbc25Smrg        lx_vga.c
147f29dbc25Smrg
148f29dbc25Smrgztv_drv_la_LTLIBRARIES = ztv_drv.la
149f29dbc25Smrgztv_drv_la_LDFLAGS = -module -avoid-version
150f29dbc25Smrgztv_drv_ladir = @moduledir@/drivers
151f29dbc25Smrg
152f29dbc25Smrgztv_drv_la_SOURCES = \
153f29dbc25Smrg        z4l.c
154f29dbc25Smrg
155