From 68bdc004235a7ecd03bb45932ce935ea1d110b49 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Tue, 16 Feb 1999 08:08:20 +0000 Subject: Tue Feb 16 02:31:06 1999 Thomas Bushnell, BSG * Makeconf ($(libname).so): Include $(hurd-version) as part of the soname. ($(libdir)/$(libname).so.$(hurd-version)): New rule. ($(libdir)/$(libname).so): Only create a symlink to the version-numbered name. (install) [makemode == library]: Add the versioned name $(libdir)/$(libname.so).$(hurd-version). * version.h.in: New file. * versioh.h, sh-version.sed: Deleted files. * Makeconf (hurd-version): New variable. * Makefile ($(subdirs)): Depend on version.h. (version.h): New rule. (DIST_FILES): Delete version.h and sh-version.sed. Add version.h.in. --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ef7a6f8e..49398695 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998 Free Software Foundation +# Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as @@ -22,7 +22,7 @@ include ./Makeconf DIST_FILES = COPYING Makeconf config.make.in configure.in configure \ hurd.boot build.mk.in build.mkcf.in aclocal.m4 \ - README NEWS tasks INSTALL INSTALL-cross version.h sh-version.sed + README NEWS tasks INSTALL INSTALL-cross version.h.in ## Subdirectories of this directory should all be mentioned here @@ -58,6 +58,11 @@ working-prog-subdirs := $(filter-out \ $(prog-subdirs)) +$(subdirs): version.h + +version.h: version.h.in + sed -e 's/MASTER_HURD_VERSION/\"$(hurd-version)\"/' < $< > $@ + ## GNU Coding Standards targets (not all are here yet), and some other ## similar sorts of things -- cgit v1.2.3