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