VirtualBox

source: vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk@ 76553

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

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# $Id: Makefile.kmk 76553 2019-01-01 01:45:53Z vboxsync $
2## @file
3# Sub-Makefile for OpenGL ICD loader.
4#
5
6#
7# Copyright (C) 2018-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
18SUB_DEPTH = ../../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21VBOX_GL_ICD_DEF_FILE = $(VBOX_PATH_MESA)/src/gallium/state_trackers/wgl/opengl32.mingw.def
22
23DLLS += VBoxICD
24DLLS.amd64 += VBoxICD-x86
25
26VBoxICD_TEMPLATE = VBoxMesa3DGuestR3DllMinVista
27# -wd4005: '__useHeader' : redefinition
28VBoxICD_CFLAGS = -wd4005
29VBoxICD_INCS = \
30 $(VBOX_PATH_3D)/win/include \
31 $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video \
32 $(VBOX_GRAPHICS_INCS)
33VBoxICD_SOURCES = \
34 $(VBOX_PATH_MESA)/src/gallium/state_trackers/wgl/opengl32.def \
35 $(VBoxICD_0_OUTDIR)/forwarders.asm \
36 $(VBoxICD_0_OUTDIR)/pfns.c \
37 VBoxICD.c \
38 VBoxICD.rc
39VBoxICD_CLEAN = \
40 $(VBoxICD_0_OUTDIR)/forwarders.asm \
41 $(VBoxICD_0_OUTDIR)/pfns.c
42VBoxICD_LIBS = \
43 $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp$(VBOX_SUFF_LIB)
44
45$$(VBoxICD_0_OUTDIR)/forwarders.asm: \
46 $(PATH_SUB_CURRENT)/icd_forwarders.py $(VBOX_GL_ICD_DEF_FILE) | $$(dir $$@)
47 $(call MSG_GENERATE,python,$@,$(VBOX_GL_ICD_DEF_FILE))
48 $(QUIET)$(VBOX_BLD_PYTHON) $< $(VBOX_GL_ICD_DEF_FILE) $@
49$$(VBoxICD_0_OUTDIR)/pfns.c: \
50 $(PATH_SUB_CURRENT)/icd_pfns.py $(VBOX_GL_ICD_DEF_FILE) | $$(dir $$@)
51 $(call MSG_GENERATE,python,$@,$(VBOX_GL_ICD_DEF_FILE))
52 $(QUIET)$(VBOX_BLD_PYTHON) $< $(VBOX_GL_ICD_DEF_FILE) $@
53
54ifdef VBOX_SIGN_ADDITIONS
55VBoxICD_INSTTYPE = none
56VBoxICD_DEBUG_INSTTYPE = both
57endif
58
59#
60# x86 version built for amd64 build
61#
62VBoxICD-x86_EXTENDS = VBoxICD
63VBoxICD-x86_BLD_TRG_ARCH = x86
64VBoxICD-x86_LIBS = \
65 $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp-x86$(VBOX_SUFF_LIB)
66VBoxICD-x86_DEFS = $(VBoxICD_DEFS) VBOX_WOW64
67
68include $(FILE_KBUILD_SUB_FOOTER)
69
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