# $Id: Makefile.kmk 6968 2008-02-14 21:03:24Z vboxsync $ ## @file # Sub-Makefile for VBoxManage (the cli frontend). # # # Copyright (C) 2006-2007 innotek GmbH # # 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. # DEPTH ?= ../../../.. SUB_DEPTH = .. include $(PATH_KBUILD)/subheader.kmk PROGRAMS += VBoxManage VBoxManage_TEMPLATE = VBOXMAINCLIENTEXE VBoxManage_DEFS += $(if $(VBOX_WITH_VRDP),VBOX_VRDP,) \ $(if $(VBOX_WITH_ALSA),VBOX_WITH_ALSA,) \ $(if $(VBOX_WITH_PULSE),VBOX_WITH_PULSE,) \ $(if $(VBOX_WITH_E1000),VBOX_WITH_E1000,) VBoxManage_SOURCES = \ VBoxManage.cpp \ VBoxInternalManage.cpp \ VBoxManageSVN.cpp ifndef VBOX_OSE VBoxManage_SOURCES += \ VBoxInternalManageVmdk.cpp endif VBoxManage_LIBS += $(LIB_DDU) # VBoxManageSVN.cpp uses VBOX_SVN_REV. VBoxManageSVN.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV) VBoxManageSVN.cpp_DEPS = $(VBOX_SVN_REV_KMK) include $(PATH_KBUILD)/subfooter.kmk