1if PLATFORM_WIN32 2no_undefined = -no-undefined 3else 4if PLATFORM_DARWIN 5no_undefined = -no-undefined 6else 7no_undefined = 8endif 9endif 10 11if OS_WIN32 12version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -avoid-version 13else 14version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) 15endif 16 17lib_LTLIBRARIES = libwpd-@WPD_MAJOR_VERSION@.@WPD_MINOR_VERSION@.la $(target_libwpd_stream) 18 19AM_CXXFLAGS = -I$(top_srcdir)/inc $(REVENGE_CFLAGS) $(DEBUG_CXXFLAGS) -DLIBWPD_BUILD=1 20 21if HAVE_VISIBILITY 22AM_CXXFLAGS += -fvisibility=hidden -DLIBWPD_VISIBILITY 23endif 24 25libwpd_@WPD_MAJOR_VERSION@_@WPD_MINOR_VERSION@_la_LIBADD = $(REVENGE_LIBS) @LIBWPD_WIN32_RESOURCE@ 26libwpd_@WPD_MAJOR_VERSION@_@WPD_MINOR_VERSION@_la_DEPENDENCIES = @LIBWPD_WIN32_RESOURCE@ 27libwpd_@WPD_MAJOR_VERSION@_@WPD_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic $(no_undefined) 28libwpd_@WPD_MAJOR_VERSION@_@WPD_MINOR_VERSION@_la_SOURCES = \ 29 libwpd_internal.cpp \ 30 libwpd_math.cpp \ 31 WP1BottomMarginGroup.cpp \ 32 WP1CenterTextGroup.cpp \ 33 WP1ContentListener.cpp \ 34 WP1ExtendedCharacterGroup.cpp \ 35 WP1FileStructure.cpp \ 36 WP1FixedLengthGroup.cpp \ 37 WP1FlushRightGroup.cpp \ 38 WP1FontIdGroup.cpp \ 39 WP1FootnoteEndnoteGroup.cpp \ 40 WP1HeaderFooterGroup.cpp \ 41 WP1Heuristics.cpp \ 42 WP1JustificationGroup.cpp \ 43 WP1LeftIndentGroup.cpp \ 44 WP1LeftRightIndentGroup.cpp \ 45 WP1Listener.cpp \ 46 WP1MarginReleaseGroup.cpp \ 47 WP1MarginResetGroup.cpp \ 48 WP1Parser.cpp \ 49 WP1Part.cpp \ 50 WP1PictureGroup.cpp \ 51 WP1PointSizeGroup.cpp \ 52 WP1SetTabsGroup.cpp \ 53 WP1SpacingResetGroup.cpp \ 54 WP1StylesListener.cpp \ 55 WP1SubDocument.cpp \ 56 WP1SuppressPageCharacteristicsGroup.cpp \ 57 WP1TopMarginGroup.cpp \ 58 WP1UnsupportedFixedLengthGroup.cpp \ 59 WP1UnsupportedVariableLengthGroup.cpp \ 60 WP1VariableLengthGroup.cpp \ 61 WP3AttributeGroup.cpp \ 62 WP3ContentListener.cpp \ 63 WP3DefinitionGroup.cpp \ 64 WP3DisplayGroup.cpp \ 65 WP3DoubleByteScriptCharacterGroup.cpp \ 66 WP3EndOfLinePageGroup.cpp \ 67 WP3ExtendedCharacterGroup.cpp \ 68 WP3FileStructure.cpp \ 69 WP3FixedLengthGroup.cpp \ 70 WP3FontGroup.cpp \ 71 WP3FootnoteEndnoteGroup.cpp \ 72 WP3Header.cpp \ 73 WP3HeaderFooterGroup.cpp \ 74 WP3IndentGroup.cpp \ 75 WP3Listener.cpp \ 76 WP3MiscellaneousGroup.cpp \ 77 WP3PageFormatGroup.cpp \ 78 WP3Parser.cpp \ 79 WP3Part.cpp \ 80 WP3ResourceFork.cpp \ 81 WP3Resource.cpp \ 82 WP3SingleByteFunction.cpp \ 83 WP3StylesListener.cpp \ 84 WP3SubDocument.cpp \ 85 WP3TabGroup.cpp \ 86 WP3TablesGroup.cpp \ 87 WP3UndoGroup.cpp \ 88 WP3UnsupportedFixedLengthGroup.cpp \ 89 WP3UnsupportedVariableLengthGroup.cpp \ 90 WP3VariableLengthGroup.cpp \ 91 WP3WindowGroup.cpp \ 92 WP42ContentListener.cpp \ 93 WP42DefineColumnsGroup.cpp \ 94 WP42ExtendedCharacterGroup.cpp \ 95 WP42FileStructure.cpp \ 96 WP42HeaderFooterGroup.cpp \ 97 WP42Heuristics.cpp \ 98 WP42Listener.cpp \ 99 WP42MarginResetGroup.cpp \ 100 WP42MultiByteFunctionGroup.cpp \ 101 WP42Parser.cpp \ 102 WP42Part.cpp \ 103 WP42StylesListener.cpp \ 104 WP42SubDocument.cpp \ 105 WP42SuppressPageCharacteristicsGroup.cpp \ 106 WP42UnsupportedMultiByteFunctionGroup.cpp \ 107 WP5AttributeGroup.cpp \ 108 WP5BoxGroup.cpp \ 109 WP5ContentListener.cpp \ 110 WP5DefinitionGroup.cpp \ 111 WP5ExtendedCharacterGroup.cpp \ 112 WP5FileStructure.cpp \ 113 WP5FixedLengthGroup.cpp \ 114 WP5FontGroup.cpp \ 115 WP5FontNameStringPoolPacket.cpp \ 116 WP5FootnoteEndnoteGroup.cpp \ 117 WP5GeneralPacketData.cpp \ 118 WP5GeneralPacketIndex.cpp \ 119 WP5GraphicsInformationPacket.cpp \ 120 WP5Header.cpp \ 121 WP5HeaderFooterGroup.cpp \ 122 WP5IndentGroup.cpp \ 123 WP5Listener.cpp \ 124 WP5ListFontsUsedPacket.cpp \ 125 WP5PageFormatGroup.cpp \ 126 WP5Parser.cpp \ 127 WP5Part.cpp \ 128 WP5PrefixData.cpp \ 129 WP5SingleByteFunction.cpp \ 130 WP5SpecialHeaderIndex.cpp \ 131 WP5StylesListener.cpp \ 132 WP5SubDocument.cpp \ 133 WP5TabGroup.cpp \ 134 WP5TableEOLGroup.cpp \ 135 WP5TableEOPGroup.cpp \ 136 WP5UnsupportedFixedLengthGroup.cpp \ 137 WP5UnsupportedVariableLengthGroup.cpp \ 138 WP5VariableLengthGroup.cpp \ 139 WP6AttributeGroup.cpp \ 140 WP6BoxGroup.cpp \ 141 WP6CharacterGroup.cpp \ 142 WP6ColumnGroup.cpp \ 143 WP6CommentAnnotationPacket.cpp \ 144 WP6ContentListener.cpp \ 145 WP6DefaultInitialFontPacket.cpp \ 146 WP6DisplayNumberReferenceGroup.cpp \ 147 WP6EOLGroup.cpp \ 148 WP6ExtendedCharacterGroup.cpp \ 149 WP6ExtendedDocumentSummaryPacket.cpp \ 150 WP6FileStructure.cpp \ 151 WP6FillStylePacket.cpp \ 152 WP6FixedLengthGroup.cpp \ 153 WP6FontDescriptorPacket.cpp \ 154 WP6FootnoteEndnoteGroup.cpp \ 155 WP6GeneralTextPacket.cpp \ 156 WP6GraphicsBoxStylePacket.cpp \ 157 WP6GraphicsCachedFileDataPacket.cpp \ 158 WP6GraphicsFilenamePacket.cpp \ 159 WP6Header.cpp \ 160 WP60Header.cpp \ 161 WP61Header.cpp \ 162 WP6HeaderFooterGroup.cpp \ 163 WP6HighlightGroup.cpp \ 164 WP6HyperlinkPacket.cpp \ 165 WP6Listener.cpp \ 166 WP6NumberingMethodGroup.cpp \ 167 WP6Parser.cpp \ 168 WP6OutlineStylePacket.cpp \ 169 WP6PageGroup.cpp \ 170 WP6ParagraphGroup.cpp \ 171 WP6Part.cpp \ 172 WP6PrefixData.cpp \ 173 WP6PrefixIndice.cpp \ 174 WP6PrefixDataPacket.cpp \ 175 WP6SetNumberGroup.cpp \ 176 WP6SingleByteFunction.cpp \ 177 WP6StyleGroup.cpp \ 178 WP6StylesListener.cpp \ 179 WP6SubDocument.cpp \ 180 WP6TabGroup.cpp \ 181 WP6TableStylePacket.cpp \ 182 WP6UndoGroup.cpp \ 183 WP6UnsupportedFixedLengthGroup.cpp \ 184 WP6UnsupportedVariableLengthGroup.cpp \ 185 WP6VariableLengthGroup.cpp \ 186 WPDocument.cpp \ 187 WPXContentListener.cpp \ 188 WPXEncryption.cpp \ 189 WPXHeader.cpp \ 190 WPXHeaderFooter.cpp \ 191 WPXListener.cpp \ 192 WPXMemoryStream.cpp \ 193 WPXPageSpan.cpp \ 194 WPXParser.cpp \ 195 WPXStylesListener.cpp \ 196 WPXSubDocument.cpp \ 197 WPXTable.cpp \ 198 WPXTableList.cpp \ 199 libwpd_internal.h \ 200 libwpd_math.h \ 201 WP1BottomMarginGroup.h \ 202 WP1CenterTextGroup.h \ 203 WP1ContentListener.h \ 204 WP1ExtendedCharacterGroup.h \ 205 WP1FileStructure.h \ 206 WP1FixedLengthGroup.h \ 207 WP1FlushRightGroup.h \ 208 WP1FontIdGroup.h \ 209 WP1FootnoteEndnoteGroup.h \ 210 WP1HeaderFooterGroup.h \ 211 WP1Heuristics.h \ 212 WP1JustificationGroup.h \ 213 WP1LeftIndentGroup.h \ 214 WP1LeftRightIndentGroup.h \ 215 WP1Listener.h \ 216 WP1MarginReleaseGroup.h \ 217 WP1MarginResetGroup.h \ 218 WP1Parser.h \ 219 WP1Part.h \ 220 WP1PictureGroup.h \ 221 WP1PointSizeGroup.h \ 222 WP1SetTabsGroup.h \ 223 WP1SpacingResetGroup.h \ 224 WP1StylesListener.h \ 225 WP1SubDocument.h \ 226 WP1SuppressPageCharacteristicsGroup.h \ 227 WP1TopMarginGroup.h \ 228 WP1UnsupportedFixedLengthGroup.h \ 229 WP1UnsupportedVariableLengthGroup.h \ 230 WP1VariableLengthGroup.h \ 231 WP3AttributeGroup.h \ 232 WP3ContentListener.h \ 233 WP3DefinitionGroup.h \ 234 WP3DisplayGroup.h \ 235 WP3DoubleByteScriptCharacterGroup.h \ 236 WP3EndOfLinePageGroup.h \ 237 WP3ExtendedCharacterGroup.h \ 238 WP3FileStructure.h \ 239 WP3FixedLengthGroup.h \ 240 WP3FontGroup.h \ 241 WP3FootnoteEndnoteGroup.h \ 242 WP3Header.h \ 243 WP3HeaderFooterGroup.h \ 244 WP3IndentGroup.h \ 245 WP3Listener.h \ 246 WP3MiscellaneousGroup.h \ 247 WP3PageFormatGroup.h \ 248 WP3Parser.h \ 249 WP3Part.h \ 250 WP3ResourceFork.h \ 251 WP3Resource.h \ 252 WP3SingleByteFunction.h \ 253 WP3StylesListener.h \ 254 WP3SubDocument.h \ 255 WP3TabGroup.h \ 256 WP3TablesGroup.h \ 257 WP3UndoGroup.h \ 258 WP3UnsupportedFixedLengthGroup.h \ 259 WP3UnsupportedVariableLengthGroup.h \ 260 WP3VariableLengthGroup.h \ 261 WP3WindowGroup.h \ 262 WP42ContentListener.h \ 263 WP42DefineColumnsGroup.h \ 264 WP42ExtendedCharacterGroup.h \ 265 WP42FileStructure.h \ 266 WP42HeaderFooterGroup.h \ 267 WP42Heuristics.h \ 268 WP42Listener.h \ 269 WP42MarginResetGroup.h \ 270 WP42MultiByteFunctionGroup.h \ 271 WP42Part.h \ 272 WP42Parser.h \ 273 WP42StylesListener.h \ 274 WP42SubDocument.h \ 275 WP42SuppressPageCharacteristicsGroup.h \ 276 WP42UnsupportedMultiByteFunctionGroup.h \ 277 WP5AttributeGroup.h \ 278 WP5BoxGroup.h \ 279 WP5ContentListener.h \ 280 WP5DefinitionGroup.h \ 281 WP5ExtendedCharacterGroup.h \ 282 WP5FileStructure.h \ 283 WP5FixedLengthGroup.h \ 284 WP5FontGroup.h \ 285 WP5FontNameStringPoolPacket.h \ 286 WP5FootnoteEndnoteGroup.h \ 287 WP5GeneralPacketData.h \ 288 WP5GeneralPacketIndex.h \ 289 WP5GraphicsInformationPacket.h \ 290 WP5Header.h \ 291 WP5HeaderFooterGroup.h \ 292 WP5IndentGroup.h \ 293 WP5Listener.h \ 294 WP5ListFontsUsedPacket.h \ 295 WP5PageFormatGroup.h \ 296 WP5Part.h \ 297 WP5Parser.h \ 298 WP5PrefixData.h \ 299 WP5SingleByteFunction.h \ 300 WP5SpecialHeaderIndex.h \ 301 WP5StylesListener.h \ 302 WP5SubDocument.h \ 303 WP5TabGroup.h \ 304 WP5TableEOLGroup.h \ 305 WP5TableEOPGroup.h \ 306 WP5UnsupportedFixedLengthGroup.h \ 307 WP5UnsupportedVariableLengthGroup.h \ 308 WP5VariableLengthGroup.h \ 309 WP6FileStructure.h \ 310 WP6AttributeGroup.h \ 311 WP6BoxGroup.h \ 312 WP6CharacterGroup.h \ 313 WP6ColumnGroup.h \ 314 WP6CommentAnnotationPacket.h \ 315 WP6ContentListener.h \ 316 WP6DefaultInitialFontPacket.h \ 317 WP6DisplayNumberReferenceGroup.h \ 318 WP6EOLGroup.h \ 319 WP6ExtendedCharacterGroup.h \ 320 WP6ExtendedDocumentSummaryPacket.h \ 321 WP6FillStylePacket.h \ 322 WP6FixedLengthGroup.h \ 323 WP6FontDescriptorPacket.h \ 324 WP6FootnoteEndnoteGroup.h \ 325 WP6GeneralTextPacket.h \ 326 WP6GraphicsBoxStylePacket.h \ 327 WP6GraphicsCachedFileDataPacket.h \ 328 WP6GraphicsFilenamePacket.h \ 329 WP6Header.h \ 330 WP60Header.h \ 331 WP61Header.h \ 332 WP6HeaderFooterGroup.h \ 333 WP6HighlightGroup.h \ 334 WP6HyperlinkPacket.h \ 335 WP6Listener.h \ 336 WP6NumberingMethodGroup.h \ 337 WP6OutlineStylePacket.h \ 338 WP6PageGroup.h \ 339 WP6ParagraphGroup.h \ 340 WP6Parser.h \ 341 WP6Part.h \ 342 WP6PrefixData.h \ 343 WP6PrefixIndice.h \ 344 WP6PrefixDataPacket.h \ 345 WP6SetNumberGroup.h \ 346 WP6SingleByteFunction.h \ 347 WP6StyleGroup.h \ 348 WP6StylesListener.h \ 349 WP6SubDocument.h \ 350 WP6TabGroup.h \ 351 WP6TableStylePacket.h \ 352 WP6TibetanMap.h \ 353 WP6UndoGroup.h \ 354 WP6UnsupportedFixedLengthGroup.h \ 355 WP6UnsupportedVariableLengthGroup.h \ 356 WP6VariableLengthGroup.h \ 357 WPXContentListener.h \ 358 WPXEncryption.h \ 359 WPXHeader.h \ 360 WPXHeaderFooter.h \ 361 WPXFileStructure.h \ 362 WPXListener.h \ 363 WPXMemoryStream.h \ 364 WPXPageSpan.h \ 365 WPXParser.h \ 366 WPXStylesListener.h \ 367 WPXSubDocument.h \ 368 WPXTable.h \ 369 WPXTableList.h 370 371if OS_WIN32 372 373@LIBWPD_WIN32_RESOURCE@ : libwpd.rc $(libwpd_@WPD_MAJOR_VERSION@_@WPD_MINOR_VERSION@_la_OBJECTS) 374 chmod +x $(top_srcdir)/build/win32/*compile-resource 375 WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource libwpd.rc @LIBWPD_WIN32_RESOURCE@ 376endif 377 378EXTRA_DIST = \ 379 libwpd.rc.in \ 380 libwpd.rc 381