diff options
Diffstat (limited to 'src/lib/libcrypto/ec/Makefile.ssl')
-rw-r--r-- | src/lib/libcrypto/ec/Makefile.ssl | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ec/Makefile.ssl b/src/lib/libcrypto/ec/Makefile.ssl new file mode 100644 index 0000000000..c34a49c1b1 --- /dev/null +++ b/src/lib/libcrypto/ec/Makefile.ssl | |||
@@ -0,0 +1,128 @@ | |||
1 | # | ||
2 | # crypto/ec/Makefile | ||
3 | # | ||
4 | |||
5 | DIR= ec | ||
6 | TOP= ../.. | ||
7 | CC= cc | ||
8 | INCLUDES= -I.. -I$(TOP) -I../../include | ||
9 | CFLAG=-g | ||
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=ectest.c | ||
23 | APPS= | ||
24 | |||
25 | LIB=$(TOP)/libcrypto.a | ||
26 | LIBSRC= ec_lib.c ecp_smpl.c ecp_mont.c ecp_recp.c ecp_nist.c ec_cvt.c ec_mult.c \ | ||
27 | ec_err.c | ||
28 | |||
29 | LIBOBJ= ec_lib.o ecp_smpl.o ecp_mont.o ecp_recp.o ecp_nist.o ec_cvt.o ec_mult.o \ | ||
30 | ec_err.o | ||
31 | |||
32 | SRC= $(LIBSRC) | ||
33 | |||
34 | EXHEADER= ec.h | ||
35 | HEADER= ec_lcl.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) -- $(CFLAG) $(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 | ec_cvt.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | ||
86 | ec_cvt.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | ||
87 | ec_cvt.o: ../../include/openssl/symhacks.h ec_cvt.c ec_lcl.h | ||
88 | ec_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
89 | ec_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
90 | ec_err.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
91 | ec_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
92 | ec_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
93 | ec_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
94 | ec_err.o: ec_err.c | ||
95 | ec_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
96 | ec_lib.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
97 | ec_lib.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
98 | ec_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
99 | ec_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
100 | ec_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
101 | ec_lib.o: ec_lcl.h ec_lib.c | ||
102 | ec_mult.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
103 | ec_mult.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
104 | ec_mult.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
105 | ec_mult.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
106 | ec_mult.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
107 | ec_mult.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
108 | ec_mult.o: ec_lcl.h ec_mult.c | ||
109 | ecp_mont.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
110 | ecp_mont.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
111 | ecp_mont.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
112 | ecp_mont.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
113 | ecp_mont.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
114 | ecp_mont.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
115 | ecp_mont.o: ec_lcl.h ecp_mont.c | ||
116 | ecp_nist.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | ||
117 | ecp_nist.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | ||
118 | ecp_nist.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_nist.c | ||
119 | ecp_recp.o: ../../include/openssl/bn.h ../../include/openssl/e_os2.h | ||
120 | ecp_recp.o: ../../include/openssl/ec.h ../../include/openssl/opensslconf.h | ||
121 | ecp_recp.o: ../../include/openssl/symhacks.h ec_lcl.h ecp_recp.c | ||
122 | ecp_smpl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
123 | ecp_smpl.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
124 | ecp_smpl.o: ../../include/openssl/ec.h ../../include/openssl/err.h | ||
125 | ecp_smpl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
126 | ecp_smpl.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h | ||
127 | ecp_smpl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
128 | ecp_smpl.o: ec_lcl.h ecp_smpl.c | ||