1 # $NetBSD: Makefile,v 1.2 2010/04/12 17:58:40 joerg Exp $
5 USE_FORT?
= yes
# cryptographic software
8 SRCS
= ocbc_cksm.c ocbc_enc.c ocfb64ede.c ocfb64enc.c ocfb_enc.c \
9 odes_enc.c oecb3_enc.c oecb_enc.c oede_cbcm_enc.c oenc_read.c \
10 oenc_writ.c ofcrypt.c ofcrypt_b.c oofb64ede.c oofb64enc.c \
11 oofb_enc.c opcbc_enc.c oqud_cksm.c orand_key.c oread2pwd.c \
12 oread_pwd.c orpc_enc.c oset_key.c ostr2key.c oxcbc_enc.c
17 CPPFLAGS
+=-DOPENSSL_VERSION_PTEXT
="\" based on OpenSSL 0.9.6j 10 Apr 2003\""
18 CPPFLAGS
+=-DOPENSSL_cleanse
=bzero
-DOPENSSL_malloc
=malloc
24 pod2man
--section
=3 --center
=libdes
--release
=0.9.6j des.pod | \
25 sed
-e
's/[[:space:]]*$$//' > ${.CURDIR
}/des
.3
26 pod2man
--section
=7 --center
=libdes
--release
=0.9.6j des_modes.pod | \
27 sed
-e
's/[[:space:]]*$$//' > ${.CURDIR
}/des_modes
.7
29 MAN
= des
.3 des_modes
.7
31 MLINKS
+=des
.3 des_cbc_cksum
.3 \
32 des
.3 des_cfb64_encrypt
.3 \
33 des
.3 des_cfb_encrypt
.3 \
35 des
.3 des_ecb2_encrypt
.3 \
36 des
.3 des_ecb3_encrypt
.3 \
37 des
.3 des_ecb_encrypt
.3 \
38 des
.3 des_ede2_cbc_encrypt
.3 \
39 des
.3 des_ede2_cfb64_encrypt
.3 \
40 des
.3 des_ede2_ofb64_encrypt
.3 \
41 des
.3 des_ede3_cbc_encrypt
.3 \
42 des
.3 des_ede3_cbcm_encrypt
.3 \
43 des
.3 des_ede3_cfb64_encrypt
.3 \
44 des
.3 des_ede3_ofb64_encrypt
.3 \
45 des
.3 des_enc_read
.3 \
46 des
.3 des_enc_write
.3 \
48 des
.3 des_is_weak_key
.3 \
49 des
.3 des_key_sched
.3 \
50 des
.3 des_ncbc_encrypt
.3 \
51 des
.3 des_ofb64_encrypt
.3 \
52 des
.3 des_ofb_encrypt
.3 \
53 des
.3 des_pcbc_encrypt
.3 \
54 des
.3 des_quad_cksum
.3 \
55 des
.3 des_random_key
.3 \
56 des
.3 des_read_2passwords
.3 \
57 des
.3 des_read_password
.3 \
58 des
.3 des_read_pw_string
.3 \
60 des
.3 des_set_key_checked
.3 \
61 des
.3 des_set_key_unchecked
.3 \
62 des
.3 des_set_odd_parity
.3 \
63 des
.3 des_string_to_2keys
.3 \
64 des
.3 des_string_to_key
.3 \
65 des
.3 des_xcbc_encrypt
.3