diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/src/engines/Makefile | 135 |
1 files changed, 0 insertions, 135 deletions
diff --git a/src/lib/libssl/src/engines/Makefile b/src/lib/libssl/src/engines/Makefile deleted file mode 100644 index bea087832e..0000000000 --- a/src/lib/libssl/src/engines/Makefile +++ /dev/null | |||
| @@ -1,135 +0,0 @@ | |||
| 1 | # | ||
| 2 | # OpenSSL/engines/Makefile | ||
| 3 | # | ||
| 4 | |||
| 5 | DIR= engines | ||
| 6 | TOP= .. | ||
| 7 | CC= cc | ||
| 8 | INCLUDES= -I../include | ||
| 9 | CFLAG=-g | ||
| 10 | MAKEFILE= Makefile | ||
| 11 | AR= ar r | ||
| 12 | ENGDIRS= | ||
| 13 | |||
| 14 | RECURSIVE_MAKE= [ -z "$(ENGDIRS)" ] || for i in $(ENGDIRS) ; do \ | ||
| 15 | (cd $$i && echo "making $$target in $(DIR)/$$i..." && \ | ||
| 16 | $(MAKE) -e TOP=../.. DIR=$$i $$target ) || exit 1; \ | ||
| 17 | done; | ||
| 18 | |||
| 19 | PEX_LIBS= | ||
| 20 | EX_LIBS= | ||
| 21 | |||
| 22 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
| 23 | |||
| 24 | GENERAL=Makefile engines.com install.com engine_vector.mar | ||
| 25 | TEST= | ||
| 26 | APPS= | ||
| 27 | |||
| 28 | LIB=$(TOP)/libcrypto.a | ||
| 29 | LIBNAMES= | ||
| 30 | |||
| 31 | LIBSRC= | ||
| 32 | LIBOBJ= | ||
| 33 | |||
| 34 | SRC= $(LIBSRC) | ||
| 35 | |||
| 36 | EXHEADER= | ||
| 37 | HEADER= | ||
| 38 | |||
| 39 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
| 40 | |||
| 41 | top: | ||
| 42 | (cd ..; $(MAKE) DIRS=$(DIR) all) | ||
| 43 | |||
| 44 | all: lib subdirs | ||
| 45 | |||
| 46 | lib: $(LIBOBJ) | ||
| 47 | @if [ -n "$(SHARED_LIBS)" ]; then \ | ||
| 48 | set -e; \ | ||
| 49 | for l in $(LIBNAMES); do \ | ||
| 50 | $(MAKE) -f ../Makefile.shared -e \ | ||
| 51 | LIBNAME=$$l LIBEXTRAS=e_$$l.o \ | ||
| 52 | LIBDEPS='-L.. -lcrypto $(EX_LIBS)' \ | ||
| 53 | link_o.$(SHLIB_TARGET); \ | ||
| 54 | done; \ | ||
| 55 | else \ | ||
| 56 | $(AR) $(LIB) $(LIBOBJ); \ | ||
| 57 | $(RANLIB) $(LIB) || echo Never mind.; \ | ||
| 58 | fi; \ | ||
| 59 | touch lib | ||
| 60 | |||
| 61 | subdirs: | ||
| 62 | echo $(EDIRS) | ||
| 63 | @target=all; $(RECURSIVE_MAKE) | ||
| 64 | |||
| 65 | files: | ||
| 66 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | ||
| 67 | @target=files; $(RECURSIVE_MAKE) | ||
| 68 | |||
| 69 | links: | ||
| 70 | @target=links; $(RECURSIVE_MAKE) | ||
| 71 | |||
| 72 | # XXXXX This currently only works on systems that use .so as suffix | ||
| 73 | # for shared libraries as well as for Cygwin which uses the | ||
| 74 | # dlfcn_name_converter and therefore stores the engines with .so suffix, too. | ||
| 75 | # XXXXX This was extended to HP-UX dl targets, which use .sl suffix. | ||
| 76 | # XXXXX This was extended to mingw targets, which use eay32.dll suffix without lib as prefix. | ||
| 77 | install: | ||
| 78 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... | ||
| 79 | @if [ -n "$(SHARED_LIBS)" ]; then \ | ||
| 80 | set -e; \ | ||
| 81 | $(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines; \ | ||
| 82 | for l in $(LIBNAMES); do \ | ||
| 83 | ( echo installing $$l; \ | ||
| 84 | pfx=lib; \ | ||
| 85 | if [ "$(PLATFORM)" != "Cygwin" ]; then \ | ||
| 86 | case "$(CFLAGS)" in \ | ||
| 87 | *DSO_BEOS*) sfx=".so";; \ | ||
| 88 | *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \ | ||
| 89 | *DSO_DL*) sfx=".sl";; \ | ||
| 90 | *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \ | ||
| 91 | *) sfx=".bad";; \ | ||
| 92 | esac; \ | ||
| 93 | cp $$pfx$$l$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ | ||
| 94 | else \ | ||
| 95 | sfx=".so"; \ | ||
| 96 | cp cyg$$l.dll $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ | ||
| 97 | fi; \ | ||
| 98 | chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new; \ | ||
| 99 | mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$$pfx$$l$$sfx ); \ | ||
| 100 | done; \ | ||
| 101 | fi | ||
| 102 | @target=install; $(RECURSIVE_MAKE) | ||
| 103 | |||
| 104 | tags: | ||
| 105 | ctags $(SRC) | ||
| 106 | |||
| 107 | errors: | ||
| 108 | set -e; for l in $(LIBNAMES); do \ | ||
| 109 | $(PERL) ../util/mkerr.pl -conf e_$$l.ec \ | ||
| 110 | -nostatic -staticloader -write e_$$l.c; \ | ||
| 111 | done | ||
| 112 | |||
| 113 | tests: | ||
| 114 | |||
| 115 | lint: | ||
| 116 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
| 117 | @target=lint; $(RECURSIVE_MAKE) | ||
| 118 | |||
| 119 | depend: | ||
| 120 | @if [ -z "$(THIS)" ]; then \ | ||
| 121 | $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \ | ||
| 122 | fi | ||
| 123 | @[ -z "$(THIS)" ] || $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) | ||
| 124 | @[ -z "$(THIS)" ] || (set -e; target=depend; $(RECURSIVE_MAKE) ) | ||
| 125 | |||
| 126 | dclean: | ||
| 127 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
| 128 | mv -f Makefile.new $(MAKEFILE) | ||
| 129 | @target=dclean; $(RECURSIVE_MAKE) | ||
| 130 | |||
| 131 | clean: | ||
| 132 | rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
| 133 | @target=clean; $(RECURSIVE_MAKE) | ||
| 134 | |||
| 135 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
