summaryrefslogtreecommitdiffstats
path: root/secure/lib/libdes/Makefile
blob: f32c85ebf31d270a463db24af2991a1675820cfe (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
#	@(#)Makefile	5.4 (Berkeley) 5/7/91
#	$Id: Makefile,v 1.3 1996/07/29 18:01:39 markm Exp $

LIB=	des
SRCS=	cbc3_enc.c cbc_cksm.c cbc_enc.c  cfb64enc.c cfb_enc.c  \
	ecb3_enc.c ecb_enc.c  ede_enc.c  enc_read.c enc_writ.c \
	ncbc_enc.c new_rkey.c ofb64enc.c ofb_enc.c  pcbc_enc.c \
	qud_cksm.c rand_key.c read_pwd.c rpc_enc.c  set_key.c  \
	str2key.c  cfb64ede.c ofb64ede.c supp.c     xcbc_enc.c
HEADER=	des.h

SHLIB_MAJOR=	3
SHLIB_MINOR=	0

CFLAGS+=	-Wall
CLEANFILES+=	des_crypt.3

MAN3=	des_crypt.3

des_crypt.3: des_crypt.man
	cp ${.OODATE} ${.TARGET}

MLINKS= des_crypt.3 des_read_password.3 \
	des_crypt.3 des_read_2password.3 des_crypt.3 des_string_to_key.3 \
	des_crypt.3 des_string_to_2key.3 des_crypt.3 des_read_pw_string.3 \
	des_crypt.3 des_random_key.3 des_crypt.3 des_set_key.3 \
	des_crypt.3 des_key_sched.3 des_crypt.3 des_ecb_encrypt.3 \
	des_crypt.3 des_3ecb_encrypt.3 des_crypt.3 des_cbc_encrypt.3 \
	des_crypt.3 des_3cbc_encrypt.3 des_crypt.3 des_pcbc_encrypt.3 \
	des_crypt.3 des_cfb_encrypt.3 des_crypt.3 des_ofb_encrypt.3 \
	des_crypt.3 des_cbc_cksum.3 des_crypt.3 des_quad_cksum.3 \
	des_crypt.3 des_enc_read.3 des_crypt.3 des_enc_write.3 \
	des_crypt.3 des_set_odd_parity.3 des_crypt.3 des_is_weak_key.3

beforeinstall:
.for i in ${HEADER}
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/$i \
		${DESTDIR}/usr/include
.endfor

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud