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