]>
Commit | Line | Data |
---|---|---|
d02b48c6 RE |
1 | # |
2 | # SSLeay/crypto/dsa/Makefile | |
3 | # | |
4 | ||
5 | DIR= dsa | |
6 | TOP= ../.. | |
7 | CC= cc | |
41d2a336 | 8 | INCLUDES= -I.. -I$(TOP) -I../../include |
d02b48c6 | 9 | CFLAG=-g |
e5f3045f BM |
10 | INSTALL_PREFIX= |
11 | OPENSSLDIR= /usr/local/ssl | |
d02b48c6 RE |
12 | INSTALLTOP=/usr/local/ssl |
13 | MAKE= make -f Makefile.ssl | |
cf1b7d96 RL |
14 | MAKEDEPPROG= makedepend |
15 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | |
d02b48c6 RE |
16 | MAKEFILE= Makefile.ssl |
17 | AR= ar r | |
18 | ||
19 | CFLAGS= $(INCLUDES) $(CFLAG) | |
20 | ||
d02b48c6 RE |
21 | GENERAL=Makefile |
22 | TEST=dsatest.c | |
23 | APPS= | |
24 | ||
25 | LIB=$(TOP)/libcrypto.a | |
c0711f7f DSH |
26 | LIBSRC= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c \ |
27 | dsa_err.c dsa_ossl.c | |
28 | LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o \ | |
29 | dsa_err.o dsa_ossl.o | |
d02b48c6 RE |
30 | |
31 | SRC= $(LIBSRC) | |
32 | ||
33 | EXHEADER= dsa.h | |
34 | HEADER= $(EXHEADER) | |
35 | ||
36 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
37 | ||
38 | top: | |
39 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
40 | ||
41 | all: lib | |
42 | ||
43 | lib: $(LIBOBJ) | |
44 | $(AR) $(LIB) $(LIBOBJ) | |
4e20b1a6 | 45 | $(RANLIB) $(LIB) || echo Never mind. |
d02b48c6 RE |
46 | @touch lib |
47 | ||
48 | files: | |
99aab161 | 49 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
d02b48c6 RE |
50 | |
51 | links: | |
bb8f3c58 | 52 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
1314c344 BM |
53 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
54 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | |
55 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | |
d02b48c6 RE |
56 | |
57 | install: | |
58 | @for i in $(EXHEADER) ; \ | |
59 | do \ | |
e5f3045f BM |
60 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
61 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
d02b48c6 RE |
62 | done; |
63 | ||
64 | tags: | |
65 | ctags $(SRC) | |
66 | ||
67 | tests: | |
68 | ||
69 | lint: | |
70 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
71 | ||
72 | depend: | |
f5d7a031 | 73 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
d02b48c6 RE |
74 | |
75 | dclean: | |
99aab161 | 76 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
d02b48c6 RE |
77 | mv -f Makefile.new $(MAKEFILE) |
78 | ||
79 | clean: | |
bb8f3c58 | 80 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
d02b48c6 | 81 | |
d02b48c6 | 82 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
6242bb9c | 83 | |
41d2a336 RL |
84 | dsa_asn1.o: ../../e_os.h ../../include/openssl/asn1.h |
85 | dsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | |
86 | dsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | |
87 | dsa_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
88 | dsa_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
cf1b7d96 RL |
89 | dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h |
90 | dsa_asn1.o: ../../include/openssl/opensslconf.h | |
f8000b93 RL |
91 | dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
92 | dsa_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
93 | dsa_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_asn1.c | |
1c4f90a0 GT |
94 | dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
95 | dsa_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
cf1b7d96 RL |
96 | dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h |
97 | dsa_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | |
98 | dsa_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
f8000b93 RL |
99 | dsa_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
100 | dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
534aaf37 | 101 | dsa_err.o: dsa_err.c |
55dcfa42 | 102 | dsa_gen.o: ../../e_os.h ../../include/openssl/asn1.h |
dbad1690 BL |
103 | dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
104 | dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
105 | dsa_gen.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | |
106 | dsa_gen.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | |
107 | dsa_gen.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h | |
55dcfa42 RL |
108 | dsa_gen.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h |
109 | dsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
f8000b93 RL |
110 | dsa_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h |
111 | dsa_gen.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h | |
112 | dsa_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
d66ace9d | 113 | dsa_gen.o: ../cryptlib.h dsa_gen.c |
41d2a336 | 114 | dsa_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h |
bf57da07 | 115 | dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
48c843c3 | 116 | dsa_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h |
41d2a336 RL |
117 | dsa_key.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
118 | dsa_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
f8000b93 RL |
119 | dsa_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
120 | dsa_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h | |
121 | dsa_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
534aaf37 | 122 | dsa_key.o: ../cryptlib.h dsa_key.c |
41d2a336 | 123 | dsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h |
4d94ae00 BM |
124 | dsa_lib.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h |
125 | dsa_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | |
126 | dsa_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
127 | dsa_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
128 | dsa_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h | |
129 | dsa_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h | |
130 | dsa_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
131 | dsa_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | |
132 | dsa_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | |
133 | dsa_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
134 | dsa_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | |
135 | dsa_lib.o: ../cryptlib.h dsa_lib.c | |
41d2a336 | 136 | dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h |
4d94ae00 BM |
137 | dsa_ossl.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h |
138 | dsa_ossl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | |
139 | dsa_ossl.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
140 | dsa_ossl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
141 | dsa_ossl.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h | |
142 | dsa_ossl.o: ../../include/openssl/engine.h ../../include/openssl/err.h | |
143 | dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
f8000b93 RL |
144 | dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
145 | dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | |
146 | dsa_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
147 | dsa_ossl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | |
d66ace9d | 148 | dsa_ossl.o: ../cryptlib.h dsa_ossl.c |
41d2a336 | 149 | dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h |
4d94ae00 BM |
150 | dsa_sign.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h |
151 | dsa_sign.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | |
152 | dsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
153 | dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
154 | dsa_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h | |
155 | dsa_sign.o: ../../include/openssl/engine.h ../../include/openssl/err.h | |
156 | dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
f8000b93 RL |
157 | dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
158 | dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | |
159 | dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
160 | dsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | |
d66ace9d | 161 | dsa_sign.o: ../cryptlib.h dsa_sign.c |
41d2a336 | 162 | dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h |
4d94ae00 BM |
163 | dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/asn1t.h |
164 | dsa_vrf.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | |
165 | dsa_vrf.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | |
166 | dsa_vrf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h | |
167 | dsa_vrf.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h | |
168 | dsa_vrf.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h | |
169 | dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | |
170 | dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
171 | dsa_vrf.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | |
172 | dsa_vrf.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h | |
173 | dsa_vrf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
174 | dsa_vrf.o: ../../include/openssl/ui.h ../cryptlib.h dsa_vrf.c |