VirtualBox

Changeset 102043 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
Nov 9, 2023 5:16:34 PM (13 months ago)
Author:
vboxsync
Message:

Additions: X11/Wayland: Another attempt to fix build (4), bugref:10194.

File:
1 edited

Legend:

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

    r102032 r102043  
    177177
    178178ifdef VBOX_WITH_SHARED_CLIPBOARD
     179
     180 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
     181  SharedClipboardTransfersDefs = VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS VBOX_WITH_SHARED_CLIPBOARD_GUEST
     182  SharedClipboardTransfersSources = \
     183        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
     184        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp
     185  ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP
     186   SharedClipboardTransfersDefs += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP
     187   SharedClipboardTransfersSources += \
     188        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp
     189  endif
     190 endif
     191
    179192 VBoxClient_DEFS     += VBOX_WITH_SHARED_CLIPBOARD
    180193 VBoxClient_SOURCES  += \
     
    184197        clipboard-common.cpp \
    185198        clipboard-x11.cpp
    186  ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    187   VBoxClient_DEFS    += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS VBOX_WITH_SHARED_CLIPBOARD_GUEST
    188   VBoxClient_SOURCES += \
    189         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
    190         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp \
    191         $(PATH_ROOT)/src/VBox/GuestHost/common/mime-type-converter.cpp
    192   ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP
    193    VBoxClient_DEFS    += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP
    194    VBoxClient_SOURCES += \
    195         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp
    196   endif
    197  endif
     199
     200 VBoxClient_DEFS += $(SharedClipboardTransfersDefs)
     201 VBoxClient_SOURCES += $(SharedClipboardTransfersSources)
     202
    198203 ifdef VBOX_WITH_WAYLAND_ADDITIONS
    199204  VBoxClient_DEFS += VBOX_WITH_WAYLAND_ADDITIONS
     
    205210        wayland.cpp \
    206211        wayland-helper-ipc.cpp \
     212        $(PATH_ROOT)/src/VBox/GuestHost/common/mime-type-converter.cpp \
    207213        ../wlInclude/wayland-protocol.c \
    208214        ../wlInclude/wlr-data-control-unstable-v1.c
     
    280286        $(PATH_ROOT)/src/VBox/GuestHost/common/mime-type-converter.cpp
    281287 vboxwl_SOURCES += $(VBOX_GH_SOURCES)
     288
     289 vboxwl_DEFS += $(SharedClipboardTransfersDefs)
     290 vboxwl_SOURCES += $(SharedClipboardTransfersSources)
    282291
    283292 VBOX_VBOXWL_LIBWAYLANDCLIENT_VER = 0
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