]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/Makefile.am
Add --with-platform configure switch
[evince.git] / libdocument / Makefile.am
index a16b68e7d799282c2c7752c442be1d09487ed3ee..8e002a4ef9ab6318f525f0615a246ed93bacc85b 100644 (file)
@@ -1,3 +1,5 @@
+QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
+
 lib_LTLIBRARIES = libevdocument.la
 
 NOINST_H_FILES =                               \
@@ -5,10 +7,12 @@ NOINST_H_FILES =                              \
        ev-module.h
 
 INST_H_FILES =                                         \
+       ev-annotation.h                         \
        ev-async-renderer.h                     \
        ev-attachment.h                         \
        ev-backends-manager.h                   \
        ev-document-factory.h                   \
+       ev-document-annotations.h               \
        ev-document-find.h                      \
        ev-document-fonts.h                     \
        ev-document-forms.h                     \
@@ -18,6 +22,7 @@ INST_H_FILES =                                        \
        ev-document-layers.h                    \
        ev-document-links.h                     \
        ev-document-misc.h                      \
+       ev-document-print.h                     \
        ev-document-security.h                  \
        ev-document-thumbnails.h                \
        ev-document-transition.h                \
@@ -31,6 +36,7 @@ INST_H_FILES =                                        \
        ev-link-action.h                        \
        ev-link-dest.h                          \
        ev-link.h                               \
+       ev-mapping.h                            \
        ev-page.h                               \
        ev-render-context.h                     \
        ev-selection.h                          \
@@ -41,6 +47,7 @@ headerdir = $(includedir)/evince/$(EV_API_VERSION)/libdocument
 header_DATA = $(INST_H_FILES)
 
 libevdocument_la_SOURCES=                      \
+       ev-annotation.c                         \
        ev-async-renderer.c                     \
        ev-attachment.c                         \
        ev-backends-manager.c                   \
@@ -51,12 +58,14 @@ libevdocument_la_SOURCES=                   \
        ev-image.c                              \
        ev-init.c                               \
        ev-document.c                           \
+       ev-document-annotations.c               \
        ev-document-factory.c                   \
        ev-document-thumbnails.c                \
        ev-document-fonts.c                     \
        ev-document-layers.c                    \
        ev-document-links.c                     \
        ev-document-images.c                    \
+       ev-document-print.c                     \
        ev-document-security.c                  \
        ev-document-find.c                      \
        ev-document-transition.c                \
@@ -66,6 +75,7 @@ libevdocument_la_SOURCES=                     \
        ev-debug.c                              \
        ev-file-exporter.c                      \
        ev-file-helpers.c                       \
+       ev-mapping.c                            \
        ev-module.c                             \
        ev-page.c                               \
        ev-render-context.c                     \
@@ -80,6 +90,7 @@ libevdocument_la_CPPFLAGS = \
        -DEVINCE_UIDIR=\"$(pkgdatadir)\"                \
        -DGNOMELOCALEDIR=\"$(datadir)/locale\"          \
        -DEV_BACKENDSDIR=\"$(backenddir)\"              \
+       -DEV_BACKENDSBINARYVERSION=\"$(backend_binary_version)\"        \
        -DEVINCE_COMPILATION                            \
        $(AM_CPPFLAGS)
 
@@ -91,6 +102,7 @@ libevdocument_la_CFLAGS = \
 
 libevdocument_la_LDFLAGS = \
        -version-info $(EV_DOCUMENT_LT_VERSION_INFO)    \
+       -no-undefined   \
        -export-symbols-regex "^ev_*"   \
        $(AM_LDFLAGS)
 
@@ -106,13 +118,13 @@ ev-document-type-builtins.h: stamp-ev-document-type-builtins.h
        @true
 
 stamp-ev-document-type-builtins.h: ev-document-type-builtins.h.template $(INST_H_FILES)
-       $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbh \
+       $(QUIET_GEN)$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbh \
        && (cmp -s xgen-etbh ev-document-type-builtins.h || cp xgen-etbh ev-document-type-builtins.h ) \
        && rm -f xgen-etbh \
        && echo timestamp > $(@F)
 
 ev-document-type-builtins.c: ev-document-type-builtins.c.template $(INST_H_FILES)
-       $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbc \
+       $(QUIET_GEN)$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbc \
        && (cmp -s xgen-etbc ev-document-type-builtins.c || cp xgen-etbc ev-document-type-builtins.c ) \
        && rm -f xgen-etbc