diff options
author | obrien <obrien@FreeBSD.org> | 2001-02-14 20:49:54 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-02-14 20:49:54 +0000 |
commit | 65acca06a9e1e55a3a7710ff811df16a9e56f7cc (patch) | |
tree | 1151af196f9450c81253419737beef5100086564 | |
parent | b1b1c5546729eb1039cf848c909eec70a3e85cf0 (diff) | |
download | FreeBSD-src-65acca06a9e1e55a3a7710ff811df16a9e56f7cc.zip FreeBSD-src-65acca06a9e1e55a3a7710ff811df16a9e56f7cc.tar.gz |
Only build the compat libs appropiate for the target machine.
-rw-r--r-- | lib/compat/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/compat/Makefile b/lib/compat/Makefile index 2855c87..3339bcc 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> |