summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libssl/src/engines/Makefile135
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
5DIR= engines
6TOP= ..
7CC= cc
8INCLUDES= -I../include
9CFLAG=-g
10MAKEFILE= Makefile
11AR= ar r
12ENGDIRS=
13
14RECURSIVE_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
19PEX_LIBS=
20EX_LIBS=
21
22CFLAGS= $(INCLUDES) $(CFLAG)
23
24GENERAL=Makefile engines.com install.com engine_vector.mar
25TEST=
26APPS=
27
28LIB=$(TOP)/libcrypto.a
29LIBNAMES=
30
31LIBSRC=
32LIBOBJ=
33
34SRC= $(LIBSRC)
35
36EXHEADER=
37HEADER=
38
39ALL= $(GENERAL) $(SRC) $(HEADER)
40
41top:
42 (cd ..; $(MAKE) DIRS=$(DIR) all)
43
44all: lib subdirs
45
46lib: $(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
61subdirs:
62 echo $(EDIRS)
63 @target=all; $(RECURSIVE_MAKE)
64
65files:
66 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
67 @target=files; $(RECURSIVE_MAKE)
68
69links:
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.
77install:
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
104tags:
105 ctags $(SRC)
106
107errors:
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
113tests:
114
115lint:
116 lint -DLINT $(INCLUDES) $(SRC)>fluff
117 @target=lint; $(RECURSIVE_MAKE)
118
119depend:
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
126dclean:
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
131clean:
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.