]> git.ipfire.org Git - thirdparty/openssl.git/blame - crypto/ecdh/Makefile.ssl
Security fixes brought forward from 0.9.7.
[thirdparty/openssl.git] / crypto / ecdh / Makefile.ssl
CommitLineData
e172d60d
BM
1#
2# crypto/ecdh/Makefile
3#
4
5DIR= ecdh
6TOP= ../..
7CC= cc
8INCLUDES= -I.. -I$(TOP) -I../../include
9CFLAG=-g -Wall
10INSTALL_PREFIX=
11OPENSSLDIR= /usr/local/ssl
12INSTALLTOP=/usr/local/ssl
13MAKE= make -f Makefile.ssl
14MAKEDEPPROG= makedepend
15MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16MAKEFILE= Makefile.ssl
17AR= ar r
18
19CFLAGS= $(INCLUDES) $(CFLAG)
20
21GENERAL=Makefile
22TEST=ecdhtest.c
23APPS=
24
25LIB=$(TOP)/libcrypto.a
26LIBSRC= ech_lib.c ech_ossl.c ech_key.c ech_err.c
27
28LIBOBJ= ech_lib.o ech_ossl.o ech_key.o ech_err.o
29
30SRC= $(LIBSRC)
31
32EXHEADER= ecdh.h
33HEADER= $(EXHEADER)
34
35ALL= $(GENERAL) $(SRC) $(HEADER)
36
37top:
38 (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39
40all: lib
41
42lib: $(LIBOBJ)
43 $(AR) $(LIB) $(LIBOBJ)
44 $(RANLIB) $(LIB) || echo Never mind.
45 @touch lib
46
47files:
48 $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49
50links:
51 @$(TOP)/util/point.sh Makefile.ssl Makefile
52 @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53 @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54 @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
55
56install:
57 @for i in $(EXHEADER) ; \
58 do \
59 (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60 chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61 done;
62
63tags:
64 ctags $(SRC)
65
66tests:
67
68lint:
69 lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71depend:
001ab3ab 72 $(MAKEDEPEND) -- $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
e172d60d
BM
73
74dclean:
75 $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76 mv -f Makefile.new $(MAKEFILE)
77
78clean:
79 rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81# DO NOT DELETE THIS LINE -- make depend depends on it.
82
54a656ef
BL
83ech_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
84ech_err.o: ../../include/openssl/e_os2.h ../../include/openssl/ecdh.h
85ech_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
86ech_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
e172d60d
BM
87ech_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
88ech_err.o: ../../include/openssl/symhacks.h ech_err.c
89ech_key.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
90ech_key.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
91ech_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
92ech_key.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
93ech_key.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
94ech_key.o: ../../include/openssl/engine.h ../../include/openssl/err.h
95ech_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
96ech_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
97ech_key.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
98ech_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
99ech_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ecdh.h
100ech_key.o: ech_key.c
101ech_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
102ech_lib.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
103ech_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
104ech_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
105ech_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
106ech_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
107ech_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
108ech_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
109ech_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
110ech_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
111ech_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h ecdh.h
112ech_lib.o: ech_lib.c
113ech_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
114ech_ossl.o: ../../include/openssl/bn.h ../../include/openssl/crypto.h
115ech_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
116ech_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
117ech_ossl.o: ../../include/openssl/obj_mac.h ../../include/openssl/opensslconf.h
118ech_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
119ech_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
120ech_ossl.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
121ech_ossl.o: ecdh.h ech_ossl.c