16df26cacSmrg#  Copyright 2005 Adam Jackson.
26df26cacSmrg#
36df26cacSmrg#  Permission is hereby granted, free of charge, to any person obtaining a
46df26cacSmrg#  copy of this software and associated documentation files (the "Software"),
56df26cacSmrg#  to deal in the Software without restriction, including without limitation
66df26cacSmrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
76df26cacSmrg#  license, and/or sell copies of the Software, and to permit persons to whom
86df26cacSmrg#  the Software is furnished to do so, subject to the following conditions:
96df26cacSmrg#
106df26cacSmrg#  The above copyright notice and this permission notice (including the next
116df26cacSmrg#  paragraph) shall be included in all copies or substantial portions of the
126df26cacSmrg#  Software.
136df26cacSmrg#
146df26cacSmrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
156df26cacSmrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
166df26cacSmrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
176df26cacSmrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
186df26cacSmrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
196df26cacSmrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
206df26cacSmrg
216df26cacSmrg# this is obnoxious:
226df26cacSmrg# -module lets us name the module exactly how we want
236df26cacSmrg# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
246df26cacSmrg# _ladir passes a dummy rpath to libtool so the thing will actually link
256df26cacSmrg# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
26b68e1f86Smrg
273bfa90b6Smrgvmware_drv_la_LTLIBRARIES = vmware_drv.la
283bfa90b6Smrgvmware_drv_la_LDFLAGS = -module -avoid-version
293bfa90b6Smrgvmware_drv_la_CFLAGS = $(CWARNFLAGS) @XORG_CFLAGS@
303bfa90b6Smrgvmware_drv_ladir = @moduledir@/drivers
31b68e1f86Smrg
323bfa90b6Smrgif BUILD_VMWGFX
333bfa90b6Smrgvmware_drv_la_LIBADD = $(top_builddir)/vmwgfx/libvmwgfx.la
343bfa90b6Smrgvmware_drv_la_DEPENDENCIES = $(top_builddir)/vmwgfx/libvmwgfx.la
353bfa90b6Smrgendif
363bfa90b6Smrg
373bfa90b6Smrgvmware_drv_la_SOURCES = \
38b68e1f86Smrg	bits2pixels.c \
39b68e1f86Smrg	bits2pixels.h \
403bfa90b6Smrg	compat-api.h \
41b68e1f86Smrg	guest_os.h \
42b68e1f86Smrg	includeCheck.h \
43b68e1f86Smrg	svga_escape.h \
44b68e1f86Smrg	svga_limits.h \
45b68e1f86Smrg	svga_modes.h \
46b68e1f86Smrg	svga_overlay.h \
47b68e1f86Smrg	svga_reg.h \
48b68e1f86Smrg	svga_struct.h \
49b68e1f86Smrg	vm_basic_types.h \
50b68e1f86Smrg	vm_device_version.h \
51b68e1f86Smrg	vmware.c \
52b68e1f86Smrg	vmwarecurs.c \
53b68e1f86Smrg	vmware.h \
54b68e1f86Smrg	vmwarectrl.c \
55b68e1f86Smrg	vmwarectrl.h \
56b68e1f86Smrg	vmwarectrlproto.h \
57b68e1f86Smrg	vmwarexinerama.c \
58b68e1f86Smrg	vmwarevideo.c \
593bfa90b6Smrg	vmwaremodes.c \
603bfa90b6Smrg	vmware_bootstrap.h \
613bfa90b6Smrg	vmware_bootstrap.c \
623bfa90b6Smrg	vmware_common.c \
6325dbecb6Smrg	vmware_common.h \
6425dbecb6Smrg	common_compat.h
65