summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/fpsp/Makefile.inc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /sys/arch/m68k/fpsp/Makefile.inc
initial import of NetBSD tree
Diffstat (limited to 'sys/arch/m68k/fpsp/Makefile.inc')
-rw-r--r--sys/arch/m68k/fpsp/Makefile.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/arch/m68k/fpsp/Makefile.inc b/sys/arch/m68k/fpsp/Makefile.inc
new file mode 100644
index 00000000000..4a76434aae3
--- /dev/null
+++ b/sys/arch/m68k/fpsp/Makefile.inc
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile.inc,v 1.2 1994/10/26 07:48:47 cgd Exp $
+#
+# NOTE: $S must correspond to the top of the `sys' tree
+
+FPSPSRCDIR= $S/arch/m68k/fpsp
+
+FPSPOBJDIR!= cd $(FPSPSRCDIR); \
+ printf "xxx:\n\techo \$${.OBJDIR}\n" | $(MAKE) -r -s -f - xxx
+
+FPSPOBJ= $(FPSPOBJDIR)/fpsp.o
+
+$(FPSPOBJ): .NOTMAIN __always_make_fpsp
+ @echo making sure the fpsp is up to date...
+ @(cd $(FPSPSRCDIR) ; $(MAKE))
+
+FPSP!= printf "\#ifdef FPSP\n${FPSPOBJ}\n\#endif\n" | cpp -P -undef ${COPTS:M-DFPSP}
+
+__always_make_fpsp: .NOTMAIN