1357bfbb2Smrg# Copyright 2005 Adam Jackson. 2357bfbb2Smrg# 3357bfbb2Smrg# Permission is hereby granted, free of charge, to any person obtaining a 4357bfbb2Smrg# copy of this software and associated documentation files (the "Software"), 5357bfbb2Smrg# to deal in the Software without restriction, including without limitation 6357bfbb2Smrg# on the rights to use, copy, modify, merge, publish, distribute, sub 7357bfbb2Smrg# license, and/or sell copies of the Software, and to permit persons to whom 8357bfbb2Smrg# the Software is furnished to do so, subject to the following conditions: 9357bfbb2Smrg# 10357bfbb2Smrg# The above copyright notice and this permission notice (including the next 11357bfbb2Smrg# paragraph) shall be included in all copies or substantial portions of the 12357bfbb2Smrg# Software. 13357bfbb2Smrg# 14357bfbb2Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15357bfbb2Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16357bfbb2Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 17357bfbb2Smrg# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 18357bfbb2Smrg# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 19357bfbb2Smrg# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 20357bfbb2Smrg 21357bfbb2Smrg# this is obnoxious: 22357bfbb2Smrg# -module lets us name the module exactly how we want 23357bfbb2Smrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end 24357bfbb2Smrg# _ladir passes a dummy rpath to libtool so the thing will actually link 25357bfbb2Smrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. 26357bfbb2SmrgAM_CFLAGS = @XORG_CFLAGS@ 27357bfbb2Smrgwsfb_drv_la_LTLIBRARIES = wsfb_drv.la 28357bfbb2Smrgwsfb_drv_la_LDFLAGS = -module -avoid-version 29357bfbb2Smrgwsfb_drv_ladir = @moduledir@/drivers 30357bfbb2Smrg 31357bfbb2Smrgwsfb_drv_la_SOURCES = \ 32357bfbb2Smrg wsfb_driver.c 33