VirtualBox

Changeset 72152 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 8, 2018 6:17:30 AM (7 years ago)
Author:
vboxsync
Message:

Additions/x11/VBoxClient: clean up the Make file and remove unneeded defines.

File:
1 edited

Legend:

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

    r72137 r72152  
    3232VBoxClient_INCS = $(VBOX_GRAPHICS_INCS)
    3333VBoxClient_SOURCES = \
    34         main.cpp
    35 VBoxClient_SOURCES += \
     34        main.cpp \
    3635        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-helper.cpp \
    3736        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/x11-clipboard.cpp \
    3837        clipboard.cpp \
    3938        display-svga.cpp \
    40         display-svga-x11.cpp
     39        display-svga-x11.cpp \
     40        seamless.cpp \
     41        seamless-x11.cpp \
     42        display.cpp \
     43        hostversion.cpp \
     44        check3d.cpp
    4145VBoxClient_SOURCES.linux = \
    4246        chk_stubs.c
     
    5054        dl
    5155VBoxClient_LIBS = \
    52         X11 \
    53         Xrandr \
    54         Xt
     56        X11 Xrandr Xt Xext Xmu
    5557
    5658# XXX: -L comes from the template, but not rpath
     
    7981endif
    8082
    81 ifdef VBOX_X11_SEAMLESS_GUEST
    82  VBoxClient_DEFS += SEAMLESS_GUEST DYNAMIC_RESIZE
    83  VBoxClient_SOURCES += \
    84         seamless.cpp \
    85         seamless-x11.cpp \
    86         display.cpp \
    87         hostversion.cpp \
    88         check3d.cpp
    89  VBoxClient_LIBS += \
    90         Xext Xmu
    91 endif
    9283ifdef VBOX_WITH_GUEST_PROPS
    9384 VBoxClient_DEFS += VBOX_WITH_GUEST_PROPS
     
    10394endif
    10495
    105 ifdef VBOX_X11_SEAMLESS_GUEST
    106  if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
    107   if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
     96if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
     97 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
    10898
    10999# Set this in LocalConfig.kmk if you are working on the X11 clipboard service
     
    111101#       OTHERS += $(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run
    112102
    113    PROGRAMS += tstSeamlessX11-auto
    114    tstSeamlessX11-auto_TEMPLATE = VBOXR3TSTEXE
    115    tstSeamlessX11-auto_SOURCES = \
    116            testcase/tstSeamlessX11-auto.cpp \
    117            seamless-x11.cpp
    118    tstSeamlessX11-auto_DEFS = TESTCASE
    119    tstSeamlessX11-auto_LIBS = \
    120            $(LIB_RUNTIME)
     103  PROGRAMS += tstSeamlessX11-auto
     104  tstSeamlessX11-auto_TEMPLATE = VBOXR3TSTEXE
     105  tstSeamlessX11-auto_SOURCES = \
     106          testcase/tstSeamlessX11-auto.cpp \
     107          seamless-x11.cpp
     108  tstSeamlessX11-auto_DEFS = TESTCASE
     109  tstSeamlessX11-auto_LIBS = \
     110          $(LIB_RUNTIME)
    121111
    122    TESTING  += $(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto
     112  TESTING  += $(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto
    123113$$(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run: \
    124         $$(tstSeamlessX11-auto_1_STAGE_TARGET)
     114       $$(tstSeamlessX11-auto_1_STAGE_TARGET)
    125115        export VBOX_LOG_DEST=nofile; $(tstSeamlessX11-auto_1_STAGE_TARGET) quiet
    126116        $(QUIET)$(APPEND) -t "$@" "done"
    127117
    128    #
    129    # Additional testcase designed to be run manually, which initiates and starts the Linux
    130    # guest client part of the seamless additions in the host, faking seamless events from
    131    # the host and writing information about guest events to standard output.
    132    #
    133    PROGRAMS += tstSeamlessX11
    134    tstSeamlessX11_TEMPLATE = VBOXR3TSTEXE
    135    tstSeamlessX11_SOURCES = \
    136            testcase/tstSeamlessX11.cpp \
    137            seamless.cpp \
    138            seamless-x11.cpp
    139    tstSeamlessX11_LIBPATH = \
    140            $(VBOX_LIBPATH_X11)
    141    tstSeamlessX11_LIBS = \
    142            $(LIB_RUNTIME) \
    143            Xext \
    144            Xmu \
    145            X11
    146   endif
     118  #
     119  # Additional testcase designed to be run manually, which initiates and starts the Linux
     120  # guest client part of the seamless additions in the host, faking seamless events from
     121  # the host and writing information about guest events to standard output.
     122  #
     123  PROGRAMS += tstSeamlessX11
     124  tstSeamlessX11_TEMPLATE = VBOXR3TSTEXE
     125  tstSeamlessX11_SOURCES = \
     126          testcase/tstSeamlessX11.cpp \
     127          seamless.cpp \
     128          seamless-x11.cpp
     129  tstSeamlessX11_LIBPATH = \
     130          $(VBOX_LIBPATH_X11)
     131  tstSeamlessX11_LIBS = \
     132          $(LIB_RUNTIME) \
     133          Xext \
     134          Xmu \
     135          X11
    147136 endif
    148137endif
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