儲存庫 vbox 的更動 12252
- 時間撮記:
- 2008-9-9 上午01:58:29 (16 年 以前)
- 位置:
- trunk/src/VBox/HostDrivers
- 檔案:
-
- 修改 5 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostDrivers/Makefile.kmk
r12170 r12252 20 20 # 21 21 22 ifdef VBOX_SINGLE_MAKEFILE23 22 SUB_DEPTH = ../../.. 24 else25 DEPTH = ../../..26 endif27 23 include $(KBUILD_PATH)/subheader.kmk 28 24 -
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r12170 r12252 29 29 # 30 30 31 ifdef VBOX_SINGLE_MAKEFILE32 31 SUB_DEPTH = ../../../.. 33 else34 SUB_DEPTH = ..35 DEPTH ?= ../../../..36 endif37 32 include $(KBUILD_PATH)/subheader.kmk 38 33 … … 61 56 $(if $(VBOX_OSE),,$(PATH_BIN)/src/dkms.conf) 62 57 endif 63 INSTALLS.linux += vboxmod-bin vboxmod-sh58 INSTALLS.linux += vboxmod-bin vboxmod-sh 64 59 65 60 # … … 73 68 include $(PATH_SUB_CURRENT)/linux/files_vboxdrv 74 69 endif # !VBOX_ONLY_DOCS 75 76 vboxmod-bin_INST = bin/src/77 vboxmod-bin_MODE = a+r,u+w78 vboxmod-bin_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #"79 80 vboxmod-sh_INST = bin/src/81 vboxmod-sh_MODE = a+rx,u+w82 vboxmod-sh_SOURCES = $(subst ",,$(FILES_VBOXDRV_BIN)) #"83 vboxmod-sh_CLEAN = $(PATH_TARGET)/vboxmod-sh-1.dep84 85 # Scripts needed for building the kernel modules86 ## @todo generate these else where and move them from OTHERS to vboxmod-bin (which btw installs NOBIN files contrary to its name).87 88 $(PATH_BIN)/src/build_in_tmp: \89 $(PATH_SUB_CURRENT)/linux/build_in_tmp \90 $(VBOX_VERSION_STAMP)91 $(call MSG_TOOL,Creating,,$@)92 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxdrv;g" --output $@ $<93 $(QUIET)chmod 0755 $@94 95 $(PATH_BIN)/src/dkms.conf: \96 $(PATH_SUB_CURRENT)/linux/dkms.conf \97 $(VBOX_VERSION_STAMP)98 $(call MSG_TOOL,Creating,,$@)99 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" --output $@ $<100 101 -include $(PATH_TARGET)/vboxmod-1.dep102 $(PATH_BIN)/src/Makefile: \103 $(PATH_SUB_CURRENT)/linux/Makefile \104 $$(if $$(eq $$(Support/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \105 | $(call DIRDEP,$(PATH_TARGET))106 $(call MSG_TOOL,Creating,,$@)107 ifndef VBOX_WITH_HARDENING108 $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $<109 else110 $(QUIET)$(CP) -f $< $@111 endif112 %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxmod-1.dep113 %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxmod-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)'114 70 115 71 … … 153 109 $(KBUILD_TARGET)/SUPLib-$(KBUILD_TARGET).cpp 154 110 111 ifndef VBOX_ONLY_DOCS 155 112 156 113 # … … 182 139 endif 183 140 ifeq ($(VBOX_LDR_FMT),lx) 184 SUPR0_SOURCES += $ (PATH_TARGET)/SUPR0.def185 $ (PATH_TARGET)/SUPR0.def: $(PATH_SUB_CURRENT)/SUPR0.def | $(call DIRDEP,$(PATH_TARGET))141 SUPR0_SOURCES += $$(PATH_SUPR0)/SUPR0.def 142 $$(PATH_SUPR0)/SUPR0.def: $(PATH_SUB_CURRENT)/SUPR0.def | $$(dir $$@) 186 143 $(SED) -e 's/^[ \t][ \t]*\([gA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' $< > [email protected] 187 144 $(MV) -f [email protected] $@ … … 284 241 $(KBUILD_TARGET)/SUPDrv-$(KBUILD_TARGET).mod.c 285 242 endif 243 244 245 # 246 # Targets for installing the linux sources. 247 # 248 vboxmod-bin_INST = bin/src/ 249 vboxmod-bin_MODE = a+r,u+w 250 vboxmod-bin_SOURCES = $(subst ",,$(FILES_VBOXDRV_NOBIN)) #" 251 252 vboxmod-sh_INST = bin/src/ 253 vboxmod-sh_MODE = a+rx,u+w 254 vboxmod-sh_SOURCES = $(subst ",,$(FILES_VBOXDRV_BIN)) #" 255 vboxmod-sh_CLEAN = $(PATH_TARGET)/vboxmod-sh-1.dep 256 257 # Scripts needed for building the kernel modules 258 ## @todo generate these else where and move them from OTHERS to vboxmod-bin (which btw installs NOBIN files contrary to its name). 259 260 $(PATH_BIN)/src/build_in_tmp: \ 261 $(PATH_SUB_CURRENT)/linux/build_in_tmp \ 262 $(VBOX_VERSION_STAMP) 263 $(call MSG_TOOL,Creating,,$@) 264 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g; s;_MODULE_;vboxdrv;g" --output $@ $< 265 $(QUIET)chmod 0755 $@ 266 267 $(PATH_BIN)/src/dkms.conf: \ 268 $(PATH_SUB_CURRENT)/linux/dkms.conf \ 269 $(VBOX_VERSION_STAMP) 270 $(call MSG_TOOL,Creating,,$@) 271 $(QUIET)$(SED) -e "s;_VERSION_;${VBOX_VERSION_STRING};g" --output $@ $< 272 273 includedep $(PATH_TARGET)/vboxmod-sh-1.dep 274 $(PATH_BIN)/src/Makefile: \ 275 $(PATH_SUB_CURRENT)/linux/Makefile \ 276 $$(if $$(eq $$(Support/linux/Makefile_VBOX_HARDENED),$$(VBOX_WITH_HARDENING)),,FORCE) \ 277 | $(PATH_TARGET)/ 278 $(call MSG_TOOL,Creating,,$@) 279 ifndef VBOX_WITH_HARDENING 280 $(QUIET)$(SED) -e "s;-DVBOX_WITH_HARDENING;;g" --output $@ $< 281 else 282 $(QUIET)$(CP) -f $< $@ 283 endif 284 %$(QUIET2)$(RM) -f -- $(PATH_TARGET)/vboxmod-sh-1.dep 285 %$(QUIET2)$(APPEND) '$(PATH_TARGET)/vboxmod-sh-1.dep' 'Support/linux/Makefile_VBOX_HARDENED=$(VBOX_WITH_HARDENING)' 286 286 287 endif # real linux 288 289 287 290 288 291 … … 308 311 VBoxDrv.kext_INST = $(INST_VBOXDRV)Contents/ 309 312 VBoxDrv.kext_SOURCES = \ 310 $(PATH_ TARGET)/VBoxDrv/Info.plist313 $(PATH_VBoxDrv.kext)/Info.plist 311 314 VBoxDrv.kext_CLEAN = \ 312 $(PATH_ TARGET)/VBoxDrv/Info.plist313 314 $ (PATH_TARGET)/VBoxDrv/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET)/VBoxDrv)315 $(PATH_VBoxDrv.kext)/Info.plist 316 317 $$(PATH_VBoxDrv.kext)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@) 315 318 $(call MSG_GENERATE,VBoxDrv,$@,$<) 316 319 $(xQUIET)$(RM) -f $@ … … 353 356 VBoxDrvLib_DEFS = IN_RT_R0 IN_SUP_R0 354 357 VBoxDrvLib_INCS := \ 355 $(PATH_SUB_CURRENT) \ 356 $(PATH_TARGET) \ 358 . \ 357 359 $(PATH_ROOT)/src/VBox/Runtime/include 358 360 VBoxDrvLib_SOURCES = \ … … 404 406 405 407 408 endif # !VBOX_ONLY_DOCS 406 409 include $(KBUILD_PATH)/subfooter.kmk 407 410 -
trunk/src/VBox/HostDrivers/Support/testcase/Makefile.kmk
r12170 r12252 29 29 # 30 30 31 ifdef VBOX_SINGLE_MAKEFILE32 31 SUB_DEPTH = ../../../../.. 33 else34 SUB_DEPTH = ../..35 DEPTH ?= ../../../../..36 endif37 32 include $(KBUILD_PATH)/subheader.kmk 38 33 -
trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk
r12170 r12252 11 11 # 12 12 13 ifdef VBOX_SINGLE_MAKEFILE14 13 SUB_DEPTH = ../../../.. 15 else16 SUB_DEPTH = ..17 DEPTH ?= ../../../..18 endif19 14 include $(KBUILD_PATH)/subheader.kmk 20 15 … … 27 22 VBoxNetFlt_TEMPLATE = VBOXR0DRV 28 23 VBoxNetFlt_INST = $(INST_VBOXNETFLT)$(if $(eq $(KBUILD_TARGET),darwin),Contents/MacOS/) 29 ifdef VBOX_SIGNING_MODE 30 ifeq ($(KBUILD_TARGET),win) 31 VBoxNetFlt_NOINST = true 32 endif 24 if defined(VBOX_SIGNING_MODE) && "$(KBUILD_TARGET)" == "win" 25 VBoxNetFlt_NOINST = true 33 26 endif 34 27 VBoxNetFlt_DEFS = IN_RT_R0 VBOX_SVN_REV=$(VBOX_SVN_REV) IN_SUP_STATIC … … 51 44 52 45 # Darwin extras. 53 INSTALLS.darwin += VBoxNetFlt.kext 46 ifeq ($(KBUILD_TARGET),darwin) 47 INSTALLS += VBoxNetFlt.kext 54 48 VBoxNetFlt.kext_INST = $(INST_VBOXNETFLT)Contents/ 55 49 VBoxNetFlt.kext_SOURCES = \ 56 $(PATH_ TARGET)/VBoxNetFlt/Info.plist50 $(PATH_VBoxNetFlt.kext)/Info.plist 57 51 VBoxNetFlt.kext_CLEAN = \ 58 $(PATH_ TARGET)/VBoxNetFlt/Info.plist52 $(PATH_VBoxNetFlt.kext)/Info.plist 59 53 60 $ (PATH_TARGET)/VBoxNetFlt/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET)/VBoxNetFlt)54 $$(PATH_VBoxNetFlt.kext)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@) 61 55 $(call MSG_GENERATE,VBoxNetFlt,$@,$<) 62 56 $(xQUIET)$(RM) -f $@ … … 66 60 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \ 67 61 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \ 68 $< > $@ 62 --output $@ \ 63 $< 69 64 70 65 INSTALLS.darwin += Scripts-darwin … … 72 67 Scripts-darwin_SOURCES = \ 73 68 darwin/loadnetflt.sh 69 endif # darwin 74 70 75 71 … … 80 76 VBoxNetFlt-inf_SOURCES = \ 81 77 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf \ 82 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt_m.inf 78 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt_m.inf 83 79 VBoxNetFlt-inf_CLEAN = $(VBoxNetFlt-inf_SOURCES) 84 80 VBoxNetFlt-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetFltCat.dir 85 81 86 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf: $(PATH_SUB_CURRENT)/win/VBoxNetFlt.inf $(MAKEFILE_CURRENT) | $$( call DIRDEP,$$(@D))82 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.inf: $(PATH_SUB_CURRENT)/win/VBoxNetFlt.inf $(MAKEFILE_CURRENT) | $$(dir $$@) 87 83 $(call MSG_GENERATE,VBoxNetFlt-inf,$@,$<) 88 84 $(call VBOX_EDIT_INF_FN,$<,$@) 89 85 90 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt_m.inf: $(PATH_SUB_CURRENT)/win/VBoxNetFlt_m.inf $(MAKEFILE_CURRENT) | $$( call DIRDEP,$$(@D))86 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt_m.inf: $(PATH_SUB_CURRENT)/win/VBoxNetFlt_m.inf $(MAKEFILE_CURRENT) | $$(dir $$@) 91 87 $(call MSG_GENERATE,VBoxNetFlt-inf,$@,$<) 92 88 $(call VBOX_EDIT_INF_FN,$<,$@) … … 97 93 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.cat 98 94 99 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.sys: $$(TARGET_VBoxNetFlt) | $$( call DIRDEP,$$(@D))95 $(PATH_TARGET)/VBoxNetFltCat.dir/VBoxNetFlt.sys: $$(TARGET_VBoxNetFlt) | $$(dir $$@) 100 96 $(INSTALL) -m 644 $< $(@D) 101 97 … … 137 133 include $(KBUILD_PATH)/subfooter.kmk 138 134 139 -
trunk/src/VBox/HostDrivers/VBoxTAP/Makefile.kmk
r12170 r12252 20 20 # 21 21 22 ifdef VBOX_SINGLE_MAKEFILE23 22 SUB_DEPTH = ../../../.. 24 else25 DEPTH ?= ../../../..26 SUB_DEPTH = ..27 endif28 23 include $(KBUILD_PATH)/subheader.kmk 29 30 24 31 25 … … 51 45 $(PATH_SDK_W2K3DDK_LIB)/ntstrsafe.lib \ 52 46 $(PATH_SDK_W2K3DDK_LIB)/BufferOverflowK.lib 47 53 48 54 49 #
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器