1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/lib/compat/compat21/Makefile
Ruslan Ermilov d2893b161b Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
2002-07-29 09:40:17 +00:00

25 lines
580 B
Makefile

# $FreeBSD$
DISTRIBUTION= compat21
LIBS= libc.so.2.2 libg++.so.3.0 libgmp.so.2.0
CLEANFILES+= ${LIBS} ld.so
all: ${LIBS} ld.so
.for lib in ${LIBS} ld.so
${lib}: ${lib}.gz.uu
uudecode -p ${.CURDIR}/${lib}.gz.uu | gunzip > ${lib}
.endfor
beforeinstall:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ld.so \
${DESTDIR}/usr/libexec
${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${LIBS} \
${DESTDIR}${LIBCOMPATDIR}/aout
# 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>