VirtualBox

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

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

scm --update-copyright-year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# $Id: Makefile.kmk 93115 2022-01-01 11:31:46Z vboxsync $
2## @file
3# Top-level makefile for the VBox Host 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.
31include $(PATH_SUB_CURRENT)/Support/Makefile.kmk
32
33if !defined(VBOX_ONLY_DOCS) \
34 && !defined(VBOX_ONLY_EXTPACKS) \
35 && !defined(VBOX_ONLY_VALIDATIONKIT) \
36 && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
37 if1of ($(KBUILD_TARGET),win)
38 include $(PATH_SUB_CURRENT)/win/Makefile.kmk
39 endif
40 ifdef VBOX_WITH_USB
41 include $(PATH_SUB_CURRENT)/VBoxUSB/Makefile.kmk
42 endif
43 if1of ($(KBUILD_TARGET), darwin solaris win linux freebsd)
44 ifdef VBOX_WITH_NETFLT
45 include $(PATH_SUB_CURRENT)/VBoxNetFlt/Makefile.kmk
46 endif
47 endif
48 if1of ($(KBUILD_TARGET), darwin solaris win linux freebsd)
49 ifdef VBOX_WITH_NETADP
50 include $(PATH_SUB_CURRENT)/VBoxNetAdp/Makefile.kmk
51 endif
52 endif
53 if1of ($(KBUILD_TARGET), darwin freebsd linux solaris)
54 include $(PATH_SUB_CURRENT)/adpctl/Makefile.kmk
55 endif
56 if1of ($(KBUILD_TARGET), darwin freebsd linux)
57 include $(PATH_SUB_CURRENT)/$(KBUILD_TARGET)/Makefile.kmk
58 endif
59
60 if1of ($(KBUILD_TARGET), linux)
61 ifdef VBOX_WITH_PCI_PASSTHROUGH
62 include $(PATH_SUB_CURRENT)/VBoxPci/Makefile.kmk
63 endif
64 endif
65
66endif # !defined(VBOX_ONLY_DOCS) && !defined(VBOX_ONLY_VALIDATIONKIT)
67
68# Let kBuild generate the rules.
69include $(FILE_KBUILD_SUB_FOOTER)
70
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