Changeset 12252 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt
- Timestamp:
- Sep 9, 2008 1:58:29 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note:
See TracChangeset
for help on using the changeset viewer.