1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
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:
|
2002-07-29 09:40:17 +00:00
|
|
|
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ld.so \
|
1999-05-21 18:40:54 +00:00
|
|
|
${DESTDIR}/usr/libexec
|
2002-07-29 09:40:17 +00:00
|
|
|
${INSTALL} -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>
|