freebsd-dev/lib/compat/compat4x.alpha/Makefile
Peter Wemm 7a19c34992 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.
2001-09-21 09:10:09 +00:00

30 lines
576 B
Makefile

# $FreeBSD$
DISTRIBUTION= compat4x
LIBCOMPATDIR= ${LIBDIR}/compat
LIBS= \
libc.so.4 \
libc_r.so.4 \
libcrypto.so.1 \
libssl.so.1
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}
rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
# 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>