1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
3 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License or as specified alternatively below. You may obtain a copy of
8 # the License at http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
15 # Major Contributor(s):
16 # Copyright (C) 2012 Matúš Kukan <matus.kukan@gmail.com> (initial developer)
18 # All Rights Reserved.
20 # For minor contributions see the git repository.
22 # Alternatively, the contents of this file may be used under the terms of
23 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
24 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
25 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
26 # instead of those above.
28 # This executable is required only by sal_osl_process test.
29 # See qa/osl/process/osl_process.cxx:411
30 $(eval
$(call gb_Executable_Executable
,osl_process_child
))
32 $(eval
$(call gb_Executable_use_libraries
,osl_process_child
,\
37 $(eval
$(call gb_Executable_add_exception_objects
,osl_process_child
,\
38 sal
/qa
/osl
/process
/osl_process_child \
41 # Also this batch file is required by sal_osl_process.
42 # See qa/osl/process/osl_process.cxx:675
44 sal_BATCH_FILE
:= batch.bat
46 sal_BATCH_FILE
:= batch.sh
49 $(call gb_Executable_get_target
,osl_process_child
) : \
50 $(WORKDIR
)/LinkTarget
/Executable
/$(sal_BATCH_FILE
)
52 $(WORKDIR
)/LinkTarget
/Executable
/$(sal_BATCH_FILE
) : \
53 $(SRCDIR
)/sal
/qa
/osl
/process
/$(sal_BATCH_FILE
)
54 mkdir
-p
$(dir $@
) && \
55 $(call gb_Deliver_deliver
,$<,$@
)
57 $(call gb_Executable_get_clean_target
,osl_process_child
) :
58 rm -f
$(WORKDIR
)/LinkTarget
/Executable
/$(sal_BATCH_FILE
)
60 # vim: set noet sw=4 ts=4: