23 lines
522 B
Makefile
23 lines
522 B
Makefile
# $Id: Makefile,v 1.8 1997/02/22 14:57:39 peter Exp $
|
|
|
|
DISTRIBUTION= compat21
|
|
|
|
LIBS= libc.so.2.2 libg++.so.3.0 libgmp.so.2.0
|
|
|
|
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>
|