From: matt mooney <mfmooney@gmail.com>
To: Greg Kroah-Hartman <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 09/14] staging: usbip: userspace: set libusbip version in configure.ac
Date: Sat, 14 May 2011 03:55:15 -0700 [thread overview]
Message-ID: <3ce79fed0daf33b417ddfc201221eae9be25cb0d.1305369176.git.mfm@muteddisk.com> (raw)
In-Reply-To: <cover.1305369175.git.mfm@muteddisk.com>
From: matt mooney <mfm@muteddisk.com>
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>
---
drivers/staging/usbip/userspace/configure.ac | 5 +++++
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 0b71329..7b93d29 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 ed83666..6abe7fc 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 \
--
1.7.5.1
next prev parent reply other threads:[~2011-05-14 10:57 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-14 10:55 [PATCH 00/14] staging: usbip: userspace code matt mooney
2011-05-14 10:55 ` [PATCH 01/14] staging: usbip: add " matt mooney
2011-05-15 3:46 ` Chris Frey
2011-05-15 16:29 ` Greg KH
2011-05-15 16:49 ` Chris Frey
2011-05-14 10:55 ` [PATCH 02/14] staging: usbip: userspace: move manpages to separate directory matt mooney
2011-05-14 10:55 ` [PATCH 03/14] staging: usbip: userspace: rename source directories matt mooney
2011-05-14 10:55 ` [PATCH 04/14] staging: usbip: userspace: remove unused files matt mooney
2011-05-14 10:55 ` [PATCH 05/14] staging: usbip: userspace: whitespace cleanup matt mooney
2011-05-14 10:55 ` [PATCH 06/14] staging: usbip: userspace: update module name references matt mooney
2011-05-14 10:55 ` [PATCH 07/14] staging: usbip: userspace: configure.ac: major overhaul matt mooney
2011-05-14 10:55 ` [PATCH 08/14] staging: usbip: userspace: cleanup makefiles matt mooney
2011-05-14 10:55 ` matt mooney [this message]
2011-05-14 10:55 ` [PATCH 10/14] staging: usbip: userspace: remove revision $Id$ matt mooney
2011-05-14 10:55 ` [PATCH 11/14] staging: usbip: userspace: remove gcc warnings matt mooney
2011-05-14 10:55 ` [PATCH 12/14] staging: usbip: userspace: move common cflags to configure.ac matt mooney
2011-05-14 10:55 ` [PATCH 13/14] staging: usbip: userspace: modify project gcc flags matt mooney
2011-05-14 10:55 ` [PATCH 14/14] package: Makefile: add USB/IP userspace utilities matt mooney
2011-05-17 20:23 ` Greg KH
2011-05-17 21:13 ` matt mooney
2011-05-17 21:21 ` Greg KH
2011-05-17 21:59 ` matt mooney
2011-05-17 22:45 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ce79fed0daf33b417ddfc201221eae9be25cb0d.1305369176.git.mfm@muteddisk.com \
--to=mfmooney@gmail.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®