VirtualBox

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


Ignore:
Timestamp:
Dec 30, 2010 4:06:17 PM (14 years ago)
Author:
vboxsync
Message:

Makefiles: The PATH_<target> variable is deprated, use <target>_0_OUTDIR instead.

Location:
trunk/src/VBox/HostDrivers
Files:
5 edited

Legend:

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

    r34484 r35380  
    5757  HostDrivers-dkms-sh_INST    = bin/src/
    5858  HostDrivers-dkms-sh_MODE    = a+rx,u+w
    59   HostDrivers-dkms-sh_SOURCES = $(PATH_HostDrivers-dkms-sh)/do_dkms
    60   HostDrivers-dkms-sh_CLEAN   = $(PATH_HostDrivers-dkms-sh)/do_dkms
     59  HostDrivers-dkms-sh_SOURCES = $(HostDrivers-dkms-sh_0_OUTDIR)/do_dkms
     60  HostDrivers-dkms-sh_CLEAN   = $(HostDrivers-dkms-sh_0_OUTDIR)/do_dkms
    6161
    6262  INSTALLS += HostDrivers-dkms-src
    6363  HostDrivers-dkms-src_INST    = bin/src/
    6464  HostDrivers-dkms-src_MODE    = a+r,u+w
    65   HostDrivers-dkms-src_SOURCES = $(PATH_HostDrivers-dkms-src)/dkms.conf
    66   HostDrivers-dkms-src_CLEAN   = $(PATH_HostDrivers-dkms-src)/dkms.conf
     65  HostDrivers-dkms-src_SOURCES = $(HostDrivers-dkms-src_0_OUTDIR)/dkms.conf
     66  HostDrivers-dkms-src_CLEAN   = $(HostDrivers-dkms-src_0_OUTDIR)/dkms.conf
    6767
    68 $$(PATH_HostDrivers-dkms-src)/dkms.conf: \
     68$$(HostDrivers-dkms-src_0_OUTDIR)/dkms.conf: \
    6969                $(PATH_SUB_CURRENT)/linux/dkms.conf \
    7070                $(VBOX_VERSION_STAMP) \
     
    7777                --output $@ $<
    7878
    79 $$(PATH_HostDrivers-dkms-sh)/do_dkms: \
     79$$(HostDrivers-dkms-sh_0_OUTDIR)/do_dkms: \
    8080                $(PATH_SUB_CURRENT)/linux/do_dkms \
    8181                $(VBOX_VERSION_STAMP) \
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r34484 r35380  
    141141endif
    142142ifeq ($(VBOX_LDR_FMT),lx)
    143 SUPR0_SOURCES      += $$(PATH_SUPR0)/SUPR0.def
    144 $$(PATH_SUPR0)/SUPR0.def: $(PATH_SUB_CURRENT)/SUPR0.def | $$(dir $$@)
     143SUPR0_SOURCES      += $$(SUPR0_0_OUTDIR)/SUPR0.def
     144$$(SUPR0_0_OUTDIR)/SUPR0.def: $(PATH_SUB_CURRENT)/SUPR0.def | $$(dir $$@)
    145145        $(SED) \
    146146                -e 's/^[ \t][ \t]*\([gA-Z]\)/    _\1/' \
     
    264264vboxdrv-mod_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #"
    265265vboxdrv-mod_SOURCES += \
    266         $(PATH_vboxdrv-mod)/Makefile
     266        $(vboxdrv-mod_0_OUTDIR)/Makefile
    267267vboxdrv-mod_CLEAN   = \
    268         $(PATH_vboxdrv-mod)/Makefile
     268        $(vboxdrv-mod_0_OUTDIR)/Makefile
    269269
    270270vboxdrv-sh_INST     = bin/src/vboxdrv
     
    272272vboxdrv-sh_SOURCES  = $(subst ",,$(FILES_VBOXDRV_BIN)) #"
    273273vboxdrv-sh_SOURCES += \
    274         $(PATH_vboxdrv-sh)/build_in_tmp \
     274        $(vboxdrv-sh_0_OUTDIR)/build_in_tmp \
    275275        $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers
    276276vboxdrv-sh_CLEAN    = \
    277277        $(PATH_TARGET)/vboxdrv-sh-1.dep \
    278         $(PATH_vboxdrv-sh)/build_in_tmp
     278        $(vboxdrv-sh_0_OUTDIR)/build_in_tmp
    279279
    280280# Scripts needed for building the kernel modules
    281281
    282 $$(PATH_vboxdrv-sh)/build_in_tmp: \
     282$$(vboxdrv-sh_0_OUTDIR)/build_in_tmp: \
    283283                $(PATH_ROOT)/src/VBox/HostDrivers/linux/build_in_tmp \
    284284                $(VBOX_VERSION_STAMP) \
     
    292292
    293293includedep $(PATH_TARGET)/vboxdrv-sh-1.dep
    294 $$(PATH_vboxdrv-mod)/Makefile: \
     294$$(vboxdrv-mod_0_OUTDIR)/Makefile: \
    295295                $(PATH_SUB_CURRENT)/linux/Makefile \
    296296                $$(if $$(eq $$(Support/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     
    339339INSTALLS += VBoxDrv.kext
    340340VBoxDrv.kext_INST     = $(INST_VBOXDRV)Contents/
    341 VBoxDrv.kext_SOURCES  = $(PATH_VBoxDrv.kext)/Info.plist
    342 VBoxDrv.kext_CLEAN    = $(PATH_VBoxDrv.kext)/Info.plist
    343 
    344 $$(PATH_VBoxDrv.kext)/Info.plist: \
     341VBoxDrv.kext_SOURCES  = $(VBoxDrv.kext_0_OUTDIR)/Info.plist
     342VBoxDrv.kext_CLEAN    = $(VBoxDrv.kext_0_OUTDIR)/Info.plist
     343
     344$$(VBoxDrv.kext_0_OUTDIR)/Info.plist: \
    345345                $(PATH_SUB_CURRENT)/darwin/Info.plist \
    346346                $(VBOX_VERSION_MK) | $$(dir $$@)
     
    420420vboxdrv-mod_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #"
    421421vboxdrv-mod_SOURCES += \
    422         $(PATH_vboxdrv-mod)/Makefile
     422        $(vboxdrv-mod_0_OUTDIR)/Makefile
    423423vboxdrv-mod_CLEAN   = \
    424         $(PATH_vboxdrv-mod)/Makefile
    425 
    426 $$(PATH_vboxdrv-mod)/Makefile: \
     424        $(vboxdrv-mod_0_OUTDIR)/Makefile
     425
     426$$(vboxdrv-mod_0_OUTDIR)/Makefile: \
    427427                $(PATH_SUB_CURRENT)/freebsd/Makefile \
    428428                $$(if $$(eq $$(Support/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk

    r33540 r35380  
    6868VBoxNetAdp.kext_INST     = $(INST_VBOXNETADP)Contents/
    6969VBoxNetAdp.kext_SOURCES  = \
    70         $(PATH_VBoxNetAdp.kext)/Info.plist
     70        $(VBoxNetAdp.kext_0_OUTDIR)/Info.plist
    7171VBoxNetAdp.kext_CLEAN    = \
    72         $(PATH_VBoxNetAdp.kext)/Info.plist
     72        $(VBoxNetAdp.kext_0_OUTDIR)/Info.plist
    7373
    74 $$(PATH_VBoxNetAdp.kext)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
     74$$(VBoxNetAdp.kext_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
    7575        $(call MSG_GENERATE,VBoxNetAdp,$@,$<)
    7676        $(QUIET)$(RM) -f $@
     
    103103 VBoxNetAdp-src_SOURCES = $(subst ",,$(VBOX_VBOXNETADP_SOURCES)) #"
    104104 VBoxNetAdp-src_SOURCES+= \
    105         $(PATH_VBoxNetAdp-src)/Makefile
     105        $(VBoxNetAdp-src_0_OUTDIR)/Makefile
    106106 VBoxNetAdp-src_CLEAN   = \
    107         $(PATH_VBoxNetAdp-src)/Makefile \
     107        $(VBoxNetAdp-src_0_OUTDIR)/Makefile     \
    108108        $(PATH_TARGET)/VBoxNetAdp-src-1.dep
    109109
     
    111111 VBoxNetAdp-sh_MODE    = a+rx,u+w
    112112 VBoxNetAdp-sh_SOURCES = \
    113         $(PATH_VBoxNetAdp-sh)/build_in_tmp \
     113        $(VBoxNetAdp-sh_0_OUTDIR)/build_in_tmp \
    114114        $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers
    115  VBoxNetAdp-sh_CLEAN   = $(PATH_VBoxNetAdp-sh)/build_in_tmp
     115 VBoxNetAdp-sh_CLEAN   = $(VBoxNetAdp-sh_0_OUTDIR)/build_in_tmp
    116116
    117117
    118118includedep $(PATH_TARGET)/VBoxNetAdp-src-1.dep
    119 $$(PATH_VBoxNetAdp-src)/Makefile: \
     119$$(VBoxNetAdp-src_0_OUTDIR)/Makefile: \
    120120                $(PATH_SUB_CURRENT)/linux/Makefile \
    121121                $$(if $$(eq $$(VBoxNetAdp/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     
    131131## Scripts needed for building the kernel modules
    132132
    133 $$(PATH_VBoxNetAdp-sh)/build_in_tmp: \
     133$$(VBoxNetAdp-sh_0_OUTDIR)/build_in_tmp: \
    134134                $(PATH_ROOT)/src/VBox/HostDrivers/linux/build_in_tmp \
    135135                $(VBOX_VERSION_STAMP) \
     
    152152 VBoxNetAdp-src_SOURCES = $(subst ",,$(VBOX_VBOXNETADP_SOURCES)) #"
    153153 VBoxNetAdp-src_SOURCES+= \
    154         $(PATH_VBoxNetAdp-src)/Makefile
     154        $(VBoxNetAdp-src_0_OUTDIR)/Makefile
    155155 VBoxNetAdp-src_CLEAN   = \
    156         $(PATH_VBoxNetAdp-src)/Makefile \
     156        $(VBoxNetAdp-src_0_OUTDIR)/Makefile     \
    157157
    158 $$(PATH_VBoxNetAdp-src)/Makefile: \
     158$$(VBoxNetAdp-src_0_OUTDIR)/Makefile: \
    159159                $(PATH_SUB_CURRENT)/freebsd/Makefile \
    160160                $$(if $$(eq $$(VBoxNetAdp/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r33540 r35380  
    7373VBoxNetFlt.kext_INST     = $(INST_VBOXNETFLT)Contents/
    7474VBoxNetFlt.kext_SOURCES  = \
    75         $(PATH_VBoxNetFlt.kext)/Info.plist
     75        $(VBoxNetFlt.kext_0_OUTDIR)/Info.plist
    7676VBoxNetFlt.kext_CLEAN    = \
    77         $(PATH_VBoxNetFlt.kext)/Info.plist
    78 
    79 $$(PATH_VBoxNetFlt.kext)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
     77        $(VBoxNetFlt.kext_0_OUTDIR)/Info.plist
     78
     79$$(VBoxNetFlt.kext_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
    8080        $(call MSG_GENERATE,VBoxNetFlt,$@,$<)
    8181        $(QUIET)$(RM) -f $@
     
    209209VBoxNetFltNotify_DEFS       = _WIN32_WINNT=0x0500 WIN32 _ATL_STATIC_REGISTRY
    210210VBoxNetFltNotify_INCS       = \
    211         $(PATH_VBoxNetFltNotify)
     211        $(VBoxNetFltNotify_0_OUTDIR)
    212212VBoxNetFltNotify_SOURCES    = \
    213213        win/notifyobj/VBoxNetFltNotify.cpp \
     
    218218#VBoxNetFltNotify_INTERMEDIATES =
    219219VBoxNetFltNotify_DEPS       = \
    220         $(PATH_VBoxNetFltNotify)/VBoxNetFltNotifyn_i.c \
    221         $(PATH_VBoxNetFltNotify)/VBoxNetFltNotifyn_p.c \
    222         $(PATH_VBoxNetFltNotify)/VBoxNetFltNotifyn.h \
    223         $(PATH_VBoxNetFltNotify)/dlldata.c \
    224         $(PATH_VBoxNetFltNotify)/VBoxNetFltNotifyn.tlb
     220        $(VBoxNetFltNotify_0_OUTDIR)/VBoxNetFltNotifyn_i.c \
     221        $(VBoxNetFltNotify_0_OUTDIR)/VBoxNetFltNotifyn_p.c \
     222        $(VBoxNetFltNotify_0_OUTDIR)/VBoxNetFltNotifyn.h \
     223        $(VBoxNetFltNotify_0_OUTDIR)/dlldata.c \
     224        $(VBoxNetFltNotify_0_OUTDIR)/VBoxNetFltNotifyn.tlb
    225225VBoxNetFltNotify_CLEAN      = $(VBoxNetFltNotify_DEPS)
    226226
     
    231231        ) Sorry_Cannot_Find_The_Midl_Compiler_In_The_PSDK))
    232232
    233 $$(PATH_VBoxNetFltNotify)/VBoxNetFltNotifyn_i.c \
    234 + $$(PATH_VBoxNetFltNotify)/VBoxNetFltNotifyn_p.c \
    235 + $$(PATH_VBoxNetFltNotify)/VBoxNetFltNotifyn.h \
    236 + $$(PATH_VBoxNetFltNotify)/dlldata.c \
    237 + $$(PATH_VBoxNetFltNotify)/VBoxNetFltNotifyn.tlb: \
     233$$(VBoxNetFltNotify_0_OUTDIR)/VBoxNetFltNotifyn_i.c \
     234+ $$(VBoxNetFltNotify_0_OUTDIR)/VBoxNetFltNotifyn_p.c \
     235+ $$(VBoxNetFltNotify_0_OUTDIR)/VBoxNetFltNotifyn.h \
     236+ $$(VBoxNetFltNotify_0_OUTDIR)/dlldata.c \
     237+ $$(VBoxNetFltNotify_0_OUTDIR)/VBoxNetFltNotifyn.tlb: \
    238238                $(PATH_SUB_CURRENT)/win/notifyobj/VBoxNetFltNotifyn.idl \
    239239                | $$(dir $$@)
    240240        $(VBOXNETFLT_NOTIFY_IDL) /nologo \
    241                 /out $(call VBOX_FN_MAKE_WIN_PATH,$(PATH_VBoxNetFltNotify)) \
     241                /out $(call VBOX_FN_MAKE_WIN_PATH,$(VBoxNetFltNotify_0_OUTDIR)) \
    242242                /cpp_cmd $(subst $(EXEC_X86_WIN32),,$(call VBOX_FN_MAKE_WIN_PATH,$(TOOL_$(VBOX_VCC_TOOL)_CC))) \
    243243                $(addprefix /I , $(call VBOX_FN_MAKE_WIN_PATH,$(SDK_W2K3DDK_INCS))) \
     
    363363 VBoxNetFlt-src_SOURCES = $(subst ",,$(VBOX_VBOXNETFLT_SOURCES)) #"
    364364 VBoxNetFlt-src_SOURCES+= \
    365         $(PATH_VBoxNetFlt-src)/Makefile
     365        $(VBoxNetFlt-src_0_OUTDIR)/Makefile
    366366 VBoxNetFlt-src_CLEAN   = \
    367         $(PATH_VBoxNetFlt-src)/Makefile \
     367        $(VBoxNetFlt-src_0_OUTDIR)/Makefile     \
    368368        $(PATH_TARGET)/VBoxNetFlt-src-1.dep
    369369
     
    371371 VBoxNetFlt-sh_MODE    = a+rx,u+w
    372372 VBoxNetFlt-sh_SOURCES = \
    373         $(PATH_VBoxNetFlt-sh)/build_in_tmp \
     373        $(VBoxNetFlt-sh_0_OUTDIR)/build_in_tmp \
    374374        $(PATH_ROOT)/src/VBox/HostDrivers/linux/do_Module.symvers
    375  VBoxNetFlt-sh_CLEAN   = $(PATH_VBoxNetFlt-sh)/build_in_tmp
     375 VBoxNetFlt-sh_CLEAN   = $(VBoxNetFlt-sh_0_OUTDIR)/build_in_tmp
    376376
    377377
    378378 includedep $(PATH_TARGET)/VBoxNetFlt-src-1.dep
    379  $$(PATH_VBoxNetFlt-src)/Makefile: \
     379 $$(VBoxNetFlt-src_0_OUTDIR)/Makefile: \
    380380                $(PATH_SUB_CURRENT)/linux/Makefile \
    381381                $$(if $$(eq $$(VBoxNetFlt/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
     
    390390
    391391 # Script needed for building the kernel module
    392  $$(PATH_VBoxNetFlt-sh)/build_in_tmp: \
     392 $$(VBoxNetFlt-sh_0_OUTDIR)/build_in_tmp: \
    393393                $(PATH_ROOT)/src/VBox/HostDrivers/linux/build_in_tmp \
    394394                $(VBOX_VERSION_STAMP) \
     
    417417 VBoxNetFlt-src_SOURCES = $(subst ",,$(VBOX_VBOXNETFLT_SOURCES)) #"
    418418 VBoxNetFlt-src_SOURCES+= \
    419         $(PATH_VBoxNetFlt-src)/Makefile
     419        $(VBoxNetFlt-src_0_OUTDIR)/Makefile
    420420 VBoxNetFlt-src_CLEAN   = \
    421         $(PATH_VBoxNetFlt-src)/Makefile \
    422 
    423  $$(PATH_VBoxNetFlt-src)/Makefile: \
     421        $(VBoxNetFlt-src_0_OUTDIR)/Makefile     \
     422
     423 $$(VBoxNetFlt-src_0_OUTDIR)/Makefile: \
    424424                $(PATH_SUB_CURRENT)/freebsd/Makefile \
    425425                $$(if $$(eq $$(VBoxNetFlt/freebsd/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \
  • trunk/src/VBox/HostDrivers/VBoxUSB/darwin/Makefile.kmk

    r31898 r35380  
    3838INSTALLS += VBoxUSB.kext
    3939VBoxUSB.kext_INST     = $(INST_VBOXUSB)Contents/
    40 VBoxUSB.kext_SOURCES  = $(PATH_VBoxUSB.kext)/Info.plist
    41 VBoxUSB.kext_CLEAN    = $(PATH_VBoxUSB.kext)/Info.plist
     40VBoxUSB.kext_SOURCES  = $(VBoxUSB.kext_0_OUTDIR)/Info.plist
     41VBoxUSB.kext_CLEAN    = $(VBoxUSB.kext_0_OUTDIR)/Info.plist
    4242
    43 $$(PATH_VBoxUSB.kext)/Info.plist: $(PATH_SUB_CURRENT)/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
     43$$(VBoxUSB.kext_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
    4444        $(call MSG_GENERATE,VBoxUSB,$@,$<)
    4545        $(QUIET)$(RM) -f $@
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