remove ECDH_METHOD from ENGINE
[openssl.git] / crypto / ecdh / Makefile
1 #
2 # crypto/ecdh/Makefile
3 #
4
5 DIR=    ecdh
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I$(TOP) -I../../include
9 CFLAG=-g -Wall
10 MAKEFILE=       Makefile
11 AR=             ar r
12
13 CFLAGS= $(INCLUDES) $(CFLAG)
14
15 GENERAL=Makefile
16
17 LIB=$(TOP)/libcrypto.a
18 LIBSRC= ech_lib.c ech_key.c ech_err.c
19
20 LIBOBJ= ech_lib.o ech_key.o ech_err.o
21
22 SRC= $(LIBSRC)
23
24 HEADER= ech_locl.h
25
26 ALL=    $(GENERAL) $(SRC) $(HEADER)
27
28 top:
29         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
30
31 all:    lib
32
33 lib:    $(LIBOBJ)
34         $(AR) $(LIB) $(LIBOBJ)
35         $(RANLIB) $(LIB) || echo Never mind.
36         @touch lib
37
38 files:
39         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
40
41 tags:
42         ctags $(SRC)
43
44 tests:
45
46 lint:
47         lint -DLINT $(INCLUDES) $(SRC)>fluff
48
49 update: depend
50
51 depend:
52         @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
53         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
54
55 dclean:
56         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
57         mv -f Makefile.new $(MAKEFILE)
58
59 clean:
60         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
61
62 # DO NOT DELETE THIS LINE -- make depend depends on it.
63
64 ech_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
65 ech_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
66 ech_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
67 ech_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
68 ech_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
69 ech_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
70 ech_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
71 ech_err.o: ech_err.c
72 ech_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
73 ech_key.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
74 ech_key.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
75 ech_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
76 ech_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
77 ech_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
78 ech_key.o: ech_key.c ech_locl.h
79 ech_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
80 ech_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
81 ech_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
82 ech_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
83 ech_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
84 ech_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
85 ech_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
86 ech_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
87 ech_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
88 ech_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
89 ech_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
90 ech_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
91 ech_lib.o: ech_lib.c ech_locl.h