VirtualBox

Ignore:
Timestamp:
Jun 5, 2015 11:20:03 AM (10 years ago)
Author:
vboxsync
Message:

NetAdp: Moved VBoxNetAdp6 driver to VBoxNetAdp/win (#7849)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk

    r53604 r56256  
    9292endif # darwin
    9393
     94ifeq ($(KBUILD_TARGET),win)
     95 #
     96 # VBoxNetAdp6.sys - The VirtualBox Adapter miniport driver.
     97 #
     98 SYSMODS.win += VBoxNetAdp6
     99 VBoxNetAdp6_TEMPLATE = VBOXR0DRV
     100 if defined(VBOX_SIGNING_MODE)
     101  VBoxNetAdp6_INSTTYPE.win = none
     102  VBoxNetAdp6_DEBUG_INSTTYPE.win = both
     103 endif
     104 VBoxNetAdp6_DEFS = IN_RT_R0 IN_SUP_STATIC
     105 VBoxNetAdp6_INCS := $(PATH_SUB_CURRENT)
     106 VBoxNetAdp6_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK)INCS
     107 VBoxNetAdp6_SOURCES = \
     108        win/VBoxNetAdp-win.cpp \
     109        win/VBoxNetAdp-win.rc
     110 VBoxNetAdp6_DEFS += NDIS_MINIPORT_DRIVER NDIS_WDM=1 BINARY_COMPATIBLE=0
     111 VBoxNetAdp6_DEFS += NDIS60_MINIPORT=1 NDIS60=1
     112 VBoxNetAdp6_LDFLAGS.win.x86 = -Entry:DriverEntry@8
     113 VBoxNetAdp6_LDFLAGS.win.amd64 = -Entry:DriverEntry
     114 VBoxNetAdp6_LIBS.win = \
     115        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ntoskrnl.lib \
     116        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib \
     117        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ndis.lib \
     118        $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
     119 VBoxNetAdp6_LIBS = \
     120        $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
     121
     122
     123 INSTALLS.win += VBoxNetAdp6-inf
     124 VBoxNetAdp6-inf_INST = $(INST_BIN)
     125 VBoxNetAdp6-inf_MODE = a+r,u+w
     126 VBoxNetAdp6-inf_SOURCES = \
     127        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf
     128 VBoxNetAdp6-inf_CLEAN = $(VBoxNetAdp6-inf_SOURCES)
     129 VBoxNetAdp6-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetAdp6Cat.dir
     130
     131$(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf: $(PATH_SUB_CURRENT)/win/VBoxNetAdp6.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     132        $(call MSG_GENERATE,VBoxNetAdp6-inf,$@,$<)
     133        $(call VBOX_EDIT_INF_FN,$<,$@)
     134
     135 ifdef VBOX_SIGNING_MODE
     136VBoxNetAdp6-inf_SOURCES += \
     137        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
     138        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat
     139
     140$(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys: $$(VBoxNetAdp6_1_TARGET) | $$(dir $$@)
     141        $(INSTALL) -m 644 $< $(@D)
     142
     143$(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat: \
     144                $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
     145                $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf
     146        $(call MSG_TOOL,Inf2Cat,VBoxNetFlt-inf,$@,$<)
     147        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
     148
     149 endif #  ifdef VBOX_SIGNING_MODE
     150
     151endif #ifeq ($(KBUILD_TARGET), win)
     152
    94153ifeq ($(KBUILD_TARGET),linux)
    95154 #
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