aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuji Mano <yuji.mano@am.sony.com>2008-12-19 00:33:33 -0800
committerGeoff Levand <geoffrey.levand@am.sony.com>2008-12-23 11:25:26 -0800
commit6cf3f63d8a5fee5fcc38952aa574ff18855e18e8 (patch)
tree03177a4c4573e233ea2d92fde265fdbfd6c69848
parent521a2a3f36ca8ee469a1677c6479b941771ce496 (diff)
downloadmars-src-6cf3f63d8a5fee5fcc38952aa574ff18855e18e8.tar.gz
core and task: Fix library version
Keep library version 1.0.0 and update version-info rules Signed-off-by: Yuji Mano <yuji.mano@am.sony.com>
-rw-r--r--core/src/host/lib/Makefile.am15
-rw-r--r--task/src/host/lib/Makefile.am15
2 files changed, 16 insertions, 14 deletions
diff --git a/core/src/host/lib/Makefile.am b/core/src/host/lib/Makefile.am
index adf4613..1ea7103 100644
--- a/core/src/host/lib/Makefile.am
+++ b/core/src/host/lib/Makefile.am
@@ -117,15 +117,16 @@ mars_kernel.c: ${MARS_KERNEL}
echo '};' >> $@.tmp
mv -f $@.tmp $@
-# library version-info rules (current:revision:age):
-# * increment 'current', if API is changed and compatibility is broken.
-# * keep 'current' and increment 'revision', if API is enhanced but
-# compatibility is still kept.
-# * keep 'current' and 'revision', and increment 'age', if there's no API
-# change but implementation is changed.
+# version-info rules (current:revision:age):
+# * If the library source code has changed since the last release, and no
+# interfaces have been added, removed, or changed then increment revision.
+# * If any interfaces have been added, removed, or changed since the
+# last release, then increment current and set revision to 0.
+# * If any interfaces have been removed or changed since the last release, then
+# set age to 0, otherwise increment age
libmars_core_la_LDFLAGS = \
- -version-info 1:1:0 \
+ -version-info 1:0:0 \
-Wl,-Map -Wl,$@.map -Wl,--cref
BUILT_SOURCES = mars_kernel.c
diff --git a/task/src/host/lib/Makefile.am b/task/src/host/lib/Makefile.am
index 61a1adc..f820708 100644
--- a/task/src/host/lib/Makefile.am
+++ b/task/src/host/lib/Makefile.am
@@ -110,15 +110,16 @@ mars_task_module.c: ${MARS_TASK_MODULE}
echo '};' >> $@.tmp
mv -f $@.tmp $@
-# library version-info rules (current:revision:age):
-# * increment 'current', if API is changed and compatibility is broken.
-# * keep 'current' and increment 'revision', if API is enhanced but
-# compatibility is still kept.
-# * keep 'current' and 'revision', and increment 'age', if there's no API
-# change but implementation is changed.
+# version-info rules (current:revision:age):
+# * If the library source code has changed since the last release, and no
+# interfaces have been added, removed, or changed then increment revision.
+# * If any interfaces have been added, removed, or changed since the
+# last release, then increment current and set revision to 0.
+# * If any interfaces have been removed or changed since the last release, then
+# set age to 0, otherwise increment age
libmars_task_la_LDFLAGS = \
- -version-info 1:1:0 \
+ -version-info 1:0:0 \
-Wl,-Map -Wl,$@.map -Wl,--cref
libmars_task_la_LIBADD = -lmars_core