VirtualBox

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

Last change on this file since 28353 was 27562, checked in by vboxsync, 15 years ago

HostDrivers: loadall.sh for darwin.

  • 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 27562 2010-03-21 15:42:34Z vboxsync $
2## @file
3# Top-level makefile for the VBox Host drivers.
4#
5
6#
7# Copyright (C) 2006-2007 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18# Clara, CA 95054 USA or visit http://www.sun.com if you need
19# additional information or have any questions.
20#
21
22SUB_DEPTH = ../../..
23include $(KBUILD_PATH)/subheader.kmk
24
25# Include sub-makefiles.
26include $(PATH_SUB_CURRENT)/Support/Makefile.kmk
27
28if !defined(VBOX_ONLY_DOCS) && !defined(VBOX_ONLY_TESTSUITE)
29 ifdef VBOX_WITH_USB
30 include $(PATH_SUB_CURRENT)/VBoxUSB/Makefile.kmk
31 endif
32 if1of ($(KBUILD_TARGET), darwin solaris win linux freebsd)
33 ifdef VBOX_WITH_NETFLT
34 include $(PATH_SUB_CURRENT)/VBoxNetFlt/Makefile.kmk
35 endif
36 endif
37 if1of ($(KBUILD_TARGET), darwin solaris linux freebsd)
38 ifdef VBOX_WITH_NETADP
39 include $(PATH_SUB_CURRENT)/VBoxNetAdp/Makefile.kmk
40 endif
41 endif
42 ifeq ($(KBUILD_TARGET),darwin)
43 include $(PATH_SUB_CURRENT)/darwin/Makefile.kmk
44 endif
45
46 if1of ($(KBUILD_TARGET),linux freebsd)
47 #
48 # Install the Makefile for module compliation on Linux and FreeBSD hosts
49 #
50 INSTALLS += HostDrivers-src
51 HostDrivers-src_INST = bin/src/
52 HostDrivers-src_MODE = a+r,u+w
53 HostDrivers-src_SOURCES.linux = linux/Makefile
54 HostDrivers-src_SOURCES.freebsd = freebsd/Makefile
55 endif
56
57 if1of ($(KBUILD_TARGET),freebsd)
58 #
59 # Install the export_modules script for tar'ing the module sources on FreeBSD hosts
60 #
61 INSTALLS += HostDrivers-sh
62 HostDrivers-sh_INST = bin/
63 HostDrivers-sh_MODE = a+rx,u+w
64 HostDrivers-sh_SOURCES.freebsd = freebsd/export_modules
65 endif
66endif # !defined(VBOX_ONLY_DOCS) && !defined(VBOX_ONLY_TESTSUITE)
67
68# Let kBuild generate the rules.
69include $(KBUILD_PATH)/subfooter.kmk
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