Module Name: src
Committed By: pooka
Date: Mon Mar 22 14:42:01 UTC 2010
Modified Files:
src/share/mk: bsd.ioconf.mk
Log Message:
deal with ioconf.h
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/share/mk/bsd.ioconf.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.ioconf.mk
diff -u src/share/mk/bsd.ioconf.mk:1.1 src/share/mk/bsd.ioconf.mk:1.2
--- src/share/mk/bsd.ioconf.mk:1.1 Sun Mar 21 06:55:45 2010
+++ src/share/mk/bsd.ioconf.mk Mon Mar 22 14:42:01 2010
@@ -1,7 +1,7 @@
-# $NetBSD: bsd.ioconf.mk,v 1.1 2010/03/21 06:55:45 pooka Exp $
+# $NetBSD: bsd.ioconf.mk,v 1.2 2010/03/22 14:42:01 pooka Exp $
#
-# If IOCONF is defined, autocreate ioconf.c and locators.h.
+# If IOCONF is defined, autocreate ioconf.[ch] and locators.h.
# This is useful mainly for devices.
.if !empty(IOCONF)
@@ -14,7 +14,7 @@
# config doesn't change the files if they're unchanged. however,
# here we want to satisfy our make dependency, so force a
# timestamp update
- touch ioconf.c locators.h
+ touch ioconf.c ioconf.h locators.h
.else # _BSD_IOCONF_MK_USER_
@@ -25,7 +25,8 @@
.endif # _BSD_IOCONF_MK_USER_
locators.h: ioconf.c
+ioconf.h: ioconf.c
-CLEANFILES+= ioconf.c locators.h
-DPSRCS+= ioconf.c locators.h
+CLEANFILES+= ioconf.c ioconf.h locators.h
+DPSRCS+= ioconf.c ioconf.h locators.h
.endif