diff options
Diffstat (limited to 'libindicator/Makefile.am')
-rw-r--r-- | libindicator/Makefile.am | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libindicator/Makefile.am b/libindicator/Makefile.am index bb60d5c..1646023 100644 --- a/libindicator/Makefile.am +++ b/libindicator/Makefile.am @@ -13,12 +13,18 @@ EXTRA_DIST = \ indicator3.pc.in.in \ indicator.pc.in.in +INDICATOR_ABI_VERSION = 6 +INDICATOR_API_VERSION = 4 + %.pc: %.pc.in - cp $< $@ + sed \ + -e "s|\@indicator_api_version\@|$(INDICATOR_API_VERSION)|" \ + -e "s|\@indicator_abi_version\@|$(INDICATOR_ABI_VERSION)|" \ + $< > $@ include $(top_srcdir)/Makefile.am.marshal -libindicatorincludedir=$(includedir)/libindicator$(VER)-0.3/libindicator +libindicatorincludedir=$(includedir)/libindicator$(VER)-0.$(INDICATOR_API_VERSION)/libindicator indicator_headers = \ indicator.h \ @@ -54,7 +60,7 @@ libindicator_la_LIBADD = \ $(LIBINDICATOR_LIBS) libindicator_la_LDFLAGS = \ - -version-info 3:0:0 \ + -version-info $(INDICATOR_ABI_VERSION):0:0 \ -no-undefined \ -export-symbols-regex "^[^_].*" |