diff options
author | djm <> | 2005-04-29 05:37:32 +0000 |
---|---|---|
committer | djm <> | 2005-04-29 05:37:32 +0000 |
commit | 588543a0946f1dbf0f1dd5135f8f6447486dc183 (patch) | |
tree | f74e14f98abfec33221f0f2e15cc88a34a3df7e5 /src/lib/libcrypto/dh | |
parent | 00b426069b0dfa8f0d9b87308646e9684f45c515 (diff) | |
download | openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.tar.gz openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.tar.bz2 openbsd-588543a0946f1dbf0f1dd5135f8f6447486dc183.zip |
import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/dh')
-rw-r--r-- | src/lib/libcrypto/dh/Makefile | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/src/lib/libcrypto/dh/Makefile b/src/lib/libcrypto/dh/Makefile new file mode 100644 index 0000000000..c091a8130a --- /dev/null +++ b/src/lib/libcrypto/dh/Makefile | |||
@@ -0,0 +1,131 @@ | |||
1 | # | ||
2 | # SSLeay/crypto/dh/Makefile | ||
3 | # | ||
4 | |||
5 | DIR= dh | ||
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 | MAKEDEPPROG= makedepend | ||
14 | MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG) | ||
15 | MAKEFILE= Makefile | ||
16 | AR= ar r | ||
17 | |||
18 | CFLAGS= $(INCLUDES) $(CFLAG) | ||
19 | |||
20 | GENERAL=Makefile | ||
21 | TEST= dhtest.c | ||
22 | APPS= | ||
23 | |||
24 | LIB=$(TOP)/libcrypto.a | ||
25 | LIBSRC= dh_asn1.c dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c | ||
26 | LIBOBJ= dh_asn1.o dh_gen.o dh_key.o dh_lib.o dh_check.o dh_err.o | ||
27 | |||
28 | SRC= $(LIBSRC) | ||
29 | |||
30 | EXHEADER= dh.h | ||
31 | HEADER= $(EXHEADER) | ||
32 | |||
33 | ALL= $(GENERAL) $(SRC) $(HEADER) | ||
34 | |||
35 | top: | ||
36 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | ||
37 | |||
38 | all: lib | ||
39 | |||
40 | lib: $(LIBOBJ) | ||
41 | $(AR) $(LIB) $(LIBOBJ) | ||
42 | $(RANLIB) $(LIB) || echo Never mind. | ||
43 | @touch lib | ||
44 | |||
45 | files: | ||
46 | $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO | ||
47 | |||
48 | links: | ||
49 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | ||
50 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | ||
51 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | ||
52 | |||
53 | install: | ||
54 | @headerlist="$(EXHEADER)"; for i in $$headerlist ; \ | ||
55 | do \ | ||
56 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ | ||
57 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | ||
58 | done; | ||
59 | |||
60 | tags: | ||
61 | ctags $(SRC) | ||
62 | |||
63 | tests: | ||
64 | |||
65 | lint: | ||
66 | lint -DLINT $(INCLUDES) $(SRC)>fluff | ||
67 | |||
68 | depend: | ||
69 | $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC) | ||
70 | |||
71 | dclean: | ||
72 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new | ||
73 | mv -f Makefile.new $(MAKEFILE) | ||
74 | |||
75 | clean: | ||
76 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff | ||
77 | |||
78 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
79 | |||
80 | dh_asn1.o: ../../e_os.h ../../include/openssl/asn1.h | ||
81 | dh_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | ||
82 | dh_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
83 | dh_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
84 | dh_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
85 | dh_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | ||
86 | dh_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | ||
87 | dh_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
88 | dh_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
89 | dh_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_asn1.c | ||
90 | dh_check.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
91 | dh_check.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
92 | dh_check.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h | ||
93 | dh_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
94 | dh_check.o: ../../include/openssl/opensslconf.h | ||
95 | dh_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
96 | dh_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
97 | dh_check.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_check.c | ||
98 | dh_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
99 | dh_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
100 | dh_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h | ||
101 | dh_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
102 | dh_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
103 | dh_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
104 | dh_err.o: ../../include/openssl/symhacks.h dh_err.c | ||
105 | dh_gen.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
106 | dh_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
107 | dh_gen.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h | ||
108 | dh_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
109 | dh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
110 | dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h | ||
111 | dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | ||
112 | dh_gen.o: ../cryptlib.h dh_gen.c | ||
113 | dh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h | ||
114 | dh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
115 | dh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h | ||
116 | dh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | ||
117 | dh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | ||
118 | dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h | ||
119 | dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
120 | dh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_key.c | ||
121 | dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
122 | dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | ||
123 | dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | ||
124 | dh_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | ||
125 | dh_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h | ||
126 | dh_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | ||
127 | dh_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
128 | dh_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | ||
129 | dh_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | ||
130 | dh_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | ||
131 | dh_lib.o: ../cryptlib.h dh_lib.c | ||