1 | # $Id: Makefile.kmk 31911 2010-08-24 11:56:45Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Solaris VBoxUSB kernel extension.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2008 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | #
|
---|
22 | # VBoxUSBHelper - Setuid binary helper for updating driver alias.
|
---|
23 | #
|
---|
24 | PROGRAMS.solaris += VBoxUSBHelper
|
---|
25 | VBoxUSBHelper_TEMPLATE = VBOXR3EXE
|
---|
26 | VBoxUSBHelper_SOURCES = VBoxUSBHelper.cpp
|
---|
27 | VBoxUSBHelper_LIBS = nvpair device
|
---|
28 |
|
---|
29 | #
|
---|
30 | # vboxusbmon - The Solaris USB Monitor Kernel module.
|
---|
31 | #
|
---|
32 | SYSMODS.solaris += vboxusbmon
|
---|
33 | vboxusbmon_TEMPLATE = VBOXR0DRV
|
---|
34 | vboxusbmon_DEFS = IN_RT_R0 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
35 | vboxusbmon_DEPS += $(VBOX_SVN_REV_KMK)
|
---|
36 | vboxusbmon_INCS := . .. include
|
---|
37 | vboxusbmon_LDFLAGS += -N drv/vboxdrv -N misc/usba
|
---|
38 | vboxusbmon_SOURCES = \
|
---|
39 | VBoxUSBMon-solaris.c \
|
---|
40 | ../USBFilter.cpp \
|
---|
41 | ../VBoxUSBFilterMgr.cpp
|
---|
42 |
|
---|
43 | #
|
---|
44 | # vboxusb - The Solaris Generic USB Client Kernel module.
|
---|
45 | #
|
---|
46 | SYSMODS.solaris += vboxusb
|
---|
47 | vboxusb_TEMPLATE = VBOXR0DRV
|
---|
48 | vboxusb_DEFS = IN_RT_R0 IN_SUP_R0 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
49 | vboxusb_DEPS += $(VBOX_SVN_REV_KMK)
|
---|
50 | vboxusb_INCS := . include/
|
---|
51 | vboxusb_LDFLAGS += -N drv/vboxdrv -N drv/vboxusbmon -N misc/usba
|
---|
52 | vboxusb_SOURCES = \
|
---|
53 | VBoxUSB-solaris.c
|
---|
54 |
|
---|
55 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
56 |
|
---|