'version' is not optional in the encoding
[openssl.git] / crypto / ecdsa / Makefile.ssl
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 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make -f Makefile.ssl
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST=ecdsatest.c
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= ecs_lib.c ecs_gen.c ecs_asn1.c ecs_ossl.c ecs_sign.c ecs_vrf.c \
27         ecs_key.c ecs_err.c 
28
29 LIBOBJ= ecs_lib.o ecs_gen.o ecs_asn1.o ecs_ossl.o ecs_sign.o ecs_vrf.o \
30         ecs_key.o ecs_err.o 
31
32 SRC= $(LIBSRC)
33
34 EXHEADER= ecdsa.h
35 HEADER= ecs_locl.h $(EXHEADER)
36
37 ALL=    $(GENERAL) $(SRC) $(HEADER)
38
39 top:
40         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
42 all:    lib
43
44 lib:    $(LIBOBJ)
45         $(AR) $(LIB) $(LIBOBJ)
46         $(RANLIB) $(LIB) || echo Never mind.
47         @touch lib
48
49 files:
50         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
51
52 links:
53         @$(TOP)/util/point.sh Makefile.ssl Makefile
54         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
55         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
56         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
57
58 install:
59         @for i in $(EXHEADER) ; \
60         do  \
61         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
62         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
63         done;
64
65 tags:
66         ctags $(SRC)
67
68 tests:
69
70 lint:
71         lint -DLINT $(INCLUDES) $(SRC)>fluff
72
73 depend:
74         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
75
76 dclean:
77         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
78         mv -f Makefile.new $(MAKEFILE)
79
80 clean:
81         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
82
83 # DO NOT DELETE THIS LINE -- make depend depends on it.
84
85 ecs_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
86 ecs_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
87 ecs_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
88 ecs_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
89 ecs_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h
90 ecs_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
91 ecs_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
92 ecs_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
93 ecs_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
94 ecs_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h ecdsa.h ecs_asn1.c
95 ecs_asn1.o: ecs_locl.h
96 ecs_err.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
97 ecs_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
98 ecs_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
99 ecs_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
100 ecs_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
101 ecs_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
102 ecs_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
103 ecs_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
104 ecs_err.o: ecs_err.c
105 ecs_gen.o: ecs_gen.c
106 ecs_key.o: ../../e_os.h ../../include/openssl/asn1.h
107 ecs_key.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
108 ecs_key.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
109 ecs_key.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
110 ecs_key.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
111 ecs_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
112 ecs_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
113 ecs_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
114 ecs_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
115 ecs_key.o: ../cryptlib.h ecs_key.c
116 ecs_lib.o: ../../e_os.h ../../include/openssl/asn1.h
117 ecs_lib.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
118 ecs_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
119 ecs_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
120 ecs_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
121 ecs_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
122 ecs_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
123 ecs_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
124 ecs_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
125 ecs_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
126 ecs_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
127 ecs_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
128 ecs_lib.o: ../cryptlib.h ecdsa.h ecs_lib.c ecs_locl.h
129 ecs_ossl.o: ../../e_os.h ../../include/openssl/asn1.h
130 ecs_ossl.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
131 ecs_ossl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
132 ecs_ossl.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
133 ecs_ossl.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
134 ecs_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
135 ecs_ossl.o: ../../include/openssl/opensslconf.h
136 ecs_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
137 ecs_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
138 ecs_ossl.o: ../../include/openssl/symhacks.h ../cryptlib.h ecs_ossl.c
139 ecs_sign.o: ../../e_os.h ../../include/openssl/asn1.h
140 ecs_sign.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
141 ecs_sign.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
142 ecs_sign.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
143 ecs_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
144 ecs_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
145 ecs_sign.o: ../../include/openssl/engine.h ../../include/openssl/err.h
146 ecs_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
147 ecs_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
148 ecs_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
149 ecs_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
150 ecs_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
151 ecs_sign.o: ../cryptlib.h ecs_sign.c
152 ecs_vrf.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
153 ecs_vrf.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
154 ecs_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
155 ecs_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
156 ecs_vrf.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
157 ecs_vrf.o: ../../include/openssl/engine.h ../../include/openssl/err.h
158 ecs_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
159 ecs_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
160 ecs_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
161 ecs_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
162 ecs_vrf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
163 ecs_vrf.o: ecs_vrf.c