VirtualBox

Changeset 23347 in vbox


Ignore:
Timestamp:
Sep 25, 2009 6:42:36 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: only build DRI bits if VBOX_OPENGL is defined (c.f. patch by Bernhard Froehlich on vbox-dev)

File:
1 edited

Legend:

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

    r22882 r23347  
    198198vboxvideo_drv_15_CFLAGS := $(vboxvideo_drv_70_CFLAGS)
    199199vboxvideo_drv_15_DEFS := $(vboxvideo_drv_70_DEFS) NO_ANSIC PCIACCESS \
    200                          VBOX_NO_LOW_COLOUR VBOX_DRI
     200                         VBOX_NO_LOW_COLOUR $(if $(VBOX_OPENGL) VBOX_DRI,)
    201201vboxvideo_drv_15_INCS = \
    202202        $(VBOX_PATH_X11_XORG_1_5) \
     
    209209        vboxvideo_13.c \
    210210        vboxutils.c \
    211         vboxvideo_dri.c
     211        $(if $(VBOX_OPENGL) vboxvideo_dri.c,)
    212212
    213213
     
    227227        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0 \
    228228        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local
    229 vboxvideo_drv_16_SOURCES  = \
    230         vboxvideo_13.c \
    231         vboxutils.c \
    232         vboxvideo_dri.c
     229vboxvideo_drv_16_SOURCES := $(vboxvideo_drv_15_SOURCES)
    233230
    234231
     
    255252        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.0-local \
    256253        $(VBOX_PATH_X11_ROOT)/xproto-7.0.15
    257 vboxvideo_drv_17_SOURCES  = \
    258         vboxvideo_13.c \
    259         vboxutils.c \
    260         vboxvideo_dri.c
     254vboxvideo_drv_17_SOURCES := $(vboxvideo_drv_15_SOURCES)
    261255
    262256
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