VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/win/VBoxNine/Makefile.kmk@ 75443

Last change on this file since 75443 was 75443, checked in by vboxsync, 6 years ago

Exported Mesa related code to OSE.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1# $Id: Makefile.kmk 75443 2018-11-14 10:17:08Z vboxsync $
2## @file
3# Sub-Makefile for VBoxNine D3D9 state tracker.
4#
5
6#
7# Copyright (C) 2016-2018 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
18SUB_DEPTH = ../../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21DLLS += VBoxNine
22VBoxNine_TEMPLATE = VBOXMESA3DGUESTR3DLLMinVista
23# -wd4100: unreferenced formal parameter
24# -wd4200: nonstandard extension used : zero-sized array in struct/union
25# -wd4245: 'return' : conversion from 'int' to 'unsigned int', signed/unsigned mismatch
26# -wd4255: no function prototype given
27# -wd4668: 'something' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
28VBoxNine_CFLAGS += -wd4100 -wd4200 -wd4245 -wd4255 -wd4668
29VBoxNine_INCS += \
30 $(VBOX_PATH_MESA)/src/gallium/state_trackers/nine
31
32VBoxNine_SOURCES = \
33 VBoxNine.c \
34 VBoxNine.rc \
35 VBoxNine.def
36
37VBoxNine_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
43ifdef VBOX_SIGN_ADDITIONS
44 VBoxNine_INSTTYPE = none
45 VBoxNine_DEBUG_INSTTYPE = both
46endif
47
48#
49# VBoxNine-x86 - x86 version of VBoxNine built for amd64 build
50#
51DLLS.win.amd64 += VBoxNine-x86
52VBoxNine-x86_EXTENDS = VBoxNine
53VBoxNine-x86_BLD_TRG_ARCH = x86
54VBoxNine-x86_LIBS = \
55 $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp-x86$(VBOX_SUFF_LIB) \
56 $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaGalliumAuxLib-x86$(VBOX_SUFF_LIB) \
57 $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaUtilLib-x86$(VBOX_SUFF_LIB) \
58 $(VBOX_PATH_ADDITIONS_LIB)/VBoxMesaNineLib-x86$(VBOX_SUFF_LIB)
59VBoxNine-x86_DEFS = $(VBoxNine_DEFS) VBOX_WOW64
60
61include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette