1 | # $Id: Makefile.kmk 38152 2011-07-25 12:19:13Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the VBox Linux Additions X.org graphics driver.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | #
|
---|
22 | # Include sub-makefile(s).
|
---|
23 | #
|
---|
24 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
25 |
|
---|
26 | #
|
---|
27 | # vboxvideo_drv
|
---|
28 | #
|
---|
29 | if1of ($(KBUILD_TARGET), linux)
|
---|
30 | SYSMODS += vboxvideo_drv
|
---|
31 | endif # target linux
|
---|
32 | vboxvideo_drv_TEMPLATE = VBOXGUESTR3XF86MOD
|
---|
33 | vboxvideo_drv_DEFS.linux = linux
|
---|
34 | vboxvideo_drv_DEFS.x86 = __i386__
|
---|
35 | # This one has to be defined when building server code on systems where
|
---|
36 | # unsigned long is 64bits
|
---|
37 | vboxvideo_drv_DEFS.amd64 += _XSERVER64
|
---|
38 | vboxvideo_drv_DEFS = \
|
---|
39 | _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE \
|
---|
40 | _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
|
---|
41 | XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
|
---|
42 | GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
|
---|
43 | XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
|
---|
44 | BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
|
---|
45 | IN_MODULE XFree86Module IN_XF86_MODULE IN_RT_STATIC
|
---|
46 | vboxvideo_drv_DEFS += memset=xf86memset memcpy=xf86memcpy
|
---|
47 | vboxvideo_drv_INCS = \
|
---|
48 | $(VBOX_PATH_X11_XFREE_4_3)/include \
|
---|
49 | $(VBOX_PATH_X11_XFREE_4_3)/include/X11 \
|
---|
50 | $(VBOX_PATH_X11_XFREE_4_3)/include/X11/extensions \
|
---|
51 | $(VBOX_PATH_X11_XFREE_4_3)/include/extensions \
|
---|
52 | $(VBOX_PATH_X11_XFREE_4_3)/include/fonts \
|
---|
53 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/afb \
|
---|
54 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/include \
|
---|
55 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/fb \
|
---|
56 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86 \
|
---|
57 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/common \
|
---|
58 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/ddc \
|
---|
59 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/int10 \
|
---|
60 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/i2c \
|
---|
61 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/os-support \
|
---|
62 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/vbe \
|
---|
63 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/os-support/bus \
|
---|
64 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/rac \
|
---|
65 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/ramdac \
|
---|
66 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/shadowfb \
|
---|
67 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/vgahw \
|
---|
68 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/xf1bpp \
|
---|
69 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/xf24_32bpp \
|
---|
70 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/hw/xfree86/xf4bpp \
|
---|
71 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/mfb \
|
---|
72 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/mi \
|
---|
73 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/miext/shadow \
|
---|
74 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/render \
|
---|
75 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/randr \
|
---|
76 | $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/Xext
|
---|
77 | vboxvideo_drv_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
78 | vboxvideo_drv_SOURCES = \
|
---|
79 | pointer.c \
|
---|
80 | setmode.c \
|
---|
81 | vboxutils.c \
|
---|
82 | vboxvideo.c \
|
---|
83 | vbva.c \
|
---|
84 | $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp \
|
---|
85 | $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp \
|
---|
86 | $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp \
|
---|
87 | $(PATH_ROOT)/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp \
|
---|
88 | $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapsimple.cpp \
|
---|
89 | $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapoffset.cpp
|
---|
90 |
|
---|
91 |
|
---|
92 | #
|
---|
93 | # vboxvideo_drv_70
|
---|
94 | #
|
---|
95 | # Remark: The other X.org drivers below are derived from this one. So, to make
|
---|
96 | # that as simple as possible we do ifeq/if1of test here and extends the
|
---|
97 | # base keywords instead of using .solaris or .linux.
|
---|
98 | # Also it is *important* to use := and not = when deriving a property.
|
---|
99 | #
|
---|
100 | DLLS += vboxvideo_drv_70
|
---|
101 | vboxvideo_drv_70_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
102 | if1of ($(KBUILD_TARGET), linux)
|
---|
103 | vboxvideo_drv_70_CFLAGS += \
|
---|
104 | -Wno-conversion -Wno-unused-parameter $(VBOX_GCC_Wno-variadic-macros) # template?
|
---|
105 | endif
|
---|
106 | vboxvideo_drv_70_DEFS := \
|
---|
107 | XFree86Server IN_MODULE XFree86Module XFree86LOADER XORG_7X RENDER=1 IN_XF86_MODULE IN_RT_STATIC
|
---|
108 | ifeq ($(KBUILD_TARGET),solaris) # don't use .solaris or anything here.
|
---|
109 | vboxvideo_drv_70_DEFS += __EXTENSIONS__
|
---|
110 | vboxvideo_drv_70_CFLAGS += -D_XPG6 # Until we have moved the C++ bits into a library
|
---|
111 | endif
|
---|
112 | vboxvideo_drv_70_INCS = \
|
---|
113 | $(VBOX_PATH_X11_XORG_7_0) \
|
---|
114 | $(VBOX_PATH_X11_XORG_7_0)/X11 \
|
---|
115 | $(VBOX_PATH_X11_XORG_7_0)/xorg
|
---|
116 | vboxvideo_drv_70_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
117 | vboxvideo_drv_70_SOURCES = $(vboxvideo_drv_SOURCES)
|
---|
118 |
|
---|
119 |
|
---|
120 | #
|
---|
121 | # vboxvideo_drv_71
|
---|
122 | #
|
---|
123 | DLLS += vboxvideo_drv_71
|
---|
124 | vboxvideo_drv_71_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
125 | vboxvideo_drv_71_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
126 | vboxvideo_drv_71_DEFS := $(vboxvideo_drv_70_DEFS)
|
---|
127 | vboxvideo_drv_71_INCS = \
|
---|
128 | $(VBOX_PATH_X11_XORG_7_1) \
|
---|
129 | $(VBOX_PATH_X11_XORG_7_1)/X11 \
|
---|
130 | $(VBOX_PATH_X11_XORG_7_1)/xorg
|
---|
131 | vboxvideo_drv_71_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
132 | vboxvideo_drv_71_SOURCES = $(vboxvideo_drv_SOURCES)
|
---|
133 |
|
---|
134 |
|
---|
135 | #
|
---|
136 | # vboxvideo_drv_13
|
---|
137 | #
|
---|
138 | DLLS += vboxvideo_drv_13
|
---|
139 | vboxvideo_drv_13_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
140 | vboxvideo_drv_13_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
141 | vboxvideo_drv_13_DEFS := $(vboxvideo_drv_70_DEFS) VBOXVIDEO_13
|
---|
142 | vboxvideo_drv_13_INCS = \
|
---|
143 | $(VBOX_PATH_X11_XORG_1_3) \
|
---|
144 | $(VBOX_PATH_X11_XORG_1_3)/X11 \
|
---|
145 | $(VBOX_PATH_X11_XORG_1_3)/xorg \
|
---|
146 | $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
|
---|
147 | $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \
|
---|
148 | $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
|
---|
149 | $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0
|
---|
150 | vboxvideo_drv_13_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
151 | vboxvideo_drv_13_SOURCES = $(vboxvideo_drv_SOURCES) edid.c
|
---|
152 |
|
---|
153 |
|
---|
154 | #
|
---|
155 | # vboxvideo_drv_14
|
---|
156 | #
|
---|
157 | DLLS += vboxvideo_drv_14
|
---|
158 | vboxvideo_drv_14_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
159 | vboxvideo_drv_14_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
160 | vboxvideo_drv_14_DEFS := $(vboxvideo_drv_13_DEFS)
|
---|
161 | vboxvideo_drv_14_INCS = \
|
---|
162 | $(VBOX_PATH_X11_XORG_1_4) \
|
---|
163 | $(VBOX_PATH_X11_XORG_1_4)/X11 \
|
---|
164 | $(VBOX_PATH_X11_XORG_1_4)/xorg \
|
---|
165 | $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
|
---|
166 | $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \
|
---|
167 | $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
|
---|
168 | $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0
|
---|
169 | vboxvideo_drv_14_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
170 | vboxvideo_drv_14_SOURCES = $(vboxvideo_drv_13_SOURCES)
|
---|
171 |
|
---|
172 |
|
---|
173 | #
|
---|
174 | # vboxvideo_drv_15
|
---|
175 | #
|
---|
176 | DLLS += vboxvideo_drv_15
|
---|
177 | vboxvideo_drv_15_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
178 | vboxvideo_drv_15_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
179 | vboxvideo_drv_15_DEFS := $(vboxvideo_drv_13_DEFS) NO_ANSIC PCIACCESS \
|
---|
180 | VBOX_NO_LOW_COLOUR
|
---|
181 | if1of ($(KBUILD_TARGET), linux solaris)
|
---|
182 | vboxvideo_drv_15_DEFS += VBOX_DRI
|
---|
183 | endif
|
---|
184 | vboxvideo_drv_15_INCS = \
|
---|
185 | $(VBOX_PATH_X11_XORG_1_5) \
|
---|
186 | $(VBOX_PATH_X11_XORG_1_5)/X11 \
|
---|
187 | $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
|
---|
188 | $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \
|
---|
189 | $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
|
---|
190 | $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \
|
---|
191 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.5.3
|
---|
192 | vboxvideo_drv_15_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
193 | vboxvideo_drv_15_SOURCES = $(vboxvideo_drv_13_SOURCES)
|
---|
194 | if1of ($(KBUILD_TARGET), linux solaris)
|
---|
195 | vboxvideo_drv_15_SOURCES += \
|
---|
196 | vboxvideo_dri.c
|
---|
197 | endif
|
---|
198 |
|
---|
199 |
|
---|
200 | #
|
---|
201 | # vboxvideo_drv_16
|
---|
202 | #
|
---|
203 | DLLS += vboxvideo_drv_16
|
---|
204 | vboxvideo_drv_16_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
205 | vboxvideo_drv_16_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
206 | vboxvideo_drv_16_DEFS := $(vboxvideo_drv_15_DEFS)
|
---|
207 | vboxvideo_drv_16_INCS = \
|
---|
208 | $(VBOX_PATH_X11_XORG_1_6) \
|
---|
209 | $(VBOX_PATH_X11_XORG_1_6)/X11 \
|
---|
210 | $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
|
---|
211 | $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \
|
---|
212 | $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
|
---|
213 | $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \
|
---|
214 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0 \
|
---|
215 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local
|
---|
216 | vboxvideo_drv_16_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
217 | vboxvideo_drv_16_SOURCES := $(vboxvideo_drv_15_SOURCES)
|
---|
218 |
|
---|
219 |
|
---|
220 | #
|
---|
221 | # vboxvideo_drv_17
|
---|
222 | #
|
---|
223 | DLLS += vboxvideo_drv_17
|
---|
224 | vboxvideo_drv_17_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
225 | vboxvideo_drv_17_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
226 | vboxvideo_drv_17_DEFS := $(vboxvideo_drv_15_DEFS)
|
---|
227 | ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local
|
---|
228 | vboxvideo_drv_17_INCS = \
|
---|
229 | $(VBOX_PATH_X11_ROOT)/fontsproto-2.1.0 \
|
---|
230 | $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
|
---|
231 | $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \
|
---|
232 | $(VBOX_PATH_X11_ROOT)/inputproto-1.9.99.902 \
|
---|
233 | $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
|
---|
234 | $(VBOX_PATH_X11_ROOT)/libpciaccess-0.10.8 \
|
---|
235 | $(VBOX_PATH_X11_ROOT)/pixman-0.16.0 \
|
---|
236 | $(VBOX_PATH_X11_ROOT)/randrproto-1.3.0 \
|
---|
237 | $(VBOX_PATH_X11_ROOT)/renderproto-0.11 \
|
---|
238 | $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
|
---|
239 | $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \
|
---|
240 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.99-20090831 \
|
---|
241 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \
|
---|
242 | $(VBOX_PATH_X11_ROOT)/xproto-7.0.18
|
---|
243 | vboxvideo_drv_17_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
244 | vboxvideo_drv_17_SOURCES := $(vboxvideo_drv_15_SOURCES)
|
---|
245 |
|
---|
246 |
|
---|
247 | #
|
---|
248 | # vboxvideo_drv_18
|
---|
249 | #
|
---|
250 | DLLS += vboxvideo_drv_18
|
---|
251 | vboxvideo_drv_18_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
252 | vboxvideo_drv_18_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
253 | vboxvideo_drv_18_DEFS := $(vboxvideo_drv_15_DEFS)
|
---|
254 | ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local
|
---|
255 | vboxvideo_drv_18_INCS = \
|
---|
256 | $(VBOX_PATH_X11_ROOT)/fontsproto-2.1.0 \
|
---|
257 | $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
|
---|
258 | $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \
|
---|
259 | $(VBOX_PATH_X11_ROOT)/inputproto-1.9.99.902 \
|
---|
260 | $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
|
---|
261 | $(VBOX_PATH_X11_ROOT)/libpciaccess-0.10.8 \
|
---|
262 | $(VBOX_PATH_X11_ROOT)/pixman-0.16.0 \
|
---|
263 | $(VBOX_PATH_X11_ROOT)/randrproto-1.3.0 \
|
---|
264 | $(VBOX_PATH_X11_ROOT)/renderproto-0.11 \
|
---|
265 | $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
|
---|
266 | $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \
|
---|
267 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.8.0 \
|
---|
268 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \
|
---|
269 | $(VBOX_PATH_X11_ROOT)/xproto-7.0.18
|
---|
270 | vboxvideo_drv_18_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
271 | vboxvideo_drv_18_SOURCES := $(vboxvideo_drv_15_SOURCES)
|
---|
272 |
|
---|
273 |
|
---|
274 | #
|
---|
275 | # vboxvideo_drv_19
|
---|
276 | #
|
---|
277 | DLLS += vboxvideo_drv_19
|
---|
278 | vboxvideo_drv_19_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
279 | vboxvideo_drv_19_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
280 | vboxvideo_drv_19_DEFS := $(vboxvideo_drv_15_DEFS)
|
---|
281 | ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local
|
---|
282 | vboxvideo_drv_19_INCS = \
|
---|
283 | $(VBOX_PATH_X11_ROOT)/fontsproto-2.1.0 \
|
---|
284 | $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
|
---|
285 | $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \
|
---|
286 | $(VBOX_PATH_X11_ROOT)/inputproto-1.9.99.902 \
|
---|
287 | $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
|
---|
288 | $(VBOX_PATH_X11_ROOT)/libpciaccess-0.10.8 \
|
---|
289 | $(VBOX_PATH_X11_ROOT)/pixman-0.16.0 \
|
---|
290 | $(VBOX_PATH_X11_ROOT)/randrproto-1.3.0 \
|
---|
291 | $(VBOX_PATH_X11_ROOT)/renderproto-0.11 \
|
---|
292 | $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
|
---|
293 | $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \
|
---|
294 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.9.0 \
|
---|
295 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \
|
---|
296 | $(VBOX_PATH_X11_ROOT)/xproto-7.0.18
|
---|
297 | vboxvideo_drv_19_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
298 | vboxvideo_drv_19_SOURCES := $(vboxvideo_drv_15_SOURCES)
|
---|
299 |
|
---|
300 |
|
---|
301 | #
|
---|
302 | # vboxvideo_drv_110
|
---|
303 | #
|
---|
304 | DLLS += vboxvideo_drv_110
|
---|
305 | vboxvideo_drv_110_TEMPLATE = VBOXGUESTR3XORGMOD
|
---|
306 | vboxvideo_drv_110_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
|
---|
307 | vboxvideo_drv_110_DEFS := $(vboxvideo_drv_15_DEFS)
|
---|
308 | ## @todo replace $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local
|
---|
309 | vboxvideo_drv_110_INCS = \
|
---|
310 | $(VBOX_PATH_X11_ROOT)/fontsproto-2.1.0 \
|
---|
311 | $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
|
---|
312 | $(VBOX_PATH_X11_ROOT)/mesa-7.2/include \
|
---|
313 | $(VBOX_PATH_X11_ROOT)/inputproto-1.9.99.902 \
|
---|
314 | $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
|
---|
315 | $(VBOX_PATH_X11_ROOT)/libpciaccess-0.10.8 \
|
---|
316 | $(VBOX_PATH_X11_ROOT)/pixman-0.16.0 \
|
---|
317 | $(VBOX_PATH_X11_ROOT)/randrproto-1.3.0 \
|
---|
318 | $(VBOX_PATH_X11_ROOT)/renderproto-0.11 \
|
---|
319 | $(VBOX_PATH_X11_ROOT)/xextproto-7.1.1 \
|
---|
320 | $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \
|
---|
321 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.10.0 \
|
---|
322 | $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \
|
---|
323 | $(VBOX_PATH_X11_ROOT)/xproto-7.0.18
|
---|
324 | vboxvideo_drv_110_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
|
---|
325 | vboxvideo_drv_110_SOURCES := $(vboxvideo_drv_15_SOURCES)
|
---|
326 |
|
---|
327 |
|
---|
328 | # Check the undefined symbols in the X.Org modules against lists of allowed
|
---|
329 | # symbols. Not very elegant, but it will catch problems early.
|
---|
330 | ifdef VBOX_WITH_TESTCASES
|
---|
331 | # ifndef VBOX_ONLY_ADDITIONS
|
---|
332 | if1of ($(KBUILD_TARGET),linux solaris)
|
---|
333 | ifeq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
|
---|
334 | ifndef VBOX_ONLY_SDK
|
---|
335 | VBOXVIDEO_SRC_PATH := $(PATH_SUB_CURRENT)
|
---|
336 |
|
---|
337 | ifeq ($(KBUILD_TARGET),linux)
|
---|
338 | TESTING += $(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run
|
---|
339 | OTHERS += $(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run
|
---|
340 | $$(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run: $$(vboxvideo_drv_1_STAGE_TARGET)
|
---|
341 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
342 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
343 | $(vboxvideo_drv_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined --static
|
---|
344 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
345 | endif
|
---|
346 |
|
---|
347 | TESTING += $(vboxvideo_drv_70_0_OUTDIR)/tstvboxvideo70.run
|
---|
348 | OTHERS += $(vboxvideo_drv_70_0_OUTDIR)/tstvboxvideo70.run
|
---|
349 | $$(vboxvideo_drv_70_0_OUTDIR)/tstvboxvideo70.run: $$(vboxvideo_drv_70_1_STAGE_TARGET)
|
---|
350 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
351 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
352 | $(vboxvideo_drv_70_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
353 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
354 |
|
---|
355 | TESTING += $(vboxvideo_drv_71_0_OUTDIR)/tstvboxvideo71.run
|
---|
356 | OTHERS += $(vboxvideo_drv_71_0_OUTDIR)/tstvboxvideo71.run
|
---|
357 | $$(vboxvideo_drv_71_0_OUTDIR)/tstvboxvideo71.run: $$(vboxvideo_drv_71_1_STAGE_TARGET)
|
---|
358 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
359 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
360 | $(vboxvideo_drv_71_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
361 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
362 |
|
---|
363 | TESTING += $(vboxvideo_drv_13_0_OUTDIR)/tstvboxvideo13.run
|
---|
364 | OTHERS += $(vboxvideo_drv_13_0_OUTDIR)/tstvboxvideo13.run
|
---|
365 | $$(vboxvideo_drv_13_0_OUTDIR)/tstvboxvideo13.run: $$(vboxvideo_drv_13_1_STAGE_TARGET)
|
---|
366 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
367 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
368 | $(vboxvideo_drv_13_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
369 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
370 |
|
---|
371 | TESTING += $(vboxvideo_drv_14_0_OUTDIR)/tstvboxvideo14.run
|
---|
372 | OTHERS += $(vboxvideo_drv_14_0_OUTDIR)/tstvboxvideo14.run
|
---|
373 | $$(vboxvideo_drv_14_0_OUTDIR)/tstvboxvideo14.run: $$(vboxvideo_drv_14_1_STAGE_TARGET)
|
---|
374 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
375 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
376 | $(vboxvideo_drv_14_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
377 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
378 |
|
---|
379 | TESTING += $(vboxvideo_drv_15_0_OUTDIR)/tstvboxvideo15.run
|
---|
380 | OTHERS += $(vboxvideo_drv_15_0_OUTDIR)/tstvboxvideo15.run
|
---|
381 | $$(vboxvideo_drv_15_0_OUTDIR)/tstvboxvideo15.run: $$(vboxvideo_drv_15_1_STAGE_TARGET)
|
---|
382 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
383 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
384 | $(vboxvideo_drv_15_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
385 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
386 |
|
---|
387 | TESTING += $(vboxvideo_drv_16_0_OUTDIR)/tstvboxvideo16.run
|
---|
388 | OTHERS += $(vboxvideo_drv_16_0_OUTDIR)/tstvboxvideo16.run
|
---|
389 | $$(vboxvideo_drv_16_0_OUTDIR)/tstvboxvideo16.run: $$(vboxvideo_drv_16_1_STAGE_TARGET)
|
---|
390 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
391 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
392 | $(vboxvideo_drv_16_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
393 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
394 |
|
---|
395 | TESTING += $(vboxvideo_drv_17_0_OUTDIR)/tstvboxvideo17.run
|
---|
396 | OTHERS += $(vboxvideo_drv_17_0_OUTDIR)/tstvboxvideo17.run
|
---|
397 | $$(vboxvideo_drv_17_0_OUTDIR)/tstvboxvideo17.run: $$(vboxvideo_drv_17_1_STAGE_TARGET)
|
---|
398 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
399 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
400 | $(vboxvideo_drv_17_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
401 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
402 |
|
---|
403 | TESTING += $(vboxvideo_drv_18_0_OUTDIR)/tstvboxvideo18.run
|
---|
404 | OTHERS += $(vboxvideo_drv_18_0_OUTDIR)/tstvboxvideo18.run
|
---|
405 | $$(vboxvideo_drv_18_0_OUTDIR)/tstvboxvideo18.run: $$(vboxvideo_drv_18_1_STAGE_TARGET)
|
---|
406 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
407 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
408 | $(vboxvideo_drv_18_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
409 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
410 |
|
---|
411 | TESTING += $(vboxvideo_drv_19_0_OUTDIR)/tstvboxvideo19.run
|
---|
412 | OTHERS += $(vboxvideo_drv_19_0_OUTDIR)/tstvboxvideo19.run
|
---|
413 | $$(vboxvideo_drv_19_0_OUTDIR)/tstvboxvideo19.run: $$(vboxvideo_drv_19_1_STAGE_TARGET)
|
---|
414 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
415 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
416 | $(vboxvideo_drv_19_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
417 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
418 |
|
---|
419 | TESTING += $(vboxvideo_drv_110_0_OUTDIR)/tstvboxvideo110.run
|
---|
420 | OTHERS += $(vboxvideo_drv_110_0_OUTDIR)/tstvboxvideo110.run
|
---|
421 | $$(vboxvideo_drv_110_0_OUTDIR)/tstvboxvideo110.run: $$(vboxvideo_drv_110_1_STAGE_TARGET)
|
---|
422 | $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
|
---|
423 | $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_TARGET) \
|
---|
424 | $(vboxvideo_drv_110_1_STAGE_TARGET) $(VBOXVIDEO_SRC_PATH)/undefined
|
---|
425 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
426 |
|
---|
427 | endif # ! VBOX_ONLY_SDK
|
---|
428 | endif # eq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
|
---|
429 | endif # eq ($(KBUILD_TARGET),linux)
|
---|
430 | # endif # ! VBOX_ONLY_ADDITIONS
|
---|
431 | endif # VBOX_WITH_TESTCASES
|
---|
432 |
|
---|
433 | include $(KBUILD_PATH)/subfooter.kmk
|
---|