aboutsummaryrefslogtreecommitdiff
path: root/libindicator/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-05 15:05:49 -0500
committerTed Gould <ted@gould.cx>2011-07-05 15:05:49 -0500
commit746cf4ec825feda7b16ea32fad82d2901c9791d3 (patch)
tree4a1263ff4f1e5b48bd8c0655ddffcb5fc8f8a1c3 /libindicator/Makefile.am
parentf3dc285322d67289770bdc38427a3b48895a335e (diff)
downloadlibayatana-indicator-746cf4ec825feda7b16ea32fad82d2901c9791d3.tar.gz
libayatana-indicator-746cf4ec825feda7b16ea32fad82d2901c9791d3.tar.bz2
libayatana-indicator-746cf4ec825feda7b16ea32fad82d2901c9791d3.zip
Making the API and ABI versions variables
Diffstat (limited to 'libindicator/Makefile.am')
-rw-r--r--libindicator/Makefile.am12
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 "^[^_].*"