2 # OpenSSL/engines/afalg/Makefile
8 INCLUDES= -I../../include
13 CFLAGS= $(INCLUDES) $(CFLAG)
14 LIB=$(TOP)/libcrypto.a
18 LIBOBJ= e_afalg.o e_afalg_err.o
23 (cd $(TOP); $(MAKE) DIRS=engines sub_all)
28 $(PERL) $(TOP)/util/mkerr.pl -conf e_afalg.ec -nostatic -write $(SRC)
31 @if [ -n "$(SHARED_LIBS)" ]; then \
32 $(MAKE) -f $(TOP)/Makefile.shared -e \
34 LIBEXTRAS='$(LIBOBJ)' \
35 LIBDEPS='-L$(TOP) -lcrypto' \
36 link_o.$(SHLIB_TARGET); \
38 $(AR) $(LIB) $(LIBOBJ); \
43 [ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
44 if [ -n "$(SHARED_LIBS)" ]; then \
46 echo installing $(LIBNAME); \
48 if expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
50 cp cyg$(LIBNAME).dll $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
53 *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
54 *DSO_DL*) sfx=".sl";; \
55 *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \
58 cp $${pfx}$(LIBNAME)$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
60 chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
61 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx; \
65 @[ -z "$(THIS)" ] || $(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) $(TESTLIBSRC)
68 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
71 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.dll *.dylib
73 # DO NOT DELETE THIS LINE -- make depend depends on it.
74 e_afalg.o: e_afalg.c ../../include/openssl/engine.h \
75 ../../include/openssl/opensslconf.h ../../include/openssl/bn.h \
76 ../../include/openssl/e_os2.h ../../include/openssl/ossl_typ.h \
77 ../../include/openssl/crypto.h ../../include/openssl/stack.h \
78 ../../include/openssl/safestack.h ../../include/openssl/opensslv.h \
79 ../../include/openssl/symhacks.h ../../include/openssl/rsa.h \
80 ../../include/openssl/asn1.h ../../include/openssl/bio.h \
81 ../../include/openssl/dsa.h ../../include/openssl/dh.h \
82 ../../include/openssl/ec.h ../../include/openssl/rand.h \
83 ../../include/openssl/ui.h ../../include/openssl/err.h \
84 ../../include/openssl/lhash.h ../../include/openssl/x509.h \
85 ../../include/openssl/buffer.h ../../include/openssl/evp.h \
86 ../../include/openssl/objects.h ../../include/openssl/obj_mac.h \
87 ../../include/openssl/sha.h ../../include/openssl/x509_vfy.h \
88 ../../include/openssl/pkcs7.h ../../include/openssl/async.h e_afalg.h \