VirtualBox

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

Last change on this file since 16527 was 14545, checked in by vboxsync, 16 years ago

a little aid for compiling Linux host drivers during developement

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Makefile.kmk 14545 2008-11-24 21:15:01Z 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
28ifndef VBOX_ONLY_DOCS
29 ifeq ($(KBUILD_TARGET),win)
30 include $(PATH_SUB_CURRENT)/VBoxTAP/Makefile.kmk
31 endif
32 ifdef VBOX_WITH_USB
33 include $(PATH_SUB_CURRENT)/VBoxUSB/Makefile.kmk
34 endif
35 if1of ($(KBUILD_TARGET), darwin solaris win linux)
36 ifdef VBOX_WITH_NETFLT
37 include $(PATH_SUB_CURRENT)/VBoxNetFlt/Makefile.kmk
38 endif
39 endif
40
41 ifeq ($(KBUILD_TARGET),linux)
42 #
43 # Install the Makefile for module compliation on Linux hosts
44 #
45 INSTALLS += HostDrivers-src
46 HostDrivers-src_INST = bin/src/
47 HostDrivers-src_MODE = a+r,u+w
48 HostDrivers-src_SOURCES = linux/Makefile
49 endif
50
51endif # !VBOX_ONLY_DOCS
52
53# Let kBuild generate the rules.
54include $(KBUILD_PATH)/subfooter.kmk
55
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