Avoid potential negative array index access to cached text.
[LibreOffice.git] / sal / Executable_osl_process_child.mk
blobf64f9460541fe16d64829db638f90747c602a0ab
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 # This executable is required only by sal_osl_process test.
12 # See qa/osl/process/osl_process.cxx:411
13 $(eval $(call gb_Executable_Executable,osl_process_child))
15 $(eval $(call gb_Executable_use_libraries,osl_process_child,\
16 sal \
19 $(eval $(call gb_Executable_add_exception_objects,osl_process_child,\
20 sal/qa/osl/process/osl_process_child \
23 # Also this batch file is required by sal_osl_process.
24 # See qa/osl/process/osl_process.cxx:675
25 ifeq ($(OS),WNT)
26 sal_BATCH_FILE := batch.bat
27 else
28 sal_BATCH_FILE := batch.sh
29 endif
31 $(call gb_Executable_get_target,osl_process_child) : \
32 $(WORKDIR)/LinkTarget/Executable/$(sal_BATCH_FILE)
34 $(WORKDIR)/LinkTarget/Executable/$(sal_BATCH_FILE) : \
35 $(SRCDIR)/sal/qa/osl/process/$(sal_BATCH_FILE)
36 mkdir -p $(dir $@) && \
37 $(call gb_Deliver_deliver,$<,$@)
39 $(call gb_Executable_get_clean_target,osl_process_child) :
40 rm -f $(WORKDIR)/LinkTarget/Executable/$(sal_BATCH_FILE)
42 # vim: set noet sw=4 ts=4: