Subject: CVS commit: basesrc/tools/makefs
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 01/10/2002 07:03:46
Module Name:	basesrc
Committed By:	lukem
Date:		Thu Jan 10 05:03:46 UTC 2002

Modified Files:
	basesrc/tools/makefs: Makefile

Log Message:
Symlink ./ufs to ${.CURDIR}/../../sys/ufs, and add -I. to HOST_CPPFLAGS.
This means that <ufs/*/*.h> come from ../../sys/ufs, but other
<sys/*> header files still come from the host system's /usr/include.

This slightly ugly hack to the Makefile means that makefs compiles on
-current and 1.5.x machines (and other systems), without requiring
major code rewrites in sys/ufs/ffs to allow sharing and without
requiring duplication of sys/ufs/ffs* under usr.sbin/makefs.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 basesrc/tools/makefs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.