| 1 |
## -*- Mode: make; tab-width: 4; indent-tabs-mode: tabs -*- |
| 2 |
|
| 3 |
if PLATFORM_WIN32 |
| 4 |
version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -avoid-version |
| 5 |
else |
| 6 |
version_info = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) |
| 7 |
endif |
| 8 |
|
| 9 |
noinst_LTLIBRARIES = libepubgen_internal.la |
| 10 |
lib_LTLIBRARIES = libepubgen-@EPUBGEN_MAJOR_VERSION@.@[email protected] |
| 11 |
|
| 12 |
AM_CXXFLAGS = \ |
| 13 |
-DEPUBGEN_BUILD=1 \ |
| 14 |
-I$(top_srcdir)/inc \ |
| 15 |
$(REVENGE_CFLAGS) \ |
| 16 |
$(REVENGE_STREAM_CFLAGS) \ |
| 17 |
$(BOOST_CFLAGS) \ |
| 18 |
$(DEBUG_CXXFLAGS) |
| 19 |
|
| 20 |
libepubgen_@EPUBGEN_MAJOR_VERSION@_@EPUBGEN_MINOR_VERSION@_la_LIBADD = \ |
| 21 |
$(REVENGE_LIBS) \ |
| 22 |
libepubgen_internal.la \ |
| 23 |
@LIBEPUBGEN_WIN32_RESOURCE@ |
| 24 |
|
| 25 |
libepubgen_@EPUBGEN_MAJOR_VERSION@_@EPUBGEN_MINOR_VERSION@_la_DEPENDENCIES = libepubgen_internal.la @LIBEPUBGEN_WIN32_RESOURCE@ |
| 26 |
libepubgen_@EPUBGEN_MAJOR_VERSION@_@EPUBGEN_MINOR_VERSION@_la_LDFLAGS = $(version_info) -export-dynamic -no-undefined |
| 27 |
libepubgen_@EPUBGEN_MAJOR_VERSION@_@EPUBGEN_MINOR_VERSION@_la_SOURCES = \ |
| 28 |
EPUBDrawingGenerator.cpp \ |
| 29 |
EPUBPresentationGenerator.cpp \ |
| 30 |
EPUBTextGenerator.cpp |
| 31 |
|
| 32 |
libepubgen_internal_la_SOURCES = \ |
| 33 |
EPUBBinaryContent.cpp \ |
| 34 |
EPUBBinaryContent.h \ |
| 35 |
EPUBBodyStyleManager.cpp \ |
| 36 |
EPUBBodyStyleManager.h \ |
| 37 |
EPUBCounter.cpp \ |
| 38 |
EPUBCounter.h \ |
| 39 |
EPUBCSSContent.cpp \ |
| 40 |
EPUBCSSContent.h \ |
| 41 |
EPUBCSSProperties.cpp \ |
| 42 |
EPUBCSSProperties.h \ |
| 43 |
EPUBFontManager.cpp \ |
| 44 |
EPUBFontManager.h \ |
| 45 |
EPUBGenerator.cpp \ |
| 46 |
EPUBGenerator.h \ |
| 47 |
EPUBHTMLGenerator.cpp \ |
| 48 |
EPUBHTMLGenerator.h \ |
| 49 |
EPUBHTMLManager.cpp \ |
| 50 |
EPUBHTMLManager.h \ |
| 51 |
EPUBImageManager.cpp \ |
| 52 |
EPUBImageManager.h \ |
| 53 |
EPUBListStyleManager.cpp \ |
| 54 |
EPUBListStyleManager.h \ |
| 55 |
EPUBManifest.cpp \ |
| 56 |
EPUBManifest.h \ |
| 57 |
EPUBPagedGenerator.cpp \ |
| 58 |
EPUBPagedGenerator.h \ |
| 59 |
EPUBParagraphStyleManager.cpp \ |
| 60 |
EPUBParagraphStyleManager.h \ |
| 61 |
EPUBPath.cpp \ |
| 62 |
EPUBPath.h \ |
| 63 |
EPUBSpanStyleManager.cpp \ |
| 64 |
EPUBSpanStyleManager.h \ |
| 65 |
EPUBSplitGuard.cpp \ |
| 66 |
EPUBSplitGuard.h \ |
| 67 |
EPUBTableStyleManager.cpp \ |
| 68 |
EPUBTableStyleManager.h \ |
| 69 |
EPUBTextElements.cpp \ |
| 70 |
EPUBTextElements.h \ |
| 71 |
EPUBXMLContent.cpp \ |
| 72 |
EPUBXMLContent.h \ |
| 73 |
libepubgen_utils.cpp \ |
| 74 |
libepubgen_utils.h |
| 75 |
|
| 76 |
if OS_WIN32 |
| 77 |
|
| 78 |
@LIBEPUBGEN_WIN32_RESOURCE@ : libepubgen.rc $(libepubgen_@EPUBGEN_MAJOR_VERSION@_@EPUBGEN_MINOR_VERSION@_la_OBJECTS) |
| 79 |
chmod +x $(top_srcdir)/build/win32/*compile-resource |
| 80 |
WINDRES=@WINDRES@ $(top_srcdir)/build/win32/lt-compile-resource libepubgen.rc @LIBEPUBGEN_WIN32_RESOURCE@ |
| 81 |
|
| 82 |
endif |
| 83 |
|
| 84 |
EXTRA_DIST = \ |
| 85 |
libepubgen.rc.in \ |
| 86 |
libepubgen.rc |
| 87 |
|
| 88 |
## vim:set shiftwidth=4 tabstop=4 noexpandtab: |