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
,shell/source
/win32
/shlxthandler
/res
))
12 $(eval
$(call gb_CustomTarget_register_targets
,shell/source
/win32
/shlxthandler
/res
,\
17 $(call gb_CustomTarget_get_workdir
,shell/source
/win32
/shlxthandler
/res
)/shlxthdl_impl.rc
: \
18 $(call gb_CustomTarget_get_workdir
,shell/source
/win32
/shlxthandler
/res
)/shlxthdl.ulf \
19 $(SRCDIR
)/shell/source
/win32
/shlxthandler
/res
/rcfooter.txt \
20 $(SRCDIR
)/shell/source
/win32
/shlxthandler
/res
/rcheader.txt \
21 $(SRCDIR
)/shell/source
/win32
/shlxthandler
/res
/rctmpl.txt \
22 $(call gb_Executable_get_runtime_dependencies
,lngconvex
)
23 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),LCX
,1)
24 $(call gb_Helper_abbreviate_dirs
,\
25 cd
$(SRCDIR
)/shell/source
/win32
/shlxthandler
/res
&& \
26 BRAND_BASE_DIR
=$(call gb_Helper_make_url
,$(OUTDIR
)/unittest
/install) \
27 $(call gb_Executable_get_command
,lngconvex
) \
34 $(call gb_CustomTarget_get_workdir
,shell/source
/win32
/shlxthandler
/res
)/shlxthdl.ulf
: \
35 $(SRCDIR
)/shell/source
/win32
/shlxthandler
/res
/shlxthdl.ulf \
36 $(call gb_Executable_get_runtime_dependencies
,ulfex
)
37 MERGEINPUT
=`$(gb_MKTEMP)` && \
38 echo
$(foreach lang
,$(gb_TRANS_LANGS
),$(gb_POLOCATION
)/$(lang
)/$(patsubst %/,%,$(subst $(SRCDIR
)/,,$(dir $<))).po
) > $${MERGEINPUT} && \
39 $(call gb_Executable_get_command
,ulfex
) -i
$< -o
$@
-m
$${MERGEINPUT} -l
all && \
42 # vim: set shiftwidth=4 tabstop=4 noexpandtab: