Changeset 2516 in vbox
- Timestamp:
- May 5, 2007 2:28:24 AM (18 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Makefile.kmk
r2478 r2516 1 1 # $Id$ 2 2 ## @file 3 # Makefile for the VBox Host drivers base directory.3 # Top-level makefile for the VBox Host drivers. 4 4 # 5 5 … … 23 23 include $(PATH_KBUILD)/subheader.kmk 24 24 25 # Include sub-makefile .26 include $( VBOX_PATH_HOSTDRIVERS)/Support/Makefile.kmk25 # Include sub-makefiles. 26 include $(PATH_SUB_CURRENT)/Support/Makefile.kmk 27 27 ifeq ($(BUILD_TARGET),win) 28 include $( VBOX_PATH_HOSTDRIVERS)/VBoxTAP/Makefile.kmk28 include $(PATH_SUB_CURRENT)/VBoxTAP/Makefile.kmk 29 29 ifdef VBOX_WITH_USB 30 include $( VBOX_PATH_HOSTDRIVERS)/VBoxUSB/Makefile.kmk30 include $(PATH_SUB_CURRENT)/VBoxUSB/Makefile.kmk 31 31 endif 32 32 endif -
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r2478 r2516 42 42 # Include sub-makefile(s). 43 43 # 44 include $( VBOX_PATH_SUPPORT)/testcase/Makefile.kmk44 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk 45 45 46 46 47 47 ifeq ($(BUILD_TARGET),linux) 48 48 ## @todo change this to use a INSTALLS target. 49 EXPORT_FILE_PAIRS = \49 EXPORT_FILE_PAIRS := \ 50 50 include/iprt/alloc.h=$(PATH_ROOT)/include/iprt/alloc.h \ 51 51 include/iprt/asm.h=$(PATH_ROOT)/include/iprt/asm.h \ … … 74 74 include/internal/thread.h=$(PATH_ROOT)/src/VBox/Runtime/include/internal/thread.h \ 75 75 include/internal/magics.h=$(PATH_ROOT)/src/VBox/Runtime/include/internal/magics.h \ 76 linux/SUPDrv-linux.c=$( VBOX_PATH_SUPPORT)/linux/SUPDrv-linux.c \77 Makefile=$( VBOX_PATH_SUPPORT)/linux/Makefile \78 build_in_tmp=$( VBOX_PATH_SUPPORT)/linux/build_in_tmp \76 linux/SUPDrv-linux.c=$(PATH_SUB_CURRENT)/linux/SUPDrv-linux.c \ 77 Makefile=$(PATH_SUB_CURRENT)/linux/Makefile \ 78 build_in_tmp=$(PATH_SUB_CURRENT)/linux/build_in_tmp \ 79 79 alloc/heapsimple.c=$(PATH_ROOT)/src/VBox/Runtime/alloc/heapsimple.cpp \ 80 80 r0drv/alloc-r0drv.c=$(PATH_ROOT)/src/VBox/Runtime/r0drv/alloc-r0drv.cpp \ … … 90 90 r0drv/linux/the-linux-kernel.h=$(PATH_ROOT)/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h \ 91 91 version-generated.h=$(PATH_OUT)/version-generated.h \ 92 SUPDRV.h=$( VBOX_PATH_SUPPORT)/SUPDRV.h \93 SUPDRVIOC.h=$( VBOX_PATH_SUPPORT)/SUPDRVIOC.h \94 SUPDRVShared.c=$( VBOX_PATH_SUPPORT)/SUPDRVShared.c92 SUPDRV.h=$(PATH_SUB_CURRENT)/SUPDRV.h \ 93 SUPDRVIOC.h=$(PATH_SUB_CURRENT)/SUPDRVIOC.h \ 94 SUPDRVShared.c=$(PATH_SUB_CURRENT)/SUPDRVShared.c 95 95 OTHERS := $(foreach pair,$(EXPORT_FILE_PAIRS),$(PATH_BIN)/src/$(firstword $(subst =, ,$(pair)))) 96 96 OTHER_CLEAN = $(OTHERS) … … 109 109 endif 110 110 SUPR3_DEFS = IN_SUP_R3 IN_RT_R3 111 SUPR3_INCS = $(VBOX_PATH_SUPPORT)111 SUPR3_INCS := $(PATH_SUB_CURRENT) 112 112 SUPR3_INCS.l4 = $(L4_INCDIR) 113 113 ifneq ($(BUILD_TARGET),win) ## @todo rename win32 -> win! 114 114 SUPR3_SOURCES = \ 115 $(VBOX_PATH_SUPPORT)/SUPLib.cpp \116 $( VBOX_PATH_SUPPORT)/$(BUILD_TARGET)/SUPLib-$(BUILD_TARGET).cpp115 SUPLib.cpp \ 116 $(BUILD_TARGET)/SUPLib-$(BUILD_TARGET).cpp 117 117 else 118 118 SUPR3_SOURCES = \ 119 $(VBOX_PATH_SUPPORT)/SUPLib.cpp \120 $(VBOX_PATH_SUPPORT)/win32/SUPLib-win32.cpp119 SUPLib.cpp \ 120 win32/SUPLib-win32.cpp 121 121 endif 122 122 … … 126 126 SUPR0_TEMPLATE = VBOXR0 127 127 ifeq ($(VBOX_LDR_FMT),pe) 128 SUPR0_SOURCES += $(VBOX_PATH_SUPPORT)/SUPR0.def128 SUPR0_SOURCES += SUPR0.def 129 129 endif 130 130 ifeq ($(VBOX_LDR_FMT),lx) 131 131 SUPR0_SOURCES += $(PATH_TARGET)/SUPR0.def 132 $(PATH_TARGET)/SUPR0.def: $( VBOX_PATH_SUPPORT)/SUPR0.def | $(call DIRDEP,$(PATH_TARGET))132 $(PATH_TARGET)/SUPR0.def: $(PATH_SUB_CURRENT)/SUPR0.def | $(call DIRDEP,$(PATH_TARGET)) 133 133 $(SED) -e 's/^[ \t][ \t]*\([gA-Z]\)/ _\1/' -e 's/[ \t]DATA[ \t]*/ /' $< > [email protected] 134 134 $(MV) -f [email protected] $@ … … 143 143 VBoxDrv_DEFS = IN_RT_R0 IN_SUP_R0 144 144 VBoxDrv_SDKS = W2K3DDK WINPSDKINCS 145 VBoxDrv_INCS = $(VBOX_PATH_SUPPORT)145 VBoxDrv_INCS := $(PATH_SUB_CURRENT) 146 146 VBoxDrv_SOURCES = \ 147 $(VBOX_PATH_SUPPORT)/SUPDRVShared.c147 SUPDRVShared.c 148 148 VBoxDrv_SOURCES.x86 = \ 149 $(VBOX_PATH_SUPPORT)/win32/SUPDrv-win32.cpp \150 $(VBOX_PATH_SUPPORT)/win32/SUPDrvA-win32.asm149 win32/SUPDrv-win32.cpp \ 150 win32/SUPDrvA-win32.asm 151 151 VBoxDrv_SOURCES.amd64 = \ 152 $(VBOX_PATH_SUPPORT)/win64/SUPDrv-win64.cpp \153 $(VBOX_PATH_SUPPORT)/win64/SUPDrvA-win64.asm152 win64/SUPDrv-win64.cpp \ 153 win64/SUPDrvA-win64.asm 154 154 VBoxDrv_LDFLAGS.x86 = -Entry:DriverEntry@8 155 155 VBoxDrv_LDFLAGS.amd64 = -Entry:DriverEntry … … 167 167 vboxdrv_TEMPLATE = VBOXR0DRV 168 168 vboxdrv_DEFS = KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) MODULE IN_RT_R0 IN_SUP_R0 CONFIG_VBOXDRV_AS_MISC 169 vboxdrv_INCS = $(VBOX_PATH_SUPPORT)169 vboxdrv_INCS := $(PATH_SUB_CURRENT) 170 170 vboxdrv_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) 171 171 vboxdrv_LIBS.debug = $(vboxdrv_LIBS) $(VBOX_GCC_LIBGCC) 172 172 vboxdrv_SOURCES = \ 173 $( VBOX_PATH_SUPPORT)/$(BUILD_TARGET)/SUPDrv-$(BUILD_TARGET).c \174 $(VBOX_PATH_SUPPORT)/SUPDRVShared.c173 $(BUILD_TARGET)/SUPDrv-$(BUILD_TARGET).c \ 174 SUPDRVShared.c 175 175 ifndef VBOX_LINUX_VERSION_2_4 176 176 vboxdrv_SOURCES += \ 177 $( VBOX_PATH_SUPPORT)/$(BUILD_TARGET)/SUPDrv-$(BUILD_TARGET).mod.c177 $(BUILD_TARGET)/SUPDrv-$(BUILD_TARGET).mod.c 178 178 endif 179 179 endif # real linux … … 187 187 VBoxDrv_DEFS = IN_RT_R0 IN_SUP_R0 USE_NEW_OS_INTERFACE 188 188 VBoxDrv_DEFS += DEBUG_DARWIN_GIP 189 VBoxDrv_INCS = $(VBOX_PATH_SUPPORT)189 VBoxDrv_INCS := $(PATH_SUB_CURRENT) 190 190 VBoxDrv_LIBS = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) 191 191 VBoxDrv_LDFLAGS = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded 192 192 VBoxDrv_INST = $(INST_VBOXDRV)Contents/MacOS/ 193 193 VBoxDrv_SOURCES = \ 194 $(VBOX_PATH_SUPPORT)/SUPDRVShared.c \195 $( VBOX_PATH_SUPPORT)/$(BUILD_TARGET)/SUPDrv-$(BUILD_TARGET).cpp194 SUPDRVShared.c \ 195 $(BUILD_TARGET)/SUPDrv-$(BUILD_TARGET).cpp 196 196 197 197 INSTALLS += VBoxDrv.kext … … 200 200 $(PATH_TARGET)/Info.plist 201 201 202 $(PATH_TARGET)/Info.plist: $( VBOX_PATH_SUPPORT)/darwin/Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET))202 $(PATH_TARGET)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $(call DIRDEP,$(PATH_TARGET)) 203 203 $(call MSG_GENERATE,VBoxDrv,$@,$<) 204 204 $(xQUIET)$(RM) -f $@ … … 213 213 Scripts_INST = $(INST_DIST) 214 214 Scripts_SOURCES = \ 215 $(VBOX_PATH_SUPPORT)/darwin/load.sh215 darwin/load.sh 216 216 217 217 endif … … 224 224 VBoxDrv_TEMPLATE = VBOXR0DRV 225 225 VBoxDrv_DEFS = IN_RT_R0 IN_SUP_R0 USE_NEW_OS_INTERFACE 226 VBoxDrv_INCS = $(VBOX_PATH_SUPPORT)226 VBoxDrv_INCS := $(PATH_SUB_CURRENT) 227 227 #VBoxDrv_LDFLAGS = -s -t -v 228 228 VBoxDrv_SOURCES = \ 229 $(VBOX_PATH_SUPPORT)/os2/SUPDrvA-os2.asm \230 $(VBOX_PATH_SUPPORT)/os2/SUPDrv-os2.def229 os2/SUPDrvA-os2.asm \ 230 os2/SUPDrv-os2.def 231 231 VBoxDrv_LIBS = \ 232 232 $(TARGET_VBoxDrvLib) \ … … 240 240 VBoxDrvLib_NOINST = 1 241 241 VBoxDrvLib_DEFS = IN_RT_R0 IN_SUP_R0 USE_NEW_OS_INTERFACE 242 VBoxDrvLib_INCS = $(VBOX_PATH_SUPPORT) $(PATH_TARGET) $(PATH_ROOT)/src/VBox/Runtime/include 242 VBoxDrvLib_INCS := \ 243 $(PATH_SUB_CURRENT) \ 244 $(PATH_TARGET) \ 245 $(PATH_ROOT)/src/VBox/Runtime/include 243 246 VBoxDrvLib_SOURCES = \ 244 $(VBOX_PATH_SUPPORT)/os2/SUPDrv-os2.cpp \245 $(VBOX_PATH_SUPPORT)/SUPDRVShared.c247 os2/SUPDrv-os2.cpp \ 248 SUPDRVShared.c 246 249 endif 247 250 -
trunk/src/VBox/HostDrivers/Support/testcase/Makefile.kmk
r2478 r2516 21 21 22 22 DEPTH = ../../../../.. 23 SUB_DEPTH = .. 23 SUB_DEPTH = ../.. 24 24 include $(PATH_KBUILD)/subheader.kmk 25 25 … … 40 40 41 41 SUPInstall_TEMPLATE = VBOXR3EXE 42 SUPInstall_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/SUPInstall.cpp42 SUPInstall_SOURCES = SUPInstall.cpp 43 43 SUPInstall_LIBS = $(LIB_RUNTIME) 44 44 45 45 SUPUninstall_TEMPLATE = VBOXR3EXE 46 SUPUninstall_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/SUPUninstall.cpp46 SUPUninstall_SOURCES = SUPUninstall.cpp 47 47 SUPUninstall_LIBS = $(LIB_RUNTIME) 48 48 49 49 tstInt_TEMPLATE = VBOXR3EXE 50 tstInt_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/tstInt.cpp50 tstInt_SOURCES = tstInt.cpp 51 51 tstInt_LIBS = $(LIB_RUNTIME) 52 52 53 53 tstContiguous_TEMPLATE= VBOXR3TSTEXE 54 tstContiguous_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/tstContiguous.cpp54 tstContiguous_SOURCES = tstContiguous.cpp 55 55 56 56 tstInit_TEMPLATE = VBOXR3TSTEXE 57 tstInit_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/tstInit.cpp57 tstInit_SOURCES = tstInit.cpp 58 58 59 59 tstLow_TEMPLATE = VBOXR3TSTEXE 60 tstLow_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/tstLow.cpp60 tstLow_SOURCES = tstLow.cpp 61 61 62 62 tstPin_TEMPLATE = VBOXR3TSTEXE 63 tstPin_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/tstPin.cpp63 tstPin_SOURCES = tstPin.cpp 64 64 65 65 tstPage_TEMPLATE = VBOXR3TSTEXE 66 tstPage_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/tstPage.cpp66 tstPage_SOURCES = tstPage.cpp 67 67 68 68 tstGIP-2_TEMPLATE = VBOXR3TSTEXE 69 tstGIP-2_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/tstGIP-2.cpp69 tstGIP-2_SOURCES = tstGIP-2.cpp 70 70 71 71 tstGetPagingMode_TEMPLATE = VBOXR3TSTEXE 72 tstGetPagingMode_SOURCES = $(VBOX_PATH_SUPPORT)/testcase/tstGetPagingMode.cpp72 tstGetPagingMode_SOURCES = tstGetPagingMode.cpp 73 73 74 74 include $(PATH_KBUILD)/subfooter.kmk -
trunk/src/VBox/HostDrivers/VBoxTAP/Makefile.kmk
r2478 r2516 24 24 include $(PATH_KBUILD)/subheader.kmk 25 25 26 SYSMODS.win += VBoxTAP27 INSTALLS.win += VBoxTAP-inf28 26 29 27 … … 31 29 # VBoxTap 32 30 # 31 SYSMODS.win += VBoxTAP 33 32 VBoxTAP_TEMPLATE = VBOXR0DRV 34 33 VBoxTAP_SDKS = W2K3DDK WINPSDKINCS … … 36 35 VBoxTAP_LDFLAGS.amd64 = -Entry:DriverEntry 37 36 VBoxTAP_SOURCES = \ 38 $(VBOX_PATH_VBOXTAP)/tapdrvr.c \39 $(VBOX_PATH_VBOXTAP)/VBoxTAP.rc37 tapdrvr.c \ 38 VBoxTAP.rc 40 39 VBoxTAP_LIBS = \ 41 40 $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ … … 49 48 # Install the .inf. 50 49 # 50 INSTALLS.win += VBoxTAP-inf 51 51 VBoxTAP-inf_INST = bin/ 52 52 VBoxTAP-inf_MODE = a+r,u+w 53 VBoxTAP-inf_SOURCES = $(VBOX_PATH_VBOXTAP)/VBoxTAP.inf53 VBoxTAP-inf_SOURCES = VBoxTAP.inf 54 54 55 55
Note:
See TracChangeset
for help on using the changeset viewer.