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