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/.
10 $(eval
$(call gb_CustomTarget_CustomTarget
,crashrep
/source
/win32
))
12 $(eval
$(call gb_CustomTarget_register_targets
,crashrep
/source
/win32
, \
17 $(call gb_CustomTarget_get_workdir
,crashrep
/source
/win32
)/crashrep_impl.rc
: \
18 $(call gb_CustomTarget_get_workdir
,crashrep
/source
/win32
)/crashrep.ulf \
19 $(SRCDIR
)/crashrep
/source
/win32
/rcfooter.txt \
20 $(SRCDIR
)/crashrep
/source
/win32
/rcheader.txt \
21 $(SRCDIR
)/crashrep
/source
/win32
/rctemplate.txt \
22 $(call gb_Executable_get_runtime_dependencies
,lngconvex
)
24 $(call gb_CustomTarget_get_workdir
,crashrep
/source
/win32
)/crashrep_impl.rc
:
25 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),LCX
,1)
26 $(call gb_Helper_abbreviate_dirs
,\
27 cd
$(SRCDIR
)/crashrep
/source
/win32
&& \
28 $(call gb_Executable_get_command
,lngconvex
) \
35 $(eval
$(call gb_CustomTarget_ulfex_rule
,\
36 $(call gb_CustomTarget_get_workdir
,crashrep
/source
/win32
)/crashrep.ulf
,\
37 $(SRCDIR
)/crashrep
/source
/win32
/crashrep.ulf
,\
38 $(foreach lang
,$(gb_TRANS_LANGS
),\
39 $(gb_POLOCATION
)/$(lang
)/crashrep
/source
/win32.po
)))
41 # vim: set shiftwidth=4 tabstop=4 noexpandtab: