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