diff options
Diffstat (limited to 'src/lib/libcrypto/ecdsa/Makefile')
-rw-r--r-- | src/lib/libcrypto/ecdsa/Makefile | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/src/lib/libcrypto/ecdsa/Makefile b/src/lib/libcrypto/ecdsa/Makefile new file mode 100644 index 0000000000..16a93cd3ae --- /dev/null +++ b/src/lib/libcrypto/ecdsa/Makefile | |||
@@ -0,0 +1,125 @@ | |||
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 | TEST=ecdsatest.c | ||
17 | APPS= | ||
18 | |||
19 | LIB=$(TOP)/libcrypto.a | ||
20 | LIBSRC= ecs_lib.c ecs_asn1.c ecs_ossl.c ecs_sign.c ecs_vrf.c ecs_err.c | ||
21 | |||
22 | LIBOBJ= ecs_lib.o ecs_asn1.o ecs_ossl.o ecs_sign.o ecs_vrf.o ecs_err.o | ||
23 | |||
24 | SRC= $(LIBSRC) | ||
25 | |||
26 | EXHEADER= ecdsa.h | ||
27 | HEADER= ecs_locl.h $(EXHEADER) | ||
28 | |||
29 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
30 | |||
31 | top: | ||
32 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
33 | |||
34 | all: lib | ||
35 | |||
36 | lib: $(LIBOBJ) | ||
37 | $(AR) $(LIB) $(LIBOBJ) | ||
38 | $(RANLIB) $(LIB) || echo Never mind. | ||
39 | @touch lib | ||
40 | |||
41 | files: | ||
42 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | ||
43 | |||
44 | links: | ||
45 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
46 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
47 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
48 | |||
49 | install: | ||
50 | @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile... | ||
51 | @headerlist="$(EXHEADER)"; for i in $$headerlist; \ | ||
52 | do \ | ||
53 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
54 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
55 | done; | ||
56 | |||
57 | tags: | ||
58 | ctags $(SRC) | ||
59 | |||
60 | tests: | ||
61 | |||
62 | lint: | ||
63 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
64 | |||
65 | depend: | ||
66 | @[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile... | ||
67 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) | ||
68 | |||
69 | dclean: | ||
70 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
71 | mv -f Makefile.new $(MAKEFILE) | ||
72 | |||
73 | clean: | ||
74 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
75 | |||
76 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
77 | |||
78 | ecs_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h | ||
79 | ecs_asn1.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h | ||
80 | ecs_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
81 | ecs_asn1.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h | ||
82 | ecs_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
83 | ecs_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
84 | ecs_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
85 | ecs_asn1.o: ../../include/openssl/symhacks.h ecs_asn1.c ecs_locl.h | ||
86 | ecs_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
87 | ecs_err.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
88 | ecs_err.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h | ||
89 | ecs_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
90 | ecs_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
91 | ecs_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
92 | ecs_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
93 | ecs_err.o: ecs_err.c | ||
94 | ecs_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
95 | ecs_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
96 | ecs_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
97 | ecs_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h | ||
98 | ecs_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
99 | ecs_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
100 | ecs_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
101 | ecs_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
102 | ecs_lib.o: ecs_lib.c ecs_locl.h | ||
103 | ecs_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
104 | ecs_ossl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h | ||
105 | ecs_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | ||
106 | ecs_ossl.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h | ||
107 | ecs_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
108 | ecs_ossl.o: ../../include/openssl/opensslconf.h | ||
109 | ecs_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
110 | ecs_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
111 | ecs_ossl.o: ../../include/openssl/symhacks.h ecs_locl.h ecs_ossl.c | ||
112 | ecs_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
113 | ecs_sign.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
114 | ecs_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h | ||
115 | ecs_sign.o: ../../include/openssl/engine.h ../../include/openssl/opensslconf.h | ||
116 | ecs_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
117 | ecs_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
118 | ecs_sign.o: ../../include/openssl/symhacks.h ecs_locl.h ecs_sign.c | ||
119 | ecs_vrf.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
120 | ecs_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | ||
121 | ecs_vrf.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h | ||
122 | ecs_vrf.o: ../../include/openssl/engine.h ../../include/openssl/opensslconf.h | ||
123 | ecs_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
124 | ecs_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
125 | ecs_vrf.o: ../../include/openssl/symhacks.h ecs_locl.h ecs_vrf.c | ||