Makefile.am revision 9bd41f2c
19bd41f2cSmrg#  Copyright 2005 Adam Jackson.
29bd41f2cSmrg#
39bd41f2cSmrg#  Permission is hereby granted, free of charge, to any person obtaining a
49bd41f2cSmrg#  copy of this software and associated documentation files (the "Software"),
59bd41f2cSmrg#  to deal in the Software without restriction, including without limitation
69bd41f2cSmrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
79bd41f2cSmrg#  license, and/or sell copies of the Software, and to permit persons to whom
89bd41f2cSmrg#  the Software is furnished to do so, subject to the following conditions:
99bd41f2cSmrg#
109bd41f2cSmrg#  The above copyright notice and this permission notice (including the next
119bd41f2cSmrg#  paragraph) shall be included in all copies or substantial portions of the
129bd41f2cSmrg#  Software.
139bd41f2cSmrg#
149bd41f2cSmrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
159bd41f2cSmrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
169bd41f2cSmrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
179bd41f2cSmrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
189bd41f2cSmrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
199bd41f2cSmrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
209bd41f2cSmrg
219bd41f2cSmrg
229bd41f2cSmrg# this is obnoxious:
239bd41f2cSmrg# -module lets us name the module exactly how we want
249bd41f2cSmrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
259bd41f2cSmrg# _ladir passes a dummy rpath to libtool so the thing will actually link
269bd41f2cSmrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
279bd41f2cSmrg@DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
289bd41f2cSmrg@DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
299bd41f2cSmrg@DRIVER_NAME@_drv_ladir = @inputdir@
309bd41f2cSmrg
319bd41f2cSmrgINCLUDES = -I$(srcdir)
329bd41f2cSmrg
339bd41f2cSmrg@DRIVER_NAME@_drv_la_SOURCES = @DRIVER_NAME@.c @DRIVER_NAME@_defs.h \
349bd41f2cSmrg                               @DRIVER_NAME@_client.c @DRIVER_NAME@_client.h \
359bd41f2cSmrg                               @DRIVER_NAME@_proto.c @DRIVER_NAME@_proto.h
369bd41f2cSmrg                               
37