Module Name: src
Committed By: jmcneill
Date: Sun Aug 28 23:16:19 UTC 2011
Modified Files:
src/sys/arch/usermode/conf: Makefile.usermode
Log Message:
override thunk.d and thunk_sdl.d targets
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/usermode/conf/Makefile.usermode
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/usermode/conf/Makefile.usermode
diff -u src/sys/arch/usermode/conf/Makefile.usermode:1.14 src/sys/arch/usermode/conf/Makefile.usermode:1.15
--- src/sys/arch/usermode/conf/Makefile.usermode:1.14 Thu Aug 25 11:06:29 2011
+++ src/sys/arch/usermode/conf/Makefile.usermode Sun Aug 28 23:16:18 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.usermode,v 1.14 2011/08/25 11:06:29 jmcneill Exp $
+# $NetBSD: Makefile.usermode,v 1.15 2011/08/28 23:16:18 jmcneill Exp $
MACHINE_ARCH= usermode
USETOOLS?= no
@@ -68,9 +68,17 @@
ln -s $S/arch/i386/include i386
.endif
+thunk.d: ${USERMODE}/usermode/thunk.c
+ ${MKDEP} -f ${.TARGET} -- ${MKDEP_CFLAGS} \
+ ${CPPFLAGS.thunk.c} ${USERMODE}/usermode/thunk.c
+
thunk.o: ${USERMODE}/usermode/thunk.c
${CC} ${CPPFLAGS.thunk.c} -c -o $@ ${USERMODE}/usermode/thunk.c
+thunk_sdl.d: ${USERMODE}/usermode/thunk.c
+ ${MKDEP} -f ${.TARGET} -- ${MKDEP_CFLAGS} \
+ ${CPPFLAGS.thunk_sdl.c} ${USERMODE}/usermode/thunk_sdl.c
+
thunk_sdl.o: ${USERMODE}/usermode/thunk_sdl.c
${CC} ${CPPFLAGS.thunk_sdl.c} -c -o $@ ${USERMODE}/usermode/thunk_sdl.c