# $Id: Makefile.kmk 32112 2010-08-31 08:44:09Z vboxsync $ ## @file # Sub-Makefile for VBoxInstallHelper.dll. # # # Copyright (C) 2008-2010 Oracle Corporation # # This file is part of VirtualBox Open Source Edition (OSE), as # available from http://www.virtualbox.org. This file is free software; # you can redistribute it and/or modify it under the terms of the GNU # General Public License (GPL) as published by the Free Software # Foundation, in version 2 as it comes in the "COPYING" file of the # VirtualBox OSE distribution. VirtualBox OSE is distributed in the # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. # SUB_DEPTH = ../../../../.. include $(KBUILD_PATH)/subheader.kmk DLLS += VBoxInstallHelper VBoxInstallHelper_TEMPLATE = VBOXR3STATIC VBoxInstallHelper_DEFS = _WIN32_WINNT=0x0501 _UNICODE UNICODE VBoxInstallHelper_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV) VBoxInstallHelper_DEPS = $(VBOX_SVN_REV_KMK) ifdef VBOX_WITH_NETFLT VBoxInstallHelper_DEFS += VBOX_WITH_NETFLT=1 endif VBoxInstallHelper_SOURCES = \ VBoxInstallHelper.cpp \ VBoxInstallHelper.def \ VBoxCommon.cpp ifndef VBOX_OSE VBoxInstallHelper_SOURCES += internal/VBoxSerial.cpp endif VBoxInstallHelper_SDKS = WINPSDK W2K3DDK VBoxInstallHelper_LIBS = $(PATH_SDK_W2K3DDK_LIB)/Msi.lib ifdef VBOX_WITH_NETFLT VBoxInstallHelper_LIBS += $(PATH_LIB)/WinNetConfig.lib \ $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/comsupp.lib \ $(PATH_SDK_WINPSDK_LIB)/WbemUuid.Lib endif ifeq ($(KBUILD_TARGET),win) ifdef VBOX_WITH_TESTCASES ifndef VBOX_OSE include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk endif endif endif include $(KBUILD_PATH)/subfooter.kmk