VirtualBox

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

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

Additions/Makefiles: Pushed them up to root (sub-makefile wise). Some cleanups, opengl omitted.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1# $Id: Makefile.kmk 12446 2008-09-14 23:32:31Z vboxsync $
2## @file
3# Sub-Makefile for the Windows Guest Additions Service.
4#
5
6#
7# Copyright (C) 2008 Sun Microsystems, Inc.
8#
9# Sun Microsystems, Inc. confidential
10# All rights reserved
11#
12
13SUB_DEPTH = ../../../../..
14include $(KBUILD_PATH)/subheader.kmk
15
16PROGRAMS += VBoxService
17VBoxService_TEMPLATE = VBOXGUESTR3EXE
18VBoxService_DEFS = LOG_TO_BACKDOOR _WIN32_WINNT=0x0501 _UNICODE UNICODE
19ifdef VBOX_WITH_GUEST_PROPS
20 VBoxService_DEFS += VBOX_WITH_HGCM VBOX_WITH_GUEST_PROPS
21endif
22VBoxService_INCS = ../include
23VBoxService_SOURCES = \
24 VBoxService.cpp \
25 VBoxUtils.cpp \
26 VBoxService.rc
27
28ifdef VBOX_WITH_GUEST_PROPS
29 VBoxService_SOURCES += \
30 VBoxVMInfo.cpp \
31 VBoxVMInfoAdditions.cpp \
32 VBoxVMInfoUser.cpp \
33 VBoxVMInfoNet.cpp \
34 VBoxVMInfoOS.cpp
35endif
36
37VBoxService_LIBS = \
38 $(VBOX_LIB_IPRT_GUEST_R3) \
39 $(VBOX_LIB_VBGL_R3) \
40 $(VBOX_LIB_IPRT_GUEST_R3)
41
42ifdef VBOX_WITH_GUEST_PROPS
43 VBoxService_LIBS += \
44 Secur32.lib \
45 WtsApi32.lib \
46 Psapi.lib
47endif
48
49# VBoxService.cpp uses VBOX_SVN_REV.
50VBoxService.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
51VBoxService.cpp_DEPS = $(VBOX_SVN_REV_KMK)
52
53# The icon is configurable.
54VBoxService.rc_INCS = $(PATH_VBoxService)
55VBoxService.rc_DEPS = $(PATH_VBoxService)/VBoxService-icon.rc
56VBoxService.rc_CLEAN = $(PATH_VBoxService)/VBoxService-icon.rc
57
58# Icon include file.
59$$(PATH_VBoxService)/VBoxService-icon.rc: $(VBOX_WINDOWS_ICON_FILE) $$(VBoxService_PATH)/Makefile.kmk | $$(dir $$@)
60 $(RM) -f $@
61 $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ICON_FILE))"'
62
63include $(KBUILD_PATH)/subfooter.kmk
64
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