1fc5a983dSmrg# Copyright 2005 Adam Jackson. 2fc5a983dSmrg# 3fc5a983dSmrg# Permission is hereby granted, free of charge, to any person obtaining a 4fc5a983dSmrg# copy of this software and associated documentation files (the "Software"), 5fc5a983dSmrg# to deal in the Software without restriction, including without limitation 6fc5a983dSmrg# on the rights to use, copy, modify, merge, publish, distribute, sub 7fc5a983dSmrg# license, and/or sell copies of the Software, and to permit persons to whom 8fc5a983dSmrg# the Software is furnished to do so, subject to the following conditions: 9fc5a983dSmrg# 10fc5a983dSmrg# The above copyright notice and this permission notice (including the next 11fc5a983dSmrg# paragraph) shall be included in all copies or substantial portions of the 12fc5a983dSmrg# Software. 13fc5a983dSmrg# 14fc5a983dSmrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15fc5a983dSmrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16fc5a983dSmrg# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17fc5a983dSmrg# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18fc5a983dSmrg# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19fc5a983dSmrg# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20fc5a983dSmrg 21fc5a983dSmrg# this is obnoxious: 22fc5a983dSmrg# -module lets us name the module exactly how we want 23fc5a983dSmrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end 24fc5a983dSmrg# _ladir passes a dummy rpath to libtool so the thing will actually link 25fc5a983dSmrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. 26dbcfc9ffSmrgAM_CFLAGS = $(BASE_CFLAGS) $(XORG_CFLAGS) 27fc5a983dSmrgnv_drv_la_LTLIBRARIES = nv_drv.la 28fc5a983dSmrgnv_drv_la_LDFLAGS = -module -avoid-version 29fc5a983dSmrgnv_drv_ladir = @moduledir@/drivers 30fc5a983dSmrg 31fc5a983dSmrgnv_drv_la_SOURCES = $(nv_sources) $(riva_sources) $(g80_sources) 32fc5a983dSmrg 33fc5a983dSmrgnv_sources = \ 34bd304fc0Smrg compat-api.h \ 35d422ce2eSmrg pci_ids.h \ 36fc5a983dSmrg nv_const.h \ 37fc5a983dSmrg nv_cursor.c \ 38fc5a983dSmrg nv_dac.c \ 39fc5a983dSmrg nv_dga.c \ 40fc5a983dSmrg nv_dma.h \ 41fc5a983dSmrg nv_driver.c \ 42fc5a983dSmrg nv_hw.c \ 43fc5a983dSmrg nv_include.h \ 44fc5a983dSmrg nv_local.h \ 45fc5a983dSmrg nv_proto.h \ 46fc5a983dSmrg nv_setup.c \ 47fc5a983dSmrg nv_shadow.c \ 48fc5a983dSmrg nv_type.h \ 49fc5a983dSmrg nv_video.c \ 50fc5a983dSmrg nv_xaa.c 51fc5a983dSmrg 52fc5a983dSmrgriva_sources = \ 53fc5a983dSmrg riva_const.h \ 54fc5a983dSmrg riva_cursor.c \ 55fc5a983dSmrg riva_dac.c \ 56fc5a983dSmrg riva_dga.c \ 57fc5a983dSmrg riva_driver.c \ 58fc5a983dSmrg riva_hw.c \ 59fc5a983dSmrg riva_hw.h \ 60fc5a983dSmrg riva_include.h \ 61fc5a983dSmrg riva_local.h \ 62fc5a983dSmrg riva_proto.h \ 63fc5a983dSmrg riva_setup.c \ 64fc5a983dSmrg riva_shadow.c \ 65fc5a983dSmrg riva_tbl.h \ 66fc5a983dSmrg riva_type.h \ 67fc5a983dSmrg riva_xaa.c 68fc5a983dSmrg 69fc5a983dSmrgg80_sources = \ 70fc5a983dSmrg g80_cursor.c \ 71fc5a983dSmrg g80_cursor.h \ 72fc5a983dSmrg g80_dac.c \ 73fc5a983dSmrg g80_display.c \ 74fc5a983dSmrg g80_display.h \ 75fc5a983dSmrg g80_dma.c \ 76fc5a983dSmrg g80_dma.h \ 77fc5a983dSmrg g80_driver.c \ 78fc5a983dSmrg g80_exa.c \ 79fc5a983dSmrg g80_exa.h \ 80fc5a983dSmrg g80_output.c \ 81fc5a983dSmrg g80_output.h \ 82fc5a983dSmrg g80_sor.c \ 83fc5a983dSmrg g80_type.h \ 84fc5a983dSmrg g80_xaa.c \ 85fc5a983dSmrg g80_xaa.h 86fc5a983dSmrg 87