1 | # $Id: Makefile.kmk 76553 2019-01-01 01:45:53Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for VBoxNine D3D9 state tracker.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2016-2019 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 | DLLS += VBoxNine
|
---|
22 | DLLS.amd64 += VBoxNine-x86
|
---|
23 |
|
---|
24 | VBoxNine_TEMPLATE = VBoxMesa3DGuestR3DllMinVista
|
---|
25 | # -wd4100: unreferenced formal parameter
|
---|
26 | # -wd4200: nonstandard extension used : zero-sized array in struct/union
|
---|
27 | # -wd4245: 'return' : conversion from 'int' to 'unsigned int', signed/unsigned mismatch
|
---|
28 | # -wd4255: no function prototype given
|
---|
29 | # -wd4668: 'something' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
|
---|
30 | VBoxNine_CFLAGS = -wd4100 -wd4200 -wd4245 -wd4255 -wd4668
|
---|
31 | VBoxNine_INCS = \
|
---|
32 | $(VBOX_PATH_MESA)/src/gallium/state_trackers/nine
|
---|
33 | VBoxNine_SOURCES = \
|
---|
34 | VBoxNine.c \
|
---|
35 | VBoxNine.rc \
|
---|
36 | VBoxNine.def
|
---|
37 | VBoxNine_LIBS = \
|
---|
38 | $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp$(VBOX_SUFF_LIB) \
|
---|
39 | $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaGalliumAuxLib$(VBOX_SUFF_LIB) \
|
---|
40 | $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaUtilLib$(VBOX_SUFF_LIB) \
|
---|
41 | $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaNineLib$(VBOX_SUFF_LIB)
|
---|
42 |
|
---|
43 | ifdef VBOX_SIGN_ADDITIONS
|
---|
44 | VBoxNine_INSTTYPE = none
|
---|
45 | VBoxNine_DEBUG_INSTTYPE = both
|
---|
46 | endif
|
---|
47 |
|
---|
48 | #
|
---|
49 | # VBoxNine-x86 - x86 version of VBoxNine built for amd64 build
|
---|
50 | #
|
---|
51 | VBoxNine-x86_EXTENDS = VBoxNine
|
---|
52 | VBoxNine-x86_BLD_TRG_ARCH = x86
|
---|
53 | VBoxNine-x86_LIBS = \
|
---|
54 | $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp-x86$(VBOX_SUFF_LIB) \
|
---|
55 | $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaGalliumAuxLib-x86$(VBOX_SUFF_LIB) \
|
---|
56 | $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaUtilLib-x86$(VBOX_SUFF_LIB) \
|
---|
57 | $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaNineLib-x86$(VBOX_SUFF_LIB)
|
---|
58 | VBoxNine-x86_DEFS = $(VBoxNine_DEFS) VBOX_WOW64
|
---|
59 |
|
---|
60 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
61 |
|
---|