head	1.14;
access;
symbols
	RELENG_4_9_0_RELEASE:1.10.2.1
	RELENG_4_9:1.10.2.1.0.6
	RELENG_4_9_BP:1.10.2.1
	RELENG_5_1_0_RELEASE:1.14
	RELENG_5_1:1.14.0.4
	RELENG_5_1_BP:1.14
	RELENG_4_8_0_RELEASE:1.10.2.1
	RELENG_4_8:1.10.2.1.0.4
	RELENG_4_8_BP:1.10.2.1
	RELENG_5_0_0_RELEASE:1.14
	RELENG_5_0:1.14.0.2
	RELENG_5_0_BP:1.14
	RELENG_4_7_0_RELEASE:1.10.2.1
	RELENG_4_7:1.10.2.1.0.2
	RELENG_4_7_BP:1.10.2.1
	RELENG_4_6_2_RELEASE:1.10
	RELENG_4_6_1_RELEASE:1.10
	RELENG_4_6_0_RELEASE:1.10
	RELENG_4_6:1.10.0.10
	RELENG_4_6_BP:1.10
	RELENG_4_5_0_RELEASE:1.10
	RELENG_4_5:1.10.0.8
	RELENG_4_5_BP:1.10
	RELENG_4_4_0_RELEASE:1.10
	RELENG_4_4:1.10.0.6
	RELENG_4_4_BP:1.10
	RELENG_4_3_0_RELEASE:1.10
	RELENG_4_3:1.10.0.4
	RELENG_4_3_BP:1.10
	RELENG_4_2_0_RELEASE:1.10
	RELENG_4_1_1_RELEASE:1.10
	PRE_SMPNG:1.10
	RELENG_4_1_0_RELEASE:1.10
	RELENG_3_5_0_RELEASE:1.7.4.1
	RELENG_4_0_0_RELEASE:1.10
	RELENG_4:1.10.0.2
	RELENG_4_BP:1.10
	RELENG_3_4_0_RELEASE:1.7.4.1
	RELENG_3_3_0_RELEASE:1.7.4.1
	RELENG_3_2_PAO:1.7.0.6
	RELENG_3_2_PAO_BP:1.7
	RELENG_3_2_0_RELEASE:1.7
	RELENG_3_1_0_RELEASE:1.7
	RELENG_3:1.7.0.4
	RELENG_3_BP:1.7
	RELENG_2_2_8_RELEASE:1.1.2.2
	RELENG_3_0_0_RELEASE:1.7
	RELENG_2_2_7_RELEASE:1.1.2.2
	RELENG_2_2_6_RELEASE:1.1.2.2
	RELENG_2_2_5_RELEASE:1.1.2.2
	RELENG_2_2_2_RELEASE:1.1.2.2
	RELENG_2_2_1_RELEASE:1.1.2.2
	RELENG_2_2_0_RELEASE:1.1.2.2
	RELENG_2_1_0:1.7.0.2
	RELENG_2_2:1.1.0.2;
locks; strict;
comment	@# @;


1.14
date	2002.07.29.09.40.09;	author ru;	state Exp;
branches;
next	1.13;

1.13
date	2001.09.21.11.32.40;	author ru;	state Exp;
branches;
next	1.12;

1.12
date	2001.09.21.09.22.33;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	2001.09.21.09.10.08;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	99.08.27.23.57.45;	author peter;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	99.04.07.10.57.26;	author jhay;	state Exp;
branches;
next	1.8;

1.8
date	99.04.06.12.51.42;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	97.02.22.14.57.35;	author peter;	state Exp;
branches
	1.7.2.1
	1.7.4.1;
next	1.6;

1.6
date	97.01.14.06.00.26;	author jkh;	state Exp;
branches;
next	1.5;

1.5
date	96.12.31.02.38.28;	author bde;	state Exp;
branches;
next	1.4;

1.4
date	96.12.30.07.31.43;	author jkh;	state Exp;
branches;
next	1.3;

1.3
date	96.12.28.17.42.46;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	96.12.23.21.47.26;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	96.12.23.05.07.21;	author peter;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	96.12.23.21.47.57;	author jkh;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	97.03.03.15.11.44;	author bde;	state Exp;
branches;
next	1.1.2.3;

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

1.7.2.1
date	99.09.05.11.18.11;	author peter;	state Exp;
branches;
next	;

1.7.4.1
date	99.08.29.14.55.03;	author peter;	state Exp;
branches;
next	;

1.10.2.1
date	2002.08.07.16.31.45;	author ru;	state Exp;
branches;
next	;


desc
@@


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

Approved by:	bde
@
text
@# $FreeBSD$

DISTRIBUTION=	compat1x

LIBS=	libc.so.1.1 libcurses.so.1.1 libf2c.so.1.1 libg++.so.1.1 \
	libgcc.so.1.1 libgnumalloc.so.1.1 libgnuregex.so.1.1 libln.so.1.1 \
	libm.so.1.1 libmalloc.so.1.1 libreadline.so.1.1 libresolv.so.1.1 \
	librpcsvc.so.1.1 libskey.so.1.1 libtelnet.so.1.1 libtermcap.so.1.1 \
	libutil.so.1.1 liby.so.1.1

CLEANFILES+=	${LIBS}
LINKS=	${LIBCOMPATDIR}/aout/libtermcap.so.1.1 \
	${LIBCOMPATDIR}/aout/libtermlib.so.1.1

all:	${LIBS}

.for lib in ${LIBS}
${lib}:	${lib}.gz.uu
	uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
.endfor

beforeinstall:
	${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
		${DESTDIR}${LIBCOMPATDIR}/aout

# 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.13
log
@Replace our stale-lib cleanup with a better one.  (less bloated)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/compat/compat1x/Makefile,v 1.12 2001/09/21 09:22:33 peter Exp $
d23 1
a23 1
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
@


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

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


1.11
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/compat1x/Makefile,v 1.10 1999/08/27 23:57:45 peter Exp $
d25 5
a29 1
	rm -f ${LIBS:S@@^@@${DESTDIR}${SHLIBDIR}/@@}
@


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


1.10.2.1
log
@MFC: Drop support for COPY.
@
text
@d23 1
a23 1
	${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
@


1.9
log
@Add aout to the links also.

Reviewed by:	peter
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.8 1999/04/06 12:51:42 peter Exp $
@


1.8
log
@Install these compat libs to /usr/lib/compat/aout.  I think this will work
with the release builds.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1997/02/22 14:57:35 peter Exp $
d12 2
a13 1
LINKS=	${LIBCOMPATDIR}/libtermcap.so.1.1 ${LIBCOMPATDIR}/libtermlib.so.1.1
@


1.7
log
@Revert $FreeBSD$ to $Id$
@
text
@d1 1
a1 1
# $Id$
d23 1
a23 1
		${DESTDIR}${LIBCOMPATDIR}
@


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


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


1.6
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.5
log
@Use `beforeinstall' target instead of `install' target so that the links
get installed.

The `install' target should only be overridden when the default one would
do something wrong and you're too lazy to fix the default one.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1996/12/30 07:31:43 jkh Exp $
@


1.4
log
@Argh, guys, LIBOWN, not LIBMODE for -o! :-)
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1996/12/28 17:42:46 peter Exp $
d12 1
a12 2
LINKS=		${LIBCOMPATDIR}/libtermcap.so.1.1 \
		${LIBCOMPATDIR}/libtermlib.so.1.1
d21 1
a21 1
install:
@


1.3
log
@Fix some more problems:
- the .gz files are no longer used as intermediate files, it's in a pipe
  now.  (gunzip normally deleted them anyway, but this should not hurt)
- I accidently left a -p arg to install from testing.  Bruce says it should
  be ${COPY} instead, but almost everything else in the tree uses plain -c
  anyway.
- Use "LINKS=" or two identical files are installed sepeately instead of
  as links (doh!)
- Use "LIB..." instead of "BIN..." for install permissions.  Note that we
  still use bsd.prog.mk, not bsd.lib.mk because bsd.lib.mk has problems
  (it can't install a library unless it compiles it).
- Define LIBCOMPATDIR in Makefile.inc instead of using BINDIR.

Mostly submitted by: bde
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1996/12/23 21:47:26 jkh Exp $
d23 1
a23 1
	${INSTALL} ${COPY} -o ${LIBMODE} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
@


1.2
log
@BINMODE != BINOWN - I was wondering why the output files were owned by
uid 555. :-)
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1996/12/23 05:07:21 peter Exp $
d9 1
a9 1
	libtermlib.so.1.1 libutil.so.1.1 liby.so.1.1
d12 2
d17 1
a17 1
.for lib in ${LIBS:S,libtermlib.so.1.1,,}
d19 1
a19 2
	uudecode ${.CURDIR}/${lib}.gz.uu
	gunzip ${lib}.gz
a21 3
libtermlib.so.1.1: libtermcap.so.1.1
	ln libtermcap.so.1.1 libtermlib.so.1.1

d23 2
a24 2
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${LIBS} \
		${DESTDIR}${BINDIR}
d26 2
a27 1
# Get all the fruit, even though we don't set PROG
@


1.1
log
@In the spirit of Christmas, I give ye a gift!
 - A major 11th hour, last second,  untested commit!

Build some infrastructure to clean up the compat lib distributions, and
also allow them to be installed from the source tree rather than having
to to and get the tarballs from freefall or a CD.  Some tweaks to
/etc/make.conf are in the pipeline to enable it.

This came about because it became apparent that we'd have to change the
compat21.tgz tarball to fix the NIS problem with 2.1.x binaries.  Since
it's tar..gz.uu, doing this would have caused a huge repository change
and we may as well try and fix it once and for all.  Now, adding/removing
libraries should have MUCH less repository impact.

Peril sensative sunglasses: on!
Flame proof suit: on!
Concept reviewed by a stream of ascii representing the opinion of: jkh
Changes casually reviewed by: jkh (but not actually tested)
@
text
@d1 1
a1 1
# $Id$
d25 1
a25 1
	${INSTALL} -c -o ${BINMODE} -g ${BINGRP} -m ${BINMODE} ${LIBS} \
@


1.1.2.1
log
@YAMFC
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1996/12/23 05:07:21 peter Exp $
d25 1
a25 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${LIBS} \
@


1.1.2.2
log
@YAMFC (lots of cleanups).
@
text
@d1 1
a1 1
# $Id$
d9 1
a9 1
	libutil.so.1.1 liby.so.1.1
a11 1
LINKS=	${LIBCOMPATDIR}/libtermcap.so.1.1 ${LIBCOMPATDIR}/libtermlib.so.1.1
d15 1
a15 1
.for lib in ${LIBS}
d17 2
a18 1
	uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
d21 2
a22 3
beforeinstall:
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
		${DESTDIR}${LIBCOMPATDIR}
d24 5
a28 2
# 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.
@


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

