xref: /trunk/main/svx/AllLangResTarget_svx.mk (revision ee093554)
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 \
808dcb2a10SAndre Fischer    svx/source/sidebar/area/AreaPropertyPanel.src \
818dcb2a10SAndre Fischer    svx/source/sidebar/graphic/GraphicPropertyPanel.src \
828dcb2a10SAndre Fischer    svx/source/sidebar/line/LinePropertyPanel.src \
83*ee093554SAndre Fischer    svx/source/sidebar/possize/PosSizePropertyPanel.src \
84b9e67834SAndre Fischer    svx/source/sidebar/text/TextPropertyPanel.src \
85cdf0e10cSrcweir    svx/source/stbctrls/stbctrls.src \
86cdf0e10cSrcweir    svx/source/svdraw/svdstr.src \
87cdf0e10cSrcweir    svx/source/table/table.src \
88cdf0e10cSrcweir    svx/source/tbxctrls/colrctrl.src \
89cdf0e10cSrcweir    svx/source/tbxctrls/extrusioncontrols.src \
90cdf0e10cSrcweir    svx/source/tbxctrls/fontworkgallery.src \
91cdf0e10cSrcweir    svx/source/tbxctrls/grafctrl.src \
92cdf0e10cSrcweir    svx/source/tbxctrls/lboxctrl.src \
93cdf0e10cSrcweir    svx/source/tbxctrls/linectrl.src \
94cdf0e10cSrcweir    svx/source/tbxctrls/tbcontrl.src \
95cdf0e10cSrcweir    svx/source/tbxctrls/tbunosearchcontrollers.src \
96cdf0e10cSrcweir    svx/source/toolbars/extrusionbar.src \
97cdf0e10cSrcweir    svx/source/toolbars/fontworkbar.src \
98cdf0e10cSrcweir    svx/source/unodraw/unodraw.src \
99cdf0e10cSrcweir))
100cdf0e10cSrcweir
101cdf0e10cSrcweir$(call gb_SrsPartTarget_get_target,svx/source/fmcomp/gridctrl.src) : $(WORKDIR)/inc/svx/globlmn.hrc
102cdf0e10cSrcweir$(call gb_SrsPartTarget_get_target,svx/source/form/fmexpl.src) : $(WORKDIR)/inc/svx/globlmn.hrc
103cdf0e10cSrcweir$(call gb_SrsPartTarget_get_target,svx/source/form/datanavi.src) : $(WORKDIR)/inc/svx/globlmn.hrc
104cdf0e10cSrcweir$(call gb_SrsPartTarget_get_target,svx/source/form/formshell.src) : $(WORKDIR)/inc/svx/globlmn.hrc
105cdf0e10cSrcweir$(call gb_SrsTarget_get_clean_target,svx/res) : $(WORKDIR)/inc/svx/globlmn.hrc_clean
106cdf0e10cSrcweir
10791a5c3deSOliver-Rainer Wittmann$(OUTDIR)/inc/svx/globlmn.hrc : $(WORKDIR)/inc/svx/globlmn.hrc
10891a5c3deSOliver-Rainer Wittmann	$(call gb_Deliver_deliver,$<,$@)
10991a5c3deSOliver-Rainer Wittmann
110cdf0e10cSrcweir# hack !!!
111cdf0e10cSrcweir# just a temporary - globlmn.hrc about to be removed!
112cdf0e10cSrcweirifeq ($(strip $(WITH_LANG)),)
113cdf0e10cSrcweir$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc
114cdf0e10cSrcweir	echo copying $@
115cdf0e10cSrcweir	-mkdir -p $(WORKDIR)/inc/svx
116cdf0e10cSrcweir	cp $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(WORKDIR)/inc/svx/globlmn.hrc
117cdf0e10cSrcweir	rm -f $(WORKDIR)/inc/svx/lastrun.mk
118cdf0e10cSrcweirelse
119cdf0e10cSrcweir-include $(WORKDIR)/inc/svx/lastrun.mk
120cdf0e10cSrcweirifneq ($(gb_lastrun_globlmn),MERGED)
121cdf0e10cSrcweir.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc
122cdf0e10cSrcweirendif
123cdf0e10cSrcweir$(WORKDIR)/inc/svx/globlmn.hrc : $(SRCDIR)/svx/inc/globlmn_tmpl.hrc $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf
124cdf0e10cSrcweir	echo merging $@
125cdf0e10cSrcweir	-mkdir -p $(WORKDIR)/inc/svx
126cdf0e10cSrcweir	rm -f $(WORKDIR)/inc/svx/lastrun.mk
127cdf0e10cSrcweir	echo gb_lastrun_globlmn:=MERGED > $(WORKDIR)/inc/svx/lastrun.mk
128cdf0e10cSrcweir	$(call gb_Helper_abbreviate_dirs_native, \
129cdf0e10cSrcweir		$(gb_SrsPartMergeTarget_TRANSEXCOMMAND) \
130cdf0e10cSrcweir		-p svx \
131cdf0e10cSrcweir		 -i $< -o $@ -m $(gb_SrsPartMergeTarget_SDFLOCATION)/svx/inc/localize.sdf -l all)
132cdf0e10cSrcweirendif
133cdf0e10cSrcweir
134cdf0e10cSrcweir.PHONY : $(WORKDIR)/inc/svx/globlmn.hrc_clean
135cdf0e10cSrcweir$(WORKDIR)/inc/svx/globlmn.hrc_clean :
136cdf0e10cSrcweir	rm -f $(WORKDIR)/inc/svx/lastrun.mk \
137cdf0e10cSrcweir		$(WORKDIR)/inc/svx/globlmn.hrc
138cdf0e10cSrcweir
139cdf0e10cSrcweir
140cdf0e10cSrcweir# vim: set noet sw=4 ts=4:
141