1dfe64dd3Smacallan# Copyright 2005 Adam Jackson. 2dfe64dd3Smacallan# 3dfe64dd3Smacallan# Permission is hereby granted, free of charge, to any person obtaining a 4dfe64dd3Smacallan# copy of this software and associated documentation files (the "Software"), 5dfe64dd3Smacallan# to deal in the Software without restriction, including without limitation 6dfe64dd3Smacallan# on the rights to use, copy, modify, merge, publish, distribute, sub 7dfe64dd3Smacallan# license, and/or sell copies of the Software, and to permit persons to whom 8dfe64dd3Smacallan# the Software is furnished to do so, subject to the following conditions: 9dfe64dd3Smacallan# 10dfe64dd3Smacallan# The above copyright notice and this permission notice (including the next 11dfe64dd3Smacallan# paragraph) shall be included in all copies or substantial portions of the 12dfe64dd3Smacallan# Software. 13dfe64dd3Smacallan# 14dfe64dd3Smacallan# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15dfe64dd3Smacallan# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16dfe64dd3Smacallan# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17dfe64dd3Smacallan# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18dfe64dd3Smacallan# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19dfe64dd3Smacallan# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20dfe64dd3Smacallan 21dfe64dd3Smacallan# this is obnoxious: 22dfe64dd3Smacallan# -module lets us name the module exactly how we want 23dfe64dd3Smacallan# -avoid-version prevents gratuitous .0.0.0 version numbers on the end 24dfe64dd3Smacallan# _ladir passes a dummy rpath to libtool so the thing will actually link 25dfe64dd3Smacallan# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. 26dfe64dd3SmacallanAM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ 27dfe64dd3Smacallanxgi_drv_la_LTLIBRARIES = xgi_drv.la 28dfe64dd3Smacallanxgi_drv_la_LDFLAGS = -module -avoid-version 29dfe64dd3Smacallanxgi_drv_ladir = @moduledir@/drivers 30dfe64dd3Smacallan 31dfe64dd3Smacallanxgi_drv_la_SOURCES = \ 32dfe64dd3Smacallan init.c \ 33dfe64dd3Smacallan init.h \ 34dfe64dd3Smacallan osdef.h \ 35dfe64dd3Smacallan valid_mode.h \ 36dfe64dd3Smacallan vb_def.h \ 37dfe64dd3Smacallan vb_ext.c \ 38dfe64dd3Smacallan vb_ext.h \ 39dfe64dd3Smacallan vb_init.c \ 40dfe64dd3Smacallan vb_init.h \ 41dfe64dd3Smacallan vb_setmode.c \ 42dfe64dd3Smacallan vb_setmode.h \ 43dfe64dd3Smacallan vb_struct.h \ 44dfe64dd3Smacallan vb_table.h \ 45dfe64dd3Smacallan vgatypes.h \ 46dfe64dd3Smacallan xgi_accel.c \ 47dfe64dd3Smacallan xgi_accel.h \ 48dfe64dd3Smacallan xgi_common.h \ 49dfe64dd3Smacallan xgi_cursor.c \ 50dfe64dd3Smacallan xgi_cursor.h \ 51dfe64dd3Smacallan xgi_dac.c \ 52dfe64dd3Smacallan xgi_dac.h \ 53dfe64dd3Smacallan xgi_dga.c \ 54dfe64dd3Smacallan xgi_driver.c \ 55dfe64dd3Smacallan xgi_driver.h \ 56dfe64dd3Smacallan xgi.h \ 57dfe64dd3Smacallan xgi_opt.c \ 58dfe64dd3Smacallan xgi_pci.h \ 59dfe64dd3Smacallan xgi_regs.h \ 60dfe64dd3Smacallan xgi_setup.c \ 61dfe64dd3Smacallan xgi_vb.c \ 62dfe64dd3Smacallan xgi_vb.h \ 63dfe64dd3Smacallan xgi_vga.c \ 64dfe64dd3Smacallan xgi_video.c \ 65dfe64dd3Smacallan xgi_video.h \ 66dfe64dd3Smacallan xgi_videohw.c \ 67dfe64dd3Smacallan xgi_videohw.h 68dfe64dd3Smacallan 69dfe64dd3Smacallanif DRI 70dfe64dd3Smacallanxgi_drv_la_SOURCES += \ 71dfe64dd3Smacallan xgi_dri.c \ 72dfe64dd3Smacallan xgi_dri.h 73dfe64dd3Smacallanendif 74