diff options
author | peter <peter@FreeBSD.org> | 2001-06-17 01:20:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-06-17 01:20:25 +0000 |
commit | 2b68a1d00986d8e31f47e6c3507298f44a88754d (patch) | |
tree | e2cd935724e0a209b2ff726065f3e92cd900121e /include | |
parent | a6546ead98ea3f87804333cb291103d4947f48e5 (diff) | |
download | FreeBSD-src-2b68a1d00986d8e31f47e6c3507298f44a88754d.zip FreeBSD-src-2b68a1d00986d8e31f47e6c3507298f44a88754d.tar.gz |
Revise wording of osreldate.h vs kernel warning to make it clear that it
is a userland-only header.
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile index b9798cd..eccd794 100644 --- a/include/Makefile +++ b/include/Makefile @@ -64,13 +64,14 @@ SHARED?= copies all: osreldate.h osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh \ - ${.CURDIR}/../sys/sys/param.h + ${.CURDIR}/../sys/sys/param.h \ + ${.CURDIR}/Makefile @${ECHO} creating osreldate.h from newvers.sh setvar PARAMFILE ${.CURDIR}/../sys/sys/param.h; \ . ${.CURDIR}/../sys/conf/newvers.sh; \ echo "$$COPYRIGHT" > osreldate.h; \ echo "#ifdef _KERNEL" >> osreldate.h; \ - echo '#error "osreldate.h must not be used in the kernel, use sys/param.h"' >> osreldate.h; \ + echo '#error "/usr/include/osreldate.h cannot be used in the kernel, use sys/param.h"' >> osreldate.h; \ echo "#else" >> osreldate.h; \ echo \#'undef __FreeBSD_version' >> osreldate.h; \ echo \#'define __FreeBSD_version' $$RELDATE >> osreldate.h; \ |