From 4912987303aefef0d02a45726b75e5fdae043982 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 25 Jan 2009 15:08:57 +0000 Subject: Renamed from evince-backend.pc.in. Renamed library to libevdocument.la. * configure.ac: * evince-document.pc.in: Renamed from evince-backend.pc.in. * libdocument/Makefile.am: Renamed library to libevdocument.la. * libview/Makefile.am: * shell/Makefile.am: * backend/*/Makefile.am: Adapt to changed library name. * libdocument/Makefile.am: * libview/Makefile.am: Change the installed headers path to match the directory names in SVN. * evince-document.h: * evince-view.h: Add single headers. Bug #568227. * libdocument/*.h: * libview/*.h: Add single headers guards. * libview/Makefile.am: * libdocument/Makefile.am: * backend/*/Makefile.am: * help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can still include individual headers. * properties/Makefile.am: * properties/ev-properties-main.c: * properties/ev-properties-view.h: * thumbnailer/Makefile.am: * thumbnailer/evince-thumbnailer.c: Include only evince-document.h. * libdocument/Makefile.am: * libview/Makefile.am: Generate type builtins from all installed headers. * libdocument/ev-link-action.[ch]: * libdocument/ev-link-dest.[ch]: * libdocument/ev-transition-effect.[ch]: * libview/ev-view.[ch]: Remove handcoded type builtins. * libdocument/Makefile.am: * evince-document.h: Add ev-document-factory.h to the public headers. svn path=/trunk/; revision=3381 --- (limited to 'libdocument/Makefile.am') diff --git a/libdocument/Makefile.am b/libdocument/Makefile.am index a44ed64..0580c62 100644 --- a/libdocument/Makefile.am +++ b/libdocument/Makefile.am @@ -1,30 +1,14 @@ -INCLUDES= \ - -DG_LOG_DOMAIN=\"EvDocument\" \ - -DEVINCE_UIDIR=\"$(pkgdatadir)\" \ - -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ - -DEV_BACKENDSDIR=\"$(libdir)/evince/backends\" \ - $(LIBDOCUMENT_CFLAGS) \ - $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) - -lib_LTLIBRARIES = libevbackend.la - -libevbackend_la_LDFLAGS = \ - -version-info $(EV_BACKEND_LT_VERSION_INFO) \ - -export-symbols-regex "^ev_*" \ - $(AM_LDFLAGS) - -libevbackend_la_LIBADD = $(LIBDOCUMENT_LIBS) +lib_LTLIBRARIES = libevdocument.la NOINST_H_FILES = \ ev-debug.h \ - ev-document-factory.h \ ev-module.h INST_H_FILES = \ ev-async-renderer.h \ ev-attachment.h \ ev-backends-manager.h \ + ev-document-factory.h \ ev-document-find.h \ ev-document-fonts.h \ ev-document-forms.h \ @@ -52,10 +36,10 @@ INST_H_FILES = \ ev-transition-effect.h \ ev-version.h -headerdir = $(includedir)/evince/$(EV_API_VERSION)/ev-backend +headerdir = $(includedir)/evince/$(EV_API_VERSION)/libdocument header_DATA = $(INST_H_FILES) -libevbackend_la_SOURCES= \ +libevdocument_la_SOURCES= \ ev-async-renderer.c \ ev-attachment.c \ ev-backends-manager.c \ @@ -89,6 +73,27 @@ libevbackend_la_SOURCES= \ $(NOINST_H_FILES) \ $(INST_H_FILES) +libevdocument_la_CPPFLAGS = \ + -DG_LOG_DOMAIN=\"EvDocument\" \ + -DEVINCE_UIDIR=\"$(pkgdatadir)\" \ + -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ + -DEV_BACKENDSDIR=\"$(libdir)/evince/backends\" \ + -DEVINCE_COMPILATION \ + $(AM_CPPFLAGS) + +libevdocument_la_CFLAGS = \ + $(LIBDOCUMENT_CFLAGS) \ + $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED) \ + $(AM_CFLAGS) + +libevdocument_la_LDFLAGS = \ + -version-info $(EV_DOCUMENT_LT_VERSION_INFO) \ + -export-symbols-regex "^ev_*" \ + $(AM_LDFLAGS) + +libevdocument_la_LIBADD = $(LIBDOCUMENT_LIBS) + BUILT_SOURCES = \ ev-document-type-builtins.c \ ev-document-type-builtins.h @@ -98,13 +103,13 @@ CLEANFILES = $(BUILT_SOURCES) stamp-ev-document-type-builtins.h ev-document-type-builtins.h: stamp-ev-document-type-builtins.h @true -stamp-ev-document-type-builtins.h: ev-document-type-builtins.h.template ev-document-info.h +stamp-ev-document-type-builtins.h: ev-document-type-builtins.h.template $(INST_H_FILES) $(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 ev-document-info.h +ev-document-type-builtins.c: ev-document-type-builtins.c.template $(INST_H_FILES) $(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 @@ -112,4 +117,3 @@ ev-document-type-builtins.c: ev-document-type-builtins.c.template ev-document-in EXTRA_DIST = \ ev-document-type-builtins.c.template \ ev-document-type-builtins.h.template - -- cgit v0.9.1