summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/ec/Makefile')
-rw-r--r--src/lib/libcrypto/ec/Makefile193
1 files changed, 193 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ec/Makefile b/src/lib/libcrypto/ec/Makefile
new file mode 100644
index 0000000000..42f7bb7fc8
--- /dev/null
+++ b/src/lib/libcrypto/ec/Makefile
@@ -0,0 +1,193 @@
1#
2# crypto/ec/Makefile
3#
4
5DIR= ec
6TOP= ../..
7CC= cc
8INCLUDES= -I.. -I$(TOP) -I../../include
9CFLAG=-g
10MAKEFILE= Makefile
11AR= ar r
12
13CFLAGS= $(INCLUDES) $(CFLAG)
14
15GENERAL=Makefile
16TEST=ectest.c
17APPS=
18
19LIB=$(TOP)/libcrypto.a
20LIBSRC= ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c\
21 ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c\
22 ec2_smpl.c ec2_smpt.c ec2_mult.c
23
24LIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_nist.o ec_cvt.o ec_mult.o\
25 ec_err.o ec_curve.o ec_check.o ec_print.o ec_asn1.o ec_key.o\
26 ec2_smpl.o ec2_mult.o
27
28SRC= $(LIBSRC)
29
30EXHEADER= ec.h
31HEADER= ec_lcl.h $(EXHEADER)
32
33ALL= $(GENERAL) $(SRC) $(HEADER)
34
35top:
36 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37
38all: lib
39
40lib: $(LIBOBJ)
41 $(AR) $(LIB) $(LIBOBJ)
42 $(RANLIB) $(LIB) || echo Never mind.
43 @touch lib
44
45files:
46 $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
47
48links:
49 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
50 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
51 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
52
53install:
54 @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
55 @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
56 do \
57 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
58 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
59 done;
60
61tags:
62 ctags $(SRC)
63
64tests:
65
66lint:
67 lint -DLINT $(INCLUDES) $(SRC)>fluff
68
69depend:
70 @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
71 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
72
73dclean:
74 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
75 mv -f Makefile.new $(MAKEFILE)
76
77clean:
78 rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
79
80# DO NOT DELETE THIS LINE -- make depend depends on it.
81
82ec2_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
83ec2_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
84ec2_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
85ec2_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
86ec2_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
87ec2_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
88ec2_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
89ec2_mult.o: ../../include/openssl/symhacks.h ec2_mult.c ec_lcl.h
90ec2_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
91ec2_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
92ec2_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
93ec2_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
94ec2_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
95ec2_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
96ec2_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
97ec2_smpl.o: ../../include/openssl/symhacks.h ec2_smpl.c ec2_smpt.c ec_lcl.h
98ec2_smpt.o: ec2_smpt.c
99ec_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
100ec_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
101ec_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
102ec_asn1.o: ../../include/openssl/ec.h ../../include/openssl/err.h
103ec_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
104ec_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
105ec_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
106ec_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
107ec_asn1.o: ../../include/openssl/symhacks.h ec_asn1.c ec_lcl.h
108ec_check.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
109ec_check.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
110ec_check.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
111ec_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
112ec_check.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
113ec_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
114ec_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
115ec_check.o: ../../include/openssl/symhacks.h ec_check.c ec_lcl.h
116ec_curve.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
117ec_curve.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
118ec_curve.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
119ec_curve.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
120ec_curve.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
121ec_curve.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
122ec_curve.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
123ec_curve.o: ../../include/openssl/symhacks.h ec_curve.c ec_lcl.h
124ec_cvt.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
125ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
126ec_cvt.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
127ec_cvt.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
128ec_cvt.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
129ec_cvt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
130ec_cvt.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
131ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h
132ec_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
133ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
134ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h
135ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
136ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
137ec_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
138ec_err.o: ../../include/openssl/symhacks.h ec_err.c
139ec_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
140ec_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
141ec_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
142ec_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
143ec_key.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
144ec_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
145ec_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
146ec_key.o: ../../include/openssl/symhacks.h ec_key.c ec_lcl.h
147ec_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
148ec_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
149ec_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
150ec_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
151ec_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
152ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
153ec_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
154ec_lib.o: ../../include/openssl/symhacks.h ec_lcl.h ec_lib.c
155ec_mult.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
156ec_mult.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
157ec_mult.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
158ec_mult.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
159ec_mult.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
160ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
161ec_mult.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
162ec_mult.o: ../../include/openssl/symhacks.h ec_lcl.h ec_mult.c
163ec_print.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
164ec_print.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
165ec_print.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
166ec_print.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
167ec_print.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
168ec_print.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
169ec_print.o: ../../include/openssl/symhacks.h ec_lcl.h ec_print.c
170ecp_mont.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
171ecp_mont.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
172ecp_mont.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
173ecp_mont.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
174ecp_mont.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
175ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
176ecp_mont.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
177ecp_mont.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_mont.c
178ecp_nist.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
179ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
180ecp_nist.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
181ecp_nist.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
182ecp_nist.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
183ecp_nist.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
184ecp_nist.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
185ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c
186ecp_smpl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
187ecp_smpl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
188ecp_smpl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
189ecp_smpl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
190ecp_smpl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
191ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
192ecp_smpl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
193ecp_smpl.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_smpl.c