]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Makefile.am
Scroll at the top of the page when changing page
[evince.git] / pdf / xpdf / Makefile.am
index 5d931401247f3d266751f6cb543c72e793a11fae..4e884cc01ae8e9809e6fcb9661a483e0cf6166bf 100644 (file)
@@ -1,5 +1,6 @@
 INCLUDES =                                                     \
        -I$(top_srcdir)                                         \
+       -I$(top_srcdir)/backend                                 \
        -I$(top_srcdir)/pdf                                     \
        -I$(top_srcdir)/pdf/goo                                 \
        -I$(top_srcdir)/pdf/fofi                                \
@@ -9,9 +10,9 @@ INCLUDES =                                                     \
 
 noinst_PROGRAMS = test-gdk-output-dev
 
-noinst_LIBRARIES = libxpdf.a
+noinst_LTLIBRARIES = libxpdf.la libpdfdocument.la
 
-libxpdf_a_SOURCES =            \
+libxpdf_la_SOURCES =           \
        Annot.cc                \
        Annot.h                 \
        Array.cc                \
@@ -73,39 +74,58 @@ libxpdf_a_SOURCES =         \
        PDFDocEncoding.h        \
        PSTokenizer.cc          \
        PSTokenizer.h           \
+       SplashOutputDev.cc      \
+       SplashOutputDev.h       \
        Stream-CCITT.h          \
        Stream.cc               \
        Stream.h                \
+       Thumb.cc                \
+       Thumb.h                 \
        UnicodeMap.cc           \
        UnicodeMap.h            \
        UnicodeMapTables.h      \
        UnicodeTypeTable.cc     \
        UnicodeTypeTable.h      \
        XRef.cc                 \
-       XRef.h
-
-common_sources =               \
+       XRef.h                  \
+                               \
        CharTypes.h             \
        CompactFontTables.h     \
        ErrorCodes.h            \
        NameToUnicodeTable.h    \
+       GDKSplashOutputDev.cc   \
+       GDKSplashOutputDev.h    \
+       PSOutputDev.cc          \
+       PSOutputDev.h           \
        TextOutputDev.cc        \
        TextOutputDev.h         \
-       UTF8.h
+       UTF8.h                  \
+                               \
+       gpdf-g-switch.h
+
+# The sources at the end are put in libxpdf.a for convenience here, but are 
+# conceptually part of the apps not part of the libs.
 
 test_gdk_output_dev_SOURCES =          \
-       GDKSplashOutputDev.cc           \
-       GDKSplashOutputDev.h            \
-       SplashOutputDev.cc              \
-       SplashOutputDev.h               \
-       $(common_sources)               \
        test-gdk-output-dev.cc
 
-test_gdk_output_dev_LDADD =                                    \
-        libxpdf.a                                               \
-        $(top_builddir)/pdf/goo/libGoo.a                        \
-        $(top_builddir)/pdf/fofi/libfofi.a                      \
-       $(top_builddir)/pdf/splash/libsplash.a                  \
+test_gdk_output_dev_LDADD =                                    \
+       libxpdf.la                                              \
+       $(top_builddir)/pdf/goo/libGoo.la                       \
+       $(top_builddir)/pdf/fofi/libfofi.la                     \
+       $(top_builddir)/pdf/splash/libsplash.la                 \
+       $(top_builddir)/backend/libevbackend.la                 \
        $(GTK_LIBS)
 
-EXTRA_DIST = config.h
+libpdfdocument_la_SOURCES =    \
+       pdf-document.cc         \
+       pdf-document.h
+
+libpdfdocument_la_LIBADD =                                     \
+       libxpdf.la                                              \
+       $(top_builddir)/backend/libevbackend.la                 \
+       $(top_builddir)/pdf/goo/libGoo.la                       \
+       $(top_builddir)/pdf/fofi/libfofi.la                     \
+       $(top_builddir)/pdf/splash/libsplash.la
+
+EXTRA_DIST = xpdfconfig.h