diff options
| author | tedu <> | 2014-04-15 21:04:55 +0000 |
|---|---|---|
| committer | tedu <> | 2014-04-15 21:04:55 +0000 |
| commit | 32307ae248d57b992abca05058728f994bb5c307 (patch) | |
| tree | 8d374150d1e622b8cdba3a7969cc9e58b538997d /src/lib/libcrypto/rc4 | |
| parent | 96b5e6c5271a09af8b6016820de8094573b78f70 (diff) | |
| download | openbsd-32307ae248d57b992abca05058728f994bb5c307.tar.gz openbsd-32307ae248d57b992abca05058728f994bb5c307.tar.bz2 openbsd-32307ae248d57b992abca05058728f994bb5c307.zip | |
we don't use these files for building
Diffstat (limited to 'src/lib/libcrypto/rc4')
| -rw-r--r-- | src/lib/libcrypto/rc4/Makefile | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/src/lib/libcrypto/rc4/Makefile b/src/lib/libcrypto/rc4/Makefile deleted file mode 100644 index f623f6e354..0000000000 --- a/src/lib/libcrypto/rc4/Makefile +++ /dev/null | |||
| @@ -1,103 +0,0 @@ | |||
| 1 | # | ||
| 2 | # OpenSSL/crypto/rc4/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= rc4 | ||
| 6 | TOP= ../.. | ||
| 7 | CC= cc | ||
| 8 | CPP= $(CC) -E | ||
| 9 | INCLUDES= | ||
| 10 | CFLAG=-g | ||
| 11 | AR= ar r | ||
| 12 | |||
| 13 | RC4_ENC=rc4_enc.o rc4_skey.o | ||
| 14 | |||
| 15 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 16 | ASFLAGS= $(INCLUDES) $(ASFLAG) | ||
| 17 | AFLAGS= $(ASFLAGS) | ||
| 18 | |||
| 19 | GENERAL=Makefile | ||
| 20 | TEST=rc4test.c | ||
| 21 | APPS= | ||
| 22 | |||
| 23 | LIB=$(TOP)/libcrypto.a | ||
| 24 | LIBSRC=rc4_skey.c rc4_enc.c rc4_utl.c | ||
| 25 | LIBOBJ=$(RC4_ENC) rc4_utl.o | ||
| 26 | |||
| 27 | SRC= $(LIBSRC) | ||
| 28 | |||
| 29 | EXHEADER= rc4.h | ||
| 30 | HEADER= $(EXHEADER) rc4_locl.h | ||
| 31 | |||
| 32 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 33 | |||
| 34 | top: | ||
| 35 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
| 36 | |||
| 37 | all: lib | ||
| 38 | |||
| 39 | lib: $(LIBOBJ) | ||
| 40 | $(AR) $(LIB) $(LIBOBJ) | ||
| 41 | $(RANLIB) $(LIB) || echo Never mind. | ||
| 42 | @touch lib | ||
| 43 | |||
| 44 | rc4-586.s: asm/rc4-586.pl ../perlasm/x86asm.pl | ||
| 45 | $(PERL) asm/rc4-586.pl $(PERLASM_SCHEME) $(CFLAGS) > $@ | ||
| 46 | |||
| 47 | rc4-x86_64.s: asm/rc4-x86_64.pl | ||
| 48 | $(PERL) asm/rc4-x86_64.pl $(PERLASM_SCHEME) > $@ | ||
| 49 | rc4-md5-x86_64.s: asm/rc4-md5-x86_64.pl | ||
| 50 | $(PERL) asm/rc4-md5-x86_64.pl $(PERLASM_SCHEME) > $@ | ||
| 51 | |||
| 52 | rc4-ia64.S: asm/rc4-ia64.pl | ||
| 53 | $(PERL) asm/rc4-ia64.pl $(CFLAGS) > $@ | ||
| 54 | |||
| 55 | rc4-parisc.s: asm/rc4-parisc.pl | ||
| 56 | $(PERL) asm/rc4-parisc.pl $(PERLASM_SCHEME) $@ | ||
| 57 | |||
| 58 | rc4-ia64.s: rc4-ia64.S | ||
| 59 | @case `awk '/^#define RC4_INT/{print$$NF}' $(TOP)/include/openssl/opensslconf.h` in \ | ||
| 60 | int) set -x; $(CC) $(CFLAGS) -DSZ=4 -E rc4-ia64.S > $@ ;; \ | ||
| 61 | char) set -x; $(CC) $(CFLAGS) -DSZ=1 -E rc4-ia64.S > $@ ;; \ | ||
| 62 | *) exit 1 ;; \ | ||
| 63 | esac | ||
| 64 | |||
| 65 | # GNU make "catch all" | ||
| 66 | rc4-%.s: asm/rc4-%.pl; $(PERL) $< $(PERLASM_SCHEME) $@ | ||
| 67 | |||
| 68 | files: | ||
| 69 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | ||
| 70 | |||
| 71 | links: | ||
| 72 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
| 73 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
| 74 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
| 75 | |||
| 76 | install: | ||
| 77 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... | ||
| 78 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ | ||
| 79 | do \ | ||
| 80 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
| 81 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
| 82 | done; | ||
| 83 | |||
| 84 | tags: | ||
| 85 | ctags $(SRC) | ||
| 86 | |||
| 87 | tests: | ||
| 88 | |||
| 89 | lint: | ||
| 90 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 91 | |||
| 92 | depend: | ||
| 93 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... | ||
| 94 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) | ||
| 95 | |||
| 96 | dclean: | ||
| 97 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 98 | mv -f Makefile.new $(MAKEFILE) | ||
| 99 | |||
| 100 | clean: | ||
| 101 | rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 102 | |||
| 103 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
