VirtualBox

source: vbox/trunk/src/VBox/Runtime/tools/Makefile.kmk@ 68813

最後變更 在這個檔案從68813是 68813,由 vboxsync 提交於 8 年 前

IPRT: Added ISO maker tool frontend (will use for building later). Started documenting its usage. Implemented a couple of compatibility options.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 4.8 KB
 
1# $Id: Makefile.kmk 68813 2017-09-21 19:53:07Z 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.alldomusa.eu.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
27SUB_DEPTH = ../../../..
28include $(KBUILD_PATH)/subheader.kmk
29
30
31# RTIsoMaker - ISO image maker - build version.
32BLDPROGS += bldRTIsoMaker
33bldRTIsoMaker_TEMPLATE = VBoxAdvBldProg
34bldRTIsoMaker_SOURCES = \
35 RTIsoMaker.cpp \
36 ../common/misc/buildconfig.cpp
37bldRTIsoMaker_DEFS = \
38 IPRT_BLDCFG_SCM_REV=$(if $(VBOX_SVN_REV_FALLBACK),$(VBOX_SVN_REV_FALLBACK),$(VBOX_SVN_REV)) \
39 IPRT_BLDCFG_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \
40 IPRT_BLDCFG_VERSION_MAJOR=$(VBOX_VERSION_MAJOR) \
41 IPRT_BLDCFG_VERSION_MINOR=$(VBOX_VERSION_MINOR) \
42 IPRT_BLDCFG_VERSION_BUILD=$(VBOX_VERSION_BUILD) \
43 IPRT_BLDCFG_TARGET=\"$(KBUILD_TARGET)\" \
44 IPRT_BLDCFG_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\" \
45 IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\"
46bldRTIsoMaker_INCS = ../include
47
48# RTManifest is a tool for creating and verifying manifest files - build version.
49BLDPROGS += bldRTManifest
50bldRTManifest_TEMPLATE = VBoxAdvBldProg
51bldRTManifest_SOURCES = RTManifest.cpp
52
53# RTSignTool - Signing utility - build version. Signed on windows so we can get the certificate from it.
54BLDPROGS += bldRTSignTool
55bldRTSignTool_TEMPLATE = VBoxAdvBldProg
56bldRTSignTool_SOURCES = RTSignTool.cpp
57bldRTSignTool_DEFS = IPRT_IN_BUILD_TOOL
58bldRTSignTool_POST_CMDS.win = $(VBOX_SIGN_IMAGE_CMDS)
59
60if !defined(VBOX_ONLY_ADDITIONS) \
61 && !defined(VBOX_ONLY_EXTPACKS_USE_IMPLIBS) \
62 && !defined(VBOX_ONLY_VALIDATIONKIT)
63
64 # RTCat is a tool for displaying files.
65 PROGRAMS += RTCat
66 RTCat_TEMPLATE = VBoxR3Tool
67 RTCat_SOURCES = RTCat.cpp
68
69 # RTIsoMaker - ISO image maker - build version.
70 PROGRAMS += RTIsoMaker
71 RTIsoMaker_TEMPLATE = VBoxR3Tool
72 RTIsoMaker_SOURCES = RTIsoMaker.cpp
73
74 # RTLs is a tool for listing file information.
75 PROGRAMS += RTLs
76 RTLs_TEMPLATE = VBoxR3Tool
77 RTLs_SOURCES = RTLs.cpp
78
79 # RTRm is a tool for removing files and directories.
80 PROGRAMS += RTRm
81 RTRm_TEMPLATE = VBoxR3Tool
82 RTRm_SOURCES = RTRm.cpp
83
84 # RTManifest is a tool for creating and verifying manifest files.
85 PROGRAMS += RTManifest
86 RTManifest_TEMPLATE = VBoxR3Tool
87 RTManifest_SOURCES = RTManifest.cpp
88
89 # RTLdrFlt is similar to c++filt, except that it's for VMMR0.r0 stacks.
90 PROGRAMS += RTLdrFlt
91 RTLdrFlt_TEMPLATE = VBoxR3Tool
92 RTLdrFlt_SOURCES = RTLdrFlt.cpp
93
94 # RTGzip - our gzip clone (for testing the gzip/gunzip streaming code)
95 PROGRAMS += RTGzip
96 RTGzip_TEMPLATE = VBoxR3Tool
97 RTGzip_SOURCES = RTGzip.cpp
98
99 ifdef VBOX_WITH_LIBCURL
100 # RTHttp - our http/https fetcher (for testing the http client API).
101 PROGRAMS += RTHttp
102 RTHttp_TEMPLATE = VBoxR3Tool
103 RTHttp_SOURCES = RTHttp.cpp
104 endif
105
106 # RTShutdown - similar (but not identical) to a typical unix shutdown command.
107 PROGRAMS += RTShutdown
108 RTShutdown_TEMPLATE = VBoxR3Tool
109 RTShutdown_SOURCES = RTShutdown.cpp
110
111 # RTTar - our tar clone (for testing the tar/gzip/gunzip streaming code)
112 PROGRAMS += RTTar
113 RTTar_TEMPLATE = VBoxR3Tool
114 RTTar_SOURCES = RTTar.cpp
115
116 # RTUnzip - our unzip clone (for testing the unzip streaming code)
117 PROGRAMS += RTUnzip
118 RTUnzip_TEMPLATE = VBoxR3Tool
119 RTUnzip_SOURCES = RTUnzip.cpp
120
121 # RTNtDbgHelp - our tar clone (for testing the tar/gzip/gunzip streaming code)
122 PROGRAMS.win += RTNtDbgHelp
123 RTNtDbgHelp_TEMPLATE = VBoxR3Tool
124 RTNtDbgHelp_SOURCES = RTNtDbgHelp.cpp
125
126 # RTDbgSymCache - Symbol cache manager.
127 PROGRAMS += RTDbgSymCache
128 RTDbgSymCache_TEMPLATE = VBoxR3Tool
129 RTDbgSymCache_SOURCES = RTDbgSymCache.cpp
130
131 # RTSignTool - Signing utility.
132 PROGRAMS += RTSignTool
133 RTSignTool_TEMPLATE = VBoxR3Tool
134 RTSignTool_SOURCES = RTSignTool.cpp
135 RTSignTool_LIBS = $(PATH_STAGE_LIB)/SUPR3$(VBOX_SUFF_LIB)
136
137 if1of ($(KBUILD_TARGET), darwin linux solaris win)
138 # RTKrnlModInfo - our lsmod/kextstat clone (for testing the RTKrnlMod code).
139 PROGRAMS += RTKrnlModInfo
140 RTKrnlModInfo_TEMPLATE = VBoxR3Tool
141 RTKrnlModInfo_SOURCES = RTKrnlModInfo.cpp
142 endif
143
144endif # !VBOX_ONLY_EXTPACKS_USE_IMPLIBS
145
146include $(FILE_KBUILD_SUB_FOOTER)
147
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette