29 lines
798 B
Makefile
29 lines
798 B
Makefile
# $FreeBSD$
|
|
|
|
DISTRIBUTION= compat3x
|
|
|
|
LIBCOMPATDIR= ${LIBDIR}/compat
|
|
|
|
LIBS= libalias.so.3 libc.so.3 libc_r.so.3 libc_r.so.4 libcurses.so.2 \
|
|
libdialog.so.3 libedit.so.2 libf2c.so.2 libfetch.so.1 libftpio.so.4 \
|
|
libg++.so.4 libhistory.so.3 libmytinfo.so.2 libncurses.so.3 \
|
|
libperl.so.3 libreadline.so.3 libss.so.2 libstdc++.so.2 \
|
|
libtermcap.so.2 libutil.so.2 libvgl.so.1 libwrap.so.2 libxpg4.so.2
|
|
|
|
CLEANFILES+= ${LIBS}
|
|
|
|
all: ${LIBS}
|
|
|
|
.for lib in ${LIBS}
|
|
${lib}: ${lib}.gz.uu
|
|
uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
|
|
.endfor
|
|
|
|
beforeinstall:
|
|
${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
|
|
${DESTDIR}${LIBCOMPATDIR}
|
|
|
|
# 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>
|