VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Makefile.kmk@ 8753

Last change on this file since 8753 was 8155, checked in by vboxsync, 17 years ago

The Big Sun Rebranding Header Change

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.4 KB
Line 
1# $Id: Makefile.kmk 8155 2008-04-18 15:16:47Z vboxsync $
2## @file
3# Sub-Makefile for the Windows NT++ Guest Additions.
4#
5
6# Copyright (C) 2006-2007 Sun Microsystems, Inc.
7#
8# This file is part of VirtualBox Open Source Edition (OSE), as
9# available from http://www.virtualbox.org. This file is free software;
10# you can redistribute it and/or modify it under the terms of the GNU
11# General Public License (GPL) as published by the Free Software
12# Foundation, in version 2 as it comes in the "COPYING" file of the
13# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15#
16# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
17# Clara, CA 95054 USA or visit http://www.sun.com if you need
18# additional information or have any questions.
19#
20
21DEPTH ?= ../../../..
22SUB_DEPTH = ..
23include $(PATH_KBUILD)/subheader.kmk
24
25# Include Sub-Makefiles.
26include $(PATH_SUB_CURRENT)/Graphics/Makefile.kmk
27include $(PATH_SUB_CURRENT)/i8042prt/Makefile.kmk
28include $(PATH_SUB_CURRENT)/MouseFilter/Makefile.kmk
29include $(PATH_SUB_CURRENT)/VBoxGuest/Makefile.kmk
30include $(PATH_SUB_CURRENT)/VBoxService/Makefile.kmk
31include $(PATH_SUB_CURRENT)/VBoxGINA/Makefile.kmk
32include $(PATH_SUB_CURRENT)/VBoxControl/Makefile.kmk
33include $(PATH_SUB_CURRENT)/VBoxHook/Makefile.kmk
34ifndef VBOX_OSE
35include $(PATH_SUB_CURRENT)/Network/Makefile.kmk
36endif
37ifdef VBOX_WITH_WIN32_ADDITIONS_SHAREDFOLDERS
38include $(PATH_SUB_CURRENT)/SharedFolders/Makefile.kmk
39endif
40ifneq ($(wildcard $(PATH_SUB_CURRENT)/Installer),)
41include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
42endif
43
44#
45# Inf2Cat requires all the files referenced in the .inf file
46# to be present in the directory, so we have to do this from here.
47#
48INSTALLS += VBoxGuest-inf
49VBoxGuest-inf_INST = $(INST_ADDITIONS)
50VBoxGuest-inf_MODE = a+r,u+w
51ifndef VBOX_SIGN_ADDITIONS
52VBoxGuest-inf_SOURCES = VBoxGuest/VBoxGuest.inf
53else
54VBoxGuest-inf_SOURCES = \
55 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
56 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat \
57 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
58 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
59 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxService.exe \
60 $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll
61VBoxGuest-inf_CLEAN = $(VBoxGuest-inf_SOURCES)
62VBoxGuest-inf_BLDDIRS = $(PATH_TARGET)/VBoxGuestCat.dir
63
64$(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf: $(PATH_SUB_CURRENT)/VBoxGuest/VBoxGuest.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
65 $(call MSG_GENERATE,VBoxGuest-inf,$@,$<)
66 $(call VBOX_EDIT_INF32_FN,$<,$@)
67
68$(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys: $$(TARGET_VBoxGuest) | $$(call DIRDEP,$$(@D))
69 $(INSTALL) -m 644 $< $(@D)
70
71$(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe: $$(TARGET_VBoxControl) | $$(call DIRDEP,$$(@D))
72 $(INSTALL) -m 755 $< $(@D)
73
74$(PATH_TARGET)/VBoxGuestCat.dir/VBoxService.exe: $$(TARGET_VBoxService) | $$(call DIRDEP,$$(@D))
75 $(INSTALL) -m 755 $< $(@D)
76
77$(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll: $$(TARGET_VBCoInst) | $$(call DIRDEP,$$(@D))
78 $(INSTALL) -m 644 $< $(@D)
79
80$(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat: \
81 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
82 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
83 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
84 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxService.exe \
85 $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll
86 $(call MSG_TOOL,Inf2Cat,VBoxGuest-inf,$@,$<)
87 $(call VBOX_MAKE_CAT32_FN, $(@D),$@)
88
89endif # signing
90
91include $(PATH_KBUILD)/subfooter.kmk
92
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