VirtualBox

Ignore:
Timestamp:
Dec 3, 2010 11:25:52 PM (14 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: switch to HGSMI and merge the two drivers into one file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    r33540 r34715  
    3838        BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
    3939        IN_MODULE XFree86Module
     40 vboxvideo_drv_DEFS += memset=xf86memset memcpy=xf86memcpy
    4041 vboxvideo_drv_INCS = \
    4142        $(VBOX_PATH_X11_XFREE_4_3)/include \
     
    6869        $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/randr \
    6970        $(VBOX_PATH_X11_XFREE_4_3)/programs/Xserver/Xext
     71 vboxvideo_drv_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    7072 vboxvideo_drv_SOURCES = \
    71         vboxvideo_70.c \
    72         vboxutils.c
     73        vboxvideo_13.c \
     74        vboxutils.c \
     75        $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp \
     76        $(PATH_ROOT)/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp \
     77        $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapsimple.cpp \
     78        $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapoffset.cpp \
     79        $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp \
     80        $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp
    7381endif   # target linux
    7482
     
    97105        $(VBOX_PATH_X11_XORG_7_0)/X11 \
    98106        $(VBOX_PATH_X11_XORG_7_0)/xorg
     107vboxvideo_drv_70_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    99108vboxvideo_drv_70_SOURCES  = $(vboxvideo_drv_SOURCES)
    100109
     
    111120        $(VBOX_PATH_X11_XORG_7_1)/X11 \
    112121        $(VBOX_PATH_X11_XORG_7_1)/xorg
     122vboxvideo_drv_71_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    113123vboxvideo_drv_71_SOURCES  = $(vboxvideo_drv_SOURCES)
    114124
     
    129139        $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
    130140        $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0
     141vboxvideo_drv_13_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    131142vboxvideo_drv_13_SOURCES = \
    132143        vboxvideo_13.c \
    133         vboxutils.c
     144        vboxutils.c \
     145        $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/HGSMIBase.cpp \
     146        $(PATH_ROOT)/src/VBox/GuestHost/HGSMI/HGSMICommon.cpp \
     147        $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapsimple.cpp \
     148        $(PATH_ROOT)/src/VBox/Runtime/common/alloc/heapoffset.cpp \
     149        $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/VBVABase.cpp \
     150        $(PATH_ROOT)/src/VBox/Additions/common/VBoxVideo/Modesetting.cpp
    134151
    135152
     
    152169        $(VBOX_PATH_X11_ROOT)/libdrm-2.4.13 \
    153170        $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0
     171vboxvideo_drv_14_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    154172vboxvideo_drv_14_SOURCES  = $(vboxvideo_drv_13_SOURCES)
    155173
     
    174192        $(VBOX_PATH_X11_ROOT)/xf86driproto-2.1.0 \
    175193        $(VBOX_PATH_X11_ROOT)/xorg-server-1.5.3
     194vboxvideo_drv_15_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    176195vboxvideo_drv_15_SOURCES  = $(vboxvideo_drv_13_SOURCES)
    177196if1of ($(KBUILD_TARGET), linux solaris)
     
    197216        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0 \
    198217        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local
     218vboxvideo_drv_16_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    199219vboxvideo_drv_16_SOURCES := $(vboxvideo_drv_15_SOURCES)
    200220
     
    223243        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \
    224244        $(VBOX_PATH_X11_ROOT)/xproto-7.0.18
     245vboxvideo_drv_17_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    225246vboxvideo_drv_17_SOURCES := $(vboxvideo_drv_15_SOURCES)
    226247
     
    249270        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \
    250271        $(VBOX_PATH_X11_ROOT)/xproto-7.0.18
     272vboxvideo_drv_18_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    251273vboxvideo_drv_18_SOURCES := $(vboxvideo_drv_15_SOURCES)
    252274
     
    275297        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \
    276298        $(VBOX_PATH_X11_ROOT)/xproto-7.0.18
     299vboxvideo_drv_19_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    277300vboxvideo_drv_19_SOURCES := $(vboxvideo_drv_15_SOURCES)
    278301
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