mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 15:22:43 +00:00
05f0d9ffd6
5-CURRENT. These libs will not be used [sitting in /usr/lib/compat] as the -current ones in /usr/lib will be found first by ld-elf.so.1.
29 lines
533 B
Makefile
29 lines
533 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}
|
|
|
|
# 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>
|