1 | # $Id: Makefile.kmk 62522 2016-07-22 19:17:25Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Makefile for the Windows guest video driver.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2011-2016 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 | # Include sub-makefiles.
|
---|
22 | include $(PATH_SUB_CURRENT)/mp/Makefile.kmk
|
---|
23 | include $(PATH_SUB_CURRENT)/disp/Makefile.kmk
|
---|
24 |
|
---|
25 | #
|
---|
26 | # Install the inf & cat.
|
---|
27 | # This has to be done here since it depends on both the
|
---|
28 | # miniport driver and the display dll.
|
---|
29 | #
|
---|
30 | INSTALLS += VBoxVideo-inf
|
---|
31 | VBoxVideo-inf_INST = $(INST_ADDITIONS)
|
---|
32 | VBoxVideo-inf_MODE = a+r,u+w
|
---|
33 | VBoxVideo-inf_SOURCES = \
|
---|
34 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf
|
---|
35 | ifdef VBOX_SIGN_ADDITIONS
|
---|
36 | VBoxVideo-inf_SOURCES += \
|
---|
37 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \
|
---|
38 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll \
|
---|
39 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat
|
---|
40 | endif
|
---|
41 | VBoxVideo-inf_CLEAN = $(VBoxVideo-inf_SOURCES)
|
---|
42 | VBoxVideo-inf_BLDDIRS = \
|
---|
43 | $(PATH_TARGET)/VBoxVideoCat.dir
|
---|
44 |
|
---|
45 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf: $(PATH_SUB_CURRENT)/mp/xpdm/VBoxVideo.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
|
---|
46 | $(call MSG_GENERATE,VBoxVideo-inf,$@,$<)
|
---|
47 | $(call VBOX_EDIT_INF_FN,$<,$@)
|
---|
48 |
|
---|
49 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(VBoxVideo_1_TARGET) | $$(dir $$@)
|
---|
50 | $(INSTALL) -m 644 $< $(@D)
|
---|
51 |
|
---|
52 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(VBoxDisp_1_TARGET) | $$(dir $$@)
|
---|
53 | $(INSTALL) -m 644 $< $(@D)
|
---|
54 |
|
---|
55 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat: \
|
---|
56 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf \
|
---|
57 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \
|
---|
58 | $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll
|
---|
59 | $(call MSG_TOOL,Inf2Cat,VBoxVideo-inf,$@,$<)
|
---|
60 | $(call VBOX_MAKE_CAT_FN, $(@D),$@)
|
---|
61 |
|
---|
62 | ifdef VBOX_WITH_WDDM
|
---|
63 | VBOXWDDM_WITH_DISPD3D = 1
|
---|
64 | ifdef VBOX_WITH_CROGL
|
---|
65 | VBOXWDDM_WITH_GL = 1
|
---|
66 | endif
|
---|
67 |
|
---|
68 | #
|
---|
69 | # Install the inf & cat.
|
---|
70 | # This has to be done here since it depends on both the
|
---|
71 | # miniport driver and the display dll.
|
---|
72 | #
|
---|
73 | INSTALLS += VBoxVideoWddm-inf
|
---|
74 | VBoxVideoWddm-inf_INST = $(INST_ADDITIONS)
|
---|
75 | VBoxVideoWddm-inf_MODE = a+r,u+w
|
---|
76 | VBoxVideoWddm-inf_SOURCES = \
|
---|
77 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf
|
---|
78 | ifdef VBOX_SIGN_ADDITIONS
|
---|
79 | VBoxVideoWddm-inf_SOURCES += \
|
---|
80 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys \
|
---|
81 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.cat
|
---|
82 |
|
---|
83 | ifdef VBOXWDDM_WITH_DISPD3D
|
---|
84 | VBoxVideoWddm-inf_SOURCES += \
|
---|
85 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll
|
---|
86 | VBoxVideoWddm-inf_SOURCES.amd64 += \
|
---|
87 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll
|
---|
88 | endif # VBOXWDDM_WITH_DISPD3D
|
---|
89 |
|
---|
90 | ifdef VBOXWDDM_WITH_GL
|
---|
91 | VBoxVideoWddm-inf_SOURCES += \
|
---|
92 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll \
|
---|
93 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll \
|
---|
94 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll \
|
---|
95 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll \
|
---|
96 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll \
|
---|
97 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll \
|
---|
98 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll \
|
---|
99 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll \
|
---|
100 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll
|
---|
101 | VBoxVideoWddm-inf_SOURCES.amd64 += \
|
---|
102 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll \
|
---|
103 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll \
|
---|
104 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll \
|
---|
105 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll \
|
---|
106 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll \
|
---|
107 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll \
|
---|
108 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll \
|
---|
109 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll \
|
---|
110 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll
|
---|
111 | endif # VBOXWDDM_WITH_GL
|
---|
112 |
|
---|
113 | endif # signing
|
---|
114 | VBoxVideoWddm-inf_CLEAN = $(VBoxVideoWddm-inf_SOURCES)
|
---|
115 | VBoxVideoWddm-inf_BLDDIRS = \
|
---|
116 | $(PATH_TARGET)/VBoxVideoWddmCat.dir
|
---|
117 |
|
---|
118 | VBOXWDDM_EDIT_INF_DISPD3D_FN_ARG = $(if $(VBOXWDDM_WITH_DISPD3D),-e 's/^;dispd3d *//', -e '/^;dispd3d /d')
|
---|
119 | VBOXWDDM_EDIT_INF_GL_FN_ARG = $(if $(VBOXWDDM_WITH_GL),-e 's/^;gl *//', -e '/^;gl /d')
|
---|
120 |
|
---|
121 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf: \
|
---|
122 | $(PATH_SUB_CURRENT)/mp/wddm/VBoxVideoWddm.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
|
---|
123 | $(call MSG_GENERATE,VBoxVideoWddm-inf,$@,$<)
|
---|
124 | $(call VBOX_EDIT_INF_FN,$<,$@ $(VBOXWDDM_EDIT_INF_DISPD3D_FN_ARG) $(VBOXWDDM_EDIT_INF_GL_FN_ARG))
|
---|
125 |
|
---|
126 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys: $$(VBoxVideoWddm_1_TARGET) | $$(dir $$@)
|
---|
127 | $(INSTALL) -m 644 $< $(@D)
|
---|
128 |
|
---|
129 | ifdef VBOXWDDM_WITH_DISPD3D
|
---|
130 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll: $$(VBoxDispD3D_1_TARGET) | $$(dir $$@)
|
---|
131 | $(INSTALL) -m 644 $< $(@D)
|
---|
132 |
|
---|
133 | ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
---|
134 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll: $$(VBoxDispD3D-x86_1_TARGET) | $$(dir $$@)
|
---|
135 | $(INSTALL) -m 644 $< $(@D)
|
---|
136 | endif
|
---|
137 | endif # VBOXWDDM_WITH_DISPD3D
|
---|
138 |
|
---|
139 | ifdef VBOXWDDM_WITH_GL
|
---|
140 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll: $(PATH_OBJ)/VBoxOGL/VBoxOGL.dll | $$(dir $$@)
|
---|
141 | $(INSTALL) -m 644 $< $(@D)
|
---|
142 |
|
---|
143 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll: $(PATH_OBJ)/VBoxD3D9wddm/VBoxD3D9wddm.dll | $$(dir $$@)
|
---|
144 | $(INSTALL) -m 644 $< $(@D)
|
---|
145 |
|
---|
146 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll: $(PATH_OBJ)/wined3dwddm/wined3dwddm.dll | $$(dir $$@)
|
---|
147 | $(INSTALL) -m 644 $< $(@D)
|
---|
148 |
|
---|
149 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll: $(PATH_OBJ)/VBoxOGLarrayspu/VBoxOGLarrayspu.dll | $$(dir $$@)
|
---|
150 | $(INSTALL) -m 644 $< $(@D)
|
---|
151 |
|
---|
152 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll: $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil.dll | $$(dir $$@)
|
---|
153 | $(INSTALL) -m 644 $< $(@D)
|
---|
154 |
|
---|
155 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll: $(PATH_OBJ)/VBoxOGLerrorspu/VBoxOGLerrorspu.dll | $$(dir $$@)
|
---|
156 | $(INSTALL) -m 644 $< $(@D)
|
---|
157 |
|
---|
158 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll: $(PATH_OBJ)/VBoxOGLfeedbackspu/VBoxOGLfeedbackspu.dll | $$(dir $$@)
|
---|
159 | $(INSTALL) -m 644 $< $(@D)
|
---|
160 |
|
---|
161 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll: $(PATH_OBJ)/VBoxOGLpackspu/VBoxOGLpackspu.dll | $$(dir $$@)
|
---|
162 | $(INSTALL) -m 644 $< $(@D)
|
---|
163 |
|
---|
164 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll: $(PATH_OBJ)/VBoxOGLpassthroughspu/VBoxOGLpassthroughspu.dll | $$(dir $$@)
|
---|
165 | $(INSTALL) -m 644 $< $(@D)
|
---|
166 |
|
---|
167 | ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
---|
168 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll: $(PATH_OBJ)/VBoxOGL-x86/VBoxOGL-x86.dll | $$(dir $$@)
|
---|
169 | $(INSTALL) -m 644 $< $(@D)
|
---|
170 |
|
---|
171 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll: $(PATH_OBJ)/VBoxD3D9wddm-x86/VBoxD3D9wddm-x86.dll | $$(dir $$@)
|
---|
172 | $(INSTALL) -m 644 $< $(@D)
|
---|
173 |
|
---|
174 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll: $(PATH_OBJ)/wined3dwddm-x86/wined3dwddm-x86.dll | $$(dir $$@)
|
---|
175 | $(INSTALL) -m 644 $< $(@D)
|
---|
176 |
|
---|
177 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll: $(PATH_OBJ)/VBoxOGLarrayspu-x86/VBoxOGLarrayspu-x86.dll | $$(dir $$@)
|
---|
178 | $(INSTALL) -m 644 $< $(@D)
|
---|
179 |
|
---|
180 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll: $(PATH_OBJ)/VBoxOGLcrutil-x86/VBoxOGLcrutil-x86.dll | $$(dir $$@)
|
---|
181 | $(INSTALL) -m 644 $< $(@D)
|
---|
182 |
|
---|
183 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll: $(PATH_OBJ)/VBoxOGLerrorspu-x86/VBoxOGLerrorspu-x86.dll | $$(dir $$@)
|
---|
184 | $(INSTALL) -m 644 $< $(@D)
|
---|
185 |
|
---|
186 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll: $(PATH_OBJ)/VBoxOGLfeedbackspu-x86/VBoxOGLfeedbackspu-x86.dll | $$(dir $$@)
|
---|
187 | $(INSTALL) -m 644 $< $(@D)
|
---|
188 |
|
---|
189 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll: $(PATH_OBJ)/VBoxOGLpackspu-x86/VBoxOGLpackspu-x86.dll | $$(dir $$@)
|
---|
190 | $(INSTALL) -m 644 $< $(@D)
|
---|
191 |
|
---|
192 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll: $(PATH_OBJ)/VBoxOGLpassthroughspu-x86/VBoxOGLpassthroughspu-x86.dll | $$(dir $$@)
|
---|
193 | $(INSTALL) -m 644 $< $(@D)
|
---|
194 | endif # ($(KBUILD_TARGET_ARCH), amd64)
|
---|
195 | endif # VBOXWDDM_WITH_GL
|
---|
196 |
|
---|
197 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.cat: \
|
---|
198 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.inf \
|
---|
199 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxVideoWddm.sys \
|
---|
200 | $(if $(VBOXWDDM_WITH_DISPD3D), $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D.dll, ) \
|
---|
201 | $(if $(VBOXWDDM_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxDispD3D-x86.dll, ), ) \
|
---|
202 | $(if $(VBOXWDDM_WITH_GL), $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL.dll \
|
---|
203 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm.dll \
|
---|
204 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm.dll \
|
---|
205 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu.dll \
|
---|
206 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil.dll \
|
---|
207 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu.dll \
|
---|
208 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu.dll \
|
---|
209 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu.dll \
|
---|
210 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu.dll, ) \
|
---|
211 | $(if $(VBOXWDDM_WITH_GL), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \
|
---|
212 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGL-x86.dll \
|
---|
213 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxD3D9wddm-x86.dll \
|
---|
214 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/wined3dwddm-x86.dll \
|
---|
215 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLarrayspu-x86.dll \
|
---|
216 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLcrutil-x86.dll \
|
---|
217 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLerrorspu-x86.dll \
|
---|
218 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLfeedbackspu-x86.dll \
|
---|
219 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpackspu-x86.dll \
|
---|
220 | $(PATH_TARGET)/VBoxVideoWddmCat.dir/VBoxOGLpassthroughspu-x86.dll, ), )
|
---|
221 | $(call MSG_TOOL,Inf2Cat,VBoxVideoWddm-inf,$@,$<)
|
---|
222 | $(call VBOX_MAKE_CAT_FN, $(@D),$@)
|
---|
223 |
|
---|
224 | ifdef VBOX_WITH_WDDM_W8
|
---|
225 | VBOXWDDMW8_WITH_DISPD3D = 1
|
---|
226 | ifdef VBOX_WITH_CROGL
|
---|
227 | VBOXWDDMW8_WITH_GL = 1
|
---|
228 | endif
|
---|
229 |
|
---|
230 | INSTALLS += VBoxVideoW8-inf
|
---|
231 | VBoxVideoW8-inf_INST = $(INST_ADDITIONS)
|
---|
232 | VBoxVideoW8-inf_MODE = a+r,u+w
|
---|
233 |
|
---|
234 | VBoxVideoW8-inf_SOURCES = \
|
---|
235 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf
|
---|
236 | ifdef VBOX_SIGN_ADDITIONS
|
---|
237 | VBoxVideoW8-inf_SOURCES += \
|
---|
238 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys \
|
---|
239 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.cat
|
---|
240 | if defined(VBOXWDDMW8_WITH_DISPD3D) && !defined(VBOXWDDM_WITH_DISPD3D)
|
---|
241 | VBoxVideoW8-inf_SOURCES += \
|
---|
242 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll
|
---|
243 | VBoxVideoW8-inf_SOURCES.amd64 += \
|
---|
244 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll
|
---|
245 | endif
|
---|
246 | if defined(VBOXWDDMW8_WITH_GL) && !defined(VBOXWDDM_WITH_GL)
|
---|
247 | VBoxVideoW8-inf_SOURCES += \
|
---|
248 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
|
---|
249 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
|
---|
250 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
|
---|
251 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
|
---|
252 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
|
---|
253 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
|
---|
254 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
|
---|
255 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
|
---|
256 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll
|
---|
257 | VBoxVideoW8-inf_SOURCES.amd64 += \
|
---|
258 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll \
|
---|
259 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll \
|
---|
260 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll \
|
---|
261 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll \
|
---|
262 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll \
|
---|
263 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll \
|
---|
264 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll \
|
---|
265 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll \
|
---|
266 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll
|
---|
267 | endif # VBOXWDDMW8_WITH_GL
|
---|
268 | endif # VBOX_SIGN_ADDITIONS
|
---|
269 |
|
---|
270 | VBoxVideoW8-inf_CLEAN = $(VBoxVideoW8-inf_SOURCES)
|
---|
271 | if defined(VBOXWDDMW8_WITH_DISPD3D) && defined(VBOXWDDM_WITH_DISPD3D)
|
---|
272 | VBoxVideoW8-inf_CLEAN += \
|
---|
273 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
|
---|
274 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
|
---|
275 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
|
---|
276 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
|
---|
277 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
|
---|
278 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
|
---|
279 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
|
---|
280 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
|
---|
281 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll
|
---|
282 | endif
|
---|
283 | if defined(VBOXWDDMW8_WITH_GL) && !defined(VBOXWDDM_WITH_GL)
|
---|
284 | VBoxVideoW8-inf_CLEAN += \
|
---|
285 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
|
---|
286 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
|
---|
287 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
|
---|
288 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
|
---|
289 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
|
---|
290 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
|
---|
291 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
|
---|
292 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
|
---|
293 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll
|
---|
294 | VBoxVideoW8-inf_CLEAN.amd64 += \
|
---|
295 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll \
|
---|
296 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll \
|
---|
297 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll \
|
---|
298 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll \
|
---|
299 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll \
|
---|
300 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll \
|
---|
301 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll \
|
---|
302 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll \
|
---|
303 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll
|
---|
304 | endif
|
---|
305 | VBoxVideoW8-inf_BLDDIRS = \
|
---|
306 | $(PATH_TARGET)/VBoxVideoW8Cat.dir
|
---|
307 |
|
---|
308 | VBOXWDDMW8_EDIT_INF_DISPD3D_FN_ARG = $(if $(VBOXWDDMW8_WITH_DISPD3D),-e 's/^;dispd3d *//', -e '/^;dispd3d /d')
|
---|
309 | VBOXWDDMW8_EDIT_INF_GL_FN_ARG = $(if $(VBOXWDDMW8_WITH_GL),-e 's/^;gl *//', -e '/^;gl /d')
|
---|
310 | VBOXWDDMW8_EDIT_INF_ICD_FN_ARG = $(if $(VBOXWDDMW8_WITH_ICD),-e 's/^;icd *//', -e '/^;icd /d')
|
---|
311 |
|
---|
312 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf: $(PATH_SUB_CURRENT)/mp/wddm/VBoxVideoW8.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
|
---|
313 | $(call MSG_GENERATE,VBoxVideoW8-inf,$@,$<)
|
---|
314 | $(call VBOX_EDIT_INF_FN,$<,$@ $(VBOXWDDMW8_EDIT_INF_DISPD3D_FN_ARG) $(VBOXWDDMW8_EDIT_INF_GL_FN_ARG) $(VBOXWDDMW8_EDIT_INF_ICD_FN_ARG))
|
---|
315 |
|
---|
316 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys: $$(VBoxVideoW8_1_TARGET) | $$(dir $$@)
|
---|
317 | $(INSTALL) -m 644 $< $(@D)
|
---|
318 |
|
---|
319 | ifdef VBOXWDDMW8_WITH_DISPD3D
|
---|
320 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll: $$(VBoxDispD3D_1_TARGET) | $$(dir $$@)
|
---|
321 | $(INSTALL) -m 644 $< $(@D)
|
---|
322 |
|
---|
323 | ifeq ($(KBUILD_TARGET_ARCH),amd64)
|
---|
324 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll: $$(VBoxDispD3D-x86_1_TARGET) | $$(dir $$@)
|
---|
325 | $(INSTALL) -m 644 $< $(@D)
|
---|
326 | endif # ($(KBUILD_TARGET_ARCH), amd64)
|
---|
327 | endif # VBOXWDDMW8_WITH_DISPD3D
|
---|
328 |
|
---|
329 | ifdef VBOXWDDMW8_WITH_GL
|
---|
330 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll: $(PATH_OBJ)/VBoxOGL/VBoxOGL.dll | $$(dir $$@)
|
---|
331 | $(INSTALL) -m 644 $< $(@D)
|
---|
332 |
|
---|
333 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll: $(PATH_OBJ)/VBoxD3D9wddm/VBoxD3D9wddm.dll | $$(dir $$@)
|
---|
334 | $(INSTALL) -m 644 $< $(@D)
|
---|
335 |
|
---|
336 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll: $(PATH_OBJ)/wined3dwddm/wined3dwddm.dll | $$(dir $$@)
|
---|
337 | $(INSTALL) -m 644 $< $(@D)
|
---|
338 |
|
---|
339 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll: $(PATH_OBJ)/VBoxOGLarrayspu/VBoxOGLarrayspu.dll | $$(dir $$@)
|
---|
340 | $(INSTALL) -m 644 $< $(@D)
|
---|
341 |
|
---|
342 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll: $(PATH_OBJ)/VBoxOGLcrutil/VBoxOGLcrutil.dll | $$(dir $$@)
|
---|
343 | $(INSTALL) -m 644 $< $(@D)
|
---|
344 |
|
---|
345 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll: $(PATH_OBJ)/VBoxOGLerrorspu/VBoxOGLerrorspu.dll | $$(dir $$@)
|
---|
346 | $(INSTALL) -m 644 $< $(@D)
|
---|
347 |
|
---|
348 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll: $(PATH_OBJ)/VBoxOGLfeedbackspu/VBoxOGLfeedbackspu.dll | $$(dir $$@)
|
---|
349 | $(INSTALL) -m 644 $< $(@D)
|
---|
350 |
|
---|
351 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll: $(PATH_OBJ)/VBoxOGLpackspu/VBoxOGLpackspu.dll | $$(dir $$@)
|
---|
352 | $(INSTALL) -m 644 $< $(@D)
|
---|
353 |
|
---|
354 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll: $(PATH_OBJ)/VBoxOGLpassthroughspu/VBoxOGLpassthroughspu.dll | $$(dir $$@)
|
---|
355 | $(INSTALL) -m 644 $< $(@D)
|
---|
356 |
|
---|
357 | ifeq ($(KBUILD_TARGET_ARCH), amd64)
|
---|
358 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll: $(PATH_OBJ)/VBoxOGL-x86/VBoxOGL-x86.dll | $$(dir $$@)
|
---|
359 | $(INSTALL) -m 644 $< $(@D)
|
---|
360 |
|
---|
361 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll: $(PATH_OBJ)/VBoxD3D9wddm-x86/VBoxD3D9wddm-x86.dll | $$(dir $$@)
|
---|
362 | $(INSTALL) -m 644 $< $(@D)
|
---|
363 |
|
---|
364 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll: $(PATH_OBJ)/wined3dwddm-x86/wined3dwddm-x86.dll | $$(dir $$@)
|
---|
365 | $(INSTALL) -m 644 $< $(@D)
|
---|
366 |
|
---|
367 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll: $(PATH_OBJ)/VBoxOGLarrayspu-x86/VBoxOGLarrayspu-x86.dll | $$(dir $$@)
|
---|
368 | $(INSTALL) -m 644 $< $(@D)
|
---|
369 |
|
---|
370 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll: $(PATH_OBJ)/VBoxOGLcrutil-x86/VBoxOGLcrutil-x86.dll | $$(dir $$@)
|
---|
371 | $(INSTALL) -m 644 $< $(@D)
|
---|
372 |
|
---|
373 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll: $(PATH_OBJ)/VBoxOGLerrorspu-x86/VBoxOGLerrorspu-x86.dll | $$(dir $$@)
|
---|
374 | $(INSTALL) -m 644 $< $(@D)
|
---|
375 |
|
---|
376 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll: $(PATH_OBJ)/VBoxOGLfeedbackspu-x86/VBoxOGLfeedbackspu-x86.dll | $$(dir $$@)
|
---|
377 | $(INSTALL) -m 644 $< $(@D)
|
---|
378 |
|
---|
379 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll: $(PATH_OBJ)/VBoxOGLpackspu-x86/VBoxOGLpackspu-x86.dll | $$(dir $$@)
|
---|
380 | $(INSTALL) -m 644 $< $(@D)
|
---|
381 |
|
---|
382 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll: $(PATH_OBJ)/VBoxOGLpassthroughspu-x86/VBoxOGLpassthroughspu-x86.dll | $$(dir $$@)
|
---|
383 | $(INSTALL) -m 644 $< $(@D)
|
---|
384 | endif # ($(KBUILD_TARGET_ARCH), amd64)
|
---|
385 | endif # VBOXWDDMW8_WITH_GL
|
---|
386 |
|
---|
387 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.cat: \
|
---|
388 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.inf \
|
---|
389 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxVideoW8.sys \
|
---|
390 | $(if $(VBOXWDDMW8_WITH_DISPD3D), $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D.dll, ) \
|
---|
391 | $(if $(VBOXWDDMW8_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxDispD3D-x86.dll, ), ) \
|
---|
392 | $(if $(VBOXWDDMW8_WITH_GL), $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL.dll \
|
---|
393 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm.dll \
|
---|
394 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm.dll \
|
---|
395 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu.dll \
|
---|
396 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil.dll \
|
---|
397 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu.dll \
|
---|
398 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu.dll \
|
---|
399 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu.dll \
|
---|
400 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu.dll, ) \
|
---|
401 | $(if $(VBOXWDDMW8_WITH_GL), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \
|
---|
402 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGL-x86.dll \
|
---|
403 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxD3D9wddm-x86.dll \
|
---|
404 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/wined3dwddm-x86.dll \
|
---|
405 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLarrayspu-x86.dll \
|
---|
406 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLcrutil-x86.dll \
|
---|
407 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLerrorspu-x86.dll \
|
---|
408 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLfeedbackspu-x86.dll \
|
---|
409 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpackspu-x86.dll \
|
---|
410 | $(PATH_TARGET)/VBoxVideoW8Cat.dir/VBoxOGLpassthroughspu-x86.dll, ), )
|
---|
411 | $(call MSG_TOOL,Inf2Cat,VBoxVideoW8-inf,$@,$<)
|
---|
412 | $(call VBOX_MAKE_CAT_FN, $(@D),$@)
|
---|
413 |
|
---|
414 | endif # VBOX_WITH_WDDM_W8
|
---|
415 | endif # VBOX_WITH_WDDM
|
---|
416 |
|
---|
417 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|