1 # Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 # Permission to use, copy, modify, distribute, and sell this software and its
4 # documentation for any purpose is hereby granted without fee, provided that
5 # the above copyright notice appear in all copies and that both that
6 # copyright notice and this permission notice appear in supporting
7 # documentation, and that the name of Red Hat not be used in
8 # advertising or publicity pertaining to distribution of the software without
9 # specific, written prior permission. Red Hat makes no
10 # representations about the suitability of this software for any purpose. It
11 # is provided "as is" without express or implied warranty.
13 # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
14 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
15 # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
16 # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
17 # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
18 # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19 # PERFORMANCE OF THIS SOFTWARE.
23 # -module lets us name the module exactly how we want
24 # -avoid-version prevents gratuitous .0.0.0 version numbers on the end
25 # _ladir passes a dummy rpath to libtool so the thing will actually link
26 # TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
27 AM_CFLAGS = $(XORG_CFLAGS)
29 @DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
30 @DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
31 @DRIVER_NAME@_drv_ladir = @inputdir@
33 INCLUDES=-I$(top_srcdir)/include/
35 @DRIVER_NAME@_drv_la_SOURCES = @DRIVER_NAME@.c \