VirtualBox

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

Last change on this file since 93217 was 93217, checked in by vboxsync, 3 years ago

HostDrivers,Installer,Devices: Clean out the VBoxUSB driver which is completely unused since some time now, bugref:9808

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1# $Id: Makefile.kmk 93217 2022-01-13 07:29:50Z vboxsync $
2## @file
3# Sub-Makefile for the Windows USB drivers.
4#
5
6#
7# Copyright (C) 2006-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
27SUB_DEPTH = ../../../..
28include $(KBUILD_PATH)/subheader.kmk
29
30# Include sub-makefiles.
31if1of ($(KBUILD_TARGET), solaris win)
32 include $(PATH_SUB_CURRENT)/$(KBUILD_TARGET)/Makefile.kmk
33endif
34
35#
36# USBLib - The static USB Library for use in VBoxSVC and VBoxDD.
37#
38# Note! Drivers using USBFilter.cpp should just add ../USBFilter.cpp
39# to their source list.
40#
41LIBRARIES += USBLib
42USBLib_TEMPLATE = VBOXR3
43USBLib_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
44USBLib_DEFS = IN_USBLIB
45USBLib_DEFS.os2 = STATIC_USBCALLS
46USBLib_DEFS.win = _WIN32_WINNT=0x0501
47USBLib_SOURCES = \
48 USBLib.cpp \
49 USBFilter.cpp
50
51# OS specific bits if applicable.
52USBLib_SOURCES.os2 = \
53 os2/usbcalls.c
54USBLib_SOURCES.solaris = \
55 solaris/USBLib-solaris.cpp
56USBLib_SOURCES.win = \
57 win/lib/VBoxUsbLib-win.cpp
58
59ifdef VBOX_WITH_TESTCASES
60 #
61 # USBFilter testcase.
62 #
63 PROGRAMS += tstUSBFilter
64 tstUSBFilter_TEMPLATE = VBOXR3TSTEXE
65 tstUSBFilter_DEFS = IN_USBLIB
66 tstUSBFilter_SOURCES = \
67 testcase/tstUSBFilter.cpp
68 tstUSBFilter_LIBS = \
69 $(USBLib_1_TARGET)
70endif # VBOX_WITH_TESTCASES
71
72
73# generate rules
74include $(FILE_KBUILD_SUB_FOOTER)
75
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