diff options
author | eivind <eivind@FreeBSD.org> | 1998-05-21 19:21:46 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-05-21 19:21:46 +0000 |
commit | dd22670484cd50fd729054fdd131863d6a43f30f (patch) | |
tree | 7cb5144651e6791de4d7109229e509f346983b62 /include | |
parent | bf12e7b4b2753daf6c48943f2d7feca8c3415c40 (diff) | |
download | FreeBSD-src-dd22670484cd50fd729054fdd131863d6a43f30f.zip FreeBSD-src-dd22670484cd50fd729054fdd131863d6a43f30f.tar.gz |
Move __FreeBSD_version from src/sys/conf/newvers.sh to
src/sys/sys/param.h, to facilitate access from the kernel. This make
it possible to do outside kernel development and have it actually work
properly.
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile index 63021b6..cca7b0b 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.2 (Berkeley) 1/4/94 -# $Id: Makefile,v 1.75 1998/03/08 21:35:29 jb Exp $ +# $Id: Makefile,v 1.76 1998/03/28 11:48:14 dufault Exp $ # # Doing a make install builds /usr/include # @@ -58,8 +58,10 @@ SHARED?= copies .if exists (${.CURDIR}/../sys/conf/newvers.sh) all: osreldate.h -osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh +osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh \ + ${.CURDIR}/../sys/sys/param.h @${ECHO} creating osreldate.h from newvers.sh + setvar PARAMFILE ${.CURDIR}/../sys/sys/param.h; \ . ${.CURDIR}/../sys/conf/newvers.sh; \ echo "$$COPYRIGHT" > osreldate.h; \ echo \#'undef __FreeBSD_version' >> osreldate.h; \ |