diff options
| author | djm <> | 2010-10-01 22:54:18 +0000 |
|---|---|---|
| committer | djm <> | 2010-10-01 22:54:18 +0000 |
| commit | 31f27c0675424c286ead39df16455abf64c6fb22 (patch) | |
| tree | 5c4f646f91f36980366de4e2ab158488aea47c60 /src/lib/libcrypto/des | |
| parent | afe4a81d4f24643c1a5682bc6b6fc3f74a7a369e (diff) | |
| parent | 75291ae343a87368ad49c13ac02f85a88159417f (diff) | |
| download | openbsd-31f27c0675424c286ead39df16455abf64c6fb22.tar.gz openbsd-31f27c0675424c286ead39df16455abf64c6fb22.tar.bz2 openbsd-31f27c0675424c286ead39df16455abf64c6fb22.zip | |
This commit was generated by cvs2git to track changes on a CVS vendor
branch.
Diffstat (limited to 'src/lib/libcrypto/des')
| -rw-r--r-- | src/lib/libcrypto/des/Makefile | 55 |
1 files changed, 18 insertions, 37 deletions
diff --git a/src/lib/libcrypto/des/Makefile b/src/lib/libcrypto/des/Makefile index 786e68802e..ae982265fd 100644 --- a/src/lib/libcrypto/des/Makefile +++ b/src/lib/libcrypto/des/Makefile | |||
| @@ -12,8 +12,6 @@ MAKEFILE= Makefile | |||
| 12 | AR= ar r | 12 | AR= ar r |
| 13 | RANLIB= ranlib | 13 | RANLIB= ranlib |
| 14 | DES_ENC= des_enc.o fcrypt_b.o | 14 | DES_ENC= des_enc.o fcrypt_b.o |
| 15 | # or use | ||
| 16 | #DES_ENC= dx86-elf.o yx86-elf.o | ||
| 17 | 15 | ||
| 18 | CFLAGS= $(INCLUDES) $(CFLAG) | 16 | CFLAGS= $(INCLUDES) $(CFLAG) |
| 19 | ASFLAGS= $(INCLUDES) $(ASFLAG) | 17 | ASFLAGS= $(INCLUDES) $(ASFLAG) |
| @@ -24,7 +22,7 @@ TEST=destest.c | |||
| 24 | APPS= | 22 | APPS= |
| 25 | 23 | ||
| 26 | LIB=$(TOP)/libcrypto.a | 24 | LIB=$(TOP)/libcrypto.a |
| 27 | LIBSRC= des_lib.c cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ | 25 | LIBSRC= cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ |
| 28 | ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \ | 26 | ecb3_enc.c ecb_enc.c enc_read.c enc_writ.c \ |
| 29 | fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \ | 27 | fcrypt.c ofb64enc.c ofb_enc.c pcbc_enc.c \ |
| 30 | qud_cksm.c rand_key.c rpc_enc.c set_key.c \ | 28 | qud_cksm.c rand_key.c rpc_enc.c set_key.c \ |
| @@ -33,7 +31,7 @@ LIBSRC= des_lib.c cbc_cksm.c cbc_enc.c cfb64enc.c cfb_enc.c \ | |||
| 33 | str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \ | 31 | str2key.c cfb64ede.c ofb64ede.c ede_cbcm_enc.c des_old.c des_old2.c \ |
| 34 | read2pwd.c | 32 | read2pwd.c |
| 35 | 33 | ||
| 36 | LIBOBJ= des_lib.o set_key.o ecb_enc.o cbc_enc.o \ | 34 | LIBOBJ= set_key.o ecb_enc.o cbc_enc.o \ |
| 37 | ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \ | 35 | ecb3_enc.o cfb64enc.o cfb64ede.o cfb_enc.o ofb64ede.o \ |
| 38 | enc_read.o enc_writ.o ofb64enc.o \ | 36 | enc_read.o enc_writ.o ofb64enc.o \ |
| 39 | ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \ | 37 | ofb_enc.o str2key.o pcbc_enc.o qud_cksm.o rand_key.o \ |
| @@ -54,7 +52,7 @@ top: | |||
| 54 | all: lib | 52 | all: lib |
| 55 | 53 | ||
| 56 | lib: $(LIBOBJ) | 54 | lib: $(LIBOBJ) |
| 57 | $(ARX) $(LIB) $(LIBOBJ) | 55 | $(AR) $(LIB) $(LIBOBJ) |
| 58 | $(RANLIB) $(LIB) || echo Never mind. | 56 | $(RANLIB) $(LIB) || echo Never mind. |
| 59 | @touch lib | 57 | @touch lib |
| 60 | 58 | ||
| @@ -64,21 +62,10 @@ des: des.o cbc3_enc.o lib | |||
| 64 | des_enc-sparc.S: asm/des_enc.m4 | 62 | des_enc-sparc.S: asm/des_enc.m4 |
| 65 | m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S | 63 | m4 -B 8192 asm/des_enc.m4 > des_enc-sparc.S |
| 66 | 64 | ||
| 67 | # ELF | 65 | des-586.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
| 68 | dx86-elf.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | 66 | $(PERL) asm/des-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ |
| 69 | (cd asm; $(PERL) des-586.pl elf $(CFLAGS) > ../$@) | 67 | crypt586.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl |
| 70 | yx86-elf.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | 68 | $(PERL) asm/crypt586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ |
| 71 | (cd asm; $(PERL) crypt586.pl elf $(CFLAGS) > ../$@) | ||
| 72 | # COFF | ||
| 73 | dx86-cof.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 74 | (cd asm; $(PERL) des-586.pl coff $(CFLAGS) > ../$@) | ||
| 75 | yx86-cof.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 76 | (cd asm; $(PERL) crypt586.pl coff $(CFLAGS) > ../$@) | ||
| 77 | # a.out | ||
| 78 | dx86-out.s: asm/des-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 79 | (cd asm; $(PERL) des-586.pl a.out $(CFLAGS) > ../$@) | ||
| 80 | yx86-out.s: asm/crypt586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl | ||
| 81 | (cd asm; $(PERL) crypt586.pl a.out $(CFLAGS) > ../$@) | ||
| 82 | 69 | ||
| 83 | files: | 70 | files: |
| 84 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | 71 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO |
| @@ -156,14 +143,7 @@ des_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | |||
| 156 | des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | 143 | des_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
| 157 | des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 144 | des_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
| 158 | des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | 145 | des_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
| 159 | des_enc.o: des_enc.c des_locl.h ncbc_enc.c | 146 | des_enc.o: des_enc.c des_locl.h ncbc_enc.c spr.h |
| 160 | des_lib.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
| 161 | des_lib.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | ||
| 162 | des_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | ||
| 163 | des_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 164 | des_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
| 165 | des_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
| 166 | des_lib.o: ../../include/openssl/ui_compat.h des_lib.c des_locl.h des_ver.h | ||
| 167 | des_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | 147 | des_old.o: ../../include/openssl/des.h ../../include/openssl/des_old.h |
| 168 | des_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 148 | des_old.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
| 169 | des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | 149 | des_old.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h |
| @@ -182,12 +162,13 @@ ecb3_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | |||
| 182 | ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 162 | ecb3_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
| 183 | ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | 163 | ecb3_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
| 184 | ecb3_enc.o: des_locl.h ecb3_enc.c | 164 | ecb3_enc.o: des_locl.h ecb3_enc.c |
| 165 | ecb_enc.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
| 185 | ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | 166 | ecb_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h |
| 186 | ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h | 167 | ecb_enc.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
| 187 | ecb_enc.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | 168 | ecb_enc.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
| 188 | ecb_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | 169 | ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
| 189 | ecb_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | 170 | ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
| 190 | ecb_enc.o: des_locl.h ecb_enc.c spr.h | 171 | ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c |
| 191 | ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | 172 | ede_cbcm_enc.o: ../../include/openssl/des.h ../../include/openssl/des_old.h |
| 192 | ede_cbcm_enc.o: ../../include/openssl/e_os2.h | 173 | ede_cbcm_enc.o: ../../include/openssl/e_os2.h |
| 193 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h | 174 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h |
| @@ -277,11 +258,11 @@ rpc_enc.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |||
| 277 | rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h | 258 | rpc_enc.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
| 278 | rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c | 259 | rpc_enc.o: des_locl.h des_ver.h rpc_des.h rpc_enc.c |
| 279 | set_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h | 260 | set_key.o: ../../include/openssl/des.h ../../include/openssl/des_old.h |
| 280 | set_key.o: ../../include/openssl/e_os2.h ../../include/openssl/fips.h | 261 | set_key.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h |
| 281 | set_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/ossl_typ.h | 262 | set_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
| 282 | set_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 263 | set_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h |
| 283 | set_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 264 | set_key.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h |
| 284 | set_key.o: ../../include/openssl/ui_compat.h des_locl.h set_key.c | 265 | set_key.o: des_locl.h set_key.c |
| 285 | str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 266 | str2key.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
| 286 | str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | 267 | str2key.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h |
| 287 | str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 268 | str2key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
