Initial import from FreeBSD RELENG_4:
[dragonfly.git] / lib / compat / Makefile
1 # $FreeBSD: src/lib/compat/Makefile,v 1.6.2.2 2001/03/23 22:09:37 peter Exp $
2
3 SUBDIR=
4
5 .if ${MACHINE_ARCH} == "i386"
6 # Note that compat21 is *not* for the 2.1.x branch!
7 .if defined(COMPAT1X) || defined(RELEASEDIR)
8 SUBDIR+=        compat1x
9 .endif
10 .if defined(COMPAT20) || defined(RELEASEDIR)
11 SUBDIR+=        compat20
12 .endif
13 .if defined(COMPAT21) || defined(RELEASEDIR)
14 SUBDIR+=        compat21
15 .endif
16 .if defined(COMPAT22) || defined(RELEASEDIR)
17 SUBDIR+=        compat22
18 .endif
19 .endif
20
21 .if exists (${.CURDIR}/compat3x.${MACHINE_ARCH})
22 .if defined(COMPAT3X) || defined(RELEASEDIR)
23 SUBDIR+=        compat3x.${MACHINE_ARCH}
24 .endif
25 .endif
26
27 .if exists (${.CURDIR}/compat4x.${MACHINE_ARCH})
28 .if defined(COMPAT4X) || defined(RELEASEDIR)
29 SUBDIR+=        compat4x.${MACHINE_ARCH}
30 .endif
31 .endif
32
33 .include <bsd.subdir.mk>