PERFORCE change 122626 for review
Peter Wemm
peter at FreeBSD.org
Sun Jul 1 09:09:28 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122626
Change 122626 by peter at peter_overcee on 2007/07/01 09:08:35
Hopefully, un-hose osreldate.h
Affected files ...
.. //depot/projects/hammer/include/Makefile#65 edit
Differences ...
==== //depot/projects/hammer/include/Makefile#65 (text+ko) ====
@@ -102,15 +102,15 @@
echo "#ifdef _KERNEL" >> osreldate.h; \
echo "#error \"<osreldate.h> cannot be used in the kernel, use <sys/param.h>\"" >> osreldate.h; \
echo "#else" >> osreldate.h; \
- echo "#ifndef _OSRELDATE_H" >> osreldate.h
- echo "#define _OSRELDATE_H" >> osreldate.h
- echo "#include <sys/cdefs.h>" >> osreldate.h
+ echo "#ifndef _OSRELDATE_H" >> osreldate.h; \
+ echo "#define _OSRELDATE_H" >> osreldate.h; \
+ echo "#include <sys/cdefs.h>" >> osreldate.h; \
echo "#undef __FreeBSD_version" >> osreldate.h; \
echo "#define __FreeBSD_version $$RELDATE" >> osreldate.h; \
- echo "__BEGIN_DECLS" >> osreldate.h
- echo "extern int getosreldate(void);" >> osreldate.h
- echo "__END_DECLS" >> osreldate.h
- echo "#endif /* _OSRELDATE_H */" >> osreldate.h
+ echo "__BEGIN_DECLS" >> osreldate.h; \
+ echo "extern int getosreldate(void);" >> osreldate.h; \
+ echo "__END_DECLS" >> osreldate.h; \
+ echo "#endif /* _OSRELDATE_H */" >> osreldate.h; \
echo "#endif /* _KERNEL */" >> osreldate.h
.for i in ${LHDRS}
More information about the p4-projects
mailing list