1692f60a7Smrg# Copyright 2005 Adam Jackson. 2692f60a7Smrg# 3692f60a7Smrg# Permission is hereby granted, free of charge, to any person obtaining a 4692f60a7Smrg# copy of this software and associated documentation files (the "Software"), 5692f60a7Smrg# to deal in the Software without restriction, including without limitation 6692f60a7Smrg# on the rights to use, copy, modify, merge, publish, distribute, sub 7692f60a7Smrg# license, and/or sell copies of the Software, and to permit persons to whom 8692f60a7Smrg# the Software is furnished to do so, subject to the following conditions: 9692f60a7Smrg# 10692f60a7Smrg# The above copyright notice and this permission notice (including the next 11692f60a7Smrg# paragraph) shall be included in all copies or substantial portions of the 12692f60a7Smrg# Software. 13692f60a7Smrg# 14692f60a7Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15692f60a7Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16692f60a7Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17692f60a7Smrg# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18692f60a7Smrg# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19692f60a7Smrg# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20692f60a7Smrg 21692f60a7Smrg# this is obnoxious: 22692f60a7Smrg# -module lets us name the module exactly how we want 23692f60a7Smrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end 24692f60a7Smrg# _ladir passes a dummy rpath to libtool so the thing will actually link 25692f60a7Smrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. 26692f60a7SmrgAM_CFLAGS = @XORG_CFLAGS@ 27692f60a7Smrgneomagic_drv_la_LTLIBRARIES = neomagic_drv.la 28692f60a7Smrgneomagic_drv_la_LDFLAGS = -module -avoid-version 29692f60a7Smrgneomagic_drv_ladir = @moduledir@/drivers 30692f60a7Smrg 31692f60a7Smrgneomagic_drv_la_SOURCES = \ 32692f60a7Smrg neo_2070.c \ 33692f60a7Smrg neo_2090.c \ 34692f60a7Smrg neo_2097.c \ 35692f60a7Smrg neo_2200.c \ 36692f60a7Smrg neo_cursor.c \ 37692f60a7Smrg neo_dga.c \ 38692f60a7Smrg neo_driver.c \ 39692f60a7Smrg neo.h \ 40692f60a7Smrg neo_i2c.c \ 41692f60a7Smrg neo_macros.h \ 42692f60a7Smrg neo_reg.h \ 43692f60a7Smrg neo_shadow.c \ 44692f60a7Smrg neo_video.c \ 4554569438Smrg neo_video.h \ 463f6d0e1dSmrg neo_pcirename.h \ 473f6d0e1dSmrg compat-api.h 48