VirtualBox

Ignore:
Timestamp:
Jul 29, 2010 12:41:03 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64204
Message:

Shared Folders/VBoxService: Added Linux + Solaris support.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r29583 r31202  
    5050 VBoxService_DEFS        += VBOXSERVICE_CPUHOTPLUG
    5151endif
     52ifdef VBOX_WITH_SHARED_FOLDERS
     53 # darwin freebsd
     54 if1of ($(KBUILD_TARGET), linux solaris)
     55  VBoxService_DEFS        += VBOX_WITH_SHARED_FOLDERS
     56 endif
     57endif
    5258
    5359VBoxService_SOURCES       = \
     
    5662        VBoxServiceUtils.cpp \
    5763        VBoxServiceStats.cpp
     64
    5865ifdef VBOX_WITH_GUEST_CONTROL
    5966 VBoxService_SOURCES    += \
     
    6168        VBoxServiceControlExec.cpp
    6269endif
     70
    6371ifdef VBOX_WITH_MEMBALLOON
    6472 VBoxService_SOURCES    += \
     
    6977        VBoxServicePageSharing.cpp
    7078endif
     79
    7180ifdef VBOX_WITH_GUEST_PROPS
    7281 VBoxService_SOURCES.win  = \
     
    7685        VBoxServicePropCache.cpp
    7786endif
     87
    7888if1of ($(KBUILD_TARGET), linux)
    7989 VBoxService_SOURCES     += \
    8090        VBoxServiceCpuHotPlug.cpp
    8191endif
     92
     93ifdef VBOX_WITH_SHARED_FOLDERS
     94 if1of ($(KBUILD_TARGET), linux solaris)
     95  VBoxService_SOURCES          += \
     96        VBoxServiceAutoMount.cpp
     97  VBoxService_SOURCES.linux    += \
     98        ../../linux/sharedfolders/vbsfmount.c
     99 endif
     100endif
     101
    82102VBoxService_SOURCES.win  += \
    83103        VBoxService-win.rc \
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r30957 r31202  
    104104#ifdef VBOX_WITH_PAGE_SHARING
    105105    { &g_PageSharing, NIL_RTTHREAD, false, false, false, true },
     106#endif
     107#ifdef VBOX_WITH_SHARED_FOLDERS
     108    { &g_AutoMount, NIL_RTTHREAD, false, false, false, true },
    106109#endif
    107110};
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h

    r30601 r31202  
    250250extern VBOXSERVICE  g_PageSharing;
    251251#endif
     252#ifdef VBOX_WITH_SHARED_FOLDERS
     253extern VBOXSERVICE  g_AutoMount;
     254#endif
    252255
    253256extern RTEXITCODE   VBoxServiceSyntax(const char *pszFormat, ...);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette