Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk deal with ioconf.h
details: https://anonhg.NetBSD.org/src/rev/12ad8a178d17
branches: trunk
changeset: 753292:12ad8a178d17
user: pooka <pooka%NetBSD.org@localhost>
date: Mon Mar 22 14:42:01 2010 +0000
description:
deal with ioconf.h
diffstat:
share/mk/bsd.ioconf.mk | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diffs (33 lines):
diff -r 2ac5ec76e800 -r 12ad8a178d17 share/mk/bsd.ioconf.mk
--- a/share/mk/bsd.ioconf.mk Mon Mar 22 14:40:54 2010 +0000
+++ b/share/mk/bsd.ioconf.mk Mon Mar 22 14:42:01 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index