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# *************************************************************
21all_fragments+=writer
22
23# -----------------------------------------------
24# count = 39
25T4_WRITER = \
26    writer_web_HTML \
27    writer_Lotus_1_2_3_10_DOS_StarWriter \
28    writer_Lotus_1_2_3_10_WIN_StarWriter \
29    calc_MS_Excel_40 \
30    calc_MS_Excel_5095 \
31    calc_MS_Excel_95 \
32    writer_MS_WinWord_5 \
33    writer_MS_WinWord_60 \
34    writer_MS_Word_95 \
35    writer_MS_Word_95_Vorlage \
36    writer_MS_Word_97 \
37    writer_MS_Word_97_Vorlage \
38    writer_Rich_Text_Format \
39    writer_StarOffice_XML_Writer \
40    writer_T602_Document \
41    writer_Text \
42    writer_Text_encoded \
43    writer_MIZI_Hwp_97 \
44    writer_StarOffice_XML_Writer_Template \
45    pdf_Portable_Document_Format\
46    writer8_template\
47    writer8 \
48    writer_NSO_UOF2 \
49    writer_MS_Word_2003_XML \
50    writer_MS_Word_2007_XML \
51    writer_MS_Word_2007_XML_Template
52
53.IF "$(SYSTEM_LIBWPD)" == "YES"
54T4_WRITER += writer_WordPerfect_Document
55.ENDIF
56
57# -----------------------------------------------
58# count = 38
59F4_WRITER = \
60	HTML__StarWriter_ \
61	Lotus_1_2_3_1_0__DOS___StarWriter_ \
62	Lotus_1_2_3_1_0__WIN___StarWriter_ \
63	MS_Excel_4_0__StarWriter_ \
64	MS_Excel_5_0__StarWriter_ \
65	MS_Excel_95__StarWriter_ \
66	MS_WinWord_5 \
67	MS_WinWord_6_0 \
68	MS_Word_95 \
69	MS_Word_95_Vorlage \
70	MS_Word_97 \
71	MS_Word_97_Vorlage \
72	Rich_Text_Format \
73	StarOffice_XML__Writer_ \
74	T602Document \
75	Text \
76	Text__encoded_ \
77	writer_MIZI_Hwp_97 \
78	writer_StarOffice_XML_Writer_Template \
79	writer_pdf_Export\
80	writer8\
81	NSO_Writer_UOF2 \
82	writer8_template \
83	MS_Word_2003_XML \
84	MS_Word_2007_XML \
85	MS_Word_2007_XML_Template
86
87.IF "$(SYSTEM_LIBWPD)" == "YES"
88F4_WRITER += WordPerfect
89.ENDIF
90
91
92# -----------------------------------------------
93# count = 14
94F4_UI_WRITER = \
95	HTML__StarWriter__ui \
96	MS_Word_95_Vorlage_ui \
97	MS_Word_97_Vorlage_ui \
98	StarOffice_XML__Writer__ui \
99	Text_ui \
100	Text__encoded__ui \
101	writer_StarOffice_XML_Writer_Template_ui \
102	writer8_ui \
103	NSO_Writer_UOF2_ui \
104	writer8_template_ui \
105    MS_Word_2003_XML_ui \
106	MS_Word_2007_XML_ui \
107	MS_Word_2007_XML_Template_ui
108
109# -----------------------------------------------
110# count = 0
111L4_WRITER =
112
113# -----------------------------------------------
114# count = 0
115C4_WRITER =
116
117# -----------------------------------------------
118TYPES_4fcfg_writer           = $(foreach,i,$(T4_WRITER)    types$/$i.xcu                     )
119FILTERS_4fcfg_writer         = $(foreach,i,$(F4_WRITER)    filters$/$i.xcu                   )
120UI_FILTERS_4fcfg_writer      = $(foreach,i,$(F4_UI_WRITER) $(DIR_LOCFRAG)$/filters$/$i.xcu   )
121FRAMELOADERS_4fcfg_writer    = $(foreach,i,$(L4_WRITER)    frameloaders$/$i.xcu              )
122CONTENTHANDLERS_4fcfg_writer = $(foreach,i,$(C4_WRITER)    contenthandlers$/$i.xcu           )
123
124# -----------------------------------------------
125# needed to get dependencies inside global makefile work!
126ALL_4fcfg_writer = \
127    $(TYPES_4fcfg_writer) \
128    $(FILTERS_4fcfg_writer) \
129    $(UI_FILTERS_4fcfg_writer) \
130    $(FRAMELOADERS_4fcfg_writer) \
131    $(CONTENTHANDLERS_4fcfg_writer)
132
133ALL_UI_FILTERS+=$(UI_FILTERS_4fcfg_writer)
134
135ALL_PACKAGES+=writer
136
137