Changeset 14737 in vbox for trunk/src/VBox
- Timestamp:
- Nov 27, 2008 7:08:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk
r14685 r14737 81 81 82 82 83 ifeq ($(KBUILD_TARGET),win) 84 # 83 85 # Windows extras. 86 # 84 87 INSTALLS.win += VBoxNetFlt-inf 85 88 VBoxNetFlt-inf_INST = $(INST_BIN) … … 130 133 win/WinNetConfig.cpp 131 134 132 PROGRAMS.win += NetFltInstall NetFltUninstall 135 133 136 # 134 137 # NetFltInstall 135 138 # 139 PROGRAMS.win += NetFltInstall 136 140 NetFltInstall_TEMPLATE = VBOXR3STATIC 137 141 NetFltInstall_SDKS = WINPSDK W2K3DDK VBOX_NTDLL 138 142 NetFltInstall_SOURCES = win/NetFltInstall.cpp 139 NetFltInstall_LIBS += $(PATH_LIB)/WinNetConfig.lib 143 NetFltInstall_LIBS = $(PATH_LIB)/WinNetConfig.lib 144 145 140 146 # 141 147 # NetFltUninstall 142 148 # 149 PROGRAMS.win += NetFltUninstall 143 150 NetFltUninstall_TEMPLATE = VBOXR3STATIC 144 151 NetFltUninstall_SDKS = WINPSDK W2K3DDK VBOX_NTDLL 145 152 NetFltUninstall_SOURCES = win/NetFltUninstall.cpp 146 NetFltUninstall_LIBS += $(PATH_LIB)/WinNetConfig.lib147 148 ifeq ($(KBUILD_TARGET), win) 153 NetFltUninstall_LIBS = $(PATH_LIB)/WinNetConfig.lib 154 155 149 156 # 150 157 # VBoxNetFltNotify 151 158 # 152 159 DLLS.win += VBoxNetFltNotify 153 PATH_VBoxNetFltNotifyCOM = $(PATH_TARGET)/VBoxNetFltNotifyCOM154 155 VBOXNETFLT_NOTIFY_GENERATES = $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn_i.c \156 $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn_p.c \157 $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn.h \158 $(PATH_VBoxNetFltNotifyCOM)/dlldata.c \159 $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn.tlb160 161 VBOXNETFLT_NOTIFY_IDL ?= $(EXEC_X86_WIN32) $(call VBOX_FN_MAKE_WIN_PATH,$(firstword $(wildcard \162 $(PATH_SDK_WINPSDK_BIN)/Midl.Exe\163 $(PATH_SDK_WINPSDK)/Bin/Midl.Exe\164 $(PATH_DEVTOOLS)/win.x86/bin/midl.exe\165 ) Sorry_Cannot_Find_The_Midl_Compiler_In_The_PSDK))166 167 160 VBoxNetFltNotify_TEMPLATE = VBOXR3STATIC 168 161 VBoxNetFltNotify_SDKS = WINPSDK W2K3DDK VBOX_NTDLL 162 VBoxNetFltNotify_DEFS = _WIN32_WINNT=0x0500 WIN32 _ATL_STATIC_REGISTRY 169 163 VBoxNetFltNotify_INCS += \ 170 164 $(PATH_VBoxNetFltNotifyCOM) … … 173 167 win/notifyobj/VBoxNetFltNotify.def \ 174 168 win/notifyobj/VBoxNetFltNotify.rc 175 VBoxNetFltNotify_DEPS += $(VBOXNETFLT_NOTIFY_GENERATES) 176 #VBoxNetFltNotify_INTERMEDIATES += $(VBOXNETFLT_NOTIFY_GENERATES) 177 VBoxNetFltNotify_DEFS += _WIN32_WINNT=0x0500 WIN32 _ATL_STATIC_REGISTRY 178 VBoxNetFltNotify_LIBS += \ 169 VBoxNetFltNotify_LIBS = \ 179 170 $(PATH_TOOL_$(VBOX_VCC_TOOL)_ATLMFC_LIB)/atls.lib 180 VBoxNetFltNotify_CLEAN += $(VBOXNETFLT_NOTIFY_GENERATES) 181 #VBoxNetFltNotify_DIRS += $(PATH_VBoxNetFltNotifyCOM) 182 183 $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn_i.c \ 184 + $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn_p.c \ 185 + $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn.h \ 186 + $(PATH_VBoxNetFltNotifyCOM)/dlldata.c \ 187 + $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn.tlb: $(PATH_SUB_CURRENT)/win/notifyobj/VBoxNetFltNotifyn.idl 188 $(MKDIR) -p $(PATH_VBoxNetFltNotifyCOM) 171 #VBoxNetFltNotify_INTERMEDIATES = 172 VBoxNetFltNotify_DEPS = \ 173 $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn_i.c \ 174 $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn_p.c \ 175 $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn.h \ 176 $(PATH_VBoxNetFltNotifyCOM)/dlldata.c \ 177 $(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn.tlb 178 VBoxNetFltNotify_CLEAN = $(VBoxNetFltNotify_DEPS) 179 180 VBOXNETFLT_NOTIFY_IDL ?= $(EXEC_X86_WIN32) $(call VBOX_FN_MAKE_WIN_PATH,$(firstword $(wildcard \ 181 $(PATH_SDK_WINPSDK_BIN)/Midl.Exe\ 182 $(PATH_SDK_WINPSDK)/Bin/Midl.Exe\ 183 $(PATH_DEVTOOLS)/win.x86/bin/midl.exe\ 184 ) Sorry_Cannot_Find_The_Midl_Compiler_In_The_PSDK)) 185 186 $$(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn_i.c \ 187 + $$(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn_p.c \ 188 + $$(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn.h \ 189 + $$(PATH_VBoxNetFltNotifyCOM)/dlldata.c \ 190 + $$(PATH_VBoxNetFltNotifyCOM)/VBoxNetFltNotifyn.tlb: \ 191 $(PATH_SUB_CURRENT)/win/notifyobj/VBoxNetFltNotifyn.idl \ 192 | $$(dir $$@) 189 193 $(VBOXNETFLT_NOTIFY_IDL) /nologo \ 190 194 /out $(call VBOX_FN_MAKE_WIN_PATH,$(PATH_VBoxNetFltNotifyCOM)) \ … … 192 196 $(addprefix /I , $(call VBOX_FN_MAKE_WIN_PATH,$(SDK_W2K3DDK_INCS))) \ 193 197 $(call VBOX_FN_MAKE_WIN_PATH,$<) 194 endif #ifeq ($(KBUILD_TARGET), win) 195 else if1of ($(KBUILD_TARGET), linux solaris) 198 endif #ifeq ($(KBUILD_TARGET), win) 199 200 else if1of ($(KBUILD_TARGET), linux solaris) ## @todo merge this with the mixed case stuff. 196 201 # 197 202 # vboxnetflt(.ko/.o/) - The lower case driver.
Note:
See TracChangeset
for help on using the changeset viewer.