summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/compile/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/compile/Makefile.inc')
-rw-r--r--sys/arch/sparc64/compile/Makefile.inc19
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/arch/sparc64/compile/Makefile.inc b/sys/arch/sparc64/compile/Makefile.inc
new file mode 100644
index 00000000000..d79a8803ef2
--- /dev/null
+++ b/sys/arch/sparc64/compile/Makefile.inc
@@ -0,0 +1,19 @@
+SYSDIR != cd ${.CURDIR}/../../../..; pwd
+CONFDIR != cd ${.CURDIR}/../../conf; pwd
+
+.if ${.CURDIR} == ${.OBJDIR}
+.PHONY: config
+config:
+ @echo make obj required first >&2
+ @false
+.elif !exists(${OBJDIR}/Makefile)
+.PHONY: config clean
+config:
+ config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+
+clean:
+
+.endif
+
+.include <bsd.obj.mk>
+