]> err.no Git - libchamplain/commitdiff
Use libchamplain-0.2.so instead of -1.0.so
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Thu, 16 Oct 2008 14:41:47 +0000 (10:41 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Thu, 16 Oct 2008 14:41:47 +0000 (10:41 -0400)
This change will allow different versions of libchamplain to be installed in parallel.

Makefile.am
champlain/Makefile.am

index 8956a6b530062673eaab9ccffef9c5ba538f133b..5a982760a4d74bc6d5cadd8b89391d2fdff74a3c 100644 (file)
@@ -1,8 +1,8 @@
 SUBDIRS = tidy champlain demos docs/reference
 
-pcfiles = champlain-1.0.pc
+pcfiles = champlain-0.2.pc
 
-champlain-1.0.pc: champlain.pc
+champlain-0.2.pc: champlain.pc
        @cp -f $< $@
 
 pkgconfig_DATA = $(pcfiles)
index e515bab878ce653ead36a8b3d5bf413fffcd9c8a..663ab7ae7f1554a2f0b2c3c5bd1489ada4fa36ad 100644 (file)
@@ -8,9 +8,9 @@ CLEANFILES = $(BUILT_SOURCES)
 CHAMPLAIN_MARSHAL = champlain-marshal
 CHAMPLAIN_MARSHAL_LIST = champlain-marshal.list 
 
-lib_LTLIBRARIES = libchamplain-1.0.la
+lib_LTLIBRARIES = libchamplain-0.2.la
 
-libchamplain_1_0_la_SOURCES = $(CHAMPLAIN_MARSHAL_LIST) \
+libchamplain_0_2_la_SOURCES = $(CHAMPLAIN_MARSHAL_LIST) \
                                        $(BUILT_SOURCES) \
                                        champlainview.c \
                                        champlainlayer.c \
@@ -40,7 +40,7 @@ noinst_HEADERS = champlainview.h \
                                        sources/google_terrain.h \
                                        sources/debugmap.h
 
-libchamplain_1_0_la_LIBADD = $(DEPS_LIBS) ../tidy/libtidy-1.0.la
+libchamplain_0_2_la_LIBADD = $(DEPS_LIBS) ../tidy/libtidy-1.0.la
 
 champlain-marshal.h: $(CHAMPLAIN_MARSHAL_LIST)
        @GLIB_GENMARSHAL@ --header --prefix=cpl_marshal $< > $(CHAMPLAIN_MARSHAL).h 
@@ -48,10 +48,10 @@ champlain-marshal.h: $(CHAMPLAIN_MARSHAL_LIST)
 champlain-marshal.c: $(CHAMPLAIN_MARSHAL_LIST)
        @GLIB_GENMARSHAL@ --body --prefix=cpl_marshal $< > $(CHAMPLAIN_MARSHAL).c
 
-libchamplain_includedir=$(includedir)/libchamplain-1.0/champlain
+libchamplain_includedir=$(includedir)/libchamplain-0.2/champlain
 libchamplain_include_HEADERS = champlain.h champlainview.h champlain_defines.h champlainlayer.h champlainmarker.h
 
-libchamplain_1_0_la_LDFLAGS= -version-info $(LIBRARY_VERSION)
+libchamplain_0_2_la_LDFLAGS= -version-info $(LIBRARY_VERSION)
 
 AM_CPPFLAGS = $(DEPS_CFLAGS) -DDATADIR=\""$(datadir)"\" -I$(top_srcdir)/tidy -I$(top_srcdir)
 AM_LDFLAGS = $(DEPS_LIBS) -export-dynamic -export-symbols-regex ^champlain_.*