summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/alpha/compile/Makefile.inc5
-rw-r--r--sys/arch/amd64/compile/Makefile.inc5
-rw-r--r--sys/arch/armv7/compile/Makefile.inc5
-rw-r--r--sys/arch/hppa/compile/Makefile.inc5
-rw-r--r--sys/arch/i386/compile/Makefile.inc5
-rw-r--r--sys/arch/landisk/compile/Makefile.inc5
-rw-r--r--sys/arch/loongson/compile/Makefile.inc5
-rw-r--r--sys/arch/luna88k/compile/Makefile.inc5
-rw-r--r--sys/arch/macppc/compile/Makefile.inc5
-rw-r--r--sys/arch/octeon/compile/Makefile.inc5
-rw-r--r--sys/arch/sgi/compile/Makefile.inc5
-rw-r--r--sys/arch/socppc/compile/Makefile.inc5
-rw-r--r--sys/arch/sparc64/compile/Makefile.inc5
13 files changed, 26 insertions, 39 deletions
diff --git a/sys/arch/alpha/compile/Makefile.inc b/sys/arch/alpha/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/alpha/compile/Makefile.inc
+++ b/sys/arch/alpha/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/amd64/compile/Makefile.inc b/sys/arch/amd64/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/amd64/compile/Makefile.inc
+++ b/sys/arch/amd64/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/armv7/compile/Makefile.inc b/sys/arch/armv7/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/armv7/compile/Makefile.inc
+++ b/sys/arch/armv7/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/hppa/compile/Makefile.inc b/sys/arch/hppa/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/hppa/compile/Makefile.inc
+++ b/sys/arch/hppa/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/i386/compile/Makefile.inc b/sys/arch/i386/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/i386/compile/Makefile.inc
+++ b/sys/arch/i386/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/landisk/compile/Makefile.inc b/sys/arch/landisk/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/landisk/compile/Makefile.inc
+++ b/sys/arch/landisk/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/loongson/compile/Makefile.inc b/sys/arch/loongson/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/loongson/compile/Makefile.inc
+++ b/sys/arch/loongson/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/luna88k/compile/Makefile.inc b/sys/arch/luna88k/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/luna88k/compile/Makefile.inc
+++ b/sys/arch/luna88k/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/macppc/compile/Makefile.inc b/sys/arch/macppc/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/macppc/compile/Makefile.inc
+++ b/sys/arch/macppc/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/octeon/compile/Makefile.inc b/sys/arch/octeon/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/octeon/compile/Makefile.inc
+++ b/sys/arch/octeon/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/sgi/compile/Makefile.inc b/sys/arch/sgi/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/sgi/compile/Makefile.inc
+++ b/sys/arch/sgi/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/socppc/compile/Makefile.inc b/sys/arch/socppc/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/socppc/compile/Makefile.inc
+++ b/sys/arch/socppc/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>
diff --git a/sys/arch/sparc64/compile/Makefile.inc b/sys/arch/sparc64/compile/Makefile.inc
index 1c3a21c7e8d..d9c886d0740 100644
--- a/sys/arch/sparc64/compile/Makefile.inc
+++ b/sys/arch/sparc64/compile/Makefile.inc
@@ -6,14 +6,13 @@ CONFDIR != cd ${.CURDIR}/../../conf; pwd
config:
@echo make obj required first >&2
@false
-.elif !exists(${OBJDIR}/Makefile)
+.else
.PHONY: config clean
config:
config -b ${.OBJDIR} -s ${SYSDIR} ${CONFDIR}/${.CURDIR:T}
+.endif
cleandir clean:
-.endif
-
.include <bsd.obj.mk>