2012-04-28 13:48:14 -05:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2013-04-19 15:10:42 -05:00
|
|
|
# This file is part of the LibreOffice project.
|
2012-04-28 13:48:14 -05:00
|
|
|
#
|
2013-04-19 15:10:42 -05:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2012-04-28 13:48:14 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_CustomTarget_CustomTarget,shell/source/win32/shlxthandler/res))
|
|
|
|
|
2013-02-13 03:59:09 -06:00
|
|
|
$(eval $(call gb_CustomTarget_register_targets,shell/source/win32/shlxthandler/res,\
|
|
|
|
shlxthdl.ulf \
|
|
|
|
shlxthdl_impl.rc \
|
|
|
|
))
|
|
|
|
|
2012-04-28 13:48:14 -05:00
|
|
|
$(call gb_CustomTarget_get_workdir,shell/source/win32/shlxthandler/res)/shlxthdl_impl.rc : \
|
2013-02-13 04:06:36 -06:00
|
|
|
$(call gb_CustomTarget_get_workdir,shell/source/win32/shlxthandler/res)/shlxthdl.ulf \
|
|
|
|
$(SRCDIR)/shell/source/win32/shlxthandler/res/rcfooter.txt \
|
|
|
|
$(SRCDIR)/shell/source/win32/shlxthandler/res/rcheader.txt \
|
|
|
|
$(SRCDIR)/shell/source/win32/shlxthandler/res/rctmpl.txt \
|
|
|
|
$(call gb_Executable_get_runtime_dependencies,lngconvex)
|
2012-04-28 13:48:14 -05:00
|
|
|
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),LCX,1)
|
2012-05-25 11:37:02 -05:00
|
|
|
$(call gb_Helper_abbreviate_dirs,\
|
2012-04-28 13:48:14 -05:00
|
|
|
cd $(SRCDIR)/shell/source/win32/shlxthandler/res && \
|
2013-10-28 17:16:52 -05:00
|
|
|
BRAND_BASE_DIR=$(call gb_Helper_make_url,$(INSTROOT)) \
|
2012-12-30 05:27:04 -06:00
|
|
|
$(call gb_Executable_get_command,lngconvex) \
|
2013-02-13 03:59:09 -06:00
|
|
|
-ulf $< \
|
2012-04-28 13:48:14 -05:00
|
|
|
-rc $@ \
|
|
|
|
-rct rctmpl.txt \
|
|
|
|
-rch rcheader.txt \
|
|
|
|
-rcf rcfooter.txt)
|
|
|
|
|
2013-07-16 07:54:04 -05:00
|
|
|
$(eval $(call gb_CustomTarget_ulfex_rule,\
|
|
|
|
$(call gb_CustomTarget_get_workdir,shell/source/win32/shlxthandler/res)/shlxthdl.ulf,\
|
|
|
|
$(SRCDIR)/shell/source/win32/shlxthandler/res/shlxthdl.ulf,\
|
|
|
|
$(foreach lang,$(gb_TRANS_LANGS),\
|
|
|
|
$(gb_POLOCATION)/$(lang)/shell/source/win32/shlxthandler/res.po)))
|
2013-02-13 03:59:09 -06:00
|
|
|
|
2012-04-28 13:48:14 -05:00
|
|
|
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
|