Makefile.kmk revision 93809b1d982cee7c0c691c0dee1ebe8ad37dbdfe
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# $Id$
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync## @file
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# Sub-Makefile for the Windows guest graphics driver.
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync#
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync#
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync#
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# available from http://www.virtualbox.org. This file is free software;
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# you can redistribute it and/or modify it under the terms of the GNU
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# General Public License (GPL) as published by the Free Software
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync#
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# additional information or have any questions.
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync#
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncifdef VBOX_SINGLE_MAKEFILE
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncSUB_DEPTH = ../../../../..
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncelse
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncDEPTH ?= ../../../../..
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncSUB_DEPTH = ../..
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncendif
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# Include sub-makefiles.
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncinclude $(PATH_SUB_CURRENT)/Miniport/Makefile.kmk
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncinclude $(PATH_SUB_CURRENT)/Display/Makefile.kmk
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncinclude $(PATH_SUB_CURRENT)/OpenGL/Makefile.kmk
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync#
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# Install the inf & cat.
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# This has to be done here since it depends on both the
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync# miniport driver and the display dll.
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync#
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncINSTALLS += VBoxVideo-inf
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncVBoxVideo-inf_INST = $(INST_ADDITIONS)
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncVBoxVideo-inf_MODE = a+r,u+w
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncVBoxVideo-inf_SOURCES = \
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncifdef VBOX_SIGN_ADDITIONS
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncVBoxVideo-inf_SOURCES += \
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll \
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncendif # signing
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncVBoxVideo-inf_CLEAN = $(VBoxVideo-inf_SOURCES)
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncVBoxVideo-inf_BLDDIRS = \
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(PATH_TARGET)/VBoxVideoCat.dir
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync$(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf: $(PATH_SUB_CURRENT)/Miniport/VBoxVideo.inf $(MAKEFILE_CURRENT) | $$(call DIRDEP,$$(@D))
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(call MSG_GENERATE,VBoxVideo-inf,$@,$<)
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(call VBOX_EDIT_INF_FN,$<,$@)
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync$(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(TARGET_VBoxVideo) | $$(call DIRDEP,$$(@D))
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(INSTALL) -m 644 $< $(@D)
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync$(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(TARGET_VBoxDisp) | $$(call DIRDEP,$$(@D))
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(INSTALL) -m 644 $< $(@D)
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync$(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.cat: \
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.inf \
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys \
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(call MSG_TOOL,Inf2Cat,VBoxVideo-inf,$@,$<)
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync $(call VBOX_MAKE_CAT_FN, $(@D),$@)
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync
316572fd6bf59ec1038f0476f6536fc10163beebvboxsync