1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1996-12-23 05:07:37 +00:00
|
|
|
|
|
|
|
DISTRIBUTION= compat20
|
|
|
|
|
|
|
|
LIBS= libdialog.so.2.0 libforms.so.2.0 libg++.so.2.0 libgcc.so.261.0 \
|
|
|
|
libncurses.so.2.0 libreadline.so.2.0
|
|
|
|
|
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
|
2001-09-21 09:10:09 +00:00
|
|
|
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
|
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>
|