Module Name: src Committed By: uebayasi Date: Wed Feb 16 16:20:06 UTC 2011
Modified Files: src/etc: Makefile Log Message: Generate MAKEDEV only when really necessary. Write dependency correctly. To generate a diff of this commit: cvs rdiff -u -r1.385 -r1.386 src/etc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/Makefile diff -u src/etc/Makefile:1.385 src/etc/Makefile:1.386 --- src/etc/Makefile:1.385 Wed Feb 16 15:52:51 2011 +++ src/etc/Makefile Wed Feb 16 16:20:06 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.385 2011/02/16 15:52:51 uebayasi Exp $ +# $NetBSD: Makefile,v 1.386 2011/02/16 16:20:06 uebayasi Exp $ # from: @(#)Makefile 8.7 (Berkeley) 5/25/95 # Environment variables without default values: @@ -173,7 +173,8 @@ CLEANFILES+= MAKEDEV -MAKEDEV: .EXEC +MAKEDEV: ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \ + ${.CURDIR}/etc.${MACHINE}/MAKEDEV.conf ${_MKTARGET_CREATE} MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ NETBSDSRCDIR=${NETBSDSRCDIR:Q} \