VirtualBox

Changeset 9500 in vbox for trunk/src


Ignore:
Timestamp:
Jun 8, 2008 12:56:13 AM (17 years ago)
Author:
vboxsync
Message:

Preparing 64-bit guest additions building (focusing on windows atm.)

Location:
trunk/src/VBox/Additions/common/VBoxGuestLib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk

    r9061 r9500  
    2727# Target config.
    2828#
    29 ifn1of ($(KBUILD_TARGET),l4 linux win)
     29ifn1of ($(KBUILD_TARGET)$(VBOX_WITH_64BIT_ADDITIONS), l4 linux win)
    3030 LIBRARIES += \
    3131        VBoxGuestR0Lib \
     
    3434        VBoxGuestR3Lib \
    3535        VBoxGuestR3LibShared
    36  if1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd)
     36 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd)
    3737  LIBRARIES += \
    3838        VBoxGuestR3LibXFree86
    3939 endif
    40 else
     40else # This case is going to become obsolete with 64-bit guest additions.
    4141 # As we build Windows Additions on Linux as well, we need a
    4242 # separate Linux target for each library so that both platforms
    4343 # are built.
    44  # NOTE: This is going to be obsoleted before long, everyone is going to
    45  #       use VBoxGuestR0Lib* and VBoxGuestR3Lib.
    4644 ifdef VBOX_WITH_WIN32_ADDITIONS
    4745  ifndef VBOX_ADDITIONS_LINUX_ONLY
     
    7977VBoxGuestR0Lib_DEFS         = VBOX_HGCM
    8078VBoxGuestR0Lib_INCS         = \
    81         $(PATH_VBoxGuestLib)
     79        $(PATH_VBoxGuestR0Lib)
    8280VBoxGuestR0Lib_INCS.win     = \
    8381        $(PATH_SUB_ROOT)/WINNT/SharedFolders/include
     
    121119        VBoxGuestR3LibTime.cpp \
    122120        VBoxGuestR3LibVideo.cpp
     121ifdef VBOX_WITH_64BIT_ADDITIONS ## @todo get rid of this hack.
     122 ifeq ($(KBUILD_TARGET),win)
     123  VBoxGuestR3Lib_SOURCES   = VBoxGuestR3Lib.cpp
     124 endif
     125endif
    123126
    124127#
     
    151154
    152155
     156ifndef VBOX_WITH_64BIT_ADDITIONS
     157
    153158#
    154159# VBoxGuestLib (Windows)
     
    177182#VBoxGuestLibBase_DEFS      += LOG_ENABLED
    178183
     184endif # VBOX_WITH_64BIT_ADDITIONS
    179185
    180186include $(KBUILD_PATH)/subfooter.kmk
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBGLR3Internal.h

    r8155 r9500  
    2323#define ___VBGLR3Internal_h
    2424
     25#if defined(RT_OS_WINDOWS)
     26# include <Windows.h>
     27#endif
    2528#include <VBox/VBoxGuest.h>
    2629
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette