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