X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2FMakefile.am;h=23210fa20ef2adf83f0f7d3ce31bf3d912828680;hb=cd9ceb034f67f4590d18ed61e41e74cb45de8cdf;hp=0bf23d04267f76842b15048c9b11d7453fc87bef;hpb=2db28e7ad29cc276902da68789e897537ff17912;p=evince.git diff --git a/libview/Makefile.am b/libview/Makefile.am index 0bf23d04..23210fa2 100644 --- a/libview/Makefile.am +++ b/libview/Makefile.am @@ -2,19 +2,27 @@ lib_LTLIBRARIES = libevview.la NOINST_H_FILES = \ ev-annotation-window.h \ + ev-loading-window.h \ + ev-page-cache.h \ ev-pixbuf-cache.h \ ev-timeline.h \ ev-transition-animation.h \ ev-view-accessible.h \ + ev-view-cursor.h \ ev-view-marshal.h \ ev-view-private.h -INST_H_FILES = \ +INST_H_SRC_FILES = \ + ev-document-model.h \ ev-jobs.h \ ev-job-scheduler.h \ - ev-page-cache.h \ + ev-print-operation.h \ ev-stock-icons.h \ ev-view.h \ + ev-view-presentation.h + +INST_H_FILES = \ + $(INST_H_SRC_FILES) \ ev-view-type-builtins.h headerdir = $(includedir)/evince/$(EV_API_VERSION)/libview @@ -22,16 +30,21 @@ header_DATA = $(INST_H_FILES) libevview_la_SOURCES = \ ev-annotation-window.c \ + ev-document-model.c \ + ev-loading-window.c \ ev-jobs.c \ ev-job-scheduler.c \ ev-page-cache.c \ ev-pixbuf-cache.c \ + ev-print-operation.c \ ev-stock-icons.c \ ev-timeline.c \ ev-transition-animation.c \ ev-view.c \ ev-view-accessible.c \ ev-view-marshal.c \ + ev-view-cursor.c \ + ev-view-presentation.c \ ev-view-type-builtins.c \ $(NOINST_H_FILES) \ $(INST_H_FILES) @@ -68,28 +81,33 @@ BUILT_SOURCES = \ ev-view-type-builtins.c \ ev-view-type-builtins.h -CLEANFILES = $(BUILT_SOURCES) stamp-ev-view-type-builtins.h +CLEANFILES = \ + $(BUILT_SOURCES) \ + stamp-ev-view-type-builtins.h \ + stamp-ev-view-type-builtins.c ev-view-marshal.h: $(srcdir)/ev-view-marshal.list - $(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal > $@ + $(AM_V_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 - $(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --header --internal --body >> $@ + $(AM_V_GEN)$(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 \ +stamp-ev-view-type-builtins.h: ev-view-type-builtins.h.template $(INST_H_SRC_FILES) + $(AM_V_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 \ +ev-view-type-builtins.c: stamp-ev-view-type-builtins.c + @true +stamp-ev-view-type-builtins.c: ev-view-type-builtins.c.template $(INST_H_SRC_FILES) + $(AM_V_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 + && rm -f xgen-etbc \ + && echo timestamp > $(@F) EXTRA_DIST = \ ev-view-type-builtins.c.template \ @@ -100,8 +118,8 @@ EXTRA_DIST = \ if ENABLE_INTROSPECTION -EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) - PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \ +EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) $(filter %.c,$(libevview_la_SOURCES)) + $(AM_V_GEN) PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \ $(G_IR_SCANNER) -v --namespace EvinceView \ --add-include-path=$(top_builddir)/libdocument \ --strip-prefix=Ev \ @@ -114,14 +132,15 @@ EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES) --include=Gtk-2.0 \ --include=EvinceDocument-$(EV_API_VERSION) \ --library=evview \ - --libtool="$(SHAVE_SAVED_LIBTOOL)" \ + --libtool="$(LIBTOOL)" \ --output $@ \ --pkg evince-document-$(EV_API_VERSION) \ --pkg evince-view-$(EV_API_VERSION) \ -I$(top_srcdir) \ -I$(top_builddir) \ -DEVINCE_COMPILATION \ - $(filter %.h,$^) + $(filter %.h,$^) \ + $(filter %.c,$^) girdir = $(GIRDIR) gir_DATA = EvinceView-$(EV_API_VERSION).gir @@ -133,10 +152,12 @@ EXTRA_DIST += $(gir_DATA) CLEANFILES += $(gir_DATA) $(typelibs_DATA) %.typelib: %.gir - LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. $(G_IR_COMPILER) \ + $(AM_V_GEN) LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. $(G_IR_COMPILER) \ --includedir=$(srcdir) \ --includedir=$(top_builddir)/libdocument \ $(G_IR_COMPILER_OPTS) \ $< -o $@ endif # ENABLE_INTROSPECTION + +-include $(top_srcdir)/git.mk