Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / shell / CustomTarget_shlxthdl_res.mk
blobabcdfa0a8f82c161b97879aef882cb7d75852876
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,\
13 shlxthdl.ulf \
14 shlxthdl_impl.rc \
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,$(INSTROOT)) \
27 $(call gb_Executable_get_command,lngconvex) \
28 -ulf $< \
29 -rc $@ \
30 -rct rctmpl.txt \
31 -rch rcheader.txt \
32 -rcf rcfooter.txt)
34 $(eval $(call gb_CustomTarget_ulfex_rule,\
35 $(call gb_CustomTarget_get_workdir,shell/source/win32/shlxthandler/res)/shlxthdl.ulf,\
36 $(SRCDIR)/shell/source/win32/shlxthandler/res/shlxthdl.ulf,\
37 $(foreach lang,$(gb_TRANS_LANGS),\
38 $(gb_POLOCATION)/$(lang)/shell/source/win32/shlxthandler/res.po)))
40 # vim: set shiftwidth=4 tabstop=4 noexpandtab: