VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxMMR/Makefile.kmk@ 53442

最後變更 在這個檔案從53442是 50766,由 vboxsync 提交於 11 年 前

Additions/WINNT/VBoxMMR: get library name case so as not to break wine builds.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.1 KB
 
1# $Id: Makefile.kmk 50766 2014-03-13 14:29:07Z vboxsync $
2## @file
3# Sub-Makefile for VBoxMMR.
4#
5
6#
7# Copyright (C) 2012-2013 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.alldomusa.eu.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
21PROGRAMS += VBoxMMR
22VBoxMMR_TEMPLATE = NewVBoxGuestR3Exe
23VBoxMMR_DEFS = LOG_TO_BACKDOOR VBOX_WITH_HGCM
24VBoxMMR_SOURCES = \
25 VBoxMMR.rc \
26 startmmr.cpp
27
28DLLS += VBoxMMRHook
29
30VBoxMMRHook_TEMPLATE = VBOXGUESTR3DLL
31VBoxMMRHook_DEFS = LOG_TO_BACKDOOR VBGL_VBOXGUEST VBOX_WITH_HGCM UNICODE TSMFHOOK_EXPORTS VBOX_WITH_GUEST_PROPS
32VBoxMMRHook_SOURCES = \
33 VBoxMMRHook.rc \
34 VBoxMMRHook.def \
35 dllmain.cpp \
36 tsmfhook.cpp \
37 logging.cpp
38
39#
40# 32-bit versions for inclusion on 64-bit Windows
41#
42
43PROGRAMS.win.amd64 += VBoxMMR-x86
44VBoxMMR-x86_EXTENDS = VBoxMMR
45VBoxMMR-x86_BLD_TRG_ARCH = x86
46VBoxMMR-x86_LIBS = \
47 $(VBOX_LIB_IPRT_GUEST_R3_X86) \
48 $(VBOX_LIB_VBGL_R3_X86)
49VBoxMMR-x86_DEFS = $(VBoxMMR_DEFS) VBOX_WOW64
50
51DLLS.win.amd64 += VBoxMMRHook-x86
52VBoxMMRHook-x86_EXTENDS = VBoxMMRHook
53VBoxMMRHook-x86_BLD_TRG_ARCH = x86
54VBoxMMRHook-x86_LIBS = \
55 $(VBOX_LIB_IPRT_GUEST_R3_X86) \
56 $(VBOX_LIB_VBGL_R3_X86)
57VBoxMMRHook-x86_DEFS = $(VBoxMMRHook_DEFS) VBOX_WOW64
58
59#
60# Since this is not the default SDK we have to navigate manually to it.
61#
62ifndef VBOX_OSE
63 VBOX_PATH_PSDK_v71 := $(PATH_DEVTOOLS)/win.x86/sdk/v7.1
64else
65 VBOX_PATH_PSDK_v71 := $(PATH_SDK_WINPSDK71)
66endif
67
68VBoxMMRHook_INCS := \
69 $(VBOX_PATH_PSDK_v71)/Include \
70 ../include \
71 $(SUB_DEPTH)/include
72
73VBoxMMRHook_LIBS.x86 := \
74 $(VBOX_PATH_PSDK_v71)/Lib/WS2_32.Lib
75VBoxMMRHook_LIBS.amd64 := \
76 $(VBOX_PATH_PSDK_v71)/Lib/x64/WS2_32.Lib
77
78VBoxMMRHook_LIBS += \
79 $(VBOX_LIB_IPRT_GUEST_R3) \
80 $(VBOX_LIB_VBGL_R3)
81
82include $(FILE_KBUILD_SUB_FOOTER)
83
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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