Makefile.am revision 4da3402d
1#  Copyright 2005 Adam Jackson.
2#  Copyright 2017 Oracle Corporation
3#
4#  Permission is hereby granted, free of charge, to any person obtaining a
5#  copy of this software and associated documentation files (the "Software"),
6#  to deal in the Software without restriction, including without limitation
7#  on the rights to use, copy, modify, merge, publish, distribute, sub
8#  license, and/or sell copies of the Software, and to permit persons to whom
9#  the Software is furnished to do so, subject to the following conditions:
10#
11#  The above copyright notice and this permission notice (including the next
12#  paragraph) shall be included in all copies or substantial portions of the
13#  Software.
14#
15#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
18#  THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,
19#  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20#  OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
21#  USE OR OTHER DEALINGS IN THE SOFTWARE.
22
23
24# this is obnoxious:
25# -module lets us name the module exactly how we want
26# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
27# _ladir passes a dummy rpath to libtool so the thing will actually link
28# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
29
30AM_CFLAGS = $(XORG_CFLAGS) $(PCIACCESS_CFLAGS) \
31        -DXORG_7X \
32        -DIN_RING3 \
33        -DPCIACCESS \
34        -DVBOXVIDEO_13 \
35        -include xorg-server.h
36
37vboxvideo_drv_la_LTLIBRARIES = vboxvideo_drv.la
38vboxvideo_drv_la_LDFLAGS = -module -avoid-version
39vboxvideo_drv_ladir = @moduledir@/drivers
40
41vboxvideo_drv_la_SOURCES = \
42         edid.c \
43         getmode.c \
44         helpers.c \
45         HGSMIBase.c \
46         HGSMIBase.h \
47         HGSMIBuffers.c \
48         HGSMIChannels.h \
49         HGSMIChSetup.h \
50         HGSMICommon.c \
51         HGSMIContext.h \
52         HGSMIDefs.h \
53         HGSMI.h \
54         hgsmimemalloc.c \
55         HGSMIMemAlloc.h \
56         Modesetting.c \
57         pointer.c \
58         setmode.c \
59         vboxvideo.c \
60         VBoxVideoErr.h \
61         VBoxVideoGuest.h \
62         vboxvideo_drv.h \
63         VBoxVideo.h \
64         VBoxVideoIPRT.h \
65         VBoxVideoVBE.h \
66         VBVABase.c \
67         vbva.c \
68         version-generated.h
69