1if OS_WIN32
2version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -avoid-version
3else
4version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
5endif
6
7lib_LTLIBRARIES = libmwaw-@MWAW_MAJOR_VERSION@.@MWAW_MINOR_VERSION@.la $(target_libmwaw_stream)
8libmwaw_@MWAW_MAJOR_VERSION@_@MWAW_MINOR_VERSION@_includedir = $(includedir)/libmwaw-@MWAW_MAJOR_VERSION@.@MWAW_MINOR_VERSION@/libmwaw
9libmwaw_@MWAW_MAJOR_VERSION@_@MWAW_MINOR_VERSION@_include_HEADERS = \
10	$(top_srcdir)/inc/libmwaw/libmwaw.hxx \
11	$(top_srcdir)/inc/libmwaw/MWAWDocument.hxx
12
13AM_CXXFLAGS = -I$(top_srcdir)/inc $(REVENGE_CFLAGS) $(DEBUG_CXXFLAGS) $(ZLIB_CFLAGS)
14if WITH_LIBMWAW_ZIP
15AM_CXXFLAGS += -DUSE_ZLIB
16endif
17
18libmwaw_@MWAW_MAJOR_VERSION@_@MWAW_MINOR_VERSION@_la_LIBADD  = $(REVENGE_LIBS) $(ZLIB_LIBS) @LIBMWAW_WIN32_RESOURCE@
19libmwaw_@MWAW_MAJOR_VERSION@_@MWAW_MINOR_VERSION@_la_DEPENDENCIES = @LIBMWAW_WIN32_RESOURCE@
20libmwaw_@MWAW_MAJOR_VERSION@_@MWAW_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic  -no-undefined
21libmwaw_@MWAW_MAJOR_VERSION@_@MWAW_MINOR_VERSION@_la_SOURCES = \
22	libmwaw_internal.cxx		\
23	libmwaw_internal.hxx		\
24	ActaParser.cxx			\
25	ActaParser.hxx			\
26	ActaText.cxx			\
27	ActaText.hxx			\
28	ApplePictParser.cxx		\
29	ApplePictParser.hxx		\
30	BeagleWksParser.cxx		\
31	BeagleWksParser.hxx		\
32	BeagleWksBMParser.cxx		\
33	BeagleWksBMParser.hxx		\
34	BeagleWksDBParser.cxx		\
35	BeagleWksDBParser.hxx		\
36	BeagleWksDRParser.cxx		\
37	BeagleWksDRParser.hxx		\
38	BeagleWksSSParser.cxx		\
39	BeagleWksSSParser.hxx		\
40	BeagleWksStructManager.cxx	\
41	BeagleWksStructManager.hxx	\
42	BeagleWksText.cxx		\
43	BeagleWksText.hxx		\
44	CanvasGraph.cxx			\
45	CanvasGraph.hxx			\
46	CanvasParser.cxx		\
47	CanvasParser.hxx		\
48	CanvasStyleManager.cxx		\
49	CanvasStyleManager.hxx		\
50	Canvas5BMParser.cxx		\
51	Canvas5BMParser.hxx		\
52	Canvas5Graph.cxx		\
53	Canvas5Graph.hxx		\
54	Canvas5Image.cxx		\
55	Canvas5Image.hxx		\
56	Canvas5Parser.cxx		\
57	Canvas5Parser.hxx		\
58	Canvas5Structure.cxx		\
59	Canvas5Structure.hxx		\
60	Canvas5StyleManager.cxx		\
61	Canvas5StyleManager.hxx		\
62	ClarisDrawGraph.cxx		\
63	ClarisDrawGraph.hxx		\
64	ClarisDrawParser.cxx		\
65	ClarisDrawParser.hxx		\
66	ClarisDrawStyleManager.cxx	\
67	ClarisDrawStyleManager.hxx	\
68	ClarisDrawText.cxx		\
69	ClarisDrawText.hxx		\
70	ClarisWksBMParser.cxx		\
71	ClarisWksBMParser.hxx		\
72	ClarisWksDatabase.cxx		\
73	ClarisWksDatabase.hxx		\
74	ClarisWksDbaseContent.cxx	\
75	ClarisWksDbaseContent.hxx	\
76	ClarisWksDocument.cxx		\
77	ClarisWksDocument.hxx		\
78	ClarisWksGraph.cxx		\
79	ClarisWksGraph.hxx		\
80	ClarisWksParser.cxx		\
81	ClarisWksParser.hxx		\
82	ClarisWksPresentation.cxx	\
83	ClarisWksPresentation.hxx	\
84	ClarisWksPRParser.cxx		\
85	ClarisWksPRParser.hxx		\
86	ClarisWksSpreadsheet.cxx	\
87	ClarisWksSpreadsheet.hxx	\
88	ClarisWksSSParser.cxx		\
89	ClarisWksSSParser.hxx		\
90	ClarisWksStruct.cxx		\
91	ClarisWksStruct.hxx		\
92	ClarisWksStyleManager.cxx	\
93	ClarisWksStyleManager.hxx	\
94	ClarisWksTable.cxx		\
95	ClarisWksTable.hxx		\
96	ClarisWksText.cxx		\
97	ClarisWksText.hxx		\
98	CorelPainterParser.cxx		\
99	CorelPainterParser.hxx		\
100	CricketDrawParser.cxx		\
101	CricketDrawParser.hxx		\
102	DocMkrParser.cxx		\
103	DocMkrParser.hxx		\
104	DocMkrText.cxx			\
105	DocMkrText.hxx			\
106	DrawTableParser.cxx		\
107	DrawTableParser.hxx		\
108	EDocParser.cxx			\
109	EDocParser.hxx			\
110	FreeHandParser.cxx		\
111	FreeHandParser.hxx		\
112	FullWrtGraph.cxx		\
113	FullWrtGraph.hxx		\
114	FullWrtParser.cxx		\
115	FullWrtParser.hxx		\
116	FullWrtStruct.cxx		\
117	FullWrtStruct.hxx		\
118	FullWrtText.cxx			\
119	FullWrtText.hxx			\
120	GreatWksBMParser.cxx		\
121	GreatWksBMParser.hxx		\
122	GreatWksDBParser.cxx		\
123	GreatWksDBParser.hxx		\
124	GreatWksDocument.cxx		\
125	GreatWksDocument.hxx		\
126	GreatWksDRParser.cxx		\
127	GreatWksDRParser.hxx		\
128	GreatWksGraph.cxx		\
129	GreatWksGraph.hxx		\
130	GreatWksParser.cxx		\
131	GreatWksParser.hxx		\
132	GreatWksSSParser.cxx		\
133	GreatWksSSParser.hxx		\
134	GreatWksText.cxx		\
135	GreatWksText.hxx		\
136	HanMacWrdJGraph.cxx		\
137	HanMacWrdJGraph.hxx		\
138	HanMacWrdJParser.cxx		\
139	HanMacWrdJParser.hxx		\
140	HanMacWrdJText.cxx		\
141	HanMacWrdJText.hxx		\
142	HanMacWrdKGraph.cxx		\
143	HanMacWrdKGraph.hxx		\
144	HanMacWrdKParser.cxx		\
145	HanMacWrdKParser.hxx		\
146	HanMacWrdKText.cxx		\
147	HanMacWrdKText.hxx		\
148	JazzSSParser.cxx		\
149	JazzSSParser.hxx		\
150	JazzWriterParser.cxx		\
151	JazzWriterParser.hxx		\
152	LightWayTxtGraph.cxx		\
153	LightWayTxtGraph.hxx		\
154	LightWayTxtParser.cxx		\
155	LightWayTxtParser.hxx		\
156	LightWayTxtText.cxx		\
157	LightWayTxtText.hxx		\
158	MacDocParser.cxx		\
159	MacDocParser.hxx		\
160	MacDraftParser.cxx		\
161	MacDraftParser.hxx		\
162	MacDraft5Parser.cxx		\
163	MacDraft5Parser.hxx		\
164	MacDraft5StyleManager.cxx	\
165	MacDraft5StyleManager.hxx	\
166	MacDrawParser.cxx		\
167	MacDrawParser.hxx		\
168	MacDrawProParser.cxx		\
169	MacDrawProParser.hxx		\
170	MacDrawProStyleManager.cxx	\
171	MacDrawProStyleManager.hxx	\
172	MacPaintParser.cxx		\
173	MacPaintParser.hxx		\
174	MacWrtParser.cxx		\
175	MacWrtParser.hxx		\
176	MacWrtProParser.cxx		\
177	MacWrtProParser.hxx		\
178	MacWrtProStructures.cxx		\
179	MacWrtProStructures.hxx		\
180	MarinerWrtGraph.cxx		\
181	MarinerWrtGraph.hxx		\
182	MarinerWrtParser.cxx		\
183	MarinerWrtParser.hxx		\
184	MarinerWrtText.cxx		\
185	MarinerWrtText.hxx		\
186	MaxWrtParser.cxx		\
187	MaxWrtParser.hxx		\
188	MindWrtParser.cxx		\
189	MindWrtParser.hxx		\
190	MoreParser.cxx			\
191	MoreParser.hxx			\
192	MoreText.cxx			\
193	MoreText.hxx			\
194	MouseWrtParser.cxx		\
195	MouseWrtParser.hxx		\
196	MsWksDocument.cxx		\
197	MsWksDocument.hxx		\
198	MsWksDBParser.cxx		\
199	MsWksDBParser.hxx		\
200	MsWksDRParser.cxx		\
201	MsWksDRParser.hxx		\
202	MsWksGraph.cxx			\
203	MsWksGraph.hxx			\
204	MsWksParser.cxx			\
205	MsWksParser.hxx			\
206	MsWksSSParser.cxx		\
207	MsWksSSParser.hxx		\
208	MsWksTable.cxx			\
209	MsWksTable.hxx			\
210	MsWks3Text.cxx			\
211	MsWks3Text.hxx			\
212	MsWks4Text.cxx			\
213	MsWks4Text.hxx			\
214	MsWks4Zone.cxx			\
215	MsWks4Zone.hxx			\
216	MsWrd1Parser.cxx		\
217	MsWrd1Parser.hxx		\
218	MsWrdParser.cxx			\
219	MsWrdParser.hxx			\
220	MsWrdStruct.cxx			\
221	MsWrdStruct.hxx			\
222	MsWrdText.cxx			\
223	MsWrdText.hxx			\
224	MsWrdTextStyles.cxx		\
225	MsWrdTextStyles.hxx		\
226	MultiplanParser.cxx		\
227	MultiplanParser.hxx		\
228	MWAWCell.cxx			\
229	MWAWCell.hxx			\
230	MWAWChart.cxx			\
231	MWAWChart.hxx			\
232	MWAWDebug.cxx			\
233	MWAWDebug.hxx			\
234	MWAWDocument.cxx		\
235	MWAWEntry.cxx			\
236	MWAWEntry.hxx			\
237	MWAWFont.cxx			\
238	MWAWFont.hxx			\
239	MWAWFontConverter.cxx		\
240	MWAWFontConverter.hxx		\
241	MWAWFontSJISConverter.cxx	\
242	MWAWFontSJISConverter.hxx	\
243	MWAWGraphicDecoder.cxx		\
244	MWAWGraphicDecoder.hxx		\
245	MWAWGraphicEncoder.cxx		\
246	MWAWGraphicEncoder.hxx		\
247	MWAWGraphicListener.cxx		\
248	MWAWGraphicListener.hxx		\
249	MWAWGraphicShape.cxx		\
250	MWAWGraphicShape.hxx		\
251	MWAWGraphicStyle.cxx		\
252	MWAWGraphicStyle.hxx		\
253	MWAWHeader.cxx			\
254	MWAWHeader.hxx			\
255	MWAWInputStream.cxx		\
256	MWAWInputStream.hxx		\
257	MWAWList.cxx			\
258	MWAWList.hxx			\
259	MWAWListener.cxx		\
260	MWAWListener.hxx		\
261	MWAWOLEParser.cxx		\
262	MWAWOLEParser.hxx		\
263	MWAWPageSpan.cxx		\
264	MWAWPageSpan.hxx		\
265	MWAWParagraph.cxx		\
266	MWAWParagraph.hxx		\
267	MWAWParser.cxx			\
268	MWAWParser.hxx			\
269	MWAWPict.cxx			\
270	MWAWPict.hxx			\
271	MWAWPictBitmap.cxx		\
272	MWAWPictBitmap.hxx		\
273	MWAWPictData.cxx		\
274	MWAWPictData.hxx		\
275	MWAWPictMac.cxx			\
276	MWAWPictMac.hxx			\
277	MWAWPosition.cxx		\
278	MWAWPosition.hxx		\
279	MWAWPresentationListener.cxx	\
280	MWAWPresentationListener.hxx	\
281	MWAWPrinter.cxx			\
282	MWAWPrinter.hxx			\
283	MWAWPropertyHandler.cxx		\
284	MWAWPropertyHandler.hxx		\
285	MWAWRSRCParser.cxx		\
286	MWAWRSRCParser.hxx		\
287	MWAWSection.cxx			\
288	MWAWSection.hxx			\
289	MWAWSpreadsheetDecoder.cxx	\
290	MWAWSpreadsheetDecoder.hxx	\
291	MWAWSpreadsheetEncoder.cxx	\
292	MWAWSpreadsheetEncoder.hxx	\
293	MWAWSpreadsheetListener.cxx	\
294	MWAWSpreadsheetListener.hxx	\
295	MWAWStream.cxx			\
296	MWAWStream.hxx			\
297	MWAWStringStream.cxx		\
298	MWAWStringStream.hxx		\
299	MWAWSubDocument.cxx		\
300	MWAWSubDocument.hxx		\
301	MWAWTable.cxx			\
302	MWAWTable.hxx			\
303	MWAWTextListener.cxx		\
304	MWAWTextListener.hxx		\
305	NisusWrtGraph.cxx		\
306	NisusWrtGraph.hxx		\
307	NisusWrtParser.cxx		\
308	NisusWrtParser.hxx		\
309	NisusWrtStruct.cxx		\
310	NisusWrtStruct.hxx		\
311	NisusWrtText.cxx		\
312	NisusWrtText.hxx		\
313	PixelPaintParser.cxx		\
314	PixelPaintParser.hxx		\
315	PowerPoint1Parser.cxx		\
316	PowerPoint1Parser.hxx		\
317	PowerPoint3OLE.cxx		\
318	PowerPoint3OLE.hxx		\
319	PowerPoint3Parser.cxx		\
320	PowerPoint3Parser.hxx		\
321	PowerPoint7Graph.cxx		\
322	PowerPoint7Graph.hxx		\
323	PowerPoint7Parser.cxx		\
324	PowerPoint7Parser.hxx		\
325	PowerPoint7Struct.cxx		\
326	PowerPoint7Struct.hxx		\
327	PowerPoint7Text.cxx		\
328	PowerPoint7Text.hxx		\
329	RagTimeParser.cxx		\
330	RagTimeParser.hxx		\
331	RagTimeSpreadsheet.cxx		\
332	RagTimeSpreadsheet.hxx		\
333	RagTimeStruct.cxx		\
334	RagTimeStruct.hxx		\
335	RagTimeText.cxx			\
336	RagTimeText.hxx			\
337	RagTime5Chart.cxx		\
338	RagTime5Chart.hxx		\
339	RagTime5ClusterManager.cxx	\
340	RagTime5ClusterManager.hxx	\
341	RagTime5Document.cxx		\
342	RagTime5Document.hxx		\
343	RagTime5Formula.cxx		\
344	RagTime5Formula.hxx		\
345	RagTime5Graph.cxx		\
346	RagTime5Graph.hxx		\
347	RagTime5Layout.cxx		\
348	RagTime5Layout.hxx		\
349	RagTime5Parser.cxx		\
350	RagTime5Parser.hxx		\
351	RagTime5Pipeline.cxx		\
352	RagTime5Pipeline.hxx		\
353	RagTime5Spreadsheet.cxx		\
354	RagTime5Spreadsheet.hxx		\
355	RagTime5StructManager.cxx	\
356	RagTime5StructManager.hxx	\
357	RagTime5StyleManager.cxx	\
358	RagTime5StyleManager.hxx	\
359	RagTime5SSParser.cxx		\
360	RagTime5SSParser.hxx		\
361	RagTime5Text.cxx		\
362	RagTime5Text.hxx		\
363	StudentWritingCParser.cxx	\
364	StudentWritingCParser.hxx	\
365	StyleParser.cxx			\
366	StyleParser.hxx			\
367	SuperPaintParser.cxx		\
368	SuperPaintParser.hxx		\
369	TeachTxtParser.cxx		\
370	TeachTxtParser.hxx		\
371	WingzGraph.cxx			\
372	WingzGraph.hxx			\
373	WingzParser.cxx			\
374	WingzParser.hxx			\
375	WordMakerParser.cxx		\
376	WordMakerParser.hxx		\
377	WriteNowEntry.cxx		\
378	WriteNowEntry.hxx		\
379	WriteNowParser.cxx		\
380	WriteNowParser.hxx		\
381	WriteNowText.cxx		\
382	WriteNowText.hxx		\
383	WriterPlsParser.cxx		\
384	WriterPlsParser.hxx		\
385	ZWrtParser.cxx			\
386	ZWrtParser.hxx			\
387	ZWrtText.cxx			\
388	ZWrtText.hxx
389
390if OS_WIN32
391
392@LIBMWAW_WIN32_RESOURCE@ : libmwaw.rc $(libmwaw_@MWAW_MAJOR_VERSION@_@MWAW_MINOR_VERSION@_la_OBJECTS)
393	chmod +x $(top_srcdir)/build/win32/*compile-resource
394	WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource libmwaw.rc @LIBMWAW_WIN32_RESOURCE@
395
396endif
397
398EXTRA_DIST = \
399	libmwaw.rc.in
400
401# These may be in the builddir too
402BUILD_EXTRA_DIST = \
403	libmwaw.rc
404