CINXE.COM
Makefile.kmk in vbox/trunk/src/VBox/Additions/3D/win/VBoxICD – Oracle VirtualBox
<!DOCTYPE html> <html lang="en-US"> <head> <!-- # block head (placeholder in theme.html) --> <!-- # block head (content inherited from layout.html) --> <title> Makefile.kmk in vbox/trunk/src/VBox/Additions/3D/win/VBoxICD – Oracle VirtualBox </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!--[if IE]><script> if (/^#__msie303:/.test(window.location.hash)) window.location.replace(window.location.hash.replace(/^#__msie303:/, '#')); </script><![endif]--> <link rel="search" href="/search" /> <link rel="help" href="/wiki/TracGuide" /> <link rel="alternate" href="/export/107019/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk" title="Original Format" type="text/plain" /> <link rel="up" href="/browser/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk" /> <link rel="start" href="/wiki" /> <link rel="stylesheet" href="/chrome/common/css/trac.css" type="text/css" /> <link rel="stylesheet" href="/chrome/common/css/code.css" type="text/css" /> <link rel="stylesheet" href="/pygments/trac.css" type="text/css" /> <link rel="stylesheet" href="/chrome/common/css/browser.css" type="text/css" /> <link rel="prev" href="/browser/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk?rev=106674" title="Revision 106674" /> <link rel="icon" href="/favicon.ico" type="image/x-icon" /> <noscript> <style> .trac-noscript { display: none !important } </style> </noscript> <link type="application/opensearchdescription+xml" rel="search" href="/search/opensearch" title="Search Oracle VirtualBox"/> <script src="/chrome/common/js/jquery.js"></script> <script src="/chrome/common/js/jquery-migrate.js"></script> <script src="/chrome/common/js/babel.js"></script> <script src="/chrome/common/js/trac.js"></script> <script src="/chrome/common/js/search.js"></script> <script src="/chrome/common/js/folding.js"></script> <script> jQuery(function($) { $(".trac-autofocus").focus(); $(".trac-target-new").attr("target", "_blank"); if ($.ui) { /* is jquery-ui added? */ $(".trac-datepicker:not([readonly])") .prop("autocomplete", "off").datepicker(); // Input current date when today is pressed. var _goToToday = $.datepicker._gotoToday; $.datepicker._gotoToday = function(id) { _goToToday.call(this, id); this._selectDate(id) }; $(".trac-datetimepicker:not([readonly])") .prop("autocomplete", "off").datetimepicker(); $("#main").addClass("trac-nodatetimehint"); } $(".trac-disable").disableSubmit(".trac-disable-determinant"); setTimeout(function() { $(".trac-scroll").scrollToTop() }, 1); $(".trac-disable-on-submit").disableOnSubmit(); }); </script> <!-- # include 'site_head.html' (layout.html) --> <link rel="stylesheet" type="text/css" href="/chrome/site/style.css"/> <script> jQuery(function($) { var $ntg = $("#newticketguide"); if ($ntg.length) $("#propertyform").prepend($ntg.detach()); }); </script> <script> jQuery(function($) { var $content = $("#content"); var $opener = $("#opener"); if ($("#opener").length) $content.toggleClass('narrow'); }); </script> <!-- end of site_head.html --> <!-- # endblock head (content inherited from layout.html) --> <script> jQuery(function($) { $(".trac-toggledeleted").show().click(function() { $(this).siblings().find(".trac-deleted").toggle(); return false; }).click(); $("#jumploc input").hide(); $("#jumploc select").change(function () { this.parentNode.parentNode.submit(); }); $('#preview table.code').enableCollapsibleColumns( $('#preview table.code thead th.content')); }); </script> <!-- # endblock head (placeholder in theme.html) --> </head> <body> <!-- # block body (content inherited from theme.html) --> <!-- # include 'site_header.html' (theme.html) --> <!-- Add site-specific header --> <div id="vboxstring"> <img src="/graphics/vboxlogodown.png" alt="VirtualBox"/> </div> <div id="center"> <!-- end of site_header.html --> <div id="banner"> <form id="search" action="/search" method="get"> <div> <label for="proj-search">Search:</label> <input type="text" id="proj-search" name="q" size="18" value="" /> <input type="submit" value="Search" /> </div> </form> </div> <div id="mainnav" class="nav"> <ul><li class="active last first"><a href="/browser">Browse Source</a></li></ul> </div> <div id="main" > <div id="ctxtnav"> <li> <a id="logo" href="https://www.virtualbox.org/"><img alt="Oracle VirtualBox" src="/graphics/vbox-new-logo.png"></a> </li> <ul> <li><a href="https://www.virtualbox.org/">Home</a></li> <li><a href="/wiki/Downloads">Download</a></li> <li><a href="/wiki/Documentation">Documentation</a></li> <li><a href="/wiki/Community">Community</a></li> <li class="first"> <a id="profile" href="/login"><img src="/graphics/user.png" alt="User profile icon"></a> </li> <form style="text-align: right" action="/search" method="get"> <div> <input id="vboxsearch" type="text" name="q" size="10" accesskey="f" value="Search:" onblur="if(this.value=='') this.value='Search:';" onfocus="if(this.value=='Search:') this.value='';"> <input type="hidden" name="wiki" value="on"> <input type="hidden" name="changeset" value="on"> <input type="hidden" name="ticket" value="on"> </div> </form> </li> </ul> </div> <!-- # block content (placeholder in theme.html) --> <div id="content" class="browser"> <h1> <a class="pathentry first" href="/browser?order=name" title="Go to repository index">source:</a> <a class="pathentry" href="/browser/vbox?rev=107019&order=name" title="View vbox">vbox</a><span class="pathentry sep">/</span><a class="pathentry" href="/browser/vbox/trunk?rev=107019&order=name" title="View trunk">trunk</a><span class="pathentry sep">/</span><a class="pathentry" href="/browser/vbox/trunk/src?rev=107019&order=name" title="View src">src</a><span class="pathentry sep">/</span><a class="pathentry" href="/browser/vbox/trunk/src/VBox?rev=107019&order=name" title="View VBox">VBox</a><span class="pathentry sep">/</span><a class="pathentry" href="/browser/vbox/trunk/src/VBox/Additions?rev=107019&order=name" title="View Additions">Additions</a><span class="pathentry sep">/</span><a class="pathentry" href="/browser/vbox/trunk/src/VBox/Additions/3D?rev=107019&order=name" title="View 3D">3D</a><span class="pathentry sep">/</span><a class="pathentry" href="/browser/vbox/trunk/src/VBox/Additions/3D/win?rev=107019&order=name" title="View win">win</a><span class="pathentry sep">/</span><a class="pathentry" href="/browser/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD?rev=107019&order=name" title="View VBoxICD">VBoxICD</a><span class="pathentry sep">/</span><a class="pathentry" href="/browser/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk?rev=107019&order=name" title="View Makefile.kmk">Makefile.kmk</a><span class="pathentry sep">@</span> <a class="pathentry" href="/changeset/107019/vbox" title="View changeset 107019">107019</a> <br style="clear: both" /> </h1> <div id="diffrev"> <form action="/changeset" method="get"> <div> <label title="Show the diff against a specific revision"> View diff against: <input type="text" name="old" size="6"/> <input type="hidden" name="old_path" value="vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk"/> <input type="hidden" name="new" value="107019"/> <input type="hidden" name="new_path" value="vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk"/> </label> </div> </form> </div> <div id="jumprev"> <form action="#" method="get"> <div> <label for="rev" title="Hint: clear the field to view latest revision"> View revision:</label> <input type="text" id="rev" name="rev" value="107019" size="6" /> </div> </form> </div> <div id="jumploc"> <form action="#" method="get"> <div class="buttons"> <label for="preselected">Visit:</label> <select id="preselected" name="preselected"> <option selected="selected"></option> <optgroup label="branches"> <option value="/browser/vbox/trunk">trunk</option> </optgroup> </select> <input type="submit" value="Go!" title="Jump to the chosen preselected path" /> </div> </form> </div> <div class="trac-tags"> </div> <table id="info"> <tr> <th> <a href="/changeset/107019/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk" title="View differences">Last change</a> on this file since 107019 was <a href="/changeset/107019/vbox" title="View changeset 107019">107019</a>, checked in by <span class="trac-author">vboxsync</span>, <a class="timeline" href="/timeline?from=2024-11-15T22%3A15%3A20Z&precision=second" title="See timeline at Nov 15, 2024 10:15:20 PM">2 weeks ago</a> </th> </tr> <tr> <td class="message searchable"> <p> /Config.kmk,tools/Makefile.kmk,Add/3d/VBoxICD/Makefile.kmk: Switch to VCC143 for amd64 & x86 (windows) - requires symlink creation rigths for the tools. jiraref:VBP-1439<br /> </p> <p> This means we'll be using the same compiler versions for all three windows architectures (arm64 already uses VCC143).<br /> We cannot upgrade the SDK for amd64 & x86, though, because there are no x86 kernel mode libs in 10.0.26000.0 and neither are there any amd64 libs for win7 kernel mode any more.<br /> </p> <p> <strong>WARNING! For fetching the tools you need symbolic link creation rights. See comments above the win.vcc.v14.3.17.11.5 tool in tools/Makefile.kmk for details.</strong><br /> </p> </td> </tr> <tr> <td colspan="2"> <ul class="props"> <li> Property <strong>svn:eol-style</strong> set to <em><code>native</code></em> </li> <li> Property <strong>svn:keywords</strong> set to <em><code>Author Date Id Revision</code></em> </li> </ul> </td> </tr> <tr> <td colspan="2"> <strong>File size:</strong> <span title="2736 bytes">2.7 KB</span> </td> </tr> </table> <div id="preview" class="searchable"> <table class="code"><thead><tr><th class="lineno" title="Line numbers">Line</th><th class="content"> </th></tr></thead><tbody><tr><th id="L1"><a href="#L1">1</a></th><td># $Id: Makefile.kmk 107019 2024-11-15 22:15:20Z vboxsync $ </td></tr><tr><th id="L2"><a href="#L2">2</a></th><td>## @file </td></tr><tr><th id="L3"><a href="#L3">3</a></th><td># Sub-Makefile for OpenGL ICD loader. </td></tr><tr><th id="L4"><a href="#L4">4</a></th><td># </td></tr><tr><th id="L5"><a href="#L5">5</a></th><td> </td></tr><tr><th id="L6"><a href="#L6">6</a></th><td># </td></tr><tr><th id="L7"><a href="#L7">7</a></th><td># Copyright (C) 2018-2024 Oracle and/or its affiliates. </td></tr><tr><th id="L8"><a href="#L8">8</a></th><td># </td></tr><tr><th id="L9"><a href="#L9">9</a></th><td># This file is part of VirtualBox base platform packages, as </td></tr><tr><th id="L10"><a href="#L10">10</a></th><td># available from https://www.virtualbox.org. </td></tr><tr><th id="L11"><a href="#L11">11</a></th><td># </td></tr><tr><th id="L12"><a href="#L12">12</a></th><td># This program is free software; you can redistribute it and/or </td></tr><tr><th id="L13"><a href="#L13">13</a></th><td># modify it under the terms of the GNU General Public License </td></tr><tr><th id="L14"><a href="#L14">14</a></th><td># as published by the Free Software Foundation, in version 3 of the </td></tr><tr><th id="L15"><a href="#L15">15</a></th><td># License. </td></tr><tr><th id="L16"><a href="#L16">16</a></th><td># </td></tr><tr><th id="L17"><a href="#L17">17</a></th><td># This program is distributed in the hope that it will be useful, but </td></tr><tr><th id="L18"><a href="#L18">18</a></th><td># WITHOUT ANY WARRANTY; without even the implied warranty of </td></tr><tr><th id="L19"><a href="#L19">19</a></th><td># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU </td></tr><tr><th id="L20"><a href="#L20">20</a></th><td># General Public License for more details. </td></tr><tr><th id="L21"><a href="#L21">21</a></th><td># </td></tr><tr><th id="L22"><a href="#L22">22</a></th><td># You should have received a copy of the GNU General Public License </td></tr><tr><th id="L23"><a href="#L23">23</a></th><td># along with this program; if not, see <https://www.gnu.org/licenses>. </td></tr><tr><th id="L24"><a href="#L24">24</a></th><td># </td></tr><tr><th id="L25"><a href="#L25">25</a></th><td># SPDX-License-Identifier: GPL-3.0-only </td></tr><tr><th id="L26"><a href="#L26">26</a></th><td># </td></tr><tr><th id="L27"><a href="#L27">27</a></th><td> </td></tr><tr><th id="L28"><a href="#L28">28</a></th><td>SUB_DEPTH = ../../../../../.. </td></tr><tr><th id="L29"><a href="#L29">29</a></th><td>include $(KBUILD_PATH)/subheader.kmk </td></tr><tr><th id="L30"><a href="#L30">30</a></th><td> </td></tr><tr><th id="L31"><a href="#L31">31</a></th><td>VBOX_GL_ICD_DEF_FILE = $(PATH_ROOT)/src/VBox/Additions/3D/win/VBoxICD/opengl32.mingw.def </td></tr><tr><th id="L32"><a href="#L32">32</a></th><td> </td></tr><tr><th id="L33"><a href="#L33">33</a></th><td>DLLS += VBoxICD </td></tr><tr><th id="L34"><a href="#L34">34</a></th><td>DLLS.amd64 += VBoxICD-x86 </td></tr><tr><th id="L35"><a href="#L35">35</a></th><td> </td></tr><tr><th id="L36"><a href="#L36">36</a></th><td>VBoxICD_TEMPLATE = VBoxMesa3DGuestR3DllMinVista </td></tr><tr><th id="L37"><a href="#L37">37</a></th><td># -wd4005: '__useHeader' : redefinition </td></tr><tr><th id="L38"><a href="#L38">38</a></th><td>VBoxICD_CFLAGS := -wd4005 </td></tr><tr><th id="L39"><a href="#L39">39</a></th><td>if "$(VBOX_VCC_TOOL_STEM)" >= "VCC141" </td></tr><tr><th id="L40"><a href="#L40">40</a></th><td> # -wd4255: 'PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP': no function prototype given: converting '()' to '(void)' </td></tr><tr><th id="L41"><a href="#L41">41</a></th><td> VBoxICD_CFLAGS += -wd4255 </td></tr><tr><th id="L42"><a href="#L42">42</a></th><td>endif </td></tr><tr><th id="L43"><a href="#L43">43</a></th><td> </td></tr><tr><th id="L44"><a href="#L44">44</a></th><td>VBoxICD_INCS = \ </td></tr><tr><th id="L45"><a href="#L45">45</a></th><td> $(VBOX_PATH_3D)/win/include \ </td></tr><tr><th id="L46"><a href="#L46">46</a></th><td> $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video \ </td></tr><tr><th id="L47"><a href="#L47">47</a></th><td> $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include \ </td></tr><tr><th id="L48"><a href="#L48">48</a></th><td> $(VBOX_GRAPHICS_INCS) </td></tr><tr><th id="L49"><a href="#L49">49</a></th><td>VBoxICD_SOURCES = \ </td></tr><tr><th id="L50"><a href="#L50">50</a></th><td> opengl32.def \ </td></tr><tr><th id="L51"><a href="#L51">51</a></th><td> $(VBoxICD_0_OUTDIR)/forwarders.asm \ </td></tr><tr><th id="L52"><a href="#L52">52</a></th><td> $(VBoxICD_0_OUTDIR)/pfns.c \ </td></tr><tr><th id="L53"><a href="#L53">53</a></th><td> VBoxICD.c \ </td></tr><tr><th id="L54"><a href="#L54">54</a></th><td> VBoxICD.rc </td></tr><tr><th id="L55"><a href="#L55">55</a></th><td>VBoxICD_CLEAN = \ </td></tr><tr><th id="L56"><a href="#L56">56</a></th><td> $(VBoxICD_0_OUTDIR)/forwarders.asm \ </td></tr><tr><th id="L57"><a href="#L57">57</a></th><td> $(VBoxICD_0_OUTDIR)/pfns.c </td></tr><tr><th id="L58"><a href="#L58">58</a></th><td>VBoxICD_LIBS = \ </td></tr><tr><th id="L59"><a href="#L59">59</a></th><td> $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp$(VBOX_SUFF_LIB) </td></tr><tr><th id="L60"><a href="#L60">60</a></th><td> </td></tr><tr><th id="L61"><a href="#L61">61</a></th><td>$$(VBoxICD_0_OUTDIR)/forwarders.asm: \ </td></tr><tr><th id="L62"><a href="#L62">62</a></th><td> $(PATH_SUB_CURRENT)/icd_forwarders.py $(VBOX_GL_ICD_DEF_FILE) | $$(dir $$@) </td></tr><tr><th id="L63"><a href="#L63">63</a></th><td> $(call MSG_GENERATE,python,$@,$(VBOX_GL_ICD_DEF_FILE)) </td></tr><tr><th id="L64"><a href="#L64">64</a></th><td> $(QUIET)$(VBOX_BLD_PYTHON) $< $(VBOX_GL_ICD_DEF_FILE) $@ "$(KBUILD_TARGET_ARCH)" </td></tr><tr><th id="L65"><a href="#L65">65</a></th><td>$$(VBoxICD_0_OUTDIR)/pfns.c: \ </td></tr><tr><th id="L66"><a href="#L66">66</a></th><td> $(PATH_SUB_CURRENT)/icd_pfns.py $(VBOX_GL_ICD_DEF_FILE) | $$(dir $$@) </td></tr><tr><th id="L67"><a href="#L67">67</a></th><td> $(call MSG_GENERATE,python,$@,$(VBOX_GL_ICD_DEF_FILE)) </td></tr><tr><th id="L68"><a href="#L68">68</a></th><td> $(QUIET)$(VBOX_BLD_PYTHON) $< $(VBOX_GL_ICD_DEF_FILE) $@ </td></tr><tr><th id="L69"><a href="#L69">69</a></th><td> </td></tr><tr><th id="L70"><a href="#L70">70</a></th><td>if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS) </td></tr><tr><th id="L71"><a href="#L71">71</a></th><td> VBoxICD_INSTTYPE = none </td></tr><tr><th id="L72"><a href="#L72">72</a></th><td> VBoxICD_DEBUG_INSTTYPE = both </td></tr><tr><th id="L73"><a href="#L73">73</a></th><td>endif </td></tr><tr><th id="L74"><a href="#L74">74</a></th><td> </td></tr><tr><th id="L75"><a href="#L75">75</a></th><td># </td></tr><tr><th id="L76"><a href="#L76">76</a></th><td># x86 version built for amd64 build </td></tr><tr><th id="L77"><a href="#L77">77</a></th><td># </td></tr><tr><th id="L78"><a href="#L78">78</a></th><td>VBoxICD-x86_EXTENDS = VBoxICD </td></tr><tr><th id="L79"><a href="#L79">79</a></th><td>VBoxICD-x86_BLD_TRG_ARCH = x86 </td></tr><tr><th id="L80"><a href="#L80">80</a></th><td>VBoxICD-x86_LIBS = \ </td></tr><tr><th id="L81"><a href="#L81">81</a></th><td> $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp-x86$(VBOX_SUFF_LIB) </td></tr><tr><th id="L82"><a href="#L82">82</a></th><td>VBoxICD-x86_DEFS = $(VBoxICD_DEFS) VBOX_WOW64 </td></tr><tr><th id="L83"><a href="#L83">83</a></th><td> </td></tr><tr><th id="L84"><a href="#L84">84</a></th><td>include $(FILE_KBUILD_SUB_FOOTER) </td></tr><tr><th id="L85"><a href="#L85">85</a></th><td> </td></tr></tbody></table> </div> <div id="anydiff"> <form action="/diff" method="get"> <div class="buttons"> <input type="hidden" name="new_path" value="/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk" /> <input type="hidden" name="old_path" value="/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk" /> <input type="hidden" name="new_rev" value="107019" /> <input type="hidden" name="old_rev" value="107019" /> <input type="submit" value="View changes..." title="Select paths and revs for Diff" /> </div> </form> </div> <div class="trac-help"> <strong>Note:</strong> See <a href="/wiki/TracBrowser">TracBrowser</a> for help on using the repository browser. </div> </div> <!-- # block content (content inherited from layout.html) --> <div id="altlinks"> <h3>Download in other formats:</h3> <ul> <li class="last first"> <a rel="nofollow" href="/export/107019/vbox/trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk" class=""> Original Format</a> </li> </ul> </div> <!-- # endblock content (content inherited from layout.html) --> <!-- # endblock content (placeholder in theme.html) --> </div> <div id="footer"><hr/> <a id="tracpowered" href="https://trac.edgewall.org/" ><img src="/chrome/common/trac_logo_mini.png" height="30" width="107" alt="Trac Powered"/></a> <p class="left"> Powered by <a href="/about"><strong>Trac 1.4.3.2</strong></a> <br /> By <a href="http://www.edgewall.org/">Edgewall Software</a> . </p> <p class="right"></p> </div> <!-- # include 'site_footer.html' (theme.html) --> </div><!-- center --> <div id="vboxfooter"> <p style="text-align:center"> <a href="https://www.oracle.com"><span style="background-image: url(/graphics/oracle-logo-new.svg); width: 100px; height: 24px; background-repeat: no-repeat; background-position: 0 11px; background-size: 100% 100%; display: inline-block"></span> © 2024 Oracle</a> <a href="https://www.oracle.com/virtualization/virtualbox/#rc30category-support-services">Support</a> <a href="https://www.oracle.com/html/privacy.html">Privacy </a> / <a href="https://www.oracle.com/legal/privacy/privacy-choices.html"> Do Not Sell My Info</a> <a href="https://www.oracle.com/html/terms.html">Terms of Use</a> <a href="https://www.oracle.com/legal/trademarks.html">Trademark Policy</a> <a href="/wiki/AutomatedAccessEtiquette">Automated Access Etiquette</a> </p> </div> <!-- end of site_footer.html --> <!-- # endblock body (content inherited from theme.html) --> </body> </html>