1 | # $Id$
|
---|
2 | ## @file
|
---|
3 | # Makefile for the Wine D3D related dlls for VirtualBox.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2009 Sun Microsystems, Inc.
|
---|
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 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | # additional information or have any questions.
|
---|
20 | #
|
---|
21 |
|
---|
22 |
|
---|
23 | SUB_DEPTH = ../../../../../..
|
---|
24 | include $(KBUILD_PATH)/subheader.kmk
|
---|
25 |
|
---|
26 | DLLS += libWine
|
---|
27 |
|
---|
28 | libWine_TEMPLATE = VBOXGUESTR3NPDLL
|
---|
29 | libWine_DEFS = __WINESRC__ WINE_UNICODE_API="" _REENTRANT WINE_NOWINSOCK USE_WIN32_OPENGL __i386__ \
|
---|
30 | DLLDIR=\"\" \
|
---|
31 | BINDIR=\"\" \
|
---|
32 | LIB_TO_BINDIR=\"\" \
|
---|
33 | LIB_TO_DLLDIR=\"\" \
|
---|
34 | BIN_TO_DLLDIR=\"\" \
|
---|
35 | LIB_TO_DATADIR=\"\" \
|
---|
36 | BIN_TO_DATADIR=\"\"
|
---|
37 | libWine_INCS := $(PATH_SUB_CURRENT)/include
|
---|
38 | libWine_SOURCES := \
|
---|
39 | libWine/wine.def \
|
---|
40 | libWine/casemap.c \
|
---|
41 | libWine/collation.c \
|
---|
42 | libWine/compose.c \
|
---|
43 | libWine/config.c \
|
---|
44 | libWine/cptable.c \
|
---|
45 | libWine/debug.c \
|
---|
46 | libWine/fold.c \
|
---|
47 | libWine/ldt.c \
|
---|
48 | libWine/loader.c \
|
---|
49 | libWine/mbtowc.c \
|
---|
50 | libWine/mmap.c \
|
---|
51 | libWine/port.c \
|
---|
52 | libWine/sortkey.c \
|
---|
53 | libWine/string.c \
|
---|
54 | libWine/utf8.c \
|
---|
55 | libWine/wctomb.c \
|
---|
56 | libWine/wctype.c \
|
---|
57 | libWine/c_037.c \
|
---|
58 | libWine/c_424.c \
|
---|
59 | libWine/c_437.c \
|
---|
60 | libWine/c_500.c \
|
---|
61 | libWine/c_737.c \
|
---|
62 | libWine/c_775.c \
|
---|
63 | libWine/c_850.c \
|
---|
64 | libWine/c_852.c \
|
---|
65 | libWine/c_855.c \
|
---|
66 | libWine/c_856.c \
|
---|
67 | libWine/c_857.c \
|
---|
68 | libWine/c_860.c \
|
---|
69 | libWine/c_861.c \
|
---|
70 | libWine/c_862.c \
|
---|
71 | libWine/c_863.c \
|
---|
72 | libWine/c_864.c \
|
---|
73 | libWine/c_865.c \
|
---|
74 | libWine/c_866.c \
|
---|
75 | libWine/c_869.c \
|
---|
76 | libWine/c_874.c \
|
---|
77 | libWine/c_875.c \
|
---|
78 | libWine/c_878.c \
|
---|
79 | libWine/c_932.c \
|
---|
80 | libWine/c_936.c \
|
---|
81 | libWine/c_949.c \
|
---|
82 | libWine/c_950.c \
|
---|
83 | libWine/c_1006.c \
|
---|
84 | libWine/c_1026.c \
|
---|
85 | libWine/c_1250.c \
|
---|
86 | libWine/c_1251.c \
|
---|
87 | libWine/c_1252.c \
|
---|
88 | libWine/c_1253.c \
|
---|
89 | libWine/c_1254.c \
|
---|
90 | libWine/c_1255.c \
|
---|
91 | libWine/c_1256.c \
|
---|
92 | libWine/c_1257.c \
|
---|
93 | libWine/c_1258.c \
|
---|
94 | libWine/c_1361.c \
|
---|
95 | libWine/c_10000.c \
|
---|
96 | libWine/c_10006.c \
|
---|
97 | libWine/c_10007.c \
|
---|
98 | libWine/c_10029.c \
|
---|
99 | libWine/c_10079.c \
|
---|
100 | libWine/c_10081.c \
|
---|
101 | libWine/c_20127.c \
|
---|
102 | libWine/c_20866.c \
|
---|
103 | libWine/c_20932.c \
|
---|
104 | libWine/c_21866.c \
|
---|
105 | libWine/c_28591.c \
|
---|
106 | libWine/c_28592.c \
|
---|
107 | libWine/c_28593.c \
|
---|
108 | libWine/c_28594.c \
|
---|
109 | libWine/c_28595.c \
|
---|
110 | libWine/c_28596.c \
|
---|
111 | libWine/c_28597.c \
|
---|
112 | libWine/c_28598.c \
|
---|
113 | libWine/c_28599.c \
|
---|
114 | libWine/c_28600.c \
|
---|
115 | libWine/c_28603.c \
|
---|
116 | libWine/c_28604.c \
|
---|
117 | libWine/c_28605.c \
|
---|
118 | libWine/c_28606.c \
|
---|
119 | libWine/version.c
|
---|
120 |
|
---|
121 | DLLS += wined3d
|
---|
122 |
|
---|
123 | wined3d_TEMPLATE = VBOXGUESTR3NPDLL
|
---|
124 | wined3d_DEFS = __WINESRC__ WINE_UNICODE_API="" _REENTRANT WINE_NOWINSOCK USE_WIN32_OPENGL __i386__ _USE_MATH_DEFINES WINE_NO_DEBUG_MSGS\
|
---|
125 | DLLDIR=\"\" \
|
---|
126 | BINDIR=\"\" \
|
---|
127 | LIB_TO_BINDIR=\"\" \
|
---|
128 | LIB_TO_DLLDIR=\"\" \
|
---|
129 | BIN_TO_DLLDIR=\"\" \
|
---|
130 | LIB_TO_DATADIR=\"\" \
|
---|
131 | BIN_TO_DATADIR=\"\"
|
---|
132 | wined3d_INCS := $(PATH_SUB_CURRENT)/include
|
---|
133 | wined3d_SOURCES := \
|
---|
134 | wined3d/arb_program_shader.c \
|
---|
135 | wined3d/ati_fragment_shader.c \
|
---|
136 | wined3d/baseshader.c \
|
---|
137 | wined3d/basetexture.c \
|
---|
138 | wined3d/buffer.c \
|
---|
139 | wined3d/clipper.c \
|
---|
140 | wined3d/context.c \
|
---|
141 | wined3d/cubetexture.c \
|
---|
142 | wined3d/device.c \
|
---|
143 | wined3d/directx.c \
|
---|
144 | wined3d/drawprim.c \
|
---|
145 | wined3d/gl_compat.c \
|
---|
146 | wined3d/glsl_shader.c \
|
---|
147 | wined3d/nvidia_texture_shader.c \
|
---|
148 | wined3d/palette.c \
|
---|
149 | wined3d/pixelshader.c \
|
---|
150 | wined3d/query.c \
|
---|
151 | wined3d/resource.c \
|
---|
152 | wined3d/shader_sm1.c \
|
---|
153 | wined3d/shader_sm4.c \
|
---|
154 | wined3d/state.c \
|
---|
155 | wined3d/stateblock.c \
|
---|
156 | wined3d/surface_base.c \
|
---|
157 | wined3d/surface.c \
|
---|
158 | wined3d/surface_gdi.c \
|
---|
159 | wined3d/swapchain.c \
|
---|
160 | wined3d/swapchain_gdi.c \
|
---|
161 | wined3d/swapchain_base.c \
|
---|
162 | wined3d/texture.c \
|
---|
163 | wined3d/utils.c \
|
---|
164 | wined3d/vertexdeclaration.c \
|
---|
165 | wined3d/vertexshader.c \
|
---|
166 | wined3d/view.c \
|
---|
167 | wined3d/volume.c \
|
---|
168 | wined3d/volumetexture.c \
|
---|
169 | wined3d/wined3d_main.c \
|
---|
170 | wined3d/wined3d.def
|
---|
171 | wined3d_LIBS = \
|
---|
172 | $(PATH_LIB)/libWine$(VBOX_SUFF_LIB)
|
---|
173 |
|
---|
174 | DLLS += VBoxD3D8
|
---|
175 |
|
---|
176 | VBoxD3D8_TEMPLATE = VBOXGUESTR3NPDLL
|
---|
177 | VBoxD3D8_DEFS = __WINESRC__ WINE_UNICODE_API="" _REENTRANT WINE_NOWINSOCK USE_WIN32_OPENGL __i386__ _USE_MATH_DEFINES\
|
---|
178 | DLLDIR=\"\" \
|
---|
179 | BINDIR=\"\" \
|
---|
180 | LIB_TO_BINDIR=\"\" \
|
---|
181 | LIB_TO_DLLDIR=\"\" \
|
---|
182 | BIN_TO_DLLDIR=\"\" \
|
---|
183 | LIB_TO_DATADIR=\"\" \
|
---|
184 | BIN_TO_DATADIR=\"\"
|
---|
185 | VBoxD3D8_INCS := $(PATH_SUB_CURRENT)/include
|
---|
186 | VBoxD3D8_SOURCES := \
|
---|
187 | d3d8/cubetexture.c \
|
---|
188 | d3d8/d3d8_main.c \
|
---|
189 | d3d8/device.c \
|
---|
190 | d3d8/directx.c \
|
---|
191 | d3d8/indexbuffer.c \
|
---|
192 | d3d8/pixelshader.c \
|
---|
193 | d3d8/resource.c \
|
---|
194 | d3d8/stateblock.c \
|
---|
195 | d3d8/surface.c \
|
---|
196 | d3d8/swapchain.c \
|
---|
197 | d3d8/texture.c \
|
---|
198 | d3d8/vertexbuffer.c \
|
---|
199 | d3d8/vertexdeclaration.c \
|
---|
200 | d3d8/vertexshader.c \
|
---|
201 | d3d8/volume.c \
|
---|
202 | d3d8/volumetexture.c \
|
---|
203 | d3d8/d3d8.def
|
---|
204 | VBoxD3D8_LIBS = \
|
---|
205 | $(PATH_LIB)/libWine$(VBOX_SUFF_LIB) \
|
---|
206 | $(PATH_LIB)/wined3d$(VBOX_SUFF_LIB)
|
---|
207 |
|
---|
208 | DLLS += VBoxD3D9
|
---|
209 |
|
---|
210 | VBoxD3D9_TEMPLATE = VBOXGUESTR3NPDLL
|
---|
211 | VBoxD3D9_DEFS = __WINESRC__ WINE_UNICODE_API="" _REENTRANT WINE_NOWINSOCK USE_WIN32_OPENGL __i386__ _USE_MATH_DEFINES\
|
---|
212 | DLLDIR=\"\" \
|
---|
213 | BINDIR=\"\" \
|
---|
214 | LIB_TO_BINDIR=\"\" \
|
---|
215 | LIB_TO_DLLDIR=\"\" \
|
---|
216 | BIN_TO_DLLDIR=\"\" \
|
---|
217 | LIB_TO_DATADIR=\"\" \
|
---|
218 | BIN_TO_DATADIR=\"\"
|
---|
219 | VBoxD3D9_INCS := $(PATH_SUB_CURRENT)/include
|
---|
220 | VBoxD3D9_SOURCES := \
|
---|
221 | d3d9/cubetexture.c \
|
---|
222 | d3d9/d3d9_main.c \
|
---|
223 | d3d9/device.c \
|
---|
224 | d3d9/directx.c \
|
---|
225 | d3d9/indexbuffer.c \
|
---|
226 | d3d9/pixelshader.c \
|
---|
227 | d3d9/query.c \
|
---|
228 | d3d9/stateblock.c \
|
---|
229 | d3d9/surface.c \
|
---|
230 | d3d9/swapchain.c \
|
---|
231 | d3d9/texture.c \
|
---|
232 | d3d9/vertexbuffer.c \
|
---|
233 | d3d9/vertexdeclaration.c \
|
---|
234 | d3d9/vertexshader.c \
|
---|
235 | d3d9/volume.c \
|
---|
236 | d3d9/volumetexture.c \
|
---|
237 | d3d9/d3d9.def
|
---|
238 | VBoxD3D9_LIBS = \
|
---|
239 | $(PATH_LIB)/libWine$(VBOX_SUFF_LIB) \
|
---|
240 | $(PATH_LIB)/wined3d$(VBOX_SUFF_LIB)
|
---|
241 |
|
---|
242 | DLLS += d3d8
|
---|
243 | d3d8_TEMPLATE = VBOXGUESTR3NPDLL
|
---|
244 | d3d8_DEFS = __i386__
|
---|
245 | d3d8_INCS := $(PATH_SUB_CURRENT)/include
|
---|
246 | d3d8_SOURCES = \
|
---|
247 | switcher/d3d8_main.c \
|
---|
248 | switcher/sw_common.c \
|
---|
249 | switcher/sw_d3d8.def
|
---|
250 |
|
---|
251 | DLLS += d3d9
|
---|
252 | d3d9_TEMPLATE = VBOXGUESTR3NPDLL
|
---|
253 | d3d9_DEFS = __i386__
|
---|
254 | d3d9_INCS := $(PATH_SUB_CURRENT)/include
|
---|
255 | d3d9_SOURCES = \
|
---|
256 | switcher/d3d9_main.c \
|
---|
257 | switcher/sw_common.c \
|
---|
258 | switcher/sw_d3d9.def
|
---|
259 |
|
---|
260 | include $(KBUILD_PATH)/subfooter.kmk
|
---|