summaryrefslogtreecommitdiffstats
path: root/lib/compat/compat4x.alpha/Makefile
blob: c588db72377828397c617bbb06807d0c3180a1ed (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# $FreeBSD$

DISTRIBUTION=	compat4x

LIBS=	\
	libc.so.4 \
	libc_r.so.4 \
	libcrypto.so.1 \
	libcrypto.so.2 \
	libedit.so.3 \
	libfetch.so.2 \
	libgmp.so.3 \
	libpam.so.1 \
	libperl.so.3 \
	libssl.so.1 \
	libssl.so.2 \
	libstdc++.so.3 \
	libusb.so.0 \
	pam_cleartext_pass_ok.so \
	pam_deny.so \
	pam_opie.so \
	pam_permit.so \
	pam_radius.so \
	pam_skey.so \
	pam_ssh.so \
	pam_tacplus.so \
	pam_unix.so

CLEANFILES+=	${LIBS}

all:	${LIBS}

.for lib in ${LIBS}
.if exists(${.CURDIR}/${lib}.gz.uu)
${lib}:	${.CURDIR}/${lib}.gz.uu
	uudecode -p ${.CURDIR}/${lib}.gz.uu | gzip -d > ${lib}
.elif exists(${.CURDIR}/${lib}.bz2.uu)
${lib}:	${.CURDIR}/${lib}.bz2.uu
	uudecode -p ${.CURDIR}/${lib}.bz2.uu | bzip2 -d > ${lib}
.endif
.endfor

beforeinstall:
	${INSTALL} -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