Version 4.2.0.1, tag libreoffice-4.2.0.1
[LibreOffice.git] / sal / Executable_osl_process_child.mk
blob3f698131890d0ebecc19be13fc58d58ba7620b6c
1 # -*- Mode: makefile; 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 \
17 $(gb_UWINAPI) \
20 $(eval $(call gb_Executable_add_exception_objects,osl_process_child,\
21 sal/qa/osl/process/osl_process_child \
24 # Also this batch file is required by sal_osl_process.
25 # See qa/osl/process/osl_process.cxx:675
26 ifeq ($(OS),WNT)
27 sal_BATCH_FILE := batch.bat
28 else
29 sal_BATCH_FILE := batch.sh
30 endif
32 $(call gb_Executable_get_target,osl_process_child) : \
33 $(WORKDIR)/LinkTarget/Executable/$(sal_BATCH_FILE)
35 $(WORKDIR)/LinkTarget/Executable/$(sal_BATCH_FILE) : \
36 $(SRCDIR)/sal/qa/osl/process/$(sal_BATCH_FILE)
37 mkdir -p $(dir $@) && \
38 $(call gb_Deliver_deliver,$<,$@)
40 $(call gb_Executable_get_clean_target,osl_process_child) :
41 rm -f $(WORKDIR)/LinkTarget/Executable/$(sal_BATCH_FILE)
43 # vim: set noet sw=4 ts=4: