diff options
author | matt mooney <mfm@muteddisk.com> | 2011-05-14 03:55:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-17 13:26:27 -0700 |
commit | d762f5e10cdac605d6d3fb57ce36ed4d25b4302c (patch) | |
tree | 5a78e11ff650a82d72c82e1c0ced9b1baa9e287f /drivers/staging/usbip | |
parent | cd62e07e875668125f0665539d92854e00c3df3a (diff) |
staging: usbip: userspace: set libusbip version in configure.ac
Move libusbip version setting to configure.ac so that version
numbers can be found in a single location.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip')
-rw-r--r-- | drivers/staging/usbip/userspace/configure.ac | 5 | ||||
-rw-r--r-- | drivers/staging/usbip/userspace/libsrc/Makefile.am | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/staging/usbip/userspace/configure.ac b/drivers/staging/usbip/userspace/configure.ac index 0b71329eb7a6..7b93d2902258 100644 --- a/drivers/staging/usbip/userspace/configure.ac +++ b/drivers/staging/usbip/userspace/configure.ac @@ -4,6 +4,11 @@ AC_PREREQ(2.59) AC_INIT([usbip], [0.1.8], [usbip-devel@lists.sourceforge.net]) AC_DEFINE([USBIP_VERSION], [0x000106], [numeric version number]) +CURRENT=0 +REVISION=1 +AGE=0 +AC_SUBST([LIBUSBIP_VERSION], [$CURRENT:$REVISION:$AGE], [library version]) + AC_CONFIG_SRCDIR([src/usbipd.c]) AC_CONFIG_HEADERS([config.h]) diff --git a/drivers/staging/usbip/userspace/libsrc/Makefile.am b/drivers/staging/usbip/userspace/libsrc/Makefile.am index ed836663bde9..6abe7fcd9b35 100644 --- a/drivers/staging/usbip/userspace/libsrc/Makefile.am +++ b/drivers/staging/usbip/userspace/libsrc/Makefile.am @@ -1,6 +1,6 @@ libusbip_la_CPPFLAGS := -DUSBIDS_FILE='"@USBIDS_DIR@/usb.ids"' libusbip_la_CFLAGS := @EXTRA_CFLAGS@ -Wall -W -Wstrict-prototypes -std=gnu99 -libusbip_la_LDFLAGS := -version-info 0:1:0 +libusbip_la_LDFLAGS := -version-info @LIBUSBIP_VERSION@ lib_LTLIBRARIES := libusbip.la libusbip_la_SOURCES := names.c names.h stub_driver.c stub_driver.h usbip.h \ |