FreeBSD-5.3/lib/compat/Makefile

# $FreeBSD: src/lib/compat/Makefile,v 1.10 2001/02/14 20:49:54 obrien Exp $

SUBDIR=

.if ${MACHINE_ARCH} == "i386"
# Note that compat21 is *not* for the 2.1.x branch!
.if defined(COMPAT1X) || defined(RELEASEDIR)
SUBDIR+=	compat1x
.endif
.if defined(COMPAT20) || defined(RELEASEDIR)
SUBDIR+=	compat20
.endif
.if defined(COMPAT21) || defined(RELEASEDIR)
SUBDIR+=	compat21
.endif
.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>