]> git.ipfire.org Git - thirdparty/openssl.git/blame - engines/ccgost/Makefile
Reduce version skew: trivia (I hope).
[thirdparty/openssl.git] / engines / ccgost / Makefile
CommitLineData
926c41bd
DSH
1DIR=ccgost
2TOP=../..
3CC=cc
4INCLUDES= -I../../include
5CFLAG=-g
6MAKEFILE= Makefile
7AR= ar r
8CFLAGS= $(INCLUDES) $(CFLAG)
9LIB=$(TOP)/libcrypto.a
a04549cc 10
926c41bd 11LIBSRC= gost2001.c gost2001_keyx.c gost89.c gost94_keyx.c gost_ameth.c gost_asn1.c gost_crypt.c gost_ctl.c gost_eng.c gosthash.c gost_keywrap.c gost_md.c gost_params.c gost_pmeth.c gost_sign.c
a04549cc 12
926c41bd 13LIBOBJ= e_gost_err.o gost2001_keyx.o gost2001.o gost89.o gost94_keyx.o gost_ameth.o gost_asn1.o gost_crypt.o gost_ctl.o gost_eng.o gosthash.o gost_keywrap.o gost_md.o gost_params.o gost_pmeth.o gost_sign.o
a04549cc 14
926c41bd 15SRC=$(LIBSRC)
a04549cc 16
926c41bd 17LIBNAME=gost
a04549cc 18
926c41bd
DSH
19top:
20 (cd $(TOP); $(MAKE) DIRS=engines EDIRS=$(DIR) sub_all)
a04549cc 21
926c41bd 22all: lib
a04549cc 23
926c41bd
DSH
24tags:
25 ctags $(SRC)
a04549cc 26
926c41bd 27errors:
1b827d7b 28 $(PERL) ../../util/mkerr.pl -conf gost.ec -nostatic -write $(SRC)
926c41bd
DSH
29
30lib: $(LIBOBJ)
31 if [ -n "$(SHARED_LIBS)" ]; then \
32 $(MAKE) -f $(TOP)/Makefile.shared -e \
33 LIBNAME=$(LIBNAME) \
34 LIBEXTRAS='$(LIBOBJ)' \
35 LIBDEPS='-L$(TOP) -lcrypto' \
36 link_o.$(SHLIB_TARGET); \
37 else \
38 $(AR) $(LIB) $(LIBOBJ); \
39 fi
1e7b6c02 40 @touch lib
926c41bd 41
55581285 42install:
926c41bd
DSH
43 [ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
44 if [ -n "$(SHARED_LIBS)" ]; then \
45 set -e; \
46 echo installing $(LIBNAME); \
4c1a6e00 47 pfx=lib; \
926c41bd
DSH
48 if [ "$(PLATFORM)" != "Cygwin" ]; then \
49 case "$(CFLAGS)" in \
4c1a6e00 50 *DSO_BEOS*) sfx=".so";; \
73b408c2 51 *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
4c1a6e00 52 *DSO_DL*) sfx=".sl";; \
55581285 53 *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \
4c1a6e00 54 *) sfx=".bad";; \
926c41bd 55 esac; \
a1e11652 56 cp $${pfx}$(LIBNAME)$$sfx $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
926c41bd 57 else \
1dad4f36 58 sfx=".so"; \
a1e11652 59 cp cyg$(LIBNAME).dll $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
926c41bd 60 fi; \
a1e11652
DSH
61 chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new; \
62 mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx.new $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR)/engines/$${pfx}$(LIBNAME)$$sfx; \
926c41bd
DSH
63 fi
64
65links:
a04549cc 66
926c41bd 67tests:
a04549cc 68
926c41bd
DSH
69depend:
70 @if [ -z "$(THIS)" ]; then \
71 $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \
72 else \
73 $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC); \
74 fi
a04549cc 75
926c41bd 76files:
a04549cc 77
a04549cc 78
a04549cc 79
926c41bd
DSH
80lint:
81 lint -DLINT $(INCLUDES) $(SRC)>fluff
a04549cc 82
926c41bd
DSH
83dclean:
84 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
85 mv -f Makefile.new $(MAKEFILE)
86
87clean:
88 rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff *.so *.sl *.dll
89
90# DO NOT DELETE THIS LINE -- make depend depends on it.
91
92gost2001.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
93gost2001.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
94gost2001.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
95gost2001.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
96gost2001.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
97gost2001.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
98gost2001.o: ../../include/openssl/err.h ../../include/openssl/evp.h
99gost2001.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
100gost2001.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
101gost2001.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
102gost2001.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
103gost2001.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
104gost2001.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
105gost2001.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
106gost2001.o: e_gost_err.h gost2001.c gost89.h gost_lcl.h gost_params.h
107gost2001.o: gosthash.h
108gost2001_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
109gost2001_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
110gost2001_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
111gost2001_keyx.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
112gost2001_keyx.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
113gost2001_keyx.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
114gost2001_keyx.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
115gost2001_keyx.o: ../../include/openssl/obj_mac.h
116gost2001_keyx.o: ../../include/openssl/objects.h
117gost2001_keyx.o: ../../include/openssl/opensslconf.h
118gost2001_keyx.o: ../../include/openssl/opensslv.h
119gost2001_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
120gost2001_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
121gost2001_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
122gost2001_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
123gost2001_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost2001_keyx.c
4d7aff70 124gost2001_keyx.o: gost2001_keyx.h gost89.h gost_keywrap.h gost_lcl.h gosthash.h
926c41bd
DSH
125gost89.o: gost89.c gost89.h
126gost94_keyx.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
127gost94_keyx.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
128gost94_keyx.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
129gost94_keyx.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
130gost94_keyx.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
131gost94_keyx.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
132gost94_keyx.o: ../../include/openssl/engine.h ../../include/openssl/evp.h
133gost94_keyx.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
134gost94_keyx.o: ../../include/openssl/objects.h
135gost94_keyx.o: ../../include/openssl/opensslconf.h
136gost94_keyx.o: ../../include/openssl/opensslv.h
137gost94_keyx.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
138gost94_keyx.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
139gost94_keyx.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
140gost94_keyx.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
141gost94_keyx.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
142gost94_keyx.o: gost94_keyx.c gost_keywrap.h gost_lcl.h gosthash.h
143gost_ameth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
144gost_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
68d2cf51
BL
145gost_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/cms.h
146gost_ameth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
147gost_ameth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
148gost_ameth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
149gost_ameth.o: ../../include/openssl/engine.h ../../include/openssl/err.h
150gost_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
151gost_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
926c41bd
DSH
152gost_ameth.o: ../../include/openssl/opensslconf.h
153gost_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
154gost_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
155gost_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
156gost_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
157gost_ameth.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h
158gost_ameth.o: gost_ameth.c gost_lcl.h gost_params.h gosthash.h
159gost_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
160gost_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
161gost_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
162gost_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
163gost_asn1.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
164gost_asn1.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
165gost_asn1.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
166gost_asn1.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
167gost_asn1.o: ../../include/openssl/opensslconf.h
168gost_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
169gost_asn1.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
170gost_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
171gost_asn1.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
172gost_asn1.o: ../../include/openssl/x509_vfy.h gost89.h gost_asn1.c gost_lcl.h
173gost_asn1.o: gosthash.h
174gost_crypt.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
175gost_crypt.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
176gost_crypt.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
177gost_crypt.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
178gost_crypt.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
179gost_crypt.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
180gost_crypt.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
181gost_crypt.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
182gost_crypt.o: ../../include/openssl/opensslconf.h
183gost_crypt.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
184gost_crypt.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
185gost_crypt.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
186gost_crypt.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
187gost_crypt.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
188gost_crypt.o: e_gost_err.h gost89.h gost_crypt.c gost_lcl.h gosthash.h
189gost_ctl.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
190gost_ctl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
191gost_ctl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
192gost_ctl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
193gost_ctl.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
194gost_ctl.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
fe591284
DSH
195gost_ctl.o: ../../include/openssl/err.h ../../include/openssl/evp.h
196gost_ctl.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
197gost_ctl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
926c41bd
DSH
198gost_ctl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
199gost_ctl.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
200gost_ctl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
201gost_ctl.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
202gost_ctl.o: ../../include/openssl/x509_vfy.h gost89.h gost_ctl.c gost_lcl.h
203gost_ctl.o: gosthash.h
204gost_eng.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
205gost_eng.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
206gost_eng.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
207gost_eng.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
208gost_eng.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
209gost_eng.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
fe591284
DSH
210gost_eng.o: ../../include/openssl/err.h ../../include/openssl/evp.h
211gost_eng.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
212gost_eng.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
926c41bd
DSH
213gost_eng.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
214gost_eng.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
215gost_eng.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
216gost_eng.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
217gost_eng.o: ../../include/openssl/x509_vfy.h e_gost_err.h gost89.h gost_eng.c
218gost_eng.o: gost_lcl.h gosthash.h
219gost_keywrap.o: gost89.h gost_keywrap.c gost_keywrap.h
220gost_md.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
221gost_md.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
222gost_md.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
223gost_md.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
224gost_md.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
225gost_md.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
226gost_md.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
227gost_md.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
228gost_md.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
229gost_md.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
230gost_md.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
231gost_md.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
232gost_md.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
233gost_md.o: e_gost_err.h gost89.h gost_lcl.h gost_md.c gosthash.h
234gost_params.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
235gost_params.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
236gost_params.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
237gost_params.o: ../../include/openssl/opensslconf.h
238gost_params.o: ../../include/openssl/opensslv.h
239gost_params.o: ../../include/openssl/ossl_typ.h
240gost_params.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
241gost_params.o: ../../include/openssl/symhacks.h gost_params.c gost_params.h
242gost_pmeth.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
243gost_pmeth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
ec06417d
DSH
244gost_pmeth.o: ../../include/openssl/buffer.h ../../include/openssl/conf.h
245gost_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
246gost_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
247gost_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
248gost_pmeth.o: ../../include/openssl/engine.h ../../include/openssl/evp.h
249gost_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
250gost_pmeth.o: ../../include/openssl/objects.h
926c41bd
DSH
251gost_pmeth.o: ../../include/openssl/opensslconf.h
252gost_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
253gost_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
254gost_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
255gost_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
ec06417d
DSH
256gost_pmeth.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h
257gost_pmeth.o: e_gost_err.h gost89.h gost_lcl.h gost_params.h gost_pmeth.c
258gost_pmeth.o: gosthash.h
926c41bd
DSH
259gost_sign.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
260gost_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
261gost_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
262gost_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
263gost_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
264gost_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
265gost_sign.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
266gost_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
267gost_sign.o: ../../include/openssl/opensslconf.h
268gost_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
269gost_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
270gost_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
271gost_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
272gost_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
273gost_sign.o: e_gost_err.h gost89.h gost_lcl.h gost_params.h gost_sign.c
274gost_sign.o: gosthash.h
275gosthash.o: gost89.h gosthash.c gosthash.h