summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-03-23 22:09:37 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-03-23 22:09:37 +0000
commit9baa3eea69f3b25d61a09636473f605c41aa17d2 (patch)
treeeab16b6c6f24a0e074082a2e04917685ae226c2c /lib
parent2d8639f0cd320574c6e4b54e24a5f0298ee2597b (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/compat/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/compat/Makefile b/lib/compat/Makefile
index a8a555d9bee8..3339bccebb8d 100644
--- a/lib/compat/Makefile
+++ b/lib/compat/Makefile
@@ -2,6 +2,7 @@
SUBDIR=
+.if ${MACHINE_ARCH} == "i386"
# Note that compat21 is *not* for the 2.1.x branch!
.if defined(COMPAT1X) || defined(RELEASEDIR)
SUBDIR+= compat1x
@@ -15,8 +16,12 @@ SUBDIR+= compat21
.if defined(COMPAT22) || defined(RELEASEDIR)
SUBDIR+= compat22
.endif
+.endif
+
+.if exists (${.CURDIR}/compat3x.${MACHINE_ARCH})
.if defined(COMPAT3X) || defined(RELEASEDIR)
-SUBDIR+= compat3x
+SUBDIR+= compat3x.${MACHINE_ARCH}
+.endif
.endif
.if exists (${.CURDIR}/compat4x.${MACHINE_ARCH})