summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-02-14 20:49:54 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-02-14 20:49:54 +0000
commit9a5622785cd0c6a242e5bf1b82590f15a26aaa9f (patch)
treec6db6af963e418a8c3d828146426dd366b664d5e /lib
parent93f09f075a232ca0c85cef546111b741002eef6c (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/compat/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/compat/Makefile b/lib/compat/Makefile
index 2855c875be65..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,11 +16,18 @@ SUBDIR+= compat21
.if defined(COMPAT22) || defined(RELEASEDIR)
SUBDIR+= compat22
.endif
+.endif
+
+.if exists (${.CURDIR}/compat3x.${MACHINE_ARCH})
.if defined(COMPAT3X) || defined(RELEASEDIR)
SUBDIR+= compat3x.${MACHINE_ARCH}
.endif
+.endif
+
+.if exists (${.CURDIR}/compat4x.${MACHINE_ARCH})
.if defined(COMPAT4X) || defined(RELEASEDIR)
SUBDIR+= compat4x.${MACHINE_ARCH}
.endif
+.endif
.include <bsd.subdir.mk>