summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlibdlo <libdlo@displaylink.com>2009-05-13 17:14:05 -0700
committerlibdlo <libdlo@displaylink.com>2009-05-13 17:14:05 -0700
commit30c54c68fd0264fa2f58436c1f0fcb6bc660078b (patch)
tree6660fcd794d39ce84b8a906e9017385d65b9acc1
parent4b8184439de75996996b1b65bede8fc0cac42be2 (diff)
Version library
-rw-r--r--configure.ac8
-rw-r--r--src/Makefile.am4
-rw-r--r--src/exported_symbols14
3 files changed, 25 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 292779a..46d88f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,14 @@ AC_PROG_LIBTOOL
# create LIBTOOLS macros.
LT_INIT
+# See LIBTOOLS on what these mean
+LIBDLO_LT_CURRENT=1
+LIBDLO_LT_REVISION=0
+LIBDLO_LT_AGE=1
+AC_SUBST(LIBDLO_LT_CURRENT)
+AC_SUBST(LIBDLO_LT_REVISION)
+AC_SUBST(LIBDLO_LT_AGE)
+
# Checks for header files.
AC_CHECK_HEADERS([stdint.h stdlib.h string.h usb.h])
diff --git a/src/Makefile.am b/src/Makefile.am
index 491c97d..a1b85ef 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,5 +21,7 @@ libdlo_la_SOURCES = \
# here in the early use of the library, set DEBUG on to get better runtime info
libdlo_la_CFLAGS = -DDEBUG
-libdlo_la_LDFLAGS = -lusb
+libdlo_la_LDFLAGS = \
+ -lusb \
+ -version-info $(LIBDLO_LT_CURRENT):$(LIBDLO_LT_REVISION):$(LIBDLO_LT_AGE)
diff --git a/src/exported_symbols b/src/exported_symbols
new file mode 100644
index 0000000..d790885
--- /dev/null
+++ b/src/exported_symbols
@@ -0,0 +1,14 @@
+dlo_strerror
+dlo_init
+dlo_final
+dlo_lookup_device
+dlo_enumerate_devices
+dlo_claim_device
+dlo_claim_first_device
+dlo_release_device
+dlo_device_info
+dlo_set_mode
+dlo_get_mode
+dlo_fill_rect
+dlo_copy_rect
+dlo_copy_host_bmp