summaryrefslogtreecommitdiff
path: root/lib/libdes/Makefile
blob: 979aa795eeb733f22f9d28c59a4f8857584583e9 (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
#	$OpenBSD: Makefile,v 1.4 2002/03/04 22:00:13 deraadt Exp $

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

#.if ${MACHINE} == "i386"
#OBJS+= asm/dx86-out.o
#.else
#SRCS+= des_enc.c
#.endif

#asm/dx86-out.o:
#	$(CPP) -DOUT asm/dx86unix.cpp | as -o asm/dx86-out.o
#asm/dx86-out.po:
#	$(CPP) -DOUT asm/dx86unix.cpp | as -o asm/dx86-out.po.o
#	$(LD) -X -r asm/dx86-out.po.o -o asm/dx86-out.po
#	rm -f asm/dx86-out.po.o
#asm/dx86-out.so:
#	$(CPP) -DOUT asm/dx86unix.cpp | as -k -o asm/dx86-out.so.o
#	$(LD) -x -r -d asm/dx86-out.so.o -o asm/dx86-out.so
#	rm -f asm/dx86-out.so.o

MAN=	des_crypt.3
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


.include <bsd.lib.mk>