]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Makefile.am
add GnomePrintJob to EvPrintJob constructor arguments.
[evince.git] / pdf / xpdf / Makefile.am
index dec832498e5c2970cf7c114fc126ebd12d6708d6..9676c009c4d83733c1431c456caeca8c0c34454b 100644 (file)
-
-INCLUDES =                                     \
-       -I$(top_srcdir)/goo                     \
-       -I$(top_srcdir)/ltk                     \
-       -DDATADIR=\""$(datadir)"\"              \
-       $(EXTRA_GLIB_CFLAGS)                    \
-       $(EXTRA_GNOME_CFLAGS)
-
-if WITH_GNOME
-gui = gpdf
-else
-gui = xpdf
-endif
-
-bin_PROGRAMS =         $(gui)  bonobo-application-x-pdf
-#      pdftops pdftotext       
-#      pdfinfo pdftopbm        
-#      pdfimages               
-
-
-common_sources =               \
+INCLUDES =                                                     \
+       -I$(top_srcdir)                                         \
+       -I$(top_srcdir)/backend                                 \
+       -I$(top_srcdir)/pdf                                     \
+       -I$(top_srcdir)/pdf/goo                                 \
+       -I$(top_srcdir)/pdf/fofi                                \
+       -I$(top_srcdir)/pdf/splash                              \
+       $(GTK_CFLAGS)                                           \
+       -DDATADIR=\""$(datadir)"\"
+
+noinst_PROGRAMS = test-gdk-output-dev
+
+noinst_LTLIBRARIES = libxpdf.la libpdfdocument.la
+
+libxpdf_la_SOURCES =           \
+       Annot.cc                \
+       Annot.h                 \
        Array.cc                \
        Array.h                 \
        BaseFile.h              \
        Array.cc                \
        Array.h                 \
        BaseFile.h              \
+       BuiltinFont.cc          \
+       BuiltinFont.h           \
+       BuiltinFontTables.cc    \
+       BuiltinFontTables.h     \
        Catalog.cc              \
        Catalog.h               \
        Catalog.cc              \
        Catalog.h               \
-       CompactFontInfo.h       \
+       CharCodeToUnicode.cc    \
+       CharCodeToUnicode.h     \
+       CMap.cc                 \
+       CMap.h                  \
+       Decrypt.cc              \
+       Decrypt.h               \
        Dict.cc                 \
        Dict.h                  \
        Error.cc                \
        Error.h                 \
        Dict.cc                 \
        Dict.h                  \
        Error.cc                \
        Error.h                 \
-       FontEncoding.cc         \
-       FontEncoding.h          \
-       FontFile.cc             \
-       FontFile.h              \
-       FontInfo.h              \
+       FontEncodingTables.cc   \
+       FontEncodingTables.h    \
+       Function.cc             \
+       Function.h              \
        Gfx.cc                  \
        Gfx.h                   \
        GfxFont.cc              \
        GfxFont.h               \
        GfxState.cc             \
        GfxState.h              \
        Gfx.cc                  \
        Gfx.h                   \
        GfxFont.cc              \
        GfxFont.h               \
        GfxState.cc             \
        GfxState.h              \
+       GlobalParams.cc         \
+       GlobalParams.h          \
+       JArithmeticDecoder.cc   \
+       JArithmeticDecoder.h    \
+       JBIG2Stream.cc          \
+       JBIG2Stream.h           \
+       JPXStream.cc            \
+       JPXStream.h             \
        Lexer.cc                \
        Lexer.h                 \
        Link.cc                 \
        Link.h                  \
        Lexer.cc                \
        Lexer.h                 \
        Link.cc                 \
        Link.h                  \
+       NameToCharCode.cc       \
+       NameToCharCode.h        \
        Object.cc               \
        Object.h                \
        Object.cc               \
        Object.h                \
+       Outline.cc              \
+       Outline.h               \
        OutputDev.cc            \
        OutputDev.h             \
        Page.cc                 \
        Page.h                  \
        OutputDev.cc            \
        OutputDev.h             \
        Page.cc                 \
        Page.h                  \
-       Params.cc               \
-       Params.h                \
        Parser.cc               \
        Parser.h                \
        PDFDoc.cc               \
        PDFDoc.h                \
        Parser.cc               \
        Parser.h                \
        PDFDoc.cc               \
        PDFDoc.h                \
-       StdFontInfo.h           \
+       PDFDocEncoding.cc       \
+       PDFDocEncoding.h        \
+       PSTokenizer.cc          \
+       PSTokenizer.h           \
+       SplashOutputDev.cc      \
+       SplashOutputDev.h       \
+       Stream-CCITT.h          \
        Stream.cc               \
        Stream.h                \
        Stream.cc               \
        Stream.h                \
-       Stream-CCITT.h          \
-       TextOutputDev.h         \
-       TextOutputFontInfo.h    \
-       TextOutputDev.cc        \
+       UnicodeMap.cc           \
+       UnicodeMap.h            \
+       UnicodeMapTables.h      \
+       UnicodeTypeTable.cc     \
+       UnicodeTypeTable.h      \
        XRef.cc                 \
        XRef.cc                 \
-       XRef.h
-
-gpdf_CFLAGS =                  \
-       -DBONOBO_IO
-
-gpdf_SOURCES =                         \
-       gpdf.cc
-
-gpdf_LDADD =                   \
-       $(GTK_LIBS)             \
-       $(GNOME_LIBDIR)         \
-       $(EXTRA_GNOME_LIBS)     \
-       $(INTLLIBS)
-
-bonobo_application_x_pdf_SOURCES =     \
-       $(common_sources)               \
-       BonoboStream.h                  \
-       BonoboStream.cc                 \
-       GOutputDev.cc                   \
-       GOutputDev.h                    \
-       bonobo-application-x-pdf.cc     \
-       bonobo-application-x-pdf.h      \
-       gtkgesture.c                    \
-       gtkgesture.h
-
-bonobo_application_x_pdf_LDADD =       \
-       ../goo/libgoo.a                 \
-       $(GTK_LIBS)                     \
-       $(GNOME_LIBDIR)                 \
-       $(EXTRA_GNOME_LIBS)             \
-       $(EXTRA_GLIB_LIBS)              \
-       $(INTLLIBS)
-
-xpdf_SOURCES =                 \
-       $(common_sources)       \
-       XOutputDev.cc           \
-       LTKOutputDev.cc         \
+       XRef.h                  \
+                               \
+       CharTypes.h             \
+       CompactFontTables.h     \
+       ErrorCodes.h            \
+       NameToUnicodeTable.h    \
+       GDKSplashOutputDev.cc   \
+       GDKSplashOutputDev.h    \
        PSOutputDev.cc          \
        PSOutputDev.h           \
        PSOutputDev.cc          \
        PSOutputDev.h           \
-       xpdf.cc
-
-xpdf_CFLAGS = $(X_CFLAGS)
-xpdf_LDADD = ../goo/libgoo.a ../ltk/libltk.a -lXpm $(EXTRA_GNOME_LIBS) 
-
-#pdfimages_SOURCES =           
-#      $(common_sources)       
-#      ImageOutputDev.cc       
-#      ImageOutputDev.h        
-#      pdfimages.cc
-
-#pdfimages_LDADD = ../goo/libgoo.a
-#
-#pdftops_SOURCES =             
-#      $(common_sources)       
-#      PSOutputDev.cc          
-#       pdftops.cc
-#pdftops_LDADD = ../goo/libgoo.a
-
-#pdftotext_SOURCES =           
-#      $(common_sources)       
-#      pdftotext.cc
-#pdftotext_LDADD = ../goo/libgoo.a
-
-#pdfinfo_SOURCES =             
-#      $(common_sources)       
-#      pdfinfo.cc
-#pdfinfo_LDADD = ../goo/libgoo.a
-
-#pdftopbm_SOURCES =            
-#      $(common_sources)       
-#      PBMOutputDev.cc         
-#      PBMOutputDev.h          
-#      XOutputDev.cc           
-#      XOutputDev.h            
-#      XOutputFontInfo.h       
-#      pdftopbm.cc
-
-#pdftopbm_LDADD = ../goo/libgoo.a $(EXTRA_GNOME_LIBS)
-
-xpdf-ltk.h: xpdf.ltk
-       rm -f $@
-       $(top_srcdir)/ltk/ltkbuild <xpdf.ltk >$@.new
-       mv $@.new $@
-
-#bitmaps =             
-#      about.xbm               
-#      dblLeftArrow.xbm        
-#      dblRightArrow.xbm       
-#      find.xbm                
-#      leftArrow.xbm           
-#      postscript.xbm          
-#      rightArrow.xbm          
-#      xpdfIcon.xpm            
-#      zoomIn.xbm              
-#      zoomOut.xbm             
-
-
-stockdir = $(datadir)/pixmaps/gpdf
-stock_DATA = stock-zoom-in.xpm stock-zoom-out.xpm \
-            stock-zoom-fit.xpm stock-zoom-fit-wide.xpm \
-            stock-zoom-fit-tall.xpm    
-
-ltk =                  \
-       xpdf-flip.ltk   \
-       xpdf-top.ltk    \
-       xpdf.ltk
+       TextOutputDev.cc        \
+       TextOutputDev.h         \
+       UTF8.h
 
 
-oafdir = $(datadir)/oaf
-oaf_DATA = GNOME_XPDF.oafinfo
+# 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.
 
 
-XML_FILES =                            \
-       gpdf-ui.xml                     \
-       bonobo-application-x-pdf-ui.xml
+test_gdk_output_dev_SOURCES =          \
+       test-gdk-output-dev.cc
 
 
-uidir = $(datadir)/gnome/ui
-ui_DATA = $(XML_FILES)
+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                 \
+       $(GTK_LIBS)
 
 
-EXTRA_DIST = $(stock_DATA) ChangeLog $(ltk)    \
-             $(oaf_DATA) config.h $(XML_FILES)
+libpdfdocument_la_SOURCES =    \
+       pdf-document.cc         \
+       pdf-document.h
 
 
+libpdfdocument_la_LIBADD =                                     \
+       libxpdf.la                                              \
+       $(top_builddir)/pdf/goo/libGoo.la                       \
+       $(top_builddir)/pdf/fofi/libfofi.la                     \
+       $(top_builddir)/pdf/splash/libsplash.la
 
 
+EXTRA_DIST = config.h