summaryrefslogtreecommitdiffstats
path: root/lib/compat/compat3x.i386/Makefile
blob: ac037549252d90ae87c760e6b4ef7a72c564b2e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $FreeBSD$

DISTRIBUTION=	compat3x

LIBCOMPATDIR=	${LIBDIR}/compat

LIBS=	libc.so.3 libc_r.so.3 libcurses.so.2 libdialog.so.3 libedit.so.2 \
	libf2c.so.2 libftpio.so.4 libg++.so.4 libmytinfo.so.2 libncurses.so.3 \
	libreadline.so.3 libstdc++.so.2 libtermcap.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>
OpenPOWER on IntegriCloud