Changeset 32273 in vbox for trunk/src/VBox/Additions/common/VBoxGuest
- Timestamp:
- Sep 7, 2010 11:10:48 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk
r32269 r32273 30 30 VBoxGuest_NAME.solaris = vboxguest 31 31 VBoxGuest_NOINST.linux = true 32 ifdef VBOX_SIGN_ADDITIONS # See Additions/WINNT/Makefile.kmk? 33 VBoxGuest_NOINST.win = true 34 endif 32 35 VBoxGuest_DEFS.linux = KBUILD_MODNAME=KBUILD_STR\(vboxguest\) KBUILD_BASENAME=KBUILD_STR\(vboxguest\) DEBUG_HASH=2 DEBUG_HASH2=3 EXPORT_SYMTAB 36 VBoxGuest_DEFS.solaris = VBOX_SVN_REV=$(VBOX_SVN_REV) 33 37 VBoxGuest_DEFS.win = VBOX_REBOOT_ON_UNINSTALL VBOX_SVN_REV=$(VBOX_SVN_REV) # VBOX_WITH_VRDP_SESSION_HANDLING 34 ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.) 35 VBoxGuest_NOINST = true 36 endif 37 ifdef VBOX_WITH_GUEST_BUGCHECK_DETECTION 38 VBoxGuest_DEFS.win += VBOX_WITH_GUEST_BUGCHECK_DETECTION 39 endif 40 VBoxGuest_DEFS.solaris = VBOX_SVN_REV=$(VBOX_SVN_REV) 38 ifdef VBOX_WITH_GUEST_BUGCHECK_DETECTION 39 VBoxGuest_DEFS.win += VBOX_WITH_GUEST_BUGCHECK_DETECTION 40 endif 41 41 VBoxGuest_DEPS.solaris += $(VBOX_SVN_REV_KMK) 42 42 VBoxGuest_DEPS.linux += $(VBOX_SVN_REV_HEADER) … … 48 48 ifneq ($(KBUILD_TARGET),os2) 49 49 ifeq ($(KBUILD_TARGET),win) 50 VBoxGuest_SOURCES = \ 51 VBoxGuest-$(KBUILD_TARGET).cpp \ 52 VBoxGuest-$(KBUILD_TARGET)-pnp.cpp \ 53 win/VBoxGuest.rc 54 VBoxGuest_LDFLAGS.x86 = -Entry:DriverEntry@8 50 VBoxGuest_LDFLAGS.x86 = -Entry:DriverEntry@8 55 51 VBoxGuest_LDFLAGS.amd64 = -Entry:DriverEntry 56 VBoxGuest_LIBS 52 VBoxGuest_LIBS = \ 57 53 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \ 58 54 $(PATH_SDK_W2K3DDK_LIB)/hal.lib 59 55 ifdef VBOX_WITH_GUEST_BUGCHECK_DETECTION 60 VBoxGuest_LIBS += \56 VBoxGuest_LIBS += \ 61 57 $(PATH_SDK_WINDDKWLH_LIB)/aux_klib.lib \ 62 58 $(PATH_SDK_WINDDKWLH_LIB)/ksecdd.lib \ 63 59 $(PATH_SDK_WINDDKWLH_LIB)/BufferOverflowK.lib 64 VBoxGuest.cpp_SDKS = WINDDKWLH 65 endif # VBOX_WITH_GUEST_BUGCHECK_DETECTION 66 67 #SYSMODS.x86 += VBoxGuestNT # Not yet buildable! 68 VBoxGuestNT_EXTENDS = VBoxGuest 69 VBoxGuestNT_NOINST = $(NO_SUCH_VARIABLE) 70 VBoxGuestNT_DEFS = $(VBoxGuest_DEFS) TARGET_NT4 71 VBoxGuestNT_SOURCES = \ 72 VBoxGuest-$(KBUILD_TARGET).cpp \ 73 VBoxGuest-$(KBUILD_TARGET)-legacy.cpp \ 74 win/VBoxGuest.rc 75 VBoxGuestNT_LIBS = \ 76 $(PATH_SDK_W2K3DDK_LIB)/exsup.lib \ 77 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \ 78 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \ 79 $(VBOX_LIB_VBGL_R0BASE) \ 80 $(VBOX_LIB_IPRT_GUEST_R0_NT4) 81 else # not Windows 82 ifn1of ($(KBUILD_TARGET), linux freebsd solaris) 83 VBoxGuest_SOURCES = VBoxGuest-$(KBUILD_TARGET).cpp 84 else 85 VBoxGuest_SOURCES = VBoxGuest-$(KBUILD_TARGET).c 60 VBoxGuest.cpp_SDKS = WINDDKWLH 86 61 endif 87 62 endif # win 88 VBoxGuest_SOURCES += \ 63 ifn1of ($(KBUILD_TARGET), linux freebsd solaris) 64 VBoxGuest_SOURCES = VBoxGuest-$(KBUILD_TARGET).cpp 65 else 66 VBoxGuest_SOURCES = VBoxGuest-$(KBUILD_TARGET).c 67 endif 68 VBoxGuest_SOURCES += \ 89 69 VBoxGuest.cpp \ 90 70 VBoxGuest2.cpp 91 VBoxGuest2.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) 92 VBoxGuest.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) 93 VBoxGuest_LIBS += \ 71 VBoxGuest_SOURCES.win = \ 72 VBoxGuest-$(KBUILD_TARGET)-pnp.cpp \ 73 win/VBoxGuest.rc 74 VBoxGuest2.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) 75 VBoxGuest.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) 76 VBoxGuest_LIBS += \ 94 77 $(VBOX_LIB_VBGL_R0BASE) \ 95 78 $(VBOX_LIB_IPRT_GUEST_R0) … … 127 110 endif # OS/2 128 111 112 ifeq ($(KBUILD_TARGET),win) 113 # 114 # Windows NT4 driver. 115 # 116 #SYSMODS.x86 += VBoxGuestNT # Not yet buildable! 117 VBoxGuestNT_EXTENDS = VBoxGuest 118 VBoxGuestNT_NOINST = $(NO_SUCH_VARIABLE) 119 VBoxGuestNT_DEFS = $(VBoxGuest_DEFS) TARGET_NT4 120 VBoxGuestNT_SOURCES = \ 121 VBoxGuest-$(KBUILD_TARGET).cpp \ 122 VBoxGuest-$(KBUILD_TARGET)-legacy.cpp \ 123 win/VBoxGuest.rc 124 VBoxGuestNT_LIBS = \ 125 $(PATH_SDK_W2K3DDK_LIB)/exsup.lib \ 126 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \ 127 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \ 128 $(VBOX_LIB_VBGL_R0BASE) \ 129 $(VBOX_LIB_IPRT_GUEST_R0_NT4) 130 endif # win 129 131 endif # enabled 130 132
Note:
See TracChangeset
for help on using the changeset viewer.