1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24$(eval $(call gb_AllLangResTarget_AllLangResTarget,svx)) 25 26$(eval $(call gb_AllLangResTarget_set_reslocation,svx,svx)) 27 28$(eval $(call gb_AllLangResTarget_add_srs,svx,\ 29 svx/res \ 30)) 31 32$(eval $(call gb_SrsTarget_SrsTarget,svx/res)) 33 34$(eval $(call gb_SrsTarget_set_include,svx/res,\ 35 $$(INCLUDE) \ 36 -I$(OUTDIR)/inc \ 37 -I$(WORKDIR)/inc \ 38 -I$(WORKDIR)/inc/svx \ 39 -I$(SRCDIR)/svx/source/inc \ 40 -I$(SRCDIR)/svx/source/dialog \ 41 -I$(SRCDIR)/svx/inc/ \ 42)) 43 44$(eval $(call gb_SrsTarget_add_files,svx/res,\ 45 svx/source/accessibility/accessibility.src \ 46 svx/source/dialog/bmpmask.src \ 47 svx/source/dialog/contdlg.src \ 48 svx/source/dialog/ctredlin.src \ 49 svx/source/dialog/dlgctrl.src \ 50 svx/source/dialog/docrecovery.src \ 51 svx/source/dialog/fontwork.src \ 52 svx/source/dialog/frmsel.src \ 53 svx/source/dialog/hdft.src \ 54 svx/source/dialog/hyprlink.src \ 55 svx/source/dialog/imapdlg.src \ 56 svx/source/dialog/langbox.src \ 57 svx/source/dialog/language.src \ 58 svx/source/dialog/optgrid.src \ 59 svx/source/dialog/passwd.src \ 60 svx/source/dialog/prtqry.src \ 61 svx/source/dialog/rubydialog.src \ 62 svx/source/dialog/ruler.src \ 63 svx/source/dialog/sdstring.src \ 64 svx/source/dialog/srchdlg.src \ 65 svx/source/dialog/svxbmpnumvalueset.src \ 66 svx/source/dialog/swframeposstrings.src \ 67 svx/source/dialog/txenctab.src \ 68 svx/source/dialog/ucsubset.src \ 69 svx/source/engine3d/float3d.src \ 70 svx/source/engine3d/string3d.src \ 71 svx/source/fmcomp/gridctrl.src \ 72 svx/source/form/datanavi.src \ 73 svx/source/form/filtnav.src \ 74 svx/source/form/fmexpl.src \ 75 svx/source/form/fmstring.src \ 76 svx/source/form/formshell.src \ 77 svx/source/items/svxerr.src \ 78 svx/source/items/svxitems.src \ 79 svx/source/mnuctrls/mnuctrls.src \ 80 svx/source/sidebar/geometry/AreaPropertyPanel.src \ 81 svx/source/sidebar/geometry/GraphicPropertyPanel.src \ 82 svx/source/sidebar/geometry/LinePropertyPanel.src \ 83 svx/source/sidebar/geometry/TransformationPropertyPanel.src \ 84 svx/source/sidebar/text/TextPropertyPanel.src \ 85 svx/source/stbctrls/stbctrls.src \ 86 svx/source/svdraw/svdstr.src \ 87 svx/source/table/table.src \ 88 svx/source/tbxctrls/colrctrl.src \ 89 svx/source/tbxctrls/extrusioncontrols.src \ 90 svx/source/tbxctrls/fontworkgallery.src \ 91 svx/source/tbxctrls/grafctrl.src \ 92 svx/source/tbxctrls/lboxctrl.src \ 93 svx/source/tbxctrls/linectrl.src \ 94 svx/source/tbxctrls/tbcontrl.src \ 95 svx/source/tbxctrls/tbunosearchcontrollers.src \ 96 svx/source/toolbars/extrusionbar.src \ 97 svx/source/toolbars/fontworkbar.src \ 98 svx/source/unodraw/unodraw.src \ 99)) 100 101$(call gb_SrsPartTarget_get_target,svx/source/fmcomp/gridctrl.src) : $(WORKDIR)/inc/svx/globlmn.hrc 102$(call gb_SrsPartTarget_get_target,svx/source/form/fmexpl.src) : $(WORKDIR)/inc/svx/globlmn.hrc 103$(call gb_SrsPartTarget_get_target,svx/source/form/datanavi.src) : $(WORKDIR)/inc/svx/globlmn.hrc 104$(call gb_SrsPartTarget_get_target,svx/source/form/formshell.src) : $(WORKDIR)/inc/svx/globlmn.hrc 105$(call gb_SrsTarget_get_clean_target,svx/res) : $(WORKDIR)/inc/svx/globlmn.hrc_clean 106 107$(OUTDIR)/inc/svx/globlmn.hrc : $(WORKDIR)/inc/svx/globlmn.hrc 108 $(call gb_Deliver_deliver,$<,$@) 109 110# hack !!! 111# just a temporary - globlmn.hrc about to be removed! 112ifeq ($(strip $(WITH_LANG)),) 113$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc 114 echo copying $@ 115 -mkdir -p $(WORKDIR)/inc/svx 116 cp $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(WORKDIR)/inc/svx/globlmn.hrc 117 rm -f $(WORKDIR)/inc/svx/lastrun.mk 118else 119-include $(WORKDIR)/inc/svx/lastrun.mk 120ifneq ($(gb_lastrun_globlmn),MERGED) 121.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc 122endif 123$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf 124 echo merging $@ 125 -mkdir -p $(WORKDIR)/inc/svx 126 rm -f $(WORKDIR)/inc/svx/lastrun.mk 127 echo gb_lastrun_globlmn:=MERGED > $(WORKDIR)/inc/svx/lastrun.mk 128 $(call gb_Helper_abbreviate_dirs_native, \ 129 $(gb_SrsPartMergeTarget_TRANSEXCOMMAND) \ 130 -p svx \ 131 -i $< -o $@ -m $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf -l all) 132endif 133 134.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc_clean 135$(WORKDIR)/inc/svx/globlmn.hrc_clean : 136 rm -f $(WORKDIR)/inc/svx/lastrun.mk \ 137 $(WORKDIR)/inc/svx/globlmn.hrc 138 139 140# vim: set noet sw=4 ts=4: 141