This is my first try at versioning any library, does it make sense?

Description: Add GNU versioning via a version script to libhugetlbfs.

Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>

diff --git a/Makefile b/Makefile
index 88d9775..a349892 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ INSTALL_OBJSCRIPT = ld.hugetlbfs
 
 INSTALL = install
 
+LDFLAGS = --no-undefined-version --version-script=VERSION
 CFLAGS = -O2 -Wall -fPIC -g
 CPPFLAGS = -D__LIBHUGETLBFS__
 
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..f952e13
--- /dev/null
+++ b/VERSION
@@ -0,0 +1,8 @@
+VERSION {
+
+VERS_1.0 {
+  local:
+    *;
+};
+
+}

-- 
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to