VirtualBox

Changeset 22012 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Aug 6, 2009 12:14:15 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50749
Message:

VBoxNetAdp/Makefile.kmk: Killed the extremely annoying W2K3DDK and WINPSDK warnings on darwin.

File:
1 edited

Legend:

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

    r20732 r22012  
    2424
    2525
    26 if1of ($(KBUILD_TARGET), darwin win)
     26if1of ($(KBUILD_TARGET), darwin win) # this ifeq must go, see @todo around elif
    2727#
    2828# VBoxNetFlt.sys - The mixed case driver.
     
    237237                $(addprefix /I , $(call VBOX_FN_MAKE_WIN_PATH,$(SDK_W2K3DDK_INCS))) \
    238238                $(call VBOX_FN_MAKE_WIN_PATH,$<)
    239 endif #ifeq ($(KBUILD_TARGET), win)
    240239
    241240#
     
    245244VBoxNetAdp_TEMPLATE = VBOXR0DRV
    246245#VBoxNetAdp_INST = $(INST_VBOXNETADP)
    247 if defined(VBOX_SIGNING_MODE)
    248  VBoxNetAdp_NOINST = true
    249 endif
     246 if defined(VBOX_SIGNING_MODE)
     247VBoxNetAdp_NOINST = true
     248 endif
    250249VBoxNetAdp_DEFS = IN_RT_R0 IN_SUP_STATIC
    251250VBoxNetAdp_SDKS = W2K3DDK WINPSDKINCS
     
    297296
    298297 endif #  ifdef VBOX_SIGNING_MODE
     298
     299endif #ifeq ($(KBUILD_TARGET), win)
    299300
    300301else if1of ($(KBUILD_TARGET), linux solaris) ## @todo merge this with the mixed case stuff.
     
    331332
    332333solaris/VBoxNetFlt-solaris.c_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
    333 endif
     334endif # to be removed.
     335
    334336
    335337ifeq ($(KBUILD_TARGET),linux)
     
    356358 VBoxNetFlt-sh_SOURCES = \
    357359        $(PATH_VBoxNetFlt-sh)/build_in_tmp \
    358         $(if $(VBOX_OSE),,\
    359           $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers)
     360        $(if $(VBOX_OSE),,$(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers)
    360361 VBoxNetFlt-sh_CLEAN   = $(PATH_VBoxNetFlt-sh)/build_in_tmp
    361362
    362363
    363 includedep $(PATH_TARGET)/VBoxNetFlt-src-1.dep
    364 $$(PATH_VBoxNetFlt-src)/Makefile: \
     364 includedep $(PATH_TARGET)/VBoxNetFlt-src-1.dep
     365 $$(PATH_VBoxNetFlt-src)/Makefile: \
    365366                $(PATH_SUB_CURRENT)/linux/Makefile \
    366367                $$(if $$(eq $$(VBoxNetFlt/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
    367368                | $$(dir $$@)
    368 ifndef VBOX_WITH_HARDENING
     369 ifndef VBOX_WITH_HARDENING
    369370        $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $<
    370 else
     371 else
    371372        $(QUIET)$(CP) -f $< $@
    372 endif
     373 endif
    373374        %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/VBoxNetFlt-src-1.dep
    374375        %$(QUIET2)$(APPEND) '$(PATH_TARGET)/VBoxNetFlt-src-1.dep' 'VBoxNetFlt/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)'
    375376
    376 ## Scripts needed for building the kernel modules
    377 
    378 $$(PATH_VBoxNetFlt-sh)/build_in_tmp: \
     377 # Script needed for building the kernel module
     378 $$(PATH_VBoxNetFlt-sh)/build_in_tmp: \
    379379                $(PATH_ROOT)/src/VBox/HostDrivers/linux/build_in_tmp \
    380380                $(VBOX_VERSION_STAMP) \
     
    384384        $(QUIET)chmod 0755 $@
    385385
    386 $$(PATH_VBoxNetFlt-src)/dkms.conf: \
     386 # Script needed for building the kernel module
     387 $$(PATH_VBoxNetFlt-src)/dkms.conf: \
    387388                $(PATH_SUB_CURRENT)/linux/dkms.conf \
    388389                $(VBOX_VERSION_STAMP) \
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