@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.14 2009/01/12 07:00:59 tsutsui Exp $
+# $NetBSD: Makefile.inc,v 1.15 2009/03/15 14:08:17 tsutsui Exp $
# Must have S=/usr/src/sys (or equivalent)
# But note: this is w.r.t. a subdirectory
@@ -45,20 +45,4 @@
.endif # defined(SA_PROG)
-CLEANFILES+= machine m68k sun68k
+.include <bsd.klinks.mk>
-.if !make(obj) && !make(clean) && !make(cleandir)
-.BEGIN: machine m68k sun68k
-.NOPATH: machine m68k sun68k
-.endif
-
-machine :
- -rm -f $@
- ln -s ${S}/arch/${MACHINE}/include $@
-
-m68k :
- -rm -f $@
- ln -s ${S}/arch/m68k/include $@
-
-sun68k :
- -rm -f $@
- ln -s ${S}/arch/sun68k/include $@