bump product version to 4.1.6.2
[LibreOffice.git] / solenv / gbuild / TargetLocations.mk
bloba5dd8599a1b05d3d9369075422071a7c14a7ae55
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 # outdir target pattern
22 gb_CliLibrary_get_target = $(gb_Helper_OUTDIRLIBDIR)/$(1)$(gb_CliLibrary_EXT)
23 gb_CliNativeLibrary_get_target = $(gb_Helper_OUTDIRLIBDIR)/$(1)$(gb_CliNativeLibrary_EXT)
24 gb_CliUnoApi_get_target = $(gb_Helper_OUTDIRLIBDIR)/$(1)$(gb_CliUnoApi_EXT)
25 gb_ComponentTarget_get_outdir_target = $(OUTDIR)/xml/component/$(1).component
26 gb_ComponentTarget_get_outdir_target_for_build = $(OUTDIR_FOR_BUILD)/xml/component/$(1).component
27 gb_Executable_get_target = $(OUTDIR)/bin/$(1)$(gb_Executable_EXT)
28 gb_Executable_get_target_for_build = $(OUTDIR_FOR_BUILD)/bin/$(1)$(gb_Executable_EXT_for_build)
29 gb_Extension_get_target = $(OUTDIR)/bin/$(1).oxt
30 gb_Pagein_get_outdir_target = $(OUTDIR)/bin/pagein-$(1)
31 gb_PackagePart_get_destinations = \
32 $(INSTDIR) \
33 $(OUTDIR)/bin \
34 $(OUTDIR)/inc \
35 $(OUTDIR)/lib \
36 $(OUTDIR)/par \
37 $(OUTDIR)/pck \
38 $(OUTDIR)/res \
39 $(OUTDIR)/share \
40 $(OUTDIR)/unittest \
41 $(OUTDIR)/xml \
43 gb_InstallScript_get_target = $(OUTDIR)/bin/$(1)$(gb_InstallScript_EXT)
44 gb_PackagePart_get_target = $(OUTDIR)/$(1)
45 gb_Rdb_get_outdir_target = $(OUTDIR)/xml/$(1).rdb
46 gb_Rdb_get_outdir_target_for_build = $(OUTDIR_FOR_BUILD)/xml/$(1).rdb
47 gb_ResTarget_get_outdir_target = $(OUTDIR)/bin/$(1).res
48 gb_ResTarget_get_unittest_target = \
49 $(OUTDIR)/unittest/install/program/resource/$(1).res
50 gb_UnoApi_get_target = $(OUTDIR)/bin/$(1).rdb
51 gb_Jar_get_outdir_target = $(OUTDIR)/bin/$(1).jar
52 gb_Zip_get_outdir_target = $(OUTDIR)/pck/$(1).zip
53 gb_Zip_get_outdir_target_for_build = $(OUTDIR_FOR_BUILD)/pck/$(1).zip
54 # outdir targets: $(1) is path
55 gb_Configuration_registry = $(OUTDIR)/xml/registry
56 gb_XcsTarget_get_outdir_target = \
57 $(gb_Configuration_registry)/schema$(if $(1),/)$(1)
58 gb_XcuDataTarget_get_outdir_target = $(gb_Configuration_registry)/data/$(1)
59 gb_XcuLangpackTarget_get_outdir_target = $(gb_Configuration_registry)/spool/$(1)
60 gb_XcuModuleTarget_get_outdir_target = $(gb_Configuration_registry)/spool/$(1)
63 define gb_Library_get_target
64 $(patsubst $(1):%,$(gb_Library_OUTDIRLOCATION)/%,$(filter $(1):%,$(gb_Library_FILENAMES)))
65 endef
67 define gb_StaticLibrary_get_target
68 $(patsubst $(1):%,$(gb_StaticLibrary_OUTDIRLOCATION)/%,$(filter $(1):%,$(gb_StaticLibrary_FILENAMES)))
69 endef
72 # workdir target patterns
74 gb_AutoInstallLibs_get_target = $(WORKDIR)/AutoInstallLibs/$(1)
75 gb_AllLangHelp_get_target = $(WORKDIR)/AllLangHelp/$(1)
76 gb_AllLangPackage_get_target = $(WORKDIR)/AllLangPackage/$(1)
77 gb_AllLangResTarget_get_target = $(WORKDIR)/AllLangRes/$(1)
78 gb_AsmObject_get_target = $(WORKDIR)/AsmObject/$(1).o
79 gb_CObject_get_target = $(WORKDIR)/CObject/$(1).o
80 gb_GenCObject_get_target = $(WORKDIR)/GenCObject/$(1).o
81 gb_CliAssembly_get_target = $(WORKDIR)/CliAssembly/$(1).done
82 gb_CliAssemblyTarget_get_target = $(WORKDIR)/CliAssemblyTarget/$(1).done
83 gb_CliAssemblyTarget_get_assembly_target = $(WORKDIR)/CliAssemblyTarget/$(1)$(gb_CliAssemblyTarget_POLICYEXT)
84 gb_CliConfigTarget_get_target = $(WORKDIR)/CliConfigTarget/$(1).config
85 gb_CliLibraryTarget_get_target = $(WORKDIR)/CliLibraryTarget/$(1)$(gb_CliLibraryTarget_EXT)
86 gb_CliNativeLibraryTarget_get_external_target = $(WORKDIR)/CliNativeLibraryTarget/$(1).external
87 gb_CliNativeLibraryTarget_get_target = $(WORKDIR)/CliNativeLibraryTarget/$(1)$(gb_CliNativeLibraryTarget_EXT)
88 gb_CliUnoApiTarget_get_target = $(WORKDIR)/CliUnoApiTarget/$(1)$(gb_CliUnoApiTarget_EXT)
89 gb_ComponentTarget_get_target = $(WORKDIR)/ComponentTarget/$(1).component
90 gb_Configuration_get_preparation_target = $(WORKDIR)/Configuration/$(1).prepared
91 gb_CppunitTest_get_target = $(WORKDIR)/CppunitTest/$(1).test
92 gb_CppunitTestFakeExecutable_get_target = \
93 $(OUTDIR)/unittest/install/program/$(1)
94 gb_CustomPackage_get_target = $(WORKDIR)/CustomPackage/$(1).filelist
95 gb_CustomTarget_get_repo_target = $(WORKDIR)/CustomTarget/$(2)_$(1).done
96 gb_CustomTarget_get_target = $(WORKDIR)/CustomTarget/$(1).done
97 gb_CustomTarget_get_workdir = $(WORKDIR)/CustomTarget/$(1)
98 gb_DescriptionTranslateTarget_get_target = $(WORKDIR)/DescriptionTranslateTarget/$(1).xml
99 gb_Dictionary_get_target = $(WORKDIR)/Dictionary/$(1).done
100 gb_CxxObject_get_target = $(WORKDIR)/CxxObject/$(1).o
101 gb_GenCxxObject_get_target = $(WORKDIR)/GenCxxObject/$(1).o
102 gb_Executable_get_external_headers_target = $(WORKDIR)/ExternalHeaders/Executable/$(1)
103 gb_Executable_get_headers_target = $(WORKDIR)/Headers/Executable/$(1)
104 gb_Executable_get_runtime_target = $(WORKDIR_FOR_BUILD)/Executable/$(1).run
105 gb_ExtensionTarget_get_target = $(WORKDIR)/ExtensionTarget/$(1).oxt
106 gb_ExtensionTarget_get_rootdir = $(WORKDIR)/ExtensionTarget/$(1)/root
107 gb_ExtensionTarget_get_workdir = $(WORKDIR)/ExtensionTarget/$(1)
108 gb_ExternalPackage_get_target = $(WORKDIR)/ExternalPackage/$(1)
109 gb_ExternalProject_get_statedir = $(WORKDIR)/ExternalProject/$(1)
110 gb_ExternalProject_get_preparation_target = $(WORKDIR)/ExternalProject/$(1).prepare
111 gb_ExternalProject_get_state_target = $(WORKDIR)/ExternalProject/$(1)/$(2)
112 gb_ExternalProject_get_target = $(WORKDIR)/ExternalProject/$(1).done
113 gb_Gallery_get_target = $(WORKDIR)/Gallery/$(1).done
114 gb_Gallery_get_workdir = $(WORKDIR)/Gallery/$(1)
115 gb_GeneratedPackage_get_target = $(WORKDIR)/GeneratedPackage/$(1).filelist
116 gb_GeneratedPackage_get_target_for_build = $(WORKDIR_FOR_BUILD)/GeneratedPackage/$(1).filelist
117 gb_HelpIndexTarget_get_target = $(WORKDIR)/HelpIndexTarget/$(1).done
118 gb_HelpJarTarget_get_target = $(WORKDIR)/HelpJarTarget/$(1).done
119 gb_HelpLinkTarget_get_preparation_target = $(WORKDIR)/HelpLinkTarget/$(1).prepare
120 gb_HelpLinkTarget_get_target = $(WORKDIR)/HelpLinkTarget/$(1).done
121 gb_HelpTarget_get_filelist = $(WORKDIR)/HelpTarget/$(1).filelist
122 gb_HelpTarget_get_linked_target = $(WORKDIR)/HelpTarget/$(1).translate
123 gb_HelpTarget_get_target = $(WORKDIR)/HelpTarget/$(1).zip
124 gb_HelpTarget_get_translation_target = $(call gb_HelpTarget_get_filelist,$(1))
125 gb_HelpTarget_get_workdir = $(WORKDIR)/HelpTarget/$(1)
126 gb_HelpTranslatePartTarget_get_target = $(WORKDIR)/HelpTranslatePartTarget/$(1)/done
127 gb_HelpTranslatePartTarget_get_translated_target = $(WORKDIR)/HelpTranslatePartTarget/$(1)/$(2).xhp
128 gb_HelpTranslatePartTarget_get_workdir = $(WORKDIR)/HelpTranslatePartTarget/$(1)
129 gb_HelpTranslateTarget_get_target = $(WORKDIR)/HelpTranslateTarget/$(1).done
130 gb_HelpTreeTarget_get_target = $(WORKDIR)/HelpTreeTarget/$(1).tree
131 gb_InstallModule_get_filelist = $(call gb_InstallModuleTarget_get_filelist,$(1))
132 gb_InstallModule_get_target = $(WORKDIR)/InstallModule/$(1).done
133 gb_InstallModuleTarget_get_external_target = $(WORKDIR)/InstallModuleTarget/$(1).external
134 gb_InstallModuleTarget_get_filelist = $(WORKDIR)/InstallModuleTarget/$(1).filelist
135 gb_InstallModuleTarget_get_target = $(WORKDIR)/InstallModuleTarget/$(1).filelist
136 gb_InstallScriptTarget_get_target = $(WORKDIR)/InstallScriptTarget/$(1)$(gb_InstallScript_EXT)
137 gb_InternalUnoApi_get_target = $(WORKDIR)/InternalUnoApi/$(1).done
138 gb_Jar_get_target = $(WORKDIR)/Jar/$(1).jar
139 gb_Jar_get_classsetname = Jar/$(1)
140 gb_JavaClassSet_get_classdir = $(WORKDIR)/JavaClassSet/$(1)
141 gb_JavaClassSet_get_repo_target = $(WORKDIR)/JavaClassSet/$(2)/$(1).done
142 gb_JavaClassSet_get_target = $(WORKDIR)/JavaClassSet/$(1)/done
143 gb_JunitTest_get_classsetname = JunitTest/$(1)
144 gb_JunitTest_get_target = $(WORKDIR)/JunitTest/$(1)/done
145 gb_JunitTest_get_userdir = $(WORKDIR)/JunitTest/$(1)/user
146 gb_PythonTest_get_target = $(WORKDIR)/PythonTest/$(1)/done
147 gb_LinkTarget_get_external_headers_target = $(WORKDIR)/ExternalHeaders/$(1)
148 gb_LinkTarget_get_headers_target = $(WORKDIR)/Headers/$(1)
149 gb_LinkTarget_get_target = $(WORKDIR)/LinkTarget/$(1)
150 gb_LinkTarget_get_objects_list = $(WORKDIR)/LinkTarget/$(1).objectlist
151 gb_Module_get_check_target = $(WORKDIR)/Module/check/$(1)
152 gb_Module_get_slowcheck_target = $(WORKDIR)/Module/slowcheck/$(1)
153 gb_Module_get_subsequentcheck_target = $(WORKDIR)/Module/subsequentcheck/$(1)
154 gb_Module_get_target = $(WORKDIR)/Module/$(1)
155 gb_NoexPrecompiledHeader_get_dep_target = $(WORKDIR)/Dep/NoexPrecompiledHeader/$(gb_NoexPrecompiledHeader_DEBUGDIR)/$(1).hxx.gch.d
156 gb_NoexPrecompiledHeader_get_target = $(WORKDIR)/NoexPrecompiledHeader/$(gb_NoexPrecompiledHeader_DEBUGDIR)/$(1).hxx.gch
157 gb_NoexPrecompiledHeader_get_timestamp = $(WORKDIR)/NoexPrecompiledHeader/$(gb_NoexPrecompiledHeader_DEBUGDIR)/Timestamps/$(1)
158 gb_ObjCxxObject_get_target = $(WORKDIR)/ObjCxxObject/$(1).o
159 gb_ObjCObject_get_target = $(WORKDIR)/ObjCObject/$(1).o
160 gb_Pagein_get_target = $(WORKDIR)/Pagein/$(1)
161 gb_Package_get_preparation_target = $(WORKDIR)/Package/prepared/$(1)
162 gb_Package_get_target = $(WORKDIR)/Package/$(1).filelist
163 gb_Package_get_target_for_build = $(WORKDIR_FOR_BUILD)/Package/$(1).filelist
164 gb_PackageSet_get_target = $(WORKDIR)/PackageSet/$(1).filelist
165 gb_Postprocess_get_target = $(WORKDIR)/Postprocess/$(1)
166 gb_PrecompiledHeader_get_dep_target = $(WORKDIR)/Dep/PrecompiledHeader/$(gb_PrecompiledHeader_DEBUGDIR)/$(1).hxx.gch.d
167 gb_PrecompiledHeader_get_target = $(WORKDIR)/PrecompiledHeader/$(gb_PrecompiledHeader_DEBUGDIR)/$(1).hxx.gch
168 gb_PrecompiledHeader_get_timestamp = $(WORKDIR)/PrecompiledHeader/$(gb_PrecompiledHeader_DEBUGDIR)/Timestamps/$(1)
169 gb_PropertiesTranslateTarget_get_target = $(WORKDIR)/PropertiesTranslateTarget/$(1).properties
170 gb_Pyuno_get_target = $(WORKDIR)/Pyuno/$(1).done
171 gb_Rdb_get_target = $(WORKDIR)/Rdb/$(1).rdb
172 gb_ResTarget_get_imagelist_target = $(WORKDIR)/ResTarget/$(1).ilst
173 gb_ResTarget_get_target = $(WORKDIR)/ResTarget/$(1).res
174 gb_ScpMergeTarget_get_target = $(WORKDIR)/ScpMergeTarget/$(1).ulf
175 gb_ScpPreprocessTarget_get_target = $(WORKDIR)/ScpPreprocessTarget/$(1).pre
176 gb_ScpTarget_get_external_target = $(WORKDIR)/ScpTarget/$(1).external
177 gb_ScpTarget_get_target = $(WORKDIR)/ScpTarget/$(1).par
178 gb_ScpTemplateTarget_get_dir = $(abspath $(WORKDIR)/ScpTemplateTarget/$(dir $(1)))
179 gb_ScpTemplateTarget_get_target = $(abspath $(WORKDIR)/ScpTemplateTarget/$(dir $(1))$(subst pack,modules,$(subst module_,all,$(notdir $(1)))).inc)
180 gb_SdiTarget_get_target = $(WORKDIR)/SdiTarget/$(1)
181 gb_SrsPartMergeTarget_get_target = $(WORKDIR)/SrsPartMergeTarget/$(1)
182 gb_SrsPartTarget_get_target = $(WORKDIR)/SrsPartTarget/$(1)
183 gb_SrsTarget_get_external_headers_target = $(WORKDIR)/ExternalHeaders/SrsTarget/$(1)
184 gb_SrsTarget_get_target = $(WORKDIR)/SrsTarget/$(1).srs
185 gb_SrsTemplatePartTarget_get_target = $(WORKDIR)/SrsTemplatePartTarget/$(firstword $(subst /, ,$(1)))/$(subst _tmpl,,$(notdir $(1)))
186 gb_SrsTemplateTarget_get_include_dir = $(WORKDIR)/SrsTemplatePartTarget/$(firstword $(subst /, ,$(1)))
187 gb_SrsTemplateTarget_get_target = $(WORKDIR)/SrsTemplateTarget/$(1)
188 gb_ThesaurusIndexTarget_get_target = $(WORKDIR)/ThesaurusIndexTarget/$(basename $(1)).idx
189 gb_UIConfig_get_imagelist_target = $(WORKDIR)/UIConfig/$(1).ilst
190 gb_UIConfig_get_target = $(WORKDIR)/UIConfig/$(1).done
191 gb_UIImageListTarget_get_target = $(WORKDIR)/UIImageListTarget/$(1).ilst
192 gb_UILocalizeTarget_get_target = $(WORKDIR)/UILocalizeTarget/$(1).done
193 gb_UILocalizeTarget_get_workdir = $(WORKDIR)/UILocalizeTarget/$(1)
194 gb_UIMenubarTarget_get_target = $(WORKDIR)/UIMenubarTarget/$(1).xml
195 gb_UnoApiTarget_get_target = $(WORKDIR)/UnoApiTarget/$(1).rdb
196 gb_UnoApiHeadersTarget_get_bootstrap_dir = $(WORKDIR)/UnoApiHeadersTarget/$(1)/$(call gb_UnoApiHeadersTarget_select_variant,$(1),bootstrap)
197 gb_UnoApiHeadersTarget_get_comprehensive_dir = $(WORKDIR)/UnoApiHeadersTarget/$(1)/$(call gb_UnoApiHeadersTarget_select_variant,$(1),comprehensive)
198 gb_UnoApiHeadersTarget_get_dir = $(WORKDIR)/UnoApiHeadersTarget/$(1)/$(call gb_UnoApiHeadersTarget_select_variant,$(1),normal)
199 gb_UnoApiHeadersTarget_get_real_bootstrap_dir = $(WORKDIR)/UnoApiHeadersTarget/$(1)/bootstrap
200 gb_UnoApiHeadersTarget_get_real_comprehensive_dir = $(WORKDIR)/UnoApiHeadersTarget/$(1)/comprehensive
201 gb_UnoApiHeadersTarget_get_real_dir = $(WORKDIR)/UnoApiHeadersTarget/$(1)/normal
202 gb_UnoApiHeadersTarget_get_real_bootstrap_target = $(WORKDIR)/UnoApiHeadersTarget/$(1)/bootstrap.done
203 gb_UnoApiHeadersTarget_get_real_comprehensive_target = $(WORKDIR)/UnoApiHeadersTarget/$(1)/comprehensive.done
204 gb_UnoApiHeadersTarget_get_real_target = $(WORKDIR)/UnoApiHeadersTarget/$(1)/normal.done
205 gb_UnoApiHeadersTarget_get_bootstrap_target = $(WORKDIR)/UnoApiHeadersTarget/$(1)/$(call gb_UnoApiHeadersTarget_select_variant,$(1),bootstrap).done
206 gb_UnoApiHeadersTarget_get_comprehensive_target = $(WORKDIR)/UnoApiHeadersTarget/$(1)/$(call gb_UnoApiHeadersTarget_select_variant,$(1),comprehensive).done
207 gb_UnoApiHeadersTarget_get_target = $(WORKDIR)/UnoApiHeadersTarget/$(1)/$(call gb_UnoApiHeadersTarget_select_variant,$(1),normal).done
208 gb_UnoApiPartTarget_get_target = $(WORKDIR)/UnoApiPartTarget/$(1)
209 gb_UnpackedTarball_get_dir = $(WORKDIR)/UnpackedTarball/$(1)
210 gb_UnpackedTarball_get_pristine_dir = $(WORKDIR)/UnpackedTarball/$(1).org
211 gb_UnpackedTarball_get_final_target = $(WORKDIR)/UnpackedTarball/$(1).update
212 # NOTE: the .done target is hardcoded in solenv/bin/concat-deps.c !
213 gb_UnpackedTarball_get_target = $(WORKDIR)/UnpackedTarball/$(1).done
214 gb_UnpackedTarball_get_preparation_target = $(WORKDIR)/UnpackedTarball/$(1).prepare
215 gb_UnpackedTarget_get_target = $(WORKDIR)/UnpackedTarget/$(1)
216 gb_WinResTarget_get_target = $(WORKDIR)/WinResTarget/$(1)$(gb_WinResTarget_POSTFIX)
217 # workdir targets: $(1) is prefix/path
218 gb_Configuration_get_target = $(WORKDIR)/Configuration/$(1).done
219 gb_YaccTarget_get_grammar_target = $(WORKDIR)/YaccTarget/$(1).cxx
220 gb_YaccTarget_get_header_target = $(WORKDIR)/YaccTarget/$(1).hxx
221 gb_YaccTarget_get_target = $(WORKDIR)/YaccTarget/$(1).done
223 gb_LexTarget_get_scanner_target = $(WORKDIR)/LexTarget/$(1).cxx
224 gb_LexTarget_get_target = $(WORKDIR)/LexTarget/$(1).done
226 gb_XcsTarget_get_target = $(WORKDIR)/XcsTarget/$(1)
227 gb_XcuDataTarget_get_target = $(WORKDIR)/XcuDataTarget/$(1)
228 gb_XcuLangpackTarget_get_target = $(WORKDIR)/XcuLangpackTarget/$(1)
229 gb_XcuModuleTarget_get_target = $(WORKDIR)/XcuModuleTarget/$(1)
230 gb_XcuMergeTarget_get_target = $(WORKDIR)/XcuMergeTarget/$(1)
231 gb_XcuResTarget_get_target = $(WORKDIR)/XcuResTarget/$(1)
232 gb_Zip_get_target = $(WORKDIR)/Zip/$(1).zip
233 gb_Zip_get_final_target = $(WORKDIR)/Zip/$(1).done
235 gb_Library__get_final_target = $(WORKDIR)/Dummy/$(1)
237 define gb_Library_get_external_headers_target
238 $(patsubst $(1):%,$(WORKDIR)/ExternalHeaders/Library/%,$(filter $(1):%,$(gb_Library_FILENAMES)))
239 endef
241 define gb_Library_get_headers_target
242 $(patsubst $(1):%,$(WORKDIR)/Headers/Library/%,$(filter $(1):%,$(gb_Library_FILENAMES)))
243 endef
245 define gb_StaticLibrary_get_external_headers_target
246 $(patsubst $(1):%,$(WORKDIR)/ExternalHeaders/StaticLibrary/%,$(filter $(1):%,$(gb_StaticLibrary_FILENAMES)))
247 endef
249 define gb_StaticLibrary_get_headers_target
250 $(patsubst $(1):%,$(WORKDIR)/Headers/StaticLibrary/%,$(filter $(1):%,$(gb_StaticLibrary_FILENAMES)))
251 endef
253 $(eval $(call gb_Helper_make_clean_targets,\
254 AutoInstallLibs \
255 AllLangHelp \
256 AllLangPackage \
257 AllLangResTarget \
258 CliAssembly \
259 CliAssemblyTarget \
260 CliConfigTarget \
261 CliLibraryTarget \
262 CliNativeLibraryTarget \
263 CliUnoApiTarget \
264 ComponentTarget \
265 CustomPackage \
266 DescriptionTranslateTarget \
267 Dictionary \
268 ExternalPackage \
269 ExtensionTarget \
270 Gallery \
271 GeneratedPackage \
272 HelpTarget \
273 HelpIndexTarget \
274 HelpJarTarget \
275 HelpLinkTarget \
276 HelpTranslatePartTarget \
277 HelpTranslateTarget \
278 HelpTreeTarget \
279 InstallModule \
280 InstallModuleTarget \
281 InstallScriptTarget \
282 InternalUnoApi \
283 JavaClassSet \
284 Jar \
285 JunitTest \
286 LinkTarget \
287 Module \
288 NoexPrecompiledHeader \
289 PackagePart \
290 Package \
291 PackageSet \
292 Pagein \
293 PrecompiledHeader \
294 PropertiesTranslateTarget \
295 Pyuno \
296 PythonTest \
297 Rdb \
298 ResTarget \
299 ScpMergeTarget \
300 ScpPreprocessTarget \
301 ScpTarget \
302 ScpTemplateTarget \
303 SdiTarget \
304 SrsTarget \
305 SrsTemplateTarget \
306 ThesaurusIndexTarget \
307 CppunitTest \
308 CppunitTestFakeExecutable \
309 CustomTarget \
310 ExternalProject \
311 UIConfig \
312 UIImageListTarget \
313 UILocalizeTarget \
314 UIMenubarTarget \
315 UnoApiHeadersTarget \
316 UnoApiTarget \
317 UnpackedTarball \
318 UnpackedTarget \
319 WinResTarget \
320 YaccTarget \
321 LexTarget \
322 Zip \
323 XcsTarget \
324 XcuDataTarget \
325 XcuModuleTarget \
326 XcuLangpackTarget \
327 XcuMergeTarget \
328 XcuResTarget \
329 Configuration \
332 $(eval $(call gb_Helper_make_outdir_clean_targets,\
333 CliLibrary \
334 CliNativeLibrary \
335 CliUnoApi \
336 Executable \
337 Extension \
338 InstallScript \
339 Library \
340 StaticLibrary \
341 UnoApi \
344 $(eval $(call gb_Helper_make_dep_targets,\
345 CObject \
346 CxxObject \
347 ObjCObject \
348 ObjCxxObject \
349 AsmObject \
350 GenCObject \
351 GenCxxObject \
352 LinkTarget \
353 SdiTarget \
354 SrsPartTarget \
355 SrsTarget \
356 UnoApiTarget \
357 UnoApiPartTarget \
360 # other getters
362 define gb_Library_get_layer
363 $(patsubst $(1):%,%,$(filter $(1):%,$(gb_Library_LAYER)))
364 endef
366 define gb_Executable_get_layer
367 $(patsubst $(1):%,%,$(filter $(1):%,$(gb_Executable_LAYER)))
368 endef
370 define gb_Library_get_filename
371 $(patsubst $(1):%,%,$(filter $(1):%,$(gb_Library_FILENAMES)))
372 endef
374 define gb_StaticLibrary_get_filename
375 $(patsubst $(1):%,%,$(filter $(1):%,$(gb_StaticLibrary_FILENAMES)))
376 endef
378 # Get dependencies needed for running the executable
380 # This is not strictly necessary, but it makes the use more similar to
381 # ExternalExecutable.
383 # gb_Executable_get_runtime_dependencies executable
384 define gb_Executable_get_runtime_dependencies
385 $(call gb_Executable_get_runtime_target,$(1))
386 endef
388 # Get complete command-line for running the executable
390 # This includes setting library path.
392 # gb_Executable_get_command executable
393 define gb_Executable_get_command
394 $(gb_Helper_set_ld_path) $(2) $(call gb_Executable_get_target_for_build,$(1))
395 endef
397 gb_Executable_get_linktargetname = Executable/$(1)$(gb_Executable_EXT)
398 gb_Library_get_linktargetname = Library/$(call gb_Library_get_filename,$(1))
399 gb_StaticLibrary_get_linktargetname = StaticLibrary/$(call gb_StaticLibrary_get_filename,$(1))
401 # static members declared here because they are used globally
403 gb_Executable_BINDIR = $(WORKDIR)/LinkTarget/Executable
404 gb_Library_OUTDIRLOCATION = $(OUTDIR)/lib
405 gb_Library_DLLDIR = $(WORKDIR)/LinkTarget/Library
406 gb_CppunitTest_DLLDIR = $(WORKDIR)/LinkTarget/CppunitTest
407 gb_StaticLibrary_OUTDIRLOCATION = $(OUTDIR)/lib
409 # static variables declared here because they are used globally
411 gb_POLOCATION := $(SRCDIR)/translations/source
412 gb_EXTERNAL_HEADERS_DIR := $(OUTDIR)/inc/external
414 # vim: set noet sw=4: