VirtualBox

Changeset 7850 in vbox


Ignore:
Timestamp:
Apr 9, 2008 4:46:16 PM (17 years ago)
Author:
vboxsync
Message:

Enabled VBOX_WITH_USBFILTER for darwin.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r7849 r7850  
    120120endif
    121121ifdef VBOX_WITH_USB
    122 VBoxSVC_DEFS += VBOX_WITH_USB
    123 ifdef VBOX_WITH_EHCI
     122VBoxSVC_DEFS += VBOX_WITH_USB VBOX_WITH_USBFILTER
     123 ifdef VBOX_WITH_EHCI
    124124VBoxSVC_DEFS += VBOX_WITH_EHCI
    125 endif
     125 endif
    126126endif
    127127ifdef VBOX_WITH_ALSA
     
    164164        $(LIB_DDU) \
    165165        $(LIB_SETTINGS)
     166ifdef VBOX_WITH_USB
     167 VBoxSVC_LIBS += \
     168        $(PATH_LIB)/USBLib$(VBOX_SUFF_LIB)
     169endif
    166170VBoxSVC_LIBS.darwin = \
    167171        $(LIB_VMM) \
     
    234238VBoxSVC_SOURCES.solaris += solaris/USBProxyServiceSolaris.cpp
    235239VBoxSVC_SOURCES.win     +=   win32/USBProxyServiceWin32.cpp
    236  ifn1of (darwin, $(BUILD_TARGET))
    237 VBoxSVC_DEFS += VBOX_WITH_USBFILTER
    238 VBoxSVC_LIBS += $(PATH_LIB)/USBLib$(VBOX_SUFF_LIB)
    239  endif
    240 endif
    241 
    242 VBoxSVC_LDFLAGS.darwin = -framework IOKit
     240endif
     241
     242VBoxSVC_LDFLAGS.darwin  = -framework IOKit
    243243ifeq ($(BUILD_TYPE),debug)
    244 VBoxSVC_LDFLAGS.linux += -rdynamic # for backtrace_symbols()
    245 endif
    246 
    247 win32/VBoxSVC.rc_DEPS = $(PATH_TARGET)/VBoxSVC.rgs
     244VBoxSVC_LDFLAGS.linux  += -rdynamic # for backtrace_symbols()
     245endif
     246
     247win32/VBoxSVC.rc_DEPS   = $(PATH_TARGET)/VBoxSVC.rgs
    248248
    249249
  • trunk/src/VBox/Main/include/USBProxyService.h

    r7746 r7850  
    270270    ~USBProxyServiceDarwin();
    271271
    272 #ifdef VBOX_WITH_USBFILTER
     272#ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
    273273    virtual void *insertFilter (PCUSBFILTER aFilter);
    274274    virtual void removeFilter (void *aId);
     
    296296     * not including newly attached devices. */
    297297    bool mWaitABitNextTime;
    298 #ifndef VBOX_WITH_USBFILTER
     298#ifndef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
    299299    /** Whether we've got a fake async event and should return without entering the runloop. */
    300300    bool volatile mFakeAsync;
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