summaryrefslogtreecommitdiffstats
path: root/crypto/libdes/Makefile.am
blob: 915482b7366e0aa77233a874ef26c5c4d7f61c15 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# $Id: Makefile.am,v 1.16 1999/07/26 12:38:01 joda Exp $

include $(top_srcdir)/Makefile.am.common

lib_LTLIBRARIES = libdes.la
libdes_la_LDFLAGS = -version-info 0:1:0

include_HEADERS = des.h md4.h md5.h sha.h

build_HEADERZ = $(include_HEADERS)

check_PROGRAMS = destest mdtest

TESTS = destest mdtest
CHECK_LOCAL = 
bin_PROGRAMS = des #rpw speed

des_SOURCES = des.c des_ver.h

LDADD = $(lib_LTLIBRARIES)

libdes_la_SOURCES =	\
	cbc3_enc.c	\
	cbc_cksm.c	\
	cbc_enc.c	\
	cfb64ede.c	\
	cfb64enc.c	\
	cfb_enc.c	\
	des_enc.c	\
	des_locl.h	\
	ecb3_enc.c	\
	ecb_enc.c	\
	ede_enc.c	\
	enc_read.c	\
	enc_writ.c	\
	fcrypt.c	\
	hash.h		\
	key_par.c	\
	md4.c		\
	md5.c		\
	ncbc_enc.c	\
	ofb64ede.c	\
	ofb64enc.c	\
	ofb_enc.c	\
	pcbc_enc.c	\
	podd.h		\
	qud_cksm.c	\
	read_pwd.c	\
	rnd_keys.c	\
	set_key.c	\
	sha.c		\
	sk.h		\
	spr.h		\
	str2key.c	\
	xcbc_enc.c

EXTRA_libdes_la_SOURCES = dllmain.c passwd_dialog.aps passwd_dialog.clw \
	passwd_dialog.rc passwd_dialog.res passwd_dlg.c passwd_dlg.h resource.h

## this is an awful lot of junk, but it's just as well to include everything
EXTRA_DIST =		\
	COPYRIGHT	\
	DES.pm		\
	DES.pod		\
	DES.xs		\
	FILES		\
	Imakefile	\
	KERBEROS	\
	MODES.DES	\
	Makefile.PL	\
	Makefile.ssl	\
	Makefile.uni	\
	PC1		\
	PC2		\
	VERSION		\
	des.def		\
	des.dsp		\
	des.doc		\
	des.mak		\
	des.man		\
	des.org		\
	des.pl		\
	des_crypt.man	\
	des_locl.org	\
	des_opts.c	\
	doIP		\
	doPC1		\
	doPC2		\
	makefile.bc	\
	rand_key.c	\
	rpc_des.h	\
	rpc_enc.c	\
	shifts.pl	\
	supp.c		\
	testdes.pl	\
	times		\
	typemap		\
	version.h	\
	vms.com

asm_files = des-som2.pl des-som3.pl des586.pl des686.pl desboth.pl \
	dx86-cpp.s dx86unix.cpp readme win32.asm win32.obj win32.uu x86ms.pl \
	x86unix.pl

dist-hook:
	$(mkinstalldirs) $(distdir)/t
	$(INSTALL_DATA) $(srcdir)/t/perl $(distdir)/t
	$(INSTALL_DATA) $(srcdir)/t/test $(distdir)/t
	$(mkinstalldirs) $(distdir)/asm
	(cd $(srcdir)/asm && tar cf - $(asm_files)) \
		| (cd $(distdir)/asm; tar xf -)

OpenPOWER on IntegriCloud