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
,\
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
27 sal_BATCH_FILE
:= batch.bat
29 sal_BATCH_FILE
:= batch.sh
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: