VirtualBox

Changeset 32690 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Sep 22, 2010 10:09:36 AM (14 years ago)
Author:
vboxsync
Message:

VBoxGuest: Enabled new Windows driver (PnP + NT4 Legacy) using common code base, removed old Windows driver.

Location:
trunk/src/VBox/Additions
Files:
1 deleted
3 edited

Legend:

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

    r31144 r32690  
    7171  include $(PATH_SUB_CURRENT)/darwin/Makefile.kmk
    7272 endif
     73
     74 ifeq ($(KBUILD_TARGET),win)
     75  #
     76  # Inf2Cat requires all the files referenced in the .inf file
     77  # to be present in the directory, so we have to do this from here,
     78  # since VBoxGuest.sys is being built from the common sources.
     79  #
     80  INSTALLS += VBoxGuest-inf
     81  VBoxGuest-inf_INST = $(INST_ADDITIONS)
     82  VBoxGuest-inf_MODE = a+r,u+w
     83  VBoxGuest-inf_SOURCES = \
     84        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf
     85  ifdef VBOX_SIGN_ADDITIONS
     86  VBoxGuest-inf_SOURCES += \
     87        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat \
     88        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
     89        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
     90        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe \
     91        $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll
     92  endif # signing
     93  VBoxGuest-inf_CLEAN = $(VBoxGuest-inf_SOURCES)
     94  VBoxGuest-inf_BLDDIRS = \
     95        $(PATH_TARGET)/VBoxGuestCat.dir
     96
     97  $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf: $(PATH_SUB_CURRENT)/common/VBoxGuest/win/VBoxGuest.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
     98        $(call MSG_GENERATE,VBoxGuest-inf,$@,$<)
     99        $(call VBOX_EDIT_INF_FN,$<,$@)
     100
     101  $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys:   $$(TARGET_VBoxGuest) | $$(call DIRDEP,$$(@D))
     102        $(INSTALL) -m 644 $< $(@D)
     103
     104  $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe: $$(TARGET_VBoxControl) | $$(call DIRDEP,$$(@D))
     105        $(INSTALL) -m 755 $< $(@D)
     106
     107  $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe:    $$(TARGET_VBoxTray) | $$(call DIRDEP,$$(@D))
     108        $(INSTALL) -m 755 $< $(@D)
     109
     110  $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll:    $$(TARGET_VBCoInst) | $$(call DIRDEP,$$(@D))
     111        $(INSTALL) -m 644 $< $(@D)
     112
     113  $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat: \
     114                $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
     115                $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
     116                $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
     117                $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe \
     118                $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll
     119        $(call MSG_TOOL,Inf2Cat,VBoxGuest-inf,$@,$<)
     120        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
     121 endif # KBUILD_TARGET == win
    73122
    74123 # The packing target rule, but only if we're on the local build box.
  • trunk/src/VBox/Additions/WINNT/Makefile.kmk

    r28800 r32690  
    44#
    55
    6 # Copyright (C) 2006-2007 Oracle Corporation
     6# Copyright (C) 2006-2010 Oracle Corporation
    77#
    88# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2222include $(PATH_SUB_CURRENT)/i8042prt/Makefile.kmk
    2323include $(PATH_SUB_CURRENT)/MouseFilter/Makefile.kmk
    24 include $(PATH_SUB_CURRENT)/VBoxGuest/Makefile.kmk
    2524include $(PATH_SUB_CURRENT)/VBoxTray/Makefile.kmk
    2625include $(PATH_SUB_CURRENT)/VBoxGINA/Makefile.kmk
     
    3736endif
    3837
    39 #
    40 # Inf2Cat requires all the files referenced in the .inf file
    41 # to be present in the directory, so we have to do this from here.
    42 #
    43 INSTALLS += VBoxGuest-inf
    44 VBoxGuest-inf_INST = $(INST_ADDITIONS)
    45 VBoxGuest-inf_MODE = a+r,u+w
    46 VBoxGuest-inf_SOURCES = \
    47         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf
    48 ifdef VBOX_SIGN_ADDITIONS
    49 VBoxGuest-inf_SOURCES += \
    50         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat \
    51         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
    52         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
    53         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe \
    54         $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll
    55 endif # signing
    56 VBoxGuest-inf_CLEAN = $(VBoxGuest-inf_SOURCES)
    57 VBoxGuest-inf_BLDDIRS = \
    58         $(PATH_TARGET)/VBoxGuestCat.dir
    59 
    60 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf: $(PATH_SUB_CURRENT)/VBoxGuest/VBoxGuest.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
    61         $(call MSG_GENERATE,VBoxGuest-inf,$@,$<)
    62         $(call VBOX_EDIT_INF_FN,$<,$@)
    63 
    64 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys:   $$(TARGET_VBoxGuest) | $$(call DIRDEP,$$(@D))
    65         $(INSTALL) -m 644 $< $(@D)
    66 
    67 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe: $$(TARGET_VBoxControl) | $$(call DIRDEP,$$(@D))
    68         $(INSTALL) -m 755 $< $(@D)
    69 
    70 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe:    $$(TARGET_VBoxTray) | $$(call DIRDEP,$$(@D))
    71         $(INSTALL) -m 755 $< $(@D)
    72 
    73 $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll:    $$(TARGET_VBCoInst) | $$(call DIRDEP,$$(@D))
    74         $(INSTALL) -m 644 $< $(@D)
    75 
    76 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat: \
    77                 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
    78                 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
    79                 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
    80                 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe \
    81                 $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll
    82         $(call MSG_TOOL,Inf2Cat,VBoxGuest-inf,$@,$<)
    83         $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    84 
    8538include $(KBUILD_PATH)/subfooter.kmk
    8639
  • trunk/src/VBox/Additions/common/Makefile.kmk

    r28800 r32690  
    2323ifndef VBOX_ONLY_TESTSUITE
    2424 include $(PATH_SUB_CURRENT)/VBoxControl/Makefile.kmk
    25  if1of ($(KBUILD_TARGET), freebsd linux os2 solaris)
     25 if1of ($(KBUILD_TARGET), freebsd linux os2 solaris win)
    2626  include $(PATH_SUB_CURRENT)/VBoxGuest/Makefile.kmk
    2727 endif
    28  if1of ($(KBUILD_TARGET), linux win freebsd os2 solaris)
     28 if1of ($(KBUILD_TARGET), freebsd linux os2 solaris win)
    2929  include $(PATH_SUB_CURRENT)/VBoxService/Makefile.kmk
    3030 endif
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