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 |
|
---|
18 | SUB_DEPTH = ../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | BLDPROGS += bin2c biossums filesplitter VBoxCmp
|
---|
22 |
|
---|
23 | bin2c_TEMPLATE = VBOXBLDPROG
|
---|
24 | bin2c_SOURCES = bin2c.c
|
---|
25 |
|
---|
26 | biossums_TEMPLATE = VBOXBLDPROG
|
---|
27 | biossums_SOURCES = biossums.c
|
---|
28 |
|
---|
29 | filesplitter_TEMPLATE = VBOXBLDPROG
|
---|
30 | filesplitter_SOURCES = filesplitter.cpp
|
---|
31 |
|
---|
32 | VBoxCmp_TEMPLATE = VBOXBLDPROG
|
---|
33 | VBoxCmp_SOURCES = VBoxCmp.cpp
|
---|
34 |
|
---|
35 | ifndef 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
|
---|
50 | endif
|
---|
51 |
|
---|
52 | if !defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_EXTPACKS)
|
---|
53 | BLDPROGS += VBoxTpG
|
---|
54 | VBoxTpG_TEMPLATE = VBoxAdvBldProg
|
---|
55 | VBoxTpG_SOURCES = \
|
---|
56 | VBoxTpG.cpp \
|
---|
57 | scmstream.cpp
|
---|
58 | endif
|
---|
59 |
|
---|
60 | BLDPROGS.win += VBoxPeSetVersion
|
---|
61 | VBoxPeSetVersion_TEMPLATE = VBOXBLDPROG
|
---|
62 | VBoxPeSetVersion_SOURCES = VBoxPeSetVersion.cpp
|
---|
63 |
|
---|
64 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
65 |
|
---|