summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/060sp/Makefile.inc
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-30 21:14:31 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-05-30 21:14:31 +0000
commit32d9f5dc967f634f8b9912d0541c5cdc5a04ad87 (patch)
tree4c394dded87f01ffced278bda88d885e6763c019 /sys/arch/m68k/060sp/Makefile.inc
parent6c0539d933458ca5bc6e048d4cca4b5ab7259297 (diff)
checkin of files sup have missed earlier, this dir is now at 0529
Diffstat (limited to 'sys/arch/m68k/060sp/Makefile.inc')
-rw-r--r--sys/arch/m68k/060sp/Makefile.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/arch/m68k/060sp/Makefile.inc b/sys/arch/m68k/060sp/Makefile.inc
new file mode 100644
index 00000000000..ec17199b499
--- /dev/null
+++ b/sys/arch/m68k/060sp/Makefile.inc
@@ -0,0 +1,19 @@
+#
+# $NetBSD: Makefile.inc,v 1.1 1996/05/15 21:06:19 is Exp $
+#
+# NOTE: $S must correspond to the top of the `sys' tree
+
+060SPSRCDIR= $S/arch/m68k/060sp
+
+060SPOBJDIR!= cd $(060SPSRCDIR); \
+ printf "xxx:\n\techo \$${.OBJDIR}\n" | $(MAKE) -r -s -f - xxx
+
+060SPOBJ= $(060SPOBJDIR)/060sp.o
+
+$(060SPOBJ): .NOTMAIN __always_make_060sp
+ @echo making sure the 060sp is up to date...
+ @(cd $(060SPSRCDIR) ; $(MAKE))
+
+060SP!= printf "\#ifdef M060SP\n${060SPOBJ}\n\#endif\n" | cpp -P -undef ${CPPFLAGS:M-DM060SP}
+
+__always_make_060sp: .NOTMAIN