summaryrefslogtreecommitdiff
path: root/version.h.in
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-02-16 08:08:20 +0000
committerThomas Bushnell <thomas@gnu.org>1999-02-16 08:08:20 +0000
commit68bdc004235a7ecd03bb45932ce935ea1d110b49 (patch)
tree19bafbbe698c02599acb686894dab28b8c878c27 /version.h.in
parentcb37680cba43ab2803e376cef23c4381bbd4f034 (diff)
Tue Feb 16 02:31:06 1999 Thomas Bushnell, BSG <tb@mit.edu>
* 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.
Diffstat (limited to 'version.h.in')
-rw-r--r--version.h.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/version.h.in b/version.h.in
new file mode 100644
index 00000000..1c822701
--- /dev/null
+++ b/version.h.in
@@ -0,0 +1,30 @@
+/* Hurd version
+ Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+ Written by Thomas Bushnell, n/BSG.
+
+ This file is part of the GNU Hurd.
+
+ The GNU Hurd is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2, or (at
+ your option) any later version.
+
+ The GNU Hurd is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
+
+#ifndef HURD_VERSION
+#define HURD_VERSION MASTER_HURD_VERSION
+#endif
+
+/* The standard way to print versions for --version. */
+#define _SHV_SEP "; "
+#define STANDARD_HURD_VERSION(s, extra...) \
+ #s " (GNU Hurd" _SHV_SEP ##extra ") " HURD_VERSION
+
+