head	1.9;
access;
symbols
	RELENG_4_9_0_RELEASE:1.4.2.2
	RELENG_4_9:1.4.2.2.0.6
	RELENG_4_9_BP:1.4.2.2
	RELENG_5_1_0_RELEASE:1.9
	RELENG_5_1:1.9.0.4
	RELENG_5_1_BP:1.9
	RELENG_4_8_0_RELEASE:1.4.2.2
	RELENG_4_8:1.4.2.2.0.4
	RELENG_4_8_BP:1.4.2.2
	RELENG_5_0_0_RELEASE:1.9
	RELENG_5_0:1.9.0.2
	RELENG_5_0_BP:1.9
	RELENG_4_7_0_RELEASE:1.4.2.2
	RELENG_4_7:1.4.2.2.0.2
	RELENG_4_7_BP:1.4.2.2
	RELENG_4_6_2_RELEASE:1.4
	RELENG_4_6_1_RELEASE:1.4
	RELENG_4_6_0_RELEASE:1.4
	RELENG_4_6:1.4.0.10
	RELENG_4_6_BP:1.4
	RELENG_4_5_0_RELEASE:1.4
	RELENG_4_5:1.4.0.8
	RELENG_4_5_BP:1.4
	RELENG_4_4_0_RELEASE:1.4
	RELENG_4_4:1.4.0.6
	RELENG_4_4_BP:1.4
	RELENG_4_3_0_RELEASE:1.4
	RELENG_4_3:1.4.0.4
	RELENG_4_3_BP:1.4
	RELENG_4_2_0_RELEASE:1.4
	RELENG_4_1_1_RELEASE:1.4
	PRE_SMPNG:1.4
	RELENG_4_1_0_RELEASE:1.4
	RELENG_3_5_0_RELEASE:1.1.2.3
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.2
	RELENG_4_BP:1.4
	RELENG_3_4_0_RELEASE:1.1.2.3
	RELENG_3_3_0_RELEASE:1.1.2.3
	RELENG_3_2_PAO:1.1.2.2.0.2
	RELENG_3_2_PAO_BP:1.1.2.2
	RELENG_3_2_0_RELEASE:1.1.2.2
	RELENG_3:1.1.0.2;
locks; strict;
comment	@# @;


1.9
date	2002.08.04.05.51.05;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	2002.07.29.09.40.10;	author ru;	state Exp;
branches;
next	1.7;

1.7
date	2001.09.21.11.32.48;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2001.09.21.09.22.34;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	2001.09.21.09.10.09;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	99.08.27.23.57.50;	author peter;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	99.05.21.18.37.33;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	99.05.21.18.35.57;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	99.05.08.17.53.43;	author obrien;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	99.05.08.17.56.45;	author obrien;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	99.05.24.16.47.09;	author obrien;	state Exp;
branches;
next	1.1.2.3;

1.1.2.3
date	99.08.29.14.55.08;	author peter;	state Exp;
branches;
next	;

1.4.2.1
date	2002.08.04.05.54.09;	author obrien;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2002.08.07.16.31.46;	author ru;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Updated libc/libc_r that fixes the FreeBSD-SA-02:28.resolv resolver bug.

Submitted by:	Trevor Johnson <trevor@@jpj.net>
@
text
@# $FreeBSD$

DISTRIBUTION=	compat22

LIBS=	libalias.so.2.4 libc.so.3.1 libc_r.so.3.0 libcalendar.so.2.0 \
	libcom_err.so.2.0 libcurses.so.2.0 libdialog.so.3.1 libedit.so.2.0 \
	libf2c.so.2.0 libftpio.so.4.0 libg++.so.4.0 libgmp.so.3.0 \
	libgnuregex.so.2.0 libipx.so.2.0 libkvm.so.2.0 libm.so.2.0 \
	libmp.so.3.0 libmytinfo.so.2.0 libncurses.so.3.1 libopie.so.2.0 \
	libpcap.so.2.2 libreadline.so.3.0 librpcsvc.so.2.0 libscrypt.so.2.0 \
	libscsi.so.2.0 libskey.so.2.0 libss.so.2.0 libstdc++.so.2.0 \
	libtelnet.so.2.0 libtermcap.so.2.1 libutil.so.2.2 libvgl.so.1.0 \
	libxpg4.so.2.0 libz.so.2.0

CLEANFILES+=	${LIBS} ld.so

all:	${LIBS} ld.so

.for lib in ${LIBS} ld.so
.if exists(${.CURDIR}/${lib}.gz.uu)
${lib}:	${lib}.gz.uu
	uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
.elif exists(${.CURDIR}/${lib}.bz2.uu)
${lib}:	${.CURDIR}/${lib}.bz2.uu
	uudecode -p ${.CURDIR}/${lib}.bz2.uu | bzip2 -d > ${lib}
.endif
.endfor

beforeinstall:
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ld.so \
		${DESTDIR}/usr/libexec
	${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
		${DESTDIR}${LIBCOMPATDIR}/aout
	@@${ECHO} "libcrypt.so.2.0 -> libscrypt.so.2.0" ; \
		cd ${DESTDIR}${LIBCOMPATDIR}/aout ; \
		ln -sf libscrypt.so.2.0 libcrypt.so.2.0
	@@${ECHO} "libtermlib.so.2.1 -> libtermcap.so.2.1" ; \
		cd ${DESTDIR}${LIBCOMPATDIR}/aout ; \
		ln -sf libtermcap.so.2.1 libtermlib.so.2.1

# Get all the fruit, even though we don't set PROG.
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
.include <bsd.prog.mk>
@


1.8
log
@Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
@
text
@d20 1
d23 4
@


1.7
log
@Replace our stale-lib cleanup with a better one.  (less bloated)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/compat/compat22/Makefile,v 1.6 2001/09/21 09:22:34 peter Exp $
d25 1
a25 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ld.so \
d27 1
a27 1
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
@


1.6
log
@Replace my stale-lib cleanup with a better one. (less noisy)

Submitted by: ru
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/compat/compat22/Makefile,v 1.5 2001/09/21 09:10:09 peter Exp $
a34 5
.for lib in ${LIBS}
.if exists(${DESTDIR}${SHLIBDIR}/${lib})
	rm -f ${DESTDIR}${SHLIBDIR}/${lib}
.endif
.endfor
@


1.5
log
@Put on my peril-sensitive sunglasses.  Remove any old libraries that
we have just installed a replacement for.  This should solve the problem
of having a stale /usr/lib/libc.so.4 after we put a fresh
/usr/lib/compat/libc.so.4 in its place.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/compat/compat22/Makefile,v 1.4 1999/08/27 23:57:50 peter Exp $
d35 5
a39 1
	rm -f ${LIBS:S@@^@@${DESTDIR}${SHLIBDIR}/@@}
@


1.4
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d35 1
@


1.4.2.1
log
@Updated a.out libc/libc_r that fixes the FreeBSD-SA-02:28.resolv resolver bug.

Submitted by:	Trevor Johnson <trevor@@jpj.net>
@
text
@a19 1
.if exists(${.CURDIR}/${lib}.gz.uu)
a21 4
.elif exists(${.CURDIR}/${lib}.bz2.uu)
${lib}:	${.CURDIR}/${lib}.bz2.uu
	uudecode -p ${.CURDIR}/${lib}.bz2.uu | bzip2 -d > ${lib}
.endif
@


1.4.2.2
log
@MFC: Drop support for COPY.
@
text
@d30 1
a30 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ld.so \
d32 1
a32 1
	${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
@


1.3
log
@Need a few more dependacies.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1999/05/21 18:35:57 obrien Exp $
@


1.2
log
@Add usr/libexec/ld.so
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1999/05/08 17:53:43 obrien Exp $
d15 1
a15 1
CLEANFILES+=	${LIBS}
d17 1
a17 1
all:	${LIBS}
@


1.1
log
@Compatability libraries for 2.2.x binaries.
Note that these are thus our a.out compatability libraries.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.10 1999/04/06 12:51:43 peter Exp $
d19 1
a19 1
.for lib in ${LIBS}
d25 2
@


1.1.2.1
log
@MFC: 2.2.x / a.out compatability libraries.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1999/05/08 17:53:43 obrien Exp $
@


1.1.2.2
log
@MFC:  rev 1.2/1.3 (add ld.so installation)
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1999/05/21 18:37:33 obrien Exp $
d15 1
a15 1
CLEANFILES+=	${LIBS} ld.so
d17 1
a17 1
all:	${LIBS} ld.so
d19 1
a19 1
.for lib in ${LIBS} ld.so
a24 2
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ld.so \
		${DESTDIR}/usr/libexec
@


1.1.2.3
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


