1998-12-21 10:52:47 +00:00
|
|
|
#
|
2006-02-04 01:45:59 +00:00
|
|
|
# OpenSSL/crypto/des/Makefile
|
1998-12-21 10:52:47 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DIR= des
|
|
|
|
TOP= ../..
|
|
|
|
CC= cc
|
|
|
|
CPP= $(CC) -E
|
2001-02-22 14:45:02 +00:00
|
|
|
INCLUDES=-I$(TOP) -I../../include
|
1998-12-21 10:52:47 +00:00
|
|
|
CFLAG=-g
|
2005-03-30 13:05:57 +00:00
|
|
|
MAKEFILE= Makefile
|
1998-12-21 10:52:47 +00:00
|
|
|
AR= ar r
|
1999-08-13 18:04:04 +00:00
|
|
|
RANLIB= ranlib
|
1998-12-21 10:52:47 +00:00
|
|
|
DES_ENC= des_enc.o fcrypt_b.o
|
|
|
|
|
|
|
|
CFLAGS= $(INCLUDES) $(CFLAG)
|
2003-11-16 14:38:34 +00:00
|
|
|
ASFLAGS= $(INCLUDES) $(ASFLAG)
|
2004-08-29 21:36:37 +00:00
|
|
|
AFLAGS= $(ASFLAGS)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
1999-04-22 20:10:06 +00:00
|
|
|
GENERAL=Makefile
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
LIB=$(TOP)/libcrypto.a
|
1998-12-21 10:56:39 +00:00
|
|
|
LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \
|
|
|
|
ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \
|
|
|
|
fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \
|
2001-05-06 23:51:37 +00:00
|
|
|
qud_cksm.c rand_key.c rpc_enc.c set_key.c \
|
|
|
|
des_enc.c fcrypt_b.c \
|
2000-03-19 02:10:17 +00:00
|
|
|
xcbc_enc.c \
|
2015-02-02 23:46:01 +00:00
|
|
|
str2key.c cfb64ede.c ofb64ede.c \
|
2002-03-26 13:59:22 +00:00
|
|
|
read2pwd.c
|
1998-12-21 10:52:47 +00:00
|
|
|
|
1998-12-21 10:56:39 +00:00
|
|
|
LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \
|
1998-12-21 10:52:47 +00:00
|
|
|
ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \
|
1998-12-21 10:56:39 +00:00
|
|
|
enc_read.o enc_writ.o ofb64enc.o \
|
1998-12-21 10:52:47 +00:00
|
|
|
ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \
|
2001-05-06 23:19:37 +00:00
|
|
|
${DES_ENC} \
|
|
|
|
fcrypt.o xcbc_enc.o rpc_enc.o cbc_cksm.o \
|
2015-02-02 23:46:01 +00:00
|
|
|
read2pwd.o
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
SRC= $(LIBSRC)
|
|
|
|
|
2015-03-26 20:44:59 +00:00
|
|
|
HEADER= des_locl.h rpc_des.h spr.h des_ver.h
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
ALL= $(GENERAL) $(SRC) $(HEADER)
|
|
|
|
|
|
|
|
top:
|
|
|
|
(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
|
|
|
|
|
1999-08-28 12:50:48 +00:00
|
|
|
all: lib
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
lib: $(LIBOBJ)
|
2014-10-18 22:47:03 +00:00
|
|
|
$(AR) $(LIB) $(LIBOBJ)
|
2001-03-09 14:01:42 +00:00
|
|
|
$(RANLIB) $(LIB) || echo Never mind.
|
1998-12-21 10:52:47 +00:00
|
|
|
@touch lib
|
|
|
|
|
2005-02-06 13:23:34 +00:00
|
|
|
des_enc-sparc.S: asm/des_enc.m4
|
|
|
|
m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S
|
2013-03-31 12:32:05 +00:00
|
|
|
dest4-sparcv9.s: asm/dest4-sparcv9.pl
|
|
|
|
$(PERL) asm/dest4-sparcv9.pl $(CFLAGS) > $@
|
2003-01-02 23:26:46 +00:00
|
|
|
|
2008-01-11 13:15:11 +00:00
|
|
|
des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
|
|
|
|
$(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
|
|
|
|
crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
|
|
|
|
$(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
files:
|
2005-03-30 13:05:57 +00:00
|
|
|
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
tags:
|
|
|
|
ctags $(SRC)
|
|
|
|
|
|
|
|
tests:
|
|
|
|
|
|
|
|
lint:
|
|
|
|
lint -DLINT $(INCLUDES) $(SRC)>fluff
|
|
|
|
|
2015-05-22 15:54:06 +00:00
|
|
|
update: depend
|
|
|
|
|
1998-12-21 10:52:47 +00:00
|
|
|
depend:
|
2005-05-16 16:55:47 +00:00
|
|
|
@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
|
2002-10-09 13:25:12 +00:00
|
|
|
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
dclean:
|
1999-04-01 12:34:33 +00:00
|
|
|
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
|
1998-12-21 10:52:47 +00:00
|
|
|
mv -f Makefile.new $(MAKEFILE)
|
|
|
|
|
|
|
|
clean:
|
2005-02-06 13:23:34 +00:00
|
|
|
rm -f *.s *.o *.obj des lib tags core .pure .nfs* *.old *.bak fluff
|
1998-12-21 10:52:47 +00:00
|
|
|
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
1999-03-06 14:32:48 +00:00
|
|
|
|
2015-03-24 12:05:05 +00:00
|
|
|
cbc_cksm.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
cbc_cksm.o: ../../include/openssl/opensslconf.h cbc_cksm.c des_locl.h
|
|
|
|
cbc_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
cbc_enc.o: ../../include/openssl/opensslconf.h cbc_enc.c des_locl.h ncbc_enc.c
|
2012-06-03 22:00:21 +00:00
|
|
|
cfb64ede.o: ../../e_os.h ../../include/openssl/des.h
|
2015-03-24 12:05:05 +00:00
|
|
|
cfb64ede.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
|
2012-06-03 22:00:21 +00:00
|
|
|
cfb64ede.o: cfb64ede.c des_locl.h
|
2015-03-24 12:05:05 +00:00
|
|
|
cfb64enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
cfb64enc.o: ../../include/openssl/opensslconf.h cfb64enc.c des_locl.h
|
2012-06-03 22:00:21 +00:00
|
|
|
cfb_enc.o: ../../e_os.h ../../include/openssl/des.h
|
2015-03-24 12:05:05 +00:00
|
|
|
cfb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
|
2015-02-06 21:49:17 +00:00
|
|
|
cfb_enc.o: cfb_enc.c des_locl.h
|
2012-11-19 13:18:09 +00:00
|
|
|
des_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
2015-03-24 12:05:05 +00:00
|
|
|
des_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
|
|
|
|
des_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
des_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
des_enc.o: ../../include/openssl/symhacks.h des_enc.c des_locl.h ncbc_enc.c
|
|
|
|
des_enc.o: spr.h
|
|
|
|
ecb3_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
ecb3_enc.o: ../../include/openssl/opensslconf.h des_locl.h ecb3_enc.c
|
2004-01-28 18:38:33 +00:00
|
|
|
ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
|
2015-03-24 12:05:05 +00:00
|
|
|
ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
|
|
|
|
ecb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
|
|
|
|
ecb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2015-02-06 21:49:17 +00:00
|
|
|
ecb_enc.o: des_locl.h des_ver.h ecb_enc.c
|
2005-05-16 16:55:47 +00:00
|
|
|
enc_read.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
enc_read.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
2015-03-24 12:05:05 +00:00
|
|
|
enc_read.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
enc_read.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
enc_read.o: ../../include/openssl/opensslconf.h
|
2005-05-16 16:55:47 +00:00
|
|
|
enc_read.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
enc_read.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
2015-05-14 15:38:31 +00:00
|
|
|
enc_read.o: ../../include/openssl/symhacks.h ../include/internal/cryptlib.h
|
|
|
|
enc_read.o: des_locl.h enc_read.c
|
2005-05-16 16:55:47 +00:00
|
|
|
enc_writ.o: ../../e_os.h ../../include/openssl/bio.h
|
|
|
|
enc_writ.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
|
2015-03-24 12:05:05 +00:00
|
|
|
enc_writ.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
enc_writ.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
|
|
|
|
enc_writ.o: ../../include/openssl/opensslconf.h
|
2005-05-16 16:55:47 +00:00
|
|
|
enc_writ.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
enc_writ.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
|
|
|
|
enc_writ.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
|
2015-05-14 15:38:31 +00:00
|
|
|
enc_writ.o: ../include/internal/cryptlib.h des_locl.h enc_writ.c
|
2011-02-21 17:51:59 +00:00
|
|
|
fcrypt.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
2015-03-24 12:05:05 +00:00
|
|
|
fcrypt.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
|
|
|
|
fcrypt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
fcrypt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
fcrypt.o: ../../include/openssl/symhacks.h des_locl.h fcrypt.c
|
|
|
|
fcrypt_b.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
fcrypt_b.o: ../../include/openssl/opensslconf.h des_locl.h fcrypt_b.c
|
|
|
|
ofb64ede.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
ofb64ede.o: ../../include/openssl/opensslconf.h des_locl.h ofb64ede.c
|
|
|
|
ofb64enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
ofb64enc.o: ../../include/openssl/opensslconf.h des_locl.h ofb64enc.c
|
|
|
|
ofb_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
ofb_enc.o: ../../include/openssl/opensslconf.h des_locl.h ofb_enc.c
|
|
|
|
pcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
pcbc_enc.o: ../../include/openssl/opensslconf.h des_locl.h pcbc_enc.c
|
|
|
|
qud_cksm.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
qud_cksm.o: ../../include/openssl/opensslconf.h des_locl.h qud_cksm.c
|
|
|
|
rand_key.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
rand_key.o: ../../include/openssl/opensslconf.h
|
2012-06-03 22:00:21 +00:00
|
|
|
rand_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
|
2015-02-06 21:49:17 +00:00
|
|
|
rand_key.o: rand_key.c
|
2002-02-05 17:34:58 +00:00
|
|
|
read2pwd.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
2015-03-24 12:05:05 +00:00
|
|
|
read2pwd.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
|
2004-04-19 18:33:41 +00:00
|
|
|
read2pwd.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
read2pwd.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
read2pwd.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
|
2015-02-06 21:49:17 +00:00
|
|
|
read2pwd.o: read2pwd.c
|
2015-03-24 12:05:05 +00:00
|
|
|
rpc_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
rpc_enc.o: ../../include/openssl/opensslconf.h des_locl.h des_ver.h rpc_des.h
|
|
|
|
rpc_enc.o: rpc_enc.c
|
2011-02-21 17:51:59 +00:00
|
|
|
set_key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
2015-03-24 12:05:05 +00:00
|
|
|
set_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
|
|
|
|
set_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
set_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
set_key.o: ../../include/openssl/symhacks.h des_locl.h set_key.c
|
2002-02-05 17:34:58 +00:00
|
|
|
str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
|
2015-03-24 12:05:05 +00:00
|
|
|
str2key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h
|
|
|
|
str2key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
|
|
|
|
str2key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
|
|
|
|
str2key.o: ../../include/openssl/symhacks.h des_locl.h str2key.c
|
|
|
|
xcbc_enc.o: ../../include/openssl/des.h ../../include/openssl/e_os2.h
|
|
|
|
xcbc_enc.o: ../../include/openssl/opensslconf.h des_locl.h xcbc_enc.c
|