Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/distrib/common/Makefile.makedev,v rcsdiff: /ftp/cvs/cvsroot/src/distrib/common/Makefile.makedev,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.2.2.1 retrieving revision 1.5 diff -u -p -r1.2.2.1 -r1.5 --- src/distrib/common/Makefile.makedev 2002/06/02 01:21:59 1.2.2.1 +++ src/distrib/common/Makefile.makedev 2003/03/11 07:18:38 1.5 @@ -1,9 +1,10 @@ -# $NetBSD: Makefile.makedev,v 1.2.2.1 2002/06/02 01:21:59 tv Exp $ +# $NetBSD: Makefile.makedev,v 1.5 2003/03/11 07:18:38 lukem Exp $ # # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list # (if set), otherwise copy etc.${MACHINE}/MAKEDEV to ./dev # - +# If this is to be used with Makefile.image, then this file should be +# .include-d first. # # Required variables: # NETBSDSRCDIR top level of src tree (set by ) @@ -16,6 +17,10 @@ # MTREECONF may get "devices.spec" added to it # +.if !defined(_MAKEFILE_MAKEDEV_) +_MAKEFILE_MAKEDEV_=1 + + MAKEDEVSPEC?= devices.spec CLEANFILES+= ${MAKEDEVSPEC} ${MAKEDEVSPEC}.tmp @@ -53,3 +58,6 @@ IMAGEDEPENDS+= ${NETBSDSRCDIR}/etc/etc.$ ${MAKEDEVSPEC}: .PHONY .endif # ! MAKEDEVTARGETS + + +.endif # _MAKEFILE_MAKEDEV_