blob: 8c97cec344576ad667bf186a7021681694ed3bdb (
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
|
# $OpenBSD: Makefile,v 1.3 1998/08/29 21:12:17 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 you are on a DEC Alpha, edit des.h and change the DES_LONG
# define to 'unsigned int'. I have seen this give a %20 speedup.
.if ${MACHINE} == "alpha"
CFLAGS+= -DDES_LONG=u_int
.endif
#.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>
|