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