1 | # $Id: Makefile.kmk 2686 2007-05-17 02:34:20Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Windows guest graphics 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 | # Include sub-makefiles.
|
---|
27 | include $(PATH_SUB_CURRENT)/Miniport/Makefile.kmk
|
---|
28 | include $(PATH_SUB_CURRENT)/Display/Makefile.kmk
|
---|
29 |
|
---|
30 | #
|
---|
31 | # Install the inf & cat.
|
---|
32 | # This has to be done here since it depends on both the
|
---|
33 | # miniport driver and the display dll.
|
---|
34 | #
|
---|
35 | INSTALLS += VBoxVideo-inf
|
---|
36 | VBoxVideo-inf_INST = $(INST_ADDITIONS)
|
---|
37 | VBoxVideo-inf_MODE = a+r,u+w
|
---|
38 | #ifndef VBOX_SIGNING_MODE - I'm not going to mess with that install nor break any .inf-files.
|
---|
39 | VBoxVideo-inf_SOURCES = VBoxVideo/VBoxVideo.inf
|
---|
40 | #else
|
---|
41 | #VBoxVideo-inf_SOURCES = \
|
---|
42 | # $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf \
|
---|
43 | # $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat
|
---|
44 | #VBoxVideo-inf_CLEAN += \
|
---|
45 | # $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat \
|
---|
46 | # $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \
|
---|
47 | # $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf
|
---|
48 | #VBoxVideo-inf_BLDDIRS = $(PATH_TARGET)/VBoxVideoCat.dir
|
---|
49 | #
|
---|
50 | #$(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf: $(PATH_SUB_CURRENT)/Miniport/VBoxVideo.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
|
---|
51 | # $(call MSG_GENERATE,VBoxVideo-inf,$@,$<)
|
---|
52 | # $(QUIET2)$(RM) -f $@
|
---|
53 | # $(QUIET)$(SED) -e 's/^\;cat *//' $< > $@
|
---|
54 | #
|
---|
55 | #$(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat: $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf $$(TARGET_VBoxVideo) $$(TARGET_VBoxDisp)
|
---|
56 | # $(call MSG_TOOL,Inf2Cat,VBoxVideo-inf,$@,$<)
|
---|
57 | # $(INSTALL) -m 644 $(TARGET_VBoxVideo) $(@D)
|
---|
58 | # $(INSTALL) -m 644 $(TARGET_VBoxDisp) $(@D)
|
---|
59 | # $(call VBOX_MAKE_CAT32_FN, $(@D),$@)
|
---|
60 | #
|
---|
61 | #endif # signing
|
---|
62 |
|
---|
63 | include $(PATH_KBUILD)/subfooter.kmk
|
---|
64 |
|
---|