From 5ad9bf2e773dac4b4c92182791b488f1151891b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 13 May 2003 14:37:12 +0000 Subject: [PATCH] Propagate version numbers and installation directories throughout the tree using Makefile.inc. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@214 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- MANIFEST | 4 +++- Makefile.inc | 7 +++++++ bin/Makefile.inc | 3 +++ lib/Makefile | 4 +--- 4 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 Makefile.inc create mode 100644 bin/Makefile.inc diff --git a/MANIFEST b/MANIFEST index 79ac0b2..c6b9480 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,5 @@ # -# $P4: //depot/projects/openpam/MANIFEST#13 $ +# $P4: //depot/projects/openpam/MANIFEST#14 $ # CREDITS HISTORY @@ -7,9 +7,11 @@ INSTALL LICENSE MANIFEST Makefile +Makefile.inc README RELNOTES bin/Makefile +bin/Makefile.inc bin/su/Makefile bin/su/su.c doc/Makefile diff --git a/Makefile.inc b/Makefile.inc new file mode 100644 index 0000000..6cb6633 --- /dev/null +++ b/Makefile.inc @@ -0,0 +1,7 @@ +# $P4: //depot/projects/openpam/Makefile.inc#1 $ + +BINDIR = ${DESTDIR}/bin +LIBDIR = ${DESTDIR}/lib + +SHLIB_MAJOR = 2 +SHLIB_MINOR = 0 diff --git a/bin/Makefile.inc b/bin/Makefile.inc new file mode 100644 index 0000000..a368da3 --- /dev/null +++ b/bin/Makefile.inc @@ -0,0 +1,3 @@ +# $P4: //depot/projects/openpam/bin/Makefile.inc#1 $ + +.include "../Makefile.inc" diff --git a/lib/Makefile b/lib/Makefile index 95aa856..92f9c56 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -31,12 +31,10 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $P4: //depot/projects/openpam/lib/Makefile#16 $ +# $P4: //depot/projects/openpam/lib/Makefile#17 $ # LIB = pam -SHLIB_MAJOR = 2 -SHLIB_MINOR = 0 WARNS ?= 4 NO_WERROR = yes