X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2FMakefile.am;h=889a90ff1000261af33b26015087ff992444218a;hb=edd062df3b09f70915c23cd7b0fe3788b62beb0e;hp=d59de192156ad701c024ebc7c9460c122569450b;hpb=bc8fd91eed538ddb9a3fdd3b7e05c9ac16a61c97;p=evince.git diff --git a/libview/Makefile.am b/libview/Makefile.am index d59de192..889a90ff 100644 --- a/libview/Makefile.am +++ b/libview/Makefile.am @@ -1,6 +1,9 @@ +QUIET_GEN = $(Q:@=@echo ' GEN '$@;) + lib_LTLIBRARIES = libevview.la NOINST_H_FILES = \ + ev-annotation-window.h \ ev-pixbuf-cache.h \ ev-timeline.h \ ev-transition-animation.h \ @@ -20,6 +23,7 @@ headerdir = $(includedir)/evince/$(EV_API_VERSION)/libview header_DATA = $(INST_H_FILES) libevview_la_SOURCES = \ + ev-annotation-window.c \ ev-jobs.c \ ev-job-scheduler.c \ ev-page-cache.c \ @@ -69,23 +73,23 @@ BUILT_SOURCES = \ CLEANFILES = $(BUILT_SOURCES) stamp-ev-view-type-builtins.h ev-view-marshal.h: $(srcdir)/ev-view-marshal.list - $(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal > $@ + $(QUIET_GEN)$(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal > $@ ev-view-marshal.c: $(srcdir)/ev-view-marshal.list - echo '#include ' > ev-view-marshal.c + $(QUIET_GEN)echo '#include ' > ev-view-marshal.c $(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal --body >> $@ ev-view-type-builtins.h: stamp-ev-view-type-builtins.h @true stamp-ev-view-type-builtins.h: ev-view-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-view-type-builtins.h || cp xgen-etbh ev-view-type-builtins.h ) \ && rm -f xgen-etbh \ && echo timestamp > $(@F) ev-view-type-builtins.c: ev-view-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-view-type-builtins.c || cp xgen-etbc ev-view-type-builtins.c ) \ && rm -f xgen-etbc @@ -101,27 +105,25 @@ if ENABLE_INTROSPECTION EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \ $(G_IR_SCANNER) -v --namespace EvinceView \ - --add-include-path=$(srcdir) \ - --add-include-path=. \ - --add-include-path=$(top_srcdir) \ - --add-include-path=$(top_builddir) \ --add-include-path=$(top_builddir)/libdocument \ --strip-prefix=Ev \ --nsversion=$(EV_API_VERSION) \ + --include=GLib-2.0 \ + --include=GObject-2.0 \ --include=Gio-2.0 \ + --include=Gdk-2.0 \ + --include=GdkPixbuf-2.0 \ --include=Gtk-2.0 \ - --include=EvDocument-$(EV_API_VERSION) \ + --include=EvinceDocument-$(EV_API_VERSION) \ --library=evview \ - --libtool="$(LIBTOOL)" \ + --libtool="$(SHAVE_SAVED_LIBTOOL)" \ --output $@ \ - --pkg gobject-2.0 \ - --pkg gio-2.0 \ - --pkg gtk+-2.0 \ + --pkg evince-document-$(EV_API_VERSION) \ --pkg evince-view-$(EV_API_VERSION) \ -I$(top_srcdir) \ -I$(top_builddir) \ -DEVINCE_COMPILATION \ - $(INST_H_FILES) + $(filter %.h,$^) girdir = $(GIRDIR) gir_DATA = EvinceView-$(EV_API_VERSION).gir