VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxUSB/solaris/Makefile.kmk@ 31896

Last change on this file since 31896 was 31896, checked in by vboxsync, 14 years ago

export the VBoxUSB host driver to OSE

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1# $Id: Makefile.kmk 31896 2010-08-24 09:17:44Z vboxsync $
2## @file
3# Sub-Makefile for the Solaris VBoxUSB kernel extension.
4#
5
6#
7# Copyright (C) 2008 Oracle Corporation
8#
9# Oracle Corporation confidential
10# All rights reserved
11#
12
13SUB_DEPTH = ../../../../..
14include $(KBUILD_PATH)/subheader.kmk
15
16#
17# VBoxUSBHelper - Setuid binary helper for updating driver alias.
18#
19PROGRAMS.solaris += VBoxUSBHelper
20VBoxUSBHelper_TEMPLATE = VBOXR3EXE
21VBoxUSBHelper_SOURCES = VBoxUSBHelper.cpp
22VBoxUSBHelper_LIBS = nvpair device
23
24#
25# vboxusbmon - The Solaris USB Monitor Kernel module.
26#
27SYSMODS.solaris += vboxusbmon
28vboxusbmon_TEMPLATE = VBOXR0DRV
29vboxusbmon_DEFS = IN_RT_R0 VBOX_SVN_REV=$(VBOX_SVN_REV) \
30 $(if $(VBOX_WITH_NEW_USB_CODE_ON_SOLARIS),VBOX_WITH_NEW_USB_CODE_ON_SOLARIS,)
31vboxusbmon_DEPS += $(VBOX_SVN_REV_KMK)
32vboxusbmon_INCS := . .. \
33 $(if $(VBOX_WITH_NEW_USB_CODE_ON_SOLARIS),include/,)
34vboxusbmon_LDFLAGS += -N drv/vboxdrv -N misc/usba
35vboxusbmon_SOURCES = \
36 VBoxUSBMon-solaris.c \
37 ../USBFilter.cpp \
38 ../VBoxUSBFilterMgr.cpp
39
40ifdef VBOX_WITH_NEW_USB_CODE_ON_SOLARIS
41#
42# vboxusb - The Solaris Generic USB Client Kernel module.
43#
44SYSMODS.solaris += vboxusb
45vboxusb_TEMPLATE = VBOXR0DRV
46vboxusb_DEFS = IN_RT_R0 IN_SUP_R0 VBOX_SVN_REV=$(VBOX_SVN_REV) \
47 $(if $(VBOX_WITH_NEW_USB_CODE_ON_SOLARIS),VBOX_WITH_NEW_USB_CODE_ON_SOLARIS,)
48vboxusb_DEPS += $(VBOX_SVN_REV_KMK)
49vboxusb_INCS := . include/
50vboxusb_LDFLAGS += -N drv/vboxdrv -N drv/vboxusbmon -N misc/usba
51vboxusb_SOURCES = \
52 VBoxUSB-solaris.c
53endif
54
55include $(KBUILD_PATH)/subfooter.kmk
56
Note: See TracBrowser for help on using the repository browser.

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