VirtualBox

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

Last change on this file since 2705 was 2693, checked in by vboxsync, 18 years ago

Sign the catalog and the files it covers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# $Id: Makefile.kmk 2693 2007-05-17 06:18:04Z 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
22DEPTH ?= ../../../..
23SUB_DEPTH = ..
24include $(PATH_KBUILD)/subheader.kmk
25
26
27
28#
29# VBoxTap
30#
31SYSMODS.win += VBoxTAP
32VBoxTAP_TEMPLATE = VBOXR0DRV
33ifdef VBOX_SIGNING_MODE
34 VBoxTAP_NOINST = true
35endif
36VBoxTAP_SDKS = W2K3DDK WINPSDKINCS
37VBoxTAP_LDFLAGS.x86 = -Entry:DriverEntry@8
38VBoxTAP_LDFLAGS.amd64 = -Entry:DriverEntry
39VBoxTAP_SOURCES = \
40 tapdrvr.c \
41 VBoxTAP.rc
42VBoxTAP_LIBS = \
43 $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \
44 $(PATH_SDK_W2K3DDK_LIB)/ntoskrnl.lib \
45 $(PATH_SDK_W2K3DDK_LIB)/hal.lib \
46 $(PATH_SDK_W2K3DDK_LIB)/ndis.lib \
47 $(PATH_SDK_W2K3DDK_LIB)/ntstrsafe.lib \
48 $(PATH_SDK_W2K3DDK_LIB)/BufferOverflowK.lib
49
50#
51# Install the .inf.
52#
53INSTALLS.win += VBoxTAP-inf
54VBoxTAP-inf_INST = $(INST_BIN)
55VBoxTAP-inf_MODE = a+r,u+w
56VBoxTAP-inf_SOURCES = \
57 $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf
58VBoxTAP-inf_CLEAN = \
59 $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf
60VBoxTAP-inf_BLDDIRS = $(PATH_TARGET)/VBoxTAPCat.dir
61
62$(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf: $(PATH_SUB_CURRENT)/VBoxTAP.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
63 $(call MSG_GENERATE,VBoxTAP-inf,$@,$<)
64 $(call VBOX_EDIT_INF_FN,$<,$@)
65
66ifdef VBOX_SIGNING_MODE
67VBoxTAP-inf_SOURCES += \
68 $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.cat \
69 $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.sys
70VBoxTAP-inf_CLEAN += \
71 $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.cat \
72 $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.sys
73
74$(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.cat: $(PATH_TARGET)/VBoxTAPCat.dir/VBoxTAP.inf $$(TARGET_VBoxTAP)
75 $(call MSG_TOOL,Inf2Cat,VBoxTAP-inf,$@,$<)
76 $(INSTALL) -m 644 $(TARGET_VBoxTAP) $(@D)
77 $(call VBOX_MAKE_CAT_FN, $(@D),$@)
78endif # signing
79
80
81# generate rules
82include $(PATH_KBUILD)/subfooter.kmk
83
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