1999-05-21 18:40:54 +00:00
|
|
|
# $Id: Makefile,v 1.10 1999/04/06 12:51:43 peter Exp $
|
1996-12-23 05:07:37 +00:00
|
|
|
|
|
|
|
DISTRIBUTION= compat21
|
|
|
|
|
1997-04-03 06:08:28 +00:00
|
|
|
LIBS= libc.so.2.2 libg++.so.3.0 libgmp.so.2.0
|
1996-12-23 05:07:37 +00:00
|
|
|
|
1999-05-21 18:40:54 +00:00
|
|
|
CLEANFILES+= ${LIBS} ld.so
|
1996-12-23 05:07:37 +00:00
|
|
|
|
1999-05-21 18:40:54 +00:00
|
|
|
all: ${LIBS} ld.so
|
1996-12-23 05:07:37 +00:00
|
|
|
|
1999-05-21 18:40:54 +00:00
|
|
|
.for lib in ${LIBS} ld.so
|
1996-12-23 05:07:37 +00:00
|
|
|
${lib}: ${lib}.gz.uu
|
1996-12-28 17:42:48 +00:00
|
|
|
uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
|
1996-12-23 05:07:37 +00:00
|
|
|
.endfor
|
|
|
|
|
1996-12-31 02:39:40 +00:00
|
|
|
beforeinstall:
|
1999-05-21 18:40:54 +00:00
|
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ld.so \
|
|
|
|
${DESTDIR}/usr/libexec
|
1996-12-30 07:32:34 +00:00
|
|
|
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
|
1999-04-06 12:51:43 +00:00
|
|
|
${DESTDIR}${LIBCOMPATDIR}/aout
|
1996-12-23 05:07:37 +00:00
|
|
|
|
1996-12-28 17:42:48 +00:00
|
|
|
# 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.
|
1996-12-23 05:07:37 +00:00
|
|
|
.include <bsd.prog.mk>
|