2010-04-30 14:27:17 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2011-01-25 11:19:55 -06:00
|
|
|
# Copyright 2000, 2011 Oracle and/or its affiliates.
|
2010-04-30 14:27:17 -05:00
|
|
|
#
|
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
|
|
|
#
|
|
|
|
# This file is part of OpenOffice.org.
|
|
|
|
#
|
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
|
|
|
#
|
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2011-01-25 11:19:55 -06:00
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2010-04-30 14:27:17 -05:00
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
2011-01-25 11:19:55 -06:00
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
2010-04-30 14:27:17 -05:00
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
$(eval $(call gb_AllLangResTarget_AllLangResTarget,svx))
|
|
|
|
|
|
|
|
$(eval $(call gb_AllLangResTarget_set_reslocation,svx,svx))
|
|
|
|
|
|
|
|
$(eval $(call gb_AllLangResTarget_add_srs,svx,\
|
|
|
|
svx/res \
|
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_SrsTarget_SrsTarget,svx/res))
|
|
|
|
|
|
|
|
$(eval $(call gb_SrsTarget_set_include,svx/res,\
|
|
|
|
$$(INCLUDE) \
|
|
|
|
-I$(OUTDIR)/inc \
|
|
|
|
-I$(WORKDIR)/inc \
|
2011-01-19 06:21:26 -06:00
|
|
|
-I$(WORKDIR)/inc/svx \
|
2011-03-18 04:55:31 -05:00
|
|
|
-I$(realpath $(SRCDIR)/svx/source/inc) \
|
|
|
|
-I$(realpath $(SRCDIR)/svx/source/dialog) \
|
|
|
|
-I$(realpath $(SRCDIR)/svx/inc/) \
|
2010-04-30 14:27:17 -05:00
|
|
|
))
|
|
|
|
|
|
|
|
$(eval $(call gb_SrsTarget_add_files,svx/res,\
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/accessibility/accessibility.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/dialog/bmpmask.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/dialog/contdlg.src \
|
|
|
|
svx/source/dialog/ctredlin.src \
|
|
|
|
svx/source/dialog/dlgctrl.src \
|
|
|
|
svx/source/dialog/docrecovery.src \
|
|
|
|
svx/source/dialog/fontwork.src \
|
|
|
|
svx/source/dialog/frmsel.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/dialog/hdft.src \
|
|
|
|
svx/source/dialog/imapdlg.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/dialog/langbox.src \
|
|
|
|
svx/source/dialog/language.src \
|
2011-03-13 05:34:24 -05:00
|
|
|
svx/source/dialog/linkwarn.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/dialog/optgrid.src \
|
|
|
|
svx/source/dialog/passwd.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/dialog/prtqry.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/dialog/rubydialog.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/dialog/ruler.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/dialog/sdstring.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/dialog/srchdlg.src \
|
|
|
|
svx/source/dialog/svxbmpnumvalueset.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/dialog/swframeposstrings.src \
|
|
|
|
svx/source/dialog/txenctab.src \
|
|
|
|
svx/source/dialog/ucsubset.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/engine3d/float3d.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/engine3d/string3d.src \
|
|
|
|
svx/source/fmcomp/gridctrl.src \
|
|
|
|
svx/source/form/datanavi.src \
|
|
|
|
svx/source/form/filtnav.src \
|
|
|
|
svx/source/form/fmexpl.src \
|
|
|
|
svx/source/form/fmstring.src \
|
|
|
|
svx/source/form/formshell.src \
|
|
|
|
svx/source/items/svxerr.src \
|
|
|
|
svx/source/items/svxitems.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/mnuctrls/mnuctrls.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/stbctrls/stbctrls.src \
|
|
|
|
svx/source/svdraw/svdstr.src \
|
|
|
|
svx/source/table/table.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/tbxctrls/colrctrl.src \
|
|
|
|
svx/source/tbxctrls/extrusioncontrols.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/tbxctrls/fontworkgallery.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/tbxctrls/grafctrl.src \
|
|
|
|
svx/source/tbxctrls/lboxctrl.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/tbxctrls/linectrl.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/tbxctrls/tbcontrl.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/tbxctrls/tbunosearchcontrollers.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
svx/source/toolbars/extrusionbar.src \
|
|
|
|
svx/source/toolbars/fontworkbar.src \
|
2011-01-12 05:05:07 -06:00
|
|
|
svx/source/unodraw/unodraw.src \
|
2010-04-30 14:27:17 -05:00
|
|
|
))
|
|
|
|
|
2011-01-19 06:21:26 -06:00
|
|
|
$(call gb_SrsPartTarget_get_target,svx/source/fmcomp/gridctrl.src) : $(WORKDIR)/inc/svx/globlmn.hrc
|
|
|
|
$(call gb_SrsPartTarget_get_target,svx/source/form/fmexpl.src) : $(WORKDIR)/inc/svx/globlmn.hrc
|
|
|
|
$(call gb_SrsPartTarget_get_target,svx/source/form/datanavi.src) : $(WORKDIR)/inc/svx/globlmn.hrc
|
|
|
|
$(call gb_SrsPartTarget_get_target,svx/source/form/formshell.src) : $(WORKDIR)/inc/svx/globlmn.hrc
|
|
|
|
$(call gb_SrsTarget_get_clean_target,svx/res) : $(WORKDIR)/inc/svx/globlmn.hrc_clean
|
|
|
|
|
|
|
|
# hack !!!
|
|
|
|
# just a temporary - globlmn.hrc about to be removed!
|
2011-02-05 12:02:17 -06:00
|
|
|
ifeq ($(strip $(WITH_LANG)),)
|
2011-01-19 06:21:26 -06:00
|
|
|
$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc
|
2011-03-12 18:57:32 -06:00
|
|
|
echo copying $@
|
|
|
|
-mkdir -p $(WORKDIR)/inc/svx
|
|
|
|
cp $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(WORKDIR)/inc/svx/globlmn.hrc
|
2011-05-01 10:15:22 -05:00
|
|
|
cp $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(OUTDIR)/inc/svx/globlmn.hrc
|
2011-03-12 18:57:32 -06:00
|
|
|
rm -f $(WORKDIR)/inc/svx/lastrun.mk
|
2011-01-19 06:21:26 -06:00
|
|
|
else
|
|
|
|
-include $(WORKDIR)/inc/svx/lastrun.mk
|
|
|
|
ifneq ($(gb_lastrun_globlmn),MERGED)
|
|
|
|
.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc
|
|
|
|
endif
|
|
|
|
$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf
|
2011-03-12 18:57:32 -06:00
|
|
|
echo merging $@
|
|
|
|
-mkdir -p $(WORKDIR)/inc/svx
|
|
|
|
rm -f $(WORKDIR)/inc/svx/lastrun.mk
|
|
|
|
echo gb_lastrun_globlmn:=MERGED > $(WORKDIR)/inc/svx/lastrun.mk
|
|
|
|
$(call gb_Helper_abbreviate_dirs_native, \
|
|
|
|
$(gb_SrsPartMergeTarget_TRANSEXCOMMAND) \
|
|
|
|
-p svx \
|
|
|
|
-i $< -o $@ -m $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf -l all)
|
2011-05-01 10:15:22 -05:00
|
|
|
cp $(WORKDIR)/inc/svx/globlmn.hrc $(OUTDIR)/inc/svx/globlmn.hrc
|
2011-01-19 06:21:26 -06:00
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc_clean
|
|
|
|
$(WORKDIR)/inc/svx/globlmn.hrc_clean :
|
2011-03-12 18:57:32 -06:00
|
|
|
rm -f $(WORKDIR)/inc/svx/lastrun.mk \
|
|
|
|
$(WORKDIR)/inc/svx/globlmn.hrc
|
2011-01-19 06:21:26 -06:00
|
|
|
|
|
|
|
|
|
|
|
# vim: set noet sw=4 ts=4:
|