VirtualBox

source: vbox/trunk/src/bldprogs/Makefile.kmk@ 43421

Last change on this file since 43421 was 42269, checked in by vboxsync, 12 years ago

New makefile variable VBOX_ONLY_BUILD which get set when any of the VBOX_ONLY_* variables are set. Extpack build fix.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.6 KB
Line 
1# $Id: Makefile.kmk 42269 2012-07-20 14:37:15Z vboxsync $
2## @file
3# Sub-Makefile for various generic build tools (there is currently only one of them).
4#
5
6#
7# Copyright (C) 2006-2012 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../..
19include $(KBUILD_PATH)/subheader.kmk
20
21BLDPROGS += bin2c biossums filesplitter VBoxCmp
22
23bin2c_TEMPLATE = VBOXBLDPROG
24bin2c_SOURCES = bin2c.c
25
26biossums_TEMPLATE = VBOXBLDPROG
27biossums_SOURCES = biossums.c
28
29filesplitter_TEMPLATE = VBOXBLDPROG
30filesplitter_SOURCES = filesplitter.cpp
31
32VBoxCmp_TEMPLATE = VBOXBLDPROG
33VBoxCmp_SOURCES = VBoxCmp.cpp
34
35ifndef VBOX_ONLY_BUILD
36 BLDPROGS += scm
37 scm_TEMPLATE = VBoxAdvBldProg
38 scm_SOURCES = \
39 scm.cpp \
40 scmdiff.cpp \
41 scmrw.cpp \
42 scmstream.cpp \
43 scmsubversion.cpp
44
45 BLDPROGS += VBoxCPP
46 VBoxCPP_TEMPLATE = VBoxAdvBldProg
47 VBoxCPP_SOURCES = \
48 VBoxCPP.cpp \
49 scmstream.cpp
50endif
51
52if !defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_EXTPACKS)
53 BLDPROGS += VBoxTpG
54 VBoxTpG_TEMPLATE = VBoxAdvBldProg
55 VBoxTpG_SOURCES = \
56 VBoxTpG.cpp \
57 scmstream.cpp
58endif
59
60BLDPROGS.win += VBoxPeSetVersion
61VBoxPeSetVersion_TEMPLATE = VBOXBLDPROG
62VBoxPeSetVersion_SOURCES = VBoxPeSetVersion.cpp
63
64include $(FILE_KBUILD_SUB_FOOTER)
65
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use