# 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_blend.h \ amd_fourcc.h \ build_num.h \ cim_dev.h \ amd_driver.c \ amd_common.c \ amd_msr.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_cursor.c \ amd_lx_video.c \ amd_lx_regacc.c \ amd_lx_rotate.c \ amd_lx_randr.c \ amd_lx_exa.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