VirtualBox

Ignore:
Timestamp:
Jul 6, 2009 1:19:32 PM (15 years ago)
Author:
vboxsync
Message:

VBoxService: extend the standard target to make the NT4 one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r21246 r21250  
    2222SUB_DEPTH = ../../../../..
    2323include $(KBUILD_PATH)/subheader.kmk
     24if "$(KBUILD_HOST)" != "os2" || defined(VBOX_WITH_OS2_ADDITIONS)
    2425
    25 if "$(KBUILD_HOST)" != "os2" || defined(VBOX_WITH_OS2_ADDITIONS)
    26  PROGRAMS += VBoxService
    27 endif
    28 
    29 # Build special VBoxService version for NT4.
    30 ifeq ($(KBUILD_TARGET), win)
    31  PROGRAMS.x86 += VBoxServiceNT
    32 endif
     26#
     27# Target lists.
     28#
     29PROGRAMS += VBoxService
     30PROGRAMS.win.x86 += VBoxServiceNT
    3331
    3432#
     
    7270
    7371#
    74 # VBoxServiceNT - NT version of VBoxService (x86 only).
     72# VBoxServiceNT - NT4 version of VBoxService.
    7573#
    7674VBoxServiceNT_TEMPLATE    = VBOXGUESTR3EXE
    77 VBoxServiceNT_DEFS        = VBOXSERVICE_TIMESYNC
    78 VBoxServiceNT_DEFS       += _WIN32_WINNT=0x0400 _UNICODE UNICODE TARGET_NT4
    79 ifdef VBOX_WITH_GUEST_PROPS
    80  VBoxServiceNT_DEFS      += VBOX_WITH_GUEST_PROPS VBOXSERVICE_VMINFO
    81 endif
    82 VBoxServiceNT_SOURCES       = \
    83         VBoxService.cpp \
    84         VBoxServiceTimeSync.cpp \
    85         VBoxServiceUtils.cpp \
    86         VBoxService-win.rc \
    87         VBoxService-win.cpp
    88 ifdef VBOX_WITH_GUEST_PROPS
    89  VBoxServiceNT_SOURCES     += \
    90         VBoxServiceVMInfo.cpp \
    91         VBoxServiceVMInfo-win.cpp
    92 endif
    93 VBoxServiceNT_LIBS          = \
    94         $(VBOX_LIB_IPRT_GUEST_R3) \
    95         $(VBOX_LIB_VBGL_R3) \
    96         $(VBOX_LIB_IPRT_GUEST_R3)
     75VBoxServiceNT_EXTENDS     = VBoxService
     76VBoxServiceNT_DEFS.win    = _WIN32_WINNT=0x0400 _UNICODE UNICODE TARGET_NT4
    9777
     78#
    9879# The icon is configurable.
     80#
    9981VBoxService-win.rc_INCS = $(PATH_VBoxService)
    10082VBoxService-win.rc_DEPS = $(PATH_VBoxService)/VBoxService-win-icon.rc
     
    10688        $(APPEND) $@ 'IDI_VIRTUALBOX ICON DISCARDABLE "$(subst /,\\,$(VBOX_WINDOWS_ADDITIONS_ICON_FILE))"'
    10789
     90endif # os2 || with os2 additions
    10891include $(KBUILD_PATH)/subfooter.kmk
    10992
Note: See TracChangeset for help on using the changeset viewer.

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