Makefile.am revision 1ae1b5e8
176888252Smrg# Copyright 2005 Adam Jackson. 276888252Smrg# 376888252Smrg# Permission is hereby granted, free of charge, to any person obtaining a 476888252Smrg# copy of this software and associated documentation files (the "Software"), 576888252Smrg# to deal in the Software without restriction, including without limitation 676888252Smrg# on the rights to use, copy, modify, merge, publish, distribute, sub 776888252Smrg# license, and/or sell copies of the Software, and to permit persons to whom 876888252Smrg# the Software is furnished to do so, subject to the following conditions: 976888252Smrg# 1076888252Smrg# The above copyright notice and this permission notice (including the next 1176888252Smrg# paragraph) shall be included in all copies or substantial portions of the 1276888252Smrg# Software. 1376888252Smrg# 1476888252Smrg# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 1576888252Smrg# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 1676888252Smrg# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 1776888252Smrg# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 1876888252Smrg# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 1976888252Smrg# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 2076888252Smrg 2176888252Smrg# this is obnoxious: 2276888252Smrg# -module lets us name the module exactly how we want 2376888252Smrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end 2476888252Smrg# _ladir passes a dummy rpath to libtool so the thing will actually link 2576888252Smrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. 261ae1b5e8SmrgAM_CFLAGS = @XORG_CFLAGS@ $(CWARNFLAGS) 2776888252Smrg 2876888252Smrgcirrus_drv_la_LTLIBRARIES = cirrus_drv.la 2976888252Smrgcirrus_drv_la_LDFLAGS = -module -avoid-version 3076888252Smrgcirrus_drv_ladir = @moduledir@/drivers 3176888252Smrgcirrus_drv_la_SOURCES = \ 3276888252Smrg cir_dga.c \ 3376888252Smrg cir_driver.c \ 3476888252Smrg cir.h \ 3576888252Smrg CirrusClk.c \ 361ae1b5e8Smrg cir_shadow.c \ 371ae1b5e8Smrg cir_pcirename.h 3876888252Smrg 3976888252Smrgcirrus_alpine_la_LTLIBRARIES = cirrus_alpine.la 4076888252Smrgcirrus_alpine_la_LDFLAGS = -module -avoid-version 4176888252Smrgcirrus_alpine_ladir = @moduledir@/drivers 4276888252Smrgcirrus_alpine_la_SOURCES = \ 4376888252Smrg alp_driver.c \ 4476888252Smrg alp.h \ 4576888252Smrg alp_hwcurs.c \ 4676888252Smrg alp_i2c.c \ 4776888252Smrg alp_xaa.c \ 4876888252Smrg alp_xaam.c 4976888252Smrg 5076888252Smrgcirrus_laguna_la_LTLIBRARIES = cirrus_laguna.la 5176888252Smrgcirrus_laguna_la_LDFLAGS = -module -avoid-version 5276888252Smrgcirrus_laguna_ladir = @moduledir@/drivers 5376888252Smrgcirrus_laguna_la_SOURCES = \ 5476888252Smrg lg_driver.c \ 5576888252Smrg lg.h \ 5676888252Smrg lg_hwcurs.c \ 5776888252Smrg lg_i2c.c \ 5876888252Smrg lg_xaa.c \ 5976888252Smrg lg_xaa.h 60