1 | # $Id: Makefile.kmk 93115 2022-01-01 11:31:46Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Solaris VBoxUSB kernel extension.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2008-2022 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 | # The contents of this file may alternatively be used under the terms
|
---|
18 | # of the Common Development and Distribution License Version 1.0
|
---|
19 | # (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | # VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | # CDDL are applicable instead of those of the GPL.
|
---|
22 | #
|
---|
23 | # You may elect to license modified versions of this file under the
|
---|
24 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | #
|
---|
26 |
|
---|
27 | SUB_DEPTH = ../../../../..
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 | #
|
---|
31 | # vboxusbmon - The Solaris USB Monitor Kernel module.
|
---|
32 | #
|
---|
33 | SYSMODS.solaris += vboxusbmon
|
---|
34 | vboxusbmon_TEMPLATE = VBOXR0DRV
|
---|
35 | vboxusbmon_DEFS = IN_RT_R0 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
36 | vboxusbmon_DEPS += $(VBOX_SVN_REV_KMK)
|
---|
37 | vboxusbmon_INCS := . .. include
|
---|
38 | vboxusbmon_LDFLAGS += -N drv/vboxdrv -N misc/usba
|
---|
39 | vboxusbmon_SOURCES = \
|
---|
40 | VBoxUSBMon-solaris.c \
|
---|
41 | ../USBFilter.cpp \
|
---|
42 | ../VBoxUSBFilterMgr.cpp
|
---|
43 |
|
---|
44 | #
|
---|
45 | # vboxusb - The Solaris Generic USB Client Kernel module.
|
---|
46 | #
|
---|
47 | SYSMODS.solaris += vboxusb
|
---|
48 | vboxusb_TEMPLATE = VBOXR0DRV
|
---|
49 | vboxusb_DEFS = IN_RT_R0 IN_SUP_R0 VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
50 | vboxusb_DEPS += $(VBOX_SVN_REV_KMK)
|
---|
51 | vboxusb_INCS := . include/
|
---|
52 | vboxusb_LDFLAGS += -N drv/vboxdrv -N drv/vboxusbmon -N misc/usba
|
---|
53 | vboxusb_SOURCES = \
|
---|
54 | VBoxUSB-solaris.c
|
---|
55 |
|
---|
56 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
57 |
|
---|