$OpenBSD: patch-client_Makefile_in,v 1.4 2011/05/07 14:45:22 ajacoutot Exp $ --- client/Makefile.in.orig Fri May 6 14:58:32 2011 +++ client/Makefile.in Sat May 7 16:44:34 2011 @@ -34,7 +34,7 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -shlib_PROGRAMS = libdconf.so.0.0.0$(EXEEXT) +shlib_PROGRAMS = libdconf.so.${LIBdconf_VERSION}$(EXEEXT) subdir = client DIST_COMMON = $(dconfinclude_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/dconf.pc.in dconf-client.c \ @@ -225,13 +225,13 @@ top_srcdir = @top_srcdir@ AM_CFLAGS = -std=c89 -Wall -Wmissing-prototypes -Wwrite-strings -D__dconf_h__ -fPIC -DPIC INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/gvdb -I$(top_srcdir)/engine $(gio_CFLAGS) shlibdir = $(libdir) -nodist_noinst_DATA = libdconf.so.0 libdconf.so +nodist_noinst_DATA = dconfinclude_HEADERS = \ dconf-client.h \ dconf.h libdconf_so_0_0_0_LDADD = $(gio_LIBS) -libdconf_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf.so.0 +libdconf_so_0_0_0_LDFLAGS = -shared -Wl,-soname=libdconf.so.${LIBdconf_VERSION} libdconf_so_0_0_0_SOURCES = \ ../common/dconf-shmdir.c \ ../common/dconf-paths.c \ @@ -319,8 +319,8 @@ uninstall-shlibPROGRAMS: clean-shlibPROGRAMS: -test -z "$(shlib_PROGRAMS)" || rm -f $(shlib_PROGRAMS) -libdconf.so.0.0.0$(EXEEXT): $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_DEPENDENCIES) - @rm -f libdconf.so.0.0.0$(EXEEXT) +libdconf.so.${LIBdconf_VERSION}$(EXEEXT): $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_DEPENDENCIES) + @rm -f libdconf.so.${LIBdconf_VERSION}$(EXEEXT) $(AM_V_CCLD)$(libdconf_so_0_0_0_LINK) $(libdconf_so_0_0_0_OBJECTS) $(libdconf_so_0_0_0_LDADD) $(LIBS) mostlyclean-compile: @@ -692,17 +692,12 @@ uninstall-am: uninstall-dconfincludeHEADERS uninstall- uninstall-vapiDATA -libdconf.so.0 libdconf.so: libdconf.so.0.0.0 - $(AM_V_GEN) ln -fs libdconf.so.0.0.0 $@ - install-data-hook: - ln -fs libdconf.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf.so.0 - ln -fs libdconf.so.0.0.0 $(DESTDIR)$(shlibdir)/libdconf.so uninstall-hook: rm -f $(DESTDIR)$(shlibdir)/libdconf.so.0 rm -f $(DESTDIR)$(shlibdir)/libdconf.so -dconf.vapi: libdconf.so.0 +dconf.vapi: libdconf.so.${LIBdconf_VERSION} dconf.deps: $(AM_V_GEN) echo gio-2.0 > dconf.deps