d72cd291558f868897fce9f6b1b019f50dd2f80a
[openssl.git] / crypto / ecdsa / Makefile
1 #
2 # crypto/ecdsa/Makefile
3 #
4
5 DIR=    ecdsa
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= ecs_lib.c ecs_sign.c ecs_vrf.c ecs_err.c
19
20 LIBOBJ= ecs_lib.o ecs_sign.o ecs_vrf.o ecs_err.o
21
22 SRC= $(LIBSRC)
23
24 HEADER= ecs_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 ecs_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
65 ecs_asn1.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
66 ecs_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
67 ecs_asn1.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
68 ecs_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
69 ecs_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
70 ecs_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
71 ecs_asn1.o: ../../include/openssl/symhacks.h ecs_asn1.c ecs_locl.h
72 ecs_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
73 ecs_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
74 ecs_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
75 ecs_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
76 ecs_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
77 ecs_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
78 ecs_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
79 ecs_err.o: ecs_err.c
80 ecs_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
81 ecs_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
82 ecs_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
83 ecs_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
84 ecs_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
85 ecs_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
86 ecs_lib.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
87 ecs_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
88 ecs_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
89 ecs_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
90 ecs_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
91 ecs_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
92 ecs_lib.o: ../../include/openssl/x509_vfy.h ecs_lib.c ecs_locl.h
93 ecs_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
94 ecs_ossl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
95 ecs_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
96 ecs_ossl.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
97 ecs_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
98 ecs_ossl.o: ../../include/openssl/opensslconf.h
99 ecs_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
100 ecs_ossl.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
101 ecs_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
102 ecs_ossl.o: ecs_locl.h ecs_ossl.c
103 ecs_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
104 ecs_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
105 ecs_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
106 ecs_sign.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
107 ecs_sign.o: ../../include/openssl/engine.h ../../include/openssl/evp.h
108 ecs_sign.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
109 ecs_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
110 ecs_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
111 ecs_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
112 ecs_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
113 ecs_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
114 ecs_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
115 ecs_sign.o: ecs_locl.h ecs_sign.c
116 ecs_vrf.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
117 ecs_vrf.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
118 ecs_vrf.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
119 ecs_vrf.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
120 ecs_vrf.o: ../../include/openssl/engine.h ../../include/openssl/evp.h
121 ecs_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
122 ecs_vrf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
123 ecs_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
124 ecs_vrf.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
125 ecs_vrf.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
126 ecs_vrf.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
127 ecs_vrf.o: ../../include/openssl/x509_vfy.h ecs_locl.h ecs_vrf.c