1 | # $Id: Makefile.kmk 62490 2016-07-22 18:41:49Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Solaris VBoxUSB kernel extension.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2008-2016 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 | # vboxusbmon - The Solaris USB Monitor Kernel module.
|
---|
23 | #
|
---|
24 | SYSMODS.solaris += vboxusbmon
|
---|
25 | vboxusbmon_TEMPLATE = VBOXR0DRV
|
---|
26 | vboxusbmon_DEFS = IN_RT_R0 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
27 | vboxusbmon_DEPS += $(VBOX_SVN_REV_KMK)
|
---|
28 | vboxusbmon_INCS := . .. include
|
---|
29 | vboxusbmon_LDFLAGS += -N drv/vboxdrv -N misc/usba
|
---|
30 | vboxusbmon_SOURCES = \
|
---|
31 | VBoxUSBMon-solaris.c \
|
---|
32 | ../USBFilter.cpp \
|
---|
33 | ../VBoxUSBFilterMgr.cpp
|
---|
34 |
|
---|
35 | #
|
---|
36 | # vboxusb - The Solaris Generic USB Client Kernel module.
|
---|
37 | #
|
---|
38 | SYSMODS.solaris += vboxusb
|
---|
39 | vboxusb_TEMPLATE = VBOXR0DRV
|
---|
40 | vboxusb_DEFS = IN_RT_R0 IN_SUP_R0 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
41 | vboxusb_DEPS += $(VBOX_SVN_REV_KMK)
|
---|
42 | vboxusb_INCS := . include/
|
---|
43 | vboxusb_LDFLAGS += -N drv/vboxdrv -N drv/vboxusbmon -N misc/usba
|
---|
44 | vboxusb_SOURCES = \
|
---|
45 | VBoxUSB-solaris.c
|
---|
46 |
|
---|
47 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
48 |
|
---|