Makefile.kmk revision 09adec8e01007b8e5e793193636d18e1182ea21b
# $Id$
## @file
# Sub-Makefile for various generic build tools (there is currently only one of them).
#
#
# Copyright (C) 2006-2012 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
BLDPROGS += bin2c biossums filesplitter VBoxCmp
bin2c_TEMPLATE = VBOXBLDPROG
bin2c_SOURCES = bin2c.c
biossums_TEMPLATE = VBOXBLDPROG
biossums_SOURCES = biossums.c
filesplitter_TEMPLATE = VBOXBLDPROG
filesplitter_SOURCES = filesplitter.cpp
VBoxCmp_TEMPLATE = VBOXBLDPROG
VBoxCmp_SOURCES = VBoxCmp.cpp
ifndef VBOX_ONLY_BUILD
BLDPROGS += scm
scm_TEMPLATE = VBoxAdvBldProg
scm_SOURCES = \
scm.cpp \
scmdiff.cpp \
scmrw.cpp \
scmstream.cpp \
scmsubversion.cpp
BLDPROGS += VBoxCPP
VBoxCPP_TEMPLATE = VBoxAdvBldProg
VBoxCPP_SOURCES = \
VBoxCPP.cpp \
scmstream.cpp
endif
if !defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_EXTPACKS)
BLDPROGS += VBoxTpG
VBoxTpG_TEMPLATE = VBoxAdvBldProg
VBoxTpG_SOURCES = \
VBoxTpG.cpp \
scmstream.cpp
endif
BLDPROGS.win += VBoxPeSetVersion
VBoxPeSetVersion_TEMPLATE = VBOXBLDPROG
VBoxPeSetVersion_SOURCES = VBoxPeSetVersion.cpp
BLDPROGS.win += VBoxDef2LazyLoad
VBoxDef2LazyLoad_TEMPLATE = VBOXBLDPROG
VBoxDef2LazyLoad_SOURCES = VBoxDef2LazyLoad.cpp
include $(FILE_KBUILD_SUB_FOOTER)