1 | # $Id: Makefile.kmk 51809 2014-07-02 13:11:54Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the IPRT tools.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2014 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 | # The contents of this file may alternatively be used under the terms
|
---|
18 | # of the Common Development and Distribution License Version 1.0
|
---|
19 | # (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | # VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | # CDDL are applicable instead of those of the GPL.
|
---|
22 | #
|
---|
23 | # You may elect to license modified versions of this file under the
|
---|
24 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | #
|
---|
26 |
|
---|
27 | SUB_DEPTH = ../../../..
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 |
|
---|
31 | # RTManifest is a tool for creating and verifying manifest files - build version.
|
---|
32 | BLDPROGS += bldRTManifest
|
---|
33 | bldRTManifest_TEMPLATE = VBoxAdvBldProg
|
---|
34 | bldRTManifest_SOURCES = RTManifest.cpp
|
---|
35 |
|
---|
36 | # RTSignTool - Signing utility - build version. Signed on windows so we can get the certificate from it.
|
---|
37 | BLDPROGS += bldRTSignTool
|
---|
38 | bldRTSignTool_TEMPLATE = VBoxAdvBldProg
|
---|
39 | bldRTSignTool_SOURCES = RTSignTool.cpp
|
---|
40 | bldRTSignTool_DEFS = IPRT_IN_BUILD_TOOL
|
---|
41 | bldRTSignTool_POST_CMDS.win = $(VBOX_SIGN_IMAGE_CMDS)
|
---|
42 |
|
---|
43 | if !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) && !defined(VBOX_ONLY_VALIDATIONKIT)
|
---|
44 |
|
---|
45 | # RTManifest is a tool for creating and verifying manifest files.
|
---|
46 | PROGRAMS += RTRm
|
---|
47 | RTRm_TEMPLATE = VBoxR3Tool
|
---|
48 | RTRm_SOURCES = RTRm.cpp
|
---|
49 |
|
---|
50 | # RTManifest is a tool for creating and verifying manifest files.
|
---|
51 | PROGRAMS += RTManifest
|
---|
52 | RTManifest_TEMPLATE = VBoxR3Tool
|
---|
53 | RTManifest_SOURCES = RTManifest.cpp
|
---|
54 |
|
---|
55 | # RTLdrFlt is similar to c++filt, except that it's for VMMR0.r0 stacks.
|
---|
56 | PROGRAMS += RTLdrFlt
|
---|
57 | RTLdrFlt_TEMPLATE = VBoxR3Tool
|
---|
58 | RTLdrFlt_SOURCES = RTLdrFlt.cpp
|
---|
59 |
|
---|
60 | # RTGzip - our gzip clone (for testing the gzip/gunzip streaming code)
|
---|
61 | PROGRAMS += RTGzip
|
---|
62 | RTGzip_TEMPLATE = VBoxR3Tool
|
---|
63 | RTGzip_SOURCES = RTGzip.cpp
|
---|
64 |
|
---|
65 | # RTShutdown - similar (but not identical) to a typical unix shutdown command.
|
---|
66 | PROGRAMS += RTShutdown
|
---|
67 | RTShutdown_TEMPLATE = VBoxR3Tool
|
---|
68 | RTShutdown_SOURCES = RTShutdown.cpp
|
---|
69 |
|
---|
70 | # RTTar - our tar clone (for testing the tar/gzip/gunzip streaming code)
|
---|
71 | PROGRAMS += RTTar
|
---|
72 | RTTar_TEMPLATE = VBoxR3Tool
|
---|
73 | RTTar_SOURCES = RTTar.cpp
|
---|
74 |
|
---|
75 | # RTUnzip - our unzip clone (for testing the unzip streaming code)
|
---|
76 | PROGRAMS += RTUnzip
|
---|
77 | RTUnzip_TEMPLATE = VBoxR3Tool
|
---|
78 | RTUnzip_SOURCES = RTUnzip.cpp
|
---|
79 |
|
---|
80 | # RTNtDbgHelp - our tar clone (for testing the tar/gzip/gunzip streaming code)
|
---|
81 | PROGRAMS.win += RTNtDbgHelp
|
---|
82 | RTNtDbgHelp_TEMPLATE = VBoxR3Tool
|
---|
83 | RTNtDbgHelp_SOURCES = RTNtDbgHelp.cpp
|
---|
84 |
|
---|
85 | # RTDbgSymCache - Symbol cache manager.
|
---|
86 | PROGRAMS += RTDbgSymCache
|
---|
87 | RTDbgSymCache_TEMPLATE = VBoxR3Tool
|
---|
88 | RTDbgSymCache_SOURCES = RTDbgSymCache.cpp
|
---|
89 |
|
---|
90 | # RTSignTool - Signing utility.
|
---|
91 | PROGRAMS += RTSignTool
|
---|
92 | RTSignTool_TEMPLATE = VBoxR3Tool
|
---|
93 | RTSignTool_SOURCES = RTSignTool.cpp
|
---|
94 | RTSignTool_LIBS = $(PATH_STAGE_LIB)/SUPR3$(VBOX_SUFF_LIB)
|
---|
95 |
|
---|
96 | endif # !VBOX_ONLY_EXTPACKS_USE_IMPLIBS
|
---|
97 |
|
---|
98 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
99 |
|
---|