a0eb51031dc6458e19f505f56f9daffb3c12ed05
[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_asn1.c ecs_ossl.c ecs_sign.c ecs_vrf.c ecs_err.c
27
28 LIBOBJ= ecs_lib.o ecs_asn1.o ecs_ossl.o ecs_sign.o ecs_vrf.o ecs_err.o
29
30 SRC= $(LIBSRC)
31
32 EXHEADER= ecdsa.h
33 HEADER= $(EXHEADER)
34
35 ALL=    $(GENERAL) $(SRC) $(HEADER)
36
37 top:
38         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39
40 all:    lib
41
42 lib:    $(LIBOBJ)
43         $(AR) $(LIB) $(LIBOBJ)
44         $(RANLIB) $(LIB) || echo Never mind.
45         @touch lib
46
47 files:
48         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49
50 links:
51         @$(TOP)/util/point.sh Makefile.ssl Makefile
52         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
55
56 install:
57         @for i in $(EXHEADER) ; \
58         do  \
59         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61         done;
62
63 tags:
64         ctags $(SRC)
65
66 tests:
67
68 lint:
69         lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71 depend:
72         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
73
74 dclean:
75         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76         mv -f Makefile.new $(MAKEFILE)
77
78 clean:
79         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
82
83 ecs_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
84 ecs_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
85 ecs_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
86 ecs_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h
87 ecs_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
88 ecs_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
89 ecs_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
90 ecs_asn1.o: ../../include/openssl/symhacks.h ecdsa.h ecs_asn1.c
91 ecs_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
92 ecs_err.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
93 ecs_err.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
94 ecs_err.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
95 ecs_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
96 ecs_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
97 ecs_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
98 ecs_err.o: ../../include/openssl/symhacks.h ecs_err.c
99 ecs_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
100 ecs_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
101 ecs_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
102 ecs_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
103 ecs_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
104 ecs_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
105 ecs_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
106 ecs_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
107 ecs_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
108 ecs_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
109 ecs_lib.o: ../../include/openssl/ui.h ecdsa.h ecs_lib.c
110 ecs_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
111 ecs_ossl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
112 ecs_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
113 ecs_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
114 ecs_ossl.o: ../../include/openssl/opensslconf.h
115 ecs_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
116 ecs_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
117 ecs_ossl.o: ../../include/openssl/symhacks.h ecdsa.h ecs_ossl.c
118 ecs_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
119 ecs_sign.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
120 ecs_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
121 ecs_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
122 ecs_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
123 ecs_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
124 ecs_sign.o: ../../include/openssl/opensslconf.h
125 ecs_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
126 ecs_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
127 ecs_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
128 ecs_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ecdsa.h
129 ecs_sign.o: ecs_sign.c
130 ecs_vrf.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
131 ecs_vrf.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
132 ecs_vrf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
133 ecs_vrf.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
134 ecs_vrf.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
135 ecs_vrf.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
136 ecs_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
137 ecs_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
138 ecs_vrf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
139 ecs_vrf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
140 ecs_vrf.o: ../../include/openssl/ui.h ecdsa.h ecs_vrf.c