VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/VBoxService/Makefile.kmk@ 16954

Last change on this file since 16954 was 16954, checked in by vboxsync, 16 years ago

VBoxGuest, VBoxService: First stuff for new R3 time synchronization with the host.

  • 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 16954 2009-02-19 16:55:55Z vboxsync $
2## @file
3# Sub-Makefile for the Windows Guest Additions Service.
4#
5
6#
7# Copyright (C) 2008 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22SUB_DEPTH = ../../../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25PROGRAMS += VBoxService
26VBoxService_TEMPLATE = VBOXGUESTR3EXE
27VBoxService_DEFS = LOG_TO_BACKDOOR _WIN32_WINNT=0x0501 _UNICODE UNICODE
28ifdef VBOX_WITH_GUEST_PROPS
29 VBoxService_DEFS += VBOX_WITH_HGCM VBOX_WITH_GUEST_PROPS
30endif
31VBoxService_INCS = ../include
32VBoxService_SOURCES = \
33 VBoxService.cpp \
34 VBoxUtils.cpp \
35 VBoxService.rc \
36 VBoxTimeSync.cpp
37ifdef VBOX_WITH_GUEST_PROPS
38 VBoxService_SOURCES += \
39 VBoxVMInfo.cpp \
40 VBoxVMInfoAdditions.cpp \
41 VBoxVMInfoUser.cpp \
42 VBoxVMInfoNet.cpp \
43 VBoxVMInfoOS.cpp
44endif
45
46VBoxService_LIBS = \
47 $(VBOX_LIB_IPRT_GUEST_R3) \
48 $(VBOX_LIB_VBGL_R3) \
49 $(VBOX_LIB_IPRT_GUEST_R3)
50
51ifdef VBOX_WITH_GUEST_PROPS
52 VBoxService_LIBS += \
53 Secur32.lib \
54 WtsApi32.lib \
55 Psapi.lib
56endif
57
58# VBoxService.cpp uses VBOX_SVN_REV.
59VBoxService.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
60VBoxService.cpp_DEPS = $(VBOX_SVN_REV_KMK)
61
62# The icon is configurable.
63VBoxService.rc_INCS = $(PATH_VBoxService)
64VBoxService.rc_DEPS = $(PATH_VBoxService)/VBoxService-icon.rc
65VBoxService.rc_CLEAN = $(PATH_VBoxService)/VBoxService-icon.rc
66
67# Icon include file.
68$$(PATH_VBoxService)/VBoxService-icon.rc: $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) $$(VBoxService_PATH)/Makefile.kmk | $$(dir $$@)
69 $(RM) -f $@
70 $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ADDITIONS_ICON_FILE))"'
71
72include $(KBUILD_PATH)/subfooter.kmk
73
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