Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2009-01-21 16:58:27 (GMT)
committer Christian Persch <chpe@src.gnome.org>2009-01-21 16:58:27 (GMT)
commit7d10821fa9ae7cde776bcefb9278ac0371212045 (patch)
treed25f4990415ffb882cfd3f5da742af632952f5fb /libview
parent83f94c1e5f748c72cde600ddd09e8cc74aa9701d (diff)
Bug 568229 – library needs libtool versioning
svn path=/trunk/; revision=3373
Diffstat (limited to 'libview')
-rw-r--r--libview/Makefile.am15
1 files changed, 10 insertions, 5 deletions
diff --git a/libview/Makefile.am b/libview/Makefile.am
index 608fa85..eede6da 100644
--- a/libview/Makefile.am
+++ b/libview/Makefile.am
@@ -1,4 +1,5 @@
INCLUDES= \
+ -DG_LOG_DOMAIN=\"EvView\" \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-I$(top_srcdir)/libdocument \
$(LIBVIEW_CFLAGS) \
@@ -7,7 +8,11 @@ INCLUDES= \
lib_LTLIBRARIES = libevview.la
-libevview_la_LDFLAGS = -export-dynamic
+libevview_la_LDFLAGS = \
+ -version-info $(EV_VIEW_LT_VERSION_INFO) \
+ -export-symbols-regex "^ev_*" \
+ $(AM_LDFLAGS)
+
libevview_la_LIBADD = $(LIBVIEW_LIBS)
NOINST_H_FILES = \
@@ -25,7 +30,7 @@ INST_H_FILES = \
ev-view.h \
ev-view-type-builtins.h
-headerdir = $(prefix)/include/evince/@EV_API_VERSION@/ev-view
+headerdir = $(includedir)/evince/$(EV_API_VERSION)/ev-view
header_DATA = $(INST_H_FILES)
libevview_la_SOURCES = \
@@ -51,11 +56,11 @@ 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 > $@
+ $(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.h"' > ev-view-marshal.c
- $(GLIB_GENMARSHAL) --prefix=ev_view_marshal $(srcdir)/ev-view-marshal.list --body >> $@
+ echo '#include <config.h>' > 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