VirtualBox

Changeset 21093 in vbox


Ignore:
Timestamp:
Jun 30, 2009 6:51:02 PM (16 years ago)
Author:
vboxsync
Message:

add build fix?

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/Makefile.kmk

    r21074 r21093  
    11# $Id$
    22## @file
    3 # Sub-Makefile for the Guest Properties Host Service testcases.
     3# Sub-Makefile for the shared clipboard code for both host and guest.
    44#
    55
    66#
    7 # Copyright (C) 2006-2007 Sun Microsystems, Inc.
     7# Copyright (C) 2006-2009 Sun Microsystems, Inc.
    88#
    99# This file is part of VirtualBox Open Source Edition (OSE), as
     
    2323include $(KBUILD_PATH)/subheader.kmk
    2424
    25 ifdef VBOX_WITH_TESTCASES
    26  if1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
    27   ifndef VBOX_ONLY_SDK
     25if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
     26 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
     27  #
     28  # Set these in LocalConfig.kmk if you are working on the X11 clipboard service
     29  # to automatically run the unit tests at build time:
     30  #    OTHERS += $(PATH_tstClipboardX11)/tstClipboardX11.run
     31  #    OTHERS += $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
     32  #
     33  PROGRAMS += tstClipboardX11 tstClipboardX11Smoke
     34  TESTING  += $(PATH_tstClipboardX11)/tstClipboardX11.run $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
     35  tstClipboardX11_TEMPLATE = VBOXR3TSTEXE
     36  tstClipboardX11_DEFS     = VBOX_WITH_HGCM TESTCASE
     37  tstClipboardX11_SOURCES  = x11-clipboard.cpp clipboard-helper.cpp
     38  tstClipboardX11_CLEAN    = $(PATH_tstClipboardX11)/tstClipboardX11.run
    2839
    29 # Set these in LocalConfig.kmk if you are working on the X11 clipboard service
    30 # to automatically run the unit tests at build time:
    31 #    OTHERS += $(PATH_tstClipboardX11)/tstClipboardX11.run
    32 #    OTHERS += $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
     40  tstClipboardX11Smoke_TEMPLATE = VBOXR3TSTEXE
     41  tstClipboardX11Smoke_DEFS     = VBOX_WITH_HGCM SMOKETEST
     42  tstClipboardX11Smoke_SOURCES  = x11-clipboard.cpp clipboard-helper.cpp
     43  tstClipboardX11Smoke_LIBPATH  = $(VBOX_LIBPATH_X11)
     44  tstClipboardX11Smoke_LIBS     = X11 Xt
     45  tstClipboardX11Smoke_CLEAN    = $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
    3346
    34    PROGRAMS += tstClipboardX11 tstClipboardX11Smoke
    35    tstClipboardX11_TEMPLATE = VBOXR3TSTEXE
    36    tstClipboardX11_DEFS     = VBOX_WITH_HGCM TESTCASE
    37    tstClipboardX11_SOURCES  = x11-clipboard.cpp clipboard-helper.cpp
    38    tstClipboardX11_LIBS     = $(LIB_RUNTIME)
    39 
    40    tstClipboardX11Smoke_TEMPLATE = VBOXR3TSTEXE
    41    tstClipboardX11Smoke_DEFS     = VBOX_WITH_HGCM SMOKETEST
    42    tstClipboardX11Smoke_SOURCES  = x11-clipboard.cpp clipboard-helper.cpp
    43    tstClipboardX11Smoke_LIBPATH  = $(VBOX_LIBPATH_X11)
    44    tstClipboardX11Smoke_LIBS     = $(LIB_RUNTIME) X11 Xt
    45 
    46    TESTING  += $(PATH_tstClipboardX11)/tstClipboardX11.run
    4747$$(PATH_tstClipboardX11)/tstClipboardX11.run: $$(INSTARGET_tstClipboardX11)
    4848        export VBOX_LOG_DEST=nofile; $(INSTARGET_tstClipboardX11) quiet
    4949        $(QUIET)$(APPEND) -t "$@" "done"
    5050
    51    TESTING  += $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
    52 $$(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run: \
    53                 $$(INSTARGET_tstClipboardX11)
     51$$(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run: $$(INSTARGET_tstClipboardX11)
    5452        export VBOX_LOG_DEST=nofile; $(INSTARGET_tstClipboardX11Smoke) quiet
    5553        $(QUIET)$(APPEND) -t "$@" "done"
    56 
    57   endif # ! VBOX_ONLY_SDK
    58  endif # 1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
    59 endif # VBOX_WITH_TESTCASES
     54 endif
     55endif
    6056
    6157include $(KBUILD_PATH)/subfooter.kmk
  • trunk/src/VBox/HostServices/SharedClipboard/Makefile.kmk

    r21075 r21093  
    6969        -framework ApplicationServices -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSharedClipboard.dylib
    7070
    71 ifdef VBOX_WITH_TESTCASES
    72  ifndef VBOX_ONLY_ADDITIONS
    73   if1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
    74    ifndef VBOX_ONLY_SDK
     71if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
     72 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
     73 #
     74 # Set this in LocalConfig.kmk if you are working on the X11 clipboard service
     75 # to automatically run the unit test at build time.
     76 #       OTHERS += $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
     77 PROGRAMS += tstClipboardX11-2
     78 TESTING += $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
     79 tstClipboardX11-2_TEMPLATE = VBOXR3TSTEXE
     80 tstClipboardX11-2_DEFS     = VBOX_WITH_HGCM TESTCASE
     81 tstClipboardX11-2_SOURCES  = x11-clipboard.cpp
     82 tstClipboardX11-2_LIBS     = $(LIB_RUNTIME)
     83 tstClipboardX11-2_CLEANS   = $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
    7584
    76 # Set this in LocalConfig.kmk if you are working on the X11 clipboard service
    77 # to automatically run the unit test at build time.
    78 #       OTHERS += $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
    79 
    80     PROGRAMS += tstClipboardX11-2
    81     tstClipboardX11-2_TEMPLATE = VBOXR3TSTEXE
    82     tstClipboardX11-2_DEFS     = VBOX_WITH_HGCM TESTCASE
    83     tstClipboardX11-2_SOURCES  = x11-clipboard.cpp
    84     tstClipboardX11-2_LIBS     = $(LIB_RUNTIME)
    85 
    86     TESTING  += $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
    87 $$(PATH_tstClipboardX11-2)/tstClipboardX11-2.run: \
    88         $$(INSTARGET_tstClipboardX11-2)
     85$$(PATH_tstClipboardX11-2)/tstClipboardX11-2.run: $$(INSTARGET_tstClipboardX11-2)
    8986        export VBOX_LOG_DEST=nofile; $(INSTARGET_tstClipboardX11-2) quiet
    9087        $(QUIET)$(APPEND) -t "$@" "done"
    91 
    92    endif # ! VBOX_WITH_SDK
    93   endif # 1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
    94  endif # ! VBOX_ONLY_ADDITIONS
    95 endif # VBOX_WITH_TESTCASES
     88 endif # 1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
     89endif
    9690
    9791include $(KBUILD_PATH)/subfooter.kmk
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