1 | # $Id: Makefile.kmk 64923 2016-12-16 18:04:16Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the IPRT tools.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2016 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_ADDITIONS) \
|
---|
44 | && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) \
|
---|
45 | && !defined(VBOX_ONLY_VALIDATIONKIT)
|
---|
46 |
|
---|
47 | # RTManifest is a tool for creating and verifying manifest files.
|
---|
48 | PROGRAMS += RTRm
|
---|
49 | RTRm_TEMPLATE = VBoxR3Tool
|
---|
50 | RTRm_SOURCES = RTRm.cpp
|
---|
51 |
|
---|
52 | # RTManifest is a tool for creating and verifying manifest files.
|
---|
53 | PROGRAMS += RTManifest
|
---|
54 | RTManifest_TEMPLATE = VBoxR3Tool
|
---|
55 | RTManifest_SOURCES = RTManifest.cpp
|
---|
56 |
|
---|
57 | # RTLdrFlt is similar to c++filt, except that it's for VMMR0.r0 stacks.
|
---|
58 | PROGRAMS += RTLdrFlt
|
---|
59 | RTLdrFlt_TEMPLATE = VBoxR3Tool
|
---|
60 | RTLdrFlt_SOURCES = RTLdrFlt.cpp
|
---|
61 |
|
---|
62 | # RTGzip - our gzip clone (for testing the gzip/gunzip streaming code)
|
---|
63 | PROGRAMS += RTGzip
|
---|
64 | RTGzip_TEMPLATE = VBoxR3Tool
|
---|
65 | RTGzip_SOURCES = RTGzip.cpp
|
---|
66 |
|
---|
67 | ifdef VBOX_WITH_LIBCURL
|
---|
68 | # RTHttp - our http/https fetcher (for testing the http client API).
|
---|
69 | PROGRAMS += RTHttp
|
---|
70 | RTHttp_TEMPLATE = VBoxR3Tool
|
---|
71 | RTHttp_SOURCES = RTHttp.cpp
|
---|
72 | endif
|
---|
73 |
|
---|
74 | # RTShutdown - similar (but not identical) to a typical unix shutdown command.
|
---|
75 | PROGRAMS += RTShutdown
|
---|
76 | RTShutdown_TEMPLATE = VBoxR3Tool
|
---|
77 | RTShutdown_SOURCES = RTShutdown.cpp
|
---|
78 |
|
---|
79 | # RTTar - our tar clone (for testing the tar/gzip/gunzip streaming code)
|
---|
80 | PROGRAMS += RTTar
|
---|
81 | RTTar_TEMPLATE = VBoxR3Tool
|
---|
82 | RTTar_SOURCES = RTTar.cpp
|
---|
83 |
|
---|
84 | # RTUnzip - our unzip clone (for testing the unzip streaming code)
|
---|
85 | PROGRAMS += RTUnzip
|
---|
86 | RTUnzip_TEMPLATE = VBoxR3Tool
|
---|
87 | RTUnzip_SOURCES = RTUnzip.cpp
|
---|
88 |
|
---|
89 | # RTNtDbgHelp - our tar clone (for testing the tar/gzip/gunzip streaming code)
|
---|
90 | PROGRAMS.win += RTNtDbgHelp
|
---|
91 | RTNtDbgHelp_TEMPLATE = VBoxR3Tool
|
---|
92 | RTNtDbgHelp_SOURCES = RTNtDbgHelp.cpp
|
---|
93 |
|
---|
94 | # RTDbgSymCache - Symbol cache manager.
|
---|
95 | PROGRAMS += RTDbgSymCache
|
---|
96 | RTDbgSymCache_TEMPLATE = VBoxR3Tool
|
---|
97 | RTDbgSymCache_SOURCES = RTDbgSymCache.cpp
|
---|
98 |
|
---|
99 | # RTSignTool - Signing utility.
|
---|
100 | PROGRAMS += RTSignTool
|
---|
101 | RTSignTool_TEMPLATE = VBoxR3Tool
|
---|
102 | RTSignTool_SOURCES = RTSignTool.cpp
|
---|
103 | RTSignTool_LIBS = $(PATH_STAGE_LIB)/SUPR3$(VBOX_SUFF_LIB)
|
---|
104 |
|
---|
105 | endif # !VBOX_ONLY_EXTPACKS_USE_IMPLIBS
|
---|
106 |
|
---|
107 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
108 |
|
---|