1 | # $Id: Makefile.kmk 2694 2007-05-17 06:35:49Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Windows NT++ Guest Additions.
|
---|
4 | #
|
---|
5 |
|
---|
6 | # Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
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 as published by the Free Software Foundation,
|
---|
12 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | #
|
---|
16 | # If you received this file as part of a commercial VirtualBox
|
---|
17 | # distribution, then only the terms of your commercial VirtualBox
|
---|
18 | # license agreement apply instead of the previous paragraph.
|
---|
19 | #
|
---|
20 | #
|
---|
21 |
|
---|
22 | DEPTH ?= ../../../..
|
---|
23 | SUB_DEPTH = ..
|
---|
24 | include $(PATH_KBUILD)/subheader.kmk
|
---|
25 |
|
---|
26 | # Include Sub-Makefiles.
|
---|
27 | include $(PATH_SUB_CURRENT)/Graphics/Makefile.kmk
|
---|
28 | include $(PATH_SUB_CURRENT)/i8042prt/Makefile.kmk
|
---|
29 | include $(PATH_SUB_CURRENT)/MouseFilter/Makefile.kmk
|
---|
30 | include $(PATH_SUB_CURRENT)/VBoxGuest/Makefile.kmk
|
---|
31 | include $(PATH_SUB_CURRENT)/VBoxService/Makefile.kmk
|
---|
32 | include $(PATH_SUB_CURRENT)/VBoxGINA/Makefile.kmk
|
---|
33 | include $(PATH_SUB_CURRENT)/VBoxControl/Makefile.kmk
|
---|
34 | ifdef VBOX_WITH_WIN32_ADDITIONS_SHAREDFOLDERS
|
---|
35 | include $(PATH_SUB_CURRENT)/SharedFolders/Makefile.kmk
|
---|
36 | endif
|
---|
37 | ifneq ($(wildcard $(PATH_SUB_CURRENT)/Installer),)
|
---|
38 | include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
|
---|
39 | endif
|
---|
40 |
|
---|
41 | #
|
---|
42 | # Inf2Cat requires all the files referenced in the .inf file
|
---|
43 | # to be present in the directory, so we have to do this from here.
|
---|
44 | #
|
---|
45 | INSTALLS += VBoxGuest-inf
|
---|
46 | VBoxGuest-inf_INST = $(INST_ADDITIONS)
|
---|
47 | VBoxGuest-inf_MODE = a+r,u+w
|
---|
48 | #ifndef VBOX_SIGNING_MODE - I'm not going to mess with that install nor break any .inf-files.
|
---|
49 | VBoxGuest-inf_SOURCES = VBoxGuest/VBoxGuest.inf
|
---|
50 | #else
|
---|
51 | #VBoxGuest-inf_SOURCES = \
|
---|
52 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
|
---|
53 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat \
|
---|
54 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
|
---|
55 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
|
---|
56 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxService.exe \
|
---|
57 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll
|
---|
58 | #VBoxGuest-inf_CLEAN = \
|
---|
59 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
|
---|
60 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat \
|
---|
61 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
|
---|
62 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
|
---|
63 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBoxService.exe \
|
---|
64 | # $(PATH_TARGET)/VBoxGuestCat.dir/VBCoInst.dll
|
---|
65 | #VBoxGuest-inf_BLDDIRS = $(PATH_TARGET)/VBoxGuestCat.dir
|
---|
66 | #
|
---|
67 | #$(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf: $(PATH_SUB_CURRENT)/VBoxGuest/VBoxGuest.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
|
---|
68 | # $(call MSG_GENERATE,VBoxGuest-inf,$@,$<)
|
---|
69 | # $(call VBOX_EDIT_INF32_FN,$<,$@)
|
---|
70 | #
|
---|
71 | #$(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat: $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
|
---|
72 | # $$(TARGET_VBoxGuest) \
|
---|
73 | # $$(TARGET_VBoxControl) \
|
---|
74 | # $$(TARGET_VBoxService) \
|
---|
75 | # $$(TARGET_VBCoInst)
|
---|
76 | # $(call MSG_TOOL,Inf2Cat,VBoxGuest-inf,$@,$<)
|
---|
77 | # $(INSTALL) -m 644 $(TARGET_VBoxGuest) $(@D)
|
---|
78 | # $(INSTALL) -m 644 $(TARGET_VBoxControl) $(@D)
|
---|
79 | # $(INSTALL) -m 644 $(TARGET_VBoxService) $(@D)
|
---|
80 | # $(INSTALL) -m 644 $(TARGET_VBCoInst) $(@D)
|
---|
81 | # $(call VBOX_MAKE_CAT32_FN, $(@D),$@)
|
---|
82 | #
|
---|
83 | #endif # signing
|
---|
84 |
|
---|
85 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
86 |
|
---|