2 # OpenSSL/engines/afalg/Makefile
8 INCLUDES= -I../../include
13 CFLAGS= $(INCLUDES) $(CFLAG) $(SHARED_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 [ "$(DYNAMIC_ENGINES)" = 1 ]; then \
32 $(MAKE) -f $(TOP)/Makefile.shared -e \
34 LIBEXTRAS='$(LIBOBJ)' \
35 LIBDEPS='-L$(TOP) -lcrypto' \
36 link_dso.$(SHLIB_TARGET); \
38 $(AR) $(LIB) $(LIBOBJ); \
43 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
44 @if [ -n "$(SHARED_LIBS)" ]; then \
46 $(PERL) $(TOP)/util/mkdir-p.pl $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines; \
47 cp $(LIBNAME)$(DSO_EXT) $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$(LIBNAME)$(DSO_EXT).new; \
48 chmod 555 $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$(LIBNAME)$(DSO_EXT).new; \
49 mv -f $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$(LIBNAME)$(DSO_EXT).new $(DESTDIR)$(INSTALLTOP)/$(LIBDIR)/engines/$(LIBNAME)$(DSO_EXT); \
54 @[ -z "$(THIS)" ] || $(TOP)/util/domd $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) $(TESTLIBSRC)
57 rm -f *.s *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.dll *.dylib
59 # DO NOT DELETE THIS LINE -- make depend depends on it.
60 e_afalg.o: e_afalg.c ../../include/openssl/engine.h \
61 ../../include/openssl/opensslconf.h ../../include/openssl/bn.h \
62 ../../include/openssl/e_os2.h ../../include/openssl/ossl_typ.h \
63 ../../include/openssl/crypto.h ../../include/openssl/stack.h \
64 ../../include/openssl/safestack.h ../../include/openssl/opensslv.h \
65 ../../include/openssl/symhacks.h ../../include/openssl/rsa.h \
66 ../../include/openssl/asn1.h ../../include/openssl/bio.h \
67 ../../include/openssl/dsa.h ../../include/openssl/dh.h \
68 ../../include/openssl/ec.h ../../include/openssl/rand.h \
69 ../../include/openssl/ui.h ../../include/openssl/err.h \
70 ../../include/openssl/lhash.h ../../include/openssl/x509.h \
71 ../../include/openssl/buffer.h ../../include/openssl/evp.h \
72 ../../include/openssl/objects.h ../../include/openssl/obj_mac.h \
73 ../../include/openssl/sha.h ../../include/openssl/x509_vfy.h \
74 ../../include/openssl/pkcs7.h ../../include/openssl/async.h e_afalg.h \