1 | # $Id: Makefile.kmk 16848 2009-02-17 14:57:35Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Network Adapter Driver (VBoxNetAdp).
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2008 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 |
|
---|
22 | SUB_DEPTH = ../../../..
|
---|
23 | include $(KBUILD_PATH)/subheader.kmk
|
---|
24 |
|
---|
25 | if1of ($(KBUILD_TARGET), solaris)
|
---|
26 | #
|
---|
27 | # vboxnetadp(.o) - The lower case driver.
|
---|
28 | # Note! On Solaris the name has to be <= 8 chars long.
|
---|
29 | #
|
---|
30 | ifdef VBOX_WITH_VBOXDRV
|
---|
31 | SYSMODS += vboxnetadp
|
---|
32 | vboxnetadp_TEMPLATE = VBOXR0DRV
|
---|
33 | vboxnetadp_NAME.solaris = vboxnet
|
---|
34 | vboxnetadp_DEFS = IN_RT_R0
|
---|
35 | vboxnetadp_DEFS.solaris += VBOX_SVN_REV=$(VBOX_SVN_REV)
|
---|
36 | vboxnetadp_DEPS.solaris += $(VBOX_SVN_REV_KMK)
|
---|
37 | vboxnetadp_LDFLAGS.solaris += -N misc/gld
|
---|
38 | vboxnetflt_INCS := \
|
---|
39 | $(PATH_SUB_CURRENT)
|
---|
40 | vboxnetadp_LIBS += \
|
---|
41 | $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
|
---|
42 | vboxnetadp_SOURCES.solaris = solaris/VBoxNetAdp-solaris.c
|
---|
43 | endif
|
---|
44 | endif
|
---|
45 |
|
---|
46 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
47 |
|
---|
48 |
|
---|