1*cdf0e10cSrcweir#************************************************************************* 2*cdf0e10cSrcweir# 3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir# 5*cdf0e10cSrcweir# Copyright 2000, 2011 Oracle and/or its affiliates. 6*cdf0e10cSrcweir# 7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir# 9*cdf0e10cSrcweir# This file is part of OpenOffice.org. 10*cdf0e10cSrcweir# 11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir# only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir# 15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir# 21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir# version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir# for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir# 26*cdf0e10cSrcweir#************************************************************************* 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir$(eval $(call gb_AllLangResTarget_AllLangResTarget,svx)) 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir$(eval $(call gb_AllLangResTarget_set_reslocation,svx,svx)) 31*cdf0e10cSrcweir 32*cdf0e10cSrcweir$(eval $(call gb_AllLangResTarget_add_srs,svx,\ 33*cdf0e10cSrcweir svx/res \ 34*cdf0e10cSrcweir)) 35*cdf0e10cSrcweir 36*cdf0e10cSrcweir$(eval $(call gb_SrsTarget_SrsTarget,svx/res)) 37*cdf0e10cSrcweir 38*cdf0e10cSrcweir$(eval $(call gb_SrsTarget_set_include,svx/res,\ 39*cdf0e10cSrcweir $$(INCLUDE) \ 40*cdf0e10cSrcweir -I$(OUTDIR)/inc \ 41*cdf0e10cSrcweir -I$(WORKDIR)/inc \ 42*cdf0e10cSrcweir -I$(WORKDIR)/inc/svx \ 43*cdf0e10cSrcweir -I$(SRCDIR)/svx/source/inc \ 44*cdf0e10cSrcweir -I$(SRCDIR)/svx/source/dialog \ 45*cdf0e10cSrcweir -I$(SRCDIR)/svx/inc/ \ 46*cdf0e10cSrcweir)) 47*cdf0e10cSrcweir 48*cdf0e10cSrcweir$(eval $(call gb_SrsTarget_add_files,svx/res,\ 49*cdf0e10cSrcweir svx/source/accessibility/accessibility.src \ 50*cdf0e10cSrcweir svx/source/dialog/bmpmask.src \ 51*cdf0e10cSrcweir svx/source/dialog/contdlg.src \ 52*cdf0e10cSrcweir svx/source/dialog/ctredlin.src \ 53*cdf0e10cSrcweir svx/source/dialog/dlgctrl.src \ 54*cdf0e10cSrcweir svx/source/dialog/docrecovery.src \ 55*cdf0e10cSrcweir svx/source/dialog/fontwork.src \ 56*cdf0e10cSrcweir svx/source/dialog/frmsel.src \ 57*cdf0e10cSrcweir svx/source/dialog/hdft.src \ 58*cdf0e10cSrcweir svx/source/dialog/hyprlink.src \ 59*cdf0e10cSrcweir svx/source/dialog/imapdlg.src \ 60*cdf0e10cSrcweir svx/source/dialog/langbox.src \ 61*cdf0e10cSrcweir svx/source/dialog/language.src \ 62*cdf0e10cSrcweir svx/source/dialog/optgrid.src \ 63*cdf0e10cSrcweir svx/source/dialog/passwd.src \ 64*cdf0e10cSrcweir svx/source/dialog/prtqry.src \ 65*cdf0e10cSrcweir svx/source/dialog/rubydialog.src \ 66*cdf0e10cSrcweir svx/source/dialog/ruler.src \ 67*cdf0e10cSrcweir svx/source/dialog/sdstring.src \ 68*cdf0e10cSrcweir svx/source/dialog/srchdlg.src \ 69*cdf0e10cSrcweir svx/source/dialog/svxbmpnumvalueset.src \ 70*cdf0e10cSrcweir svx/source/dialog/swframeposstrings.src \ 71*cdf0e10cSrcweir svx/source/dialog/txenctab.src \ 72*cdf0e10cSrcweir svx/source/dialog/ucsubset.src \ 73*cdf0e10cSrcweir svx/source/engine3d/float3d.src \ 74*cdf0e10cSrcweir svx/source/engine3d/string3d.src \ 75*cdf0e10cSrcweir svx/source/fmcomp/gridctrl.src \ 76*cdf0e10cSrcweir svx/source/form/datanavi.src \ 77*cdf0e10cSrcweir svx/source/form/filtnav.src \ 78*cdf0e10cSrcweir svx/source/form/fmexpl.src \ 79*cdf0e10cSrcweir svx/source/form/fmstring.src \ 80*cdf0e10cSrcweir svx/source/form/formshell.src \ 81*cdf0e10cSrcweir svx/source/items/svxerr.src \ 82*cdf0e10cSrcweir svx/source/items/svxitems.src \ 83*cdf0e10cSrcweir svx/source/mnuctrls/mnuctrls.src \ 84*cdf0e10cSrcweir svx/source/stbctrls/stbctrls.src \ 85*cdf0e10cSrcweir svx/source/svdraw/svdstr.src \ 86*cdf0e10cSrcweir svx/source/table/table.src \ 87*cdf0e10cSrcweir svx/source/tbxctrls/colrctrl.src \ 88*cdf0e10cSrcweir svx/source/tbxctrls/extrusioncontrols.src \ 89*cdf0e10cSrcweir svx/source/tbxctrls/fontworkgallery.src \ 90*cdf0e10cSrcweir svx/source/tbxctrls/grafctrl.src \ 91*cdf0e10cSrcweir svx/source/tbxctrls/lboxctrl.src \ 92*cdf0e10cSrcweir svx/source/tbxctrls/linectrl.src \ 93*cdf0e10cSrcweir svx/source/tbxctrls/tbcontrl.src \ 94*cdf0e10cSrcweir svx/source/tbxctrls/tbunosearchcontrollers.src \ 95*cdf0e10cSrcweir svx/source/toolbars/extrusionbar.src \ 96*cdf0e10cSrcweir svx/source/toolbars/fontworkbar.src \ 97*cdf0e10cSrcweir svx/source/unodraw/unodraw.src \ 98*cdf0e10cSrcweir)) 99*cdf0e10cSrcweir 100*cdf0e10cSrcweir$(call gb_SrsPartTarget_get_target,svx/source/fmcomp/gridctrl.src) : $(WORKDIR)/inc/svx/globlmn.hrc 101*cdf0e10cSrcweir$(call gb_SrsPartTarget_get_target,svx/source/form/fmexpl.src) : $(WORKDIR)/inc/svx/globlmn.hrc 102*cdf0e10cSrcweir$(call gb_SrsPartTarget_get_target,svx/source/form/datanavi.src) : $(WORKDIR)/inc/svx/globlmn.hrc 103*cdf0e10cSrcweir$(call gb_SrsPartTarget_get_target,svx/source/form/formshell.src) : $(WORKDIR)/inc/svx/globlmn.hrc 104*cdf0e10cSrcweir$(call gb_SrsTarget_get_clean_target,svx/res) : $(WORKDIR)/inc/svx/globlmn.hrc_clean 105*cdf0e10cSrcweir 106*cdf0e10cSrcweir# hack !!! 107*cdf0e10cSrcweir# just a temporary - globlmn.hrc about to be removed! 108*cdf0e10cSrcweirifeq ($(strip $(WITH_LANG)),) 109*cdf0e10cSrcweir$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc 110*cdf0e10cSrcweir echo copying $@ 111*cdf0e10cSrcweir -mkdir -p $(WORKDIR)/inc/svx 112*cdf0e10cSrcweir cp $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(WORKDIR)/inc/svx/globlmn.hrc 113*cdf0e10cSrcweir rm -f $(WORKDIR)/inc/svx/lastrun.mk 114*cdf0e10cSrcweirelse 115*cdf0e10cSrcweir-include $(WORKDIR)/inc/svx/lastrun.mk 116*cdf0e10cSrcweirifneq ($(gb_lastrun_globlmn),MERGED) 117*cdf0e10cSrcweir.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc 118*cdf0e10cSrcweirendif 119*cdf0e10cSrcweir$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf 120*cdf0e10cSrcweir echo merging $@ 121*cdf0e10cSrcweir -mkdir -p $(WORKDIR)/inc/svx 122*cdf0e10cSrcweir rm -f $(WORKDIR)/inc/svx/lastrun.mk 123*cdf0e10cSrcweir echo gb_lastrun_globlmn:=MERGED > $(WORKDIR)/inc/svx/lastrun.mk 124*cdf0e10cSrcweir $(call gb_Helper_abbreviate_dirs_native, \ 125*cdf0e10cSrcweir $(gb_SrsPartMergeTarget_TRANSEXCOMMAND) \ 126*cdf0e10cSrcweir -p svx \ 127*cdf0e10cSrcweir -i $< -o $@ -m $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf -l all) 128*cdf0e10cSrcweirendif 129*cdf0e10cSrcweir 130*cdf0e10cSrcweir.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc_clean 131*cdf0e10cSrcweir$(WORKDIR)/inc/svx/globlmn.hrc_clean : 132*cdf0e10cSrcweir rm -f $(WORKDIR)/inc/svx/lastrun.mk \ 133*cdf0e10cSrcweir $(WORKDIR)/inc/svx/globlmn.hrc 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir 136*cdf0e10cSrcweir# vim: set noet sw=4 ts=4: 137