]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/Makefile.am
Reused eog HIG dialog in GPdf.
[evince.git] / pdf / xpdf / Makefile.am
index 53fbbdbbc535fdc0eea0ae105de60c5040523d9f..69c42b680d2ca8fa332c5dc30ea8fbf944f26b07 100644 (file)
@@ -3,10 +3,13 @@ SUBDIRS = . tests
 INCLUDES =                                                     \
        -I$(top_srcdir)                                         \
        -I$(top_srcdir)/goo                                     \
+       -I$(top_srcdir)/lib/ggv-sidebar                         \
        -DDATADIR=\""$(datadir)"\"                              \
         -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
        -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"                 \
        $(EXTRA_GNOME_CFLAGS)                                   \
+       $(GNOME_PRINT_PRIVATE_CFLAGS)                           \
+       $(GPDF_DEPRECATED_CFLAGS)                               \
        $(WARN_CFLAGS)                                          \
        $(libpaper_CFLAGS)
 
@@ -34,6 +37,7 @@ libxpdf_a_SOURCES =           \
        Annot.h                 \
        Array.cc                \
        Array.h                 \
+       BaseFile.h              \
        BuiltinFont.cc          \
        BuiltinFont.h           \
        BuiltinFontTables.cc    \
@@ -76,6 +80,8 @@ libxpdf_a_SOURCES =           \
        Object.h                \
        Outline.cc              \
        Outline.h               \
+       OutputDev.cc            \
+       OutputDev.h             \
        Page.cc                 \
        Page.h                  \
        Parser.cc               \
@@ -96,7 +102,6 @@ libxpdf_a_SOURCES =          \
        XRef.h
 
 common_sources =               \
-       BaseFile.h              \
        CharTypes.h             \
        CompactFontTables.h     \
        DisplayFontTable.h      \
@@ -104,8 +109,6 @@ common_sources =            \
        FTFont.cc               \
        FTFont.h                \
        NameToUnicodeTable.h    \
-       OutputDev.cc            \
-       OutputDev.h             \
        SFont.cc                \
        SFont.h                 \
        T1Font.cc               \
@@ -117,23 +120,25 @@ common_sources =          \
        UTF8.h
 
 libgpdf_a_SOURCES =                    \
-       gpdf-link-canvas-item.cc        \
-       gpdf-link-canvas-item.h         \
-       gpdf-links-canvas-layer.cc      \
-       gpdf-links-canvas-layer.h
-
-gnome_pdf_viewer_SOURCES =             \
-       $(common_sources)               \
        BonoboStream.cc                 \
        BonoboStream.h                  \
        GnomeVFSStream.cc               \
        GnomeVFSStream.h                \
        GPOutputDev.cc                  \
        GPOutputDev.h                   \
-       bonobo-application-x-pdf.cc     \
+       PSOutputDev.cc                  \
+       PSOutputDev.h                   \
+       eog-hig-dialog.c                \
+       eog-hig-dialog.h                \
        gpdf-control.cc                 \
        gpdf-control.h                  \
        gpdf-g-switch.h                 \
+       gpdf-link-canvas-item.cc        \
+       gpdf-link-canvas-item.h         \
+       gpdf-links-canvas-layer.cc      \
+       gpdf-links-canvas-layer.h       \
+       gpdf-persist-file.cc            \
+       gpdf-persist-file.h             \
        gpdf-persist-stream.cc          \
        gpdf-persist-stream.h           \
        gpdf-stock-icons.c              \
@@ -143,16 +148,22 @@ gnome_pdf_viewer_SOURCES =                \
        gpdf-view.h                     \
        gtkgesture.c                    \
        gtkgesture.h                    \
-       nautilus-pdf-property-page.cc   \
-       nautilus-pdf-property-page.h    \
        page-control.c                  \
        page-control.h                  \
        pdf-info-dict-util.cc           \
        pdf-info-dict-util.h            \
        pdf-properties-display.c        \
        pdf-properties-display.h        \
+       gpdf-font-face.c                \
+       gpdf-font-face.h                \
        $(marshal_sources)
 
+gnome_pdf_viewer_SOURCES =             \
+       $(common_sources)               \
+       bonobo-application-x-pdf.cc     \
+       nautilus-pdf-property-page.cc   \
+       nautilus-pdf-property-page.h
+
 
 # Old files
 #      GOutputDev.cc                   \
@@ -164,11 +175,12 @@ gnome_pdf_viewer_SOURCES =                \
 #      gpdf-embeddable-view.cc         \
 #      gpdf-embeddable-view.h
 
-gnome_pdf_viewer_LDADD =               \
-       libxpdf.a                       \
-       libgpdf.a                       \
-       $(top_builddir)/goo/libGoo.a    \
-       $(EXTRA_GNOME_LIBS)             \
+gnome_pdf_viewer_LDADD =                                       \
+       libxpdf.a                                               \
+       libgpdf.a                                               \
+       $(top_builddir)/goo/libGoo.a                            \
+       $(top_builddir)/lib/ggv-sidebar/libggv-sidebar.a        \
+       $(EXTRA_GNOME_LIBS)                                     \
        $(libpaper_LIBS)
 
 xpdf_SOURCES =                 \
@@ -251,11 +263,20 @@ gpdf-marshal.c: gpdf-marshal.list $(GLIB_GENMARSHAL)
        echo "#include \"gpdf-marshal.h\"" > $@ && \
        $(GLIB_GENMARSHAL) $< --body --prefix=gpdf_marshal >> $@
 
+BUILT_SOURCES = $(marshal_sources)
+DONT_DIST_SOURCE = $(marshal_sources)
+
+dist-hook:
+       for file in $(DONT_DIST_SOURCE) ; do \
+           rm -f $(distdir)/$$file ; \
+       done
+
 stockdir = $(datadir)/pixmaps/gpdf
 stock_DATA = fitwidth.png
 
 gladedir = $(datadir)/gpdf/glade
-glade_DATA =                           \
+glade_DATA =                                   \
+       gpdf-print-progress-dialog.glade        \
        gpdf-properties-dialog.glade
 
 server_in_files = GNOME_PDF.server.in.in
@@ -271,9 +292,8 @@ ui_DATA =                           \
 
 CLEANFILES =                           \
        $(server_DATA)                  \
-       $(server_in_files:.server.in.in=.server.in)
-
-#      $(marshal_sources)
+       $(server_in_files:.server.in.in=.server.in) \
+       $(marshal_sources)
 
 EXTRA_DIST = $(stock_DATA)             \
        gpdf-marshal.list               \
@@ -281,11 +301,3 @@ EXTRA_DIST = $(stock_DATA)         \
        config.h                        \
        $(ui_DATA)                      \
        $(glade_DATA)
-
-DONT_DIST_SOURCE = $(marshal_sources)
-
-# dist-hook:
-#      for file in $(DONT_DIST_SOURCE) ; do \
-#          rm -f $(distdir)/$$file ; \
-#      done
-