1 | # $Id: Makefile.kmk 2516 2007-05-05 02:28:24Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Windows Network Driver.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
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 as published by the Free Software Foundation,
|
---|
13 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
14 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
15 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # If you received this file as part of a commercial VirtualBox
|
---|
18 | # distribution, then only the terms of your commercial VirtualBox
|
---|
19 | # license agreement apply instead of the previous paragraph.
|
---|
20 | #
|
---|
21 |
|
---|
22 | DEPTH ?= ../../../..
|
---|
23 | SUB_DEPTH = ..
|
---|
24 | include $(PATH_KBUILD)/subheader.kmk
|
---|
25 |
|
---|
26 |
|
---|
27 |
|
---|
28 | #
|
---|
29 | # VBoxTap
|
---|
30 | #
|
---|
31 | SYSMODS.win += VBoxTAP
|
---|
32 | VBoxTAP_TEMPLATE = VBOXR0DRV
|
---|
33 | VBoxTAP_SDKS = W2K3DDK WINPSDKINCS
|
---|
34 | VBoxTAP_LDFLAGS.x86 = -Entry:DriverEntry@8
|
---|
35 | VBoxTAP_LDFLAGS.amd64 = -Entry:DriverEntry
|
---|
36 | VBoxTAP_SOURCES = \
|
---|
37 | tapdrvr.c \
|
---|
38 | VBoxTAP.rc
|
---|
39 | VBoxTAP_LIBS = \
|
---|
40 | $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \
|
---|
41 | $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
|
---|
42 | $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
|
---|
43 | $(PATH_SDK_W2K3DDK_LIB)/ndis.lib \
|
---|
44 | $(PATH_SDK_W2K3DDK_LIB)/ntstrsafe.lib \
|
---|
45 | $(PATH_SDK_W2K3DDK_LIB)/BufferOverflowK.lib
|
---|
46 |
|
---|
47 | #
|
---|
48 | # Install the .inf.
|
---|
49 | #
|
---|
50 | INSTALLS.win += VBoxTAP-inf
|
---|
51 | VBoxTAP-inf_INST = bin/
|
---|
52 | VBoxTAP-inf_MODE = a+r,u+w
|
---|
53 | VBoxTAP-inf_SOURCES = VBoxTAP.inf
|
---|
54 |
|
---|
55 |
|
---|
56 | # generate rules
|
---|
57 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
58 |
|
---|