]>
Commit | Line | Data |
---|---|---|
d02b48c6 RE |
1 | # |
2 | # SSLeay/crypto/dh/Makefile | |
3 | # | |
4 | ||
5 | DIR= dh | |
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= dhtest.c | |
23 | APPS= | |
24 | ||
25 | LIB=$(TOP)/libcrypto.a | |
9d6b1ce6 DSH |
26 | LIBSRC= dh_asn1.c dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c |
27 | LIBOBJ= dh_asn1.o dh_gen.o dh_key.o dh_lib.o dh_check.o dh_err.o | |
d02b48c6 RE |
28 | |
29 | SRC= $(LIBSRC) | |
30 | ||
31 | EXHEADER= dh.h | |
32 | HEADER= $(EXHEADER) | |
33 | ||
34 | ALL= $(GENERAL) $(SRC) $(HEADER) | |
35 | ||
36 | top: | |
37 | (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all) | |
38 | ||
39 | all: lib | |
40 | ||
41 | lib: $(LIBOBJ) | |
42 | $(AR) $(LIB) $(LIBOBJ) | |
4e20b1a6 | 43 | $(RANLIB) $(LIB) || echo Never mind. |
d02b48c6 RE |
44 | @touch lib |
45 | ||
46 | files: | |
99aab161 | 47 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
d02b48c6 RE |
48 | |
49 | links: | |
bb8f3c58 | 50 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
1314c344 BM |
51 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
52 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | |
53 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | |
d02b48c6 RE |
54 | |
55 | install: | |
56 | @for i in $(EXHEADER) ; \ | |
57 | do \ | |
e5f3045f BM |
58 | (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ |
59 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ | |
d02b48c6 RE |
60 | done; |
61 | ||
62 | tags: | |
63 | ctags $(SRC) | |
64 | ||
65 | tests: | |
66 | ||
67 | lint: | |
68 | lint -DLINT $(INCLUDES) $(SRC)>fluff | |
69 | ||
70 | depend: | |
f5d7a031 | 71 | $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC) |
d02b48c6 RE |
72 | |
73 | dclean: | |
99aab161 | 74 | $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new |
d02b48c6 RE |
75 | mv -f Makefile.new $(MAKEFILE) |
76 | ||
77 | clean: | |
bb8f3c58 | 78 | rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff |
d02b48c6 | 79 | |
d02b48c6 | 80 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
6242bb9c | 81 | |
41d2a336 RL |
82 | dh_asn1.o: ../../e_os.h ../../include/openssl/asn1.h |
83 | dh_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | |
84 | dh_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h | |
85 | dh_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
cf1b7d96 RL |
86 | dh_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
87 | dh_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h | |
88 | dh_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h | |
f8000b93 RL |
89 | dh_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
90 | dh_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
91 | dh_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_asn1.c | |
41d2a336 | 92 | dh_check.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h |
bf57da07 | 93 | dh_check.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
41d2a336 RL |
94 | dh_check.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h |
95 | dh_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | |
96 | dh_check.o: ../../include/openssl/opensslconf.h | |
f8000b93 RL |
97 | dh_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
98 | dh_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
99 | dh_check.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_check.c | |
1c4f90a0 GT |
100 | dh_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h |
101 | dh_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
cf1b7d96 RL |
102 | dh_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h |
103 | dh_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h | |
f8000b93 RL |
104 | dh_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
105 | dh_err.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
106 | dh_err.o: ../../include/openssl/symhacks.h dh_err.c | |
41d2a336 | 107 | dh_gen.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h |
bf57da07 | 108 | dh_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h |
41d2a336 RL |
109 | dh_gen.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h |
110 | dh_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h | |
111 | dh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | |
f8000b93 RL |
112 | dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h |
113 | dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h | |
534aaf37 | 114 | dh_gen.o: ../cryptlib.h dh_gen.c |
4d94ae00 BM |
115 | dh_key.o: ../../e_os.h ../../include/openssl/asn1.h |
116 | dh_key.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | |
dbad1690 BL |
117 | dh_key.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
118 | dh_key.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
119 | dh_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
4d94ae00 | 120 | dh_key.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h |
dbad1690 | 121 | dh_key.o: ../../include/openssl/engine.h ../../include/openssl/err.h |
d66ace9d | 122 | dh_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
f8000b93 RL |
123 | dh_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
124 | dh_key.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | |
125 | dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
126 | dh_key.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | |
710e5d56 | 127 | dh_key.o: ../cryptlib.h dh_key.c |
4d94ae00 BM |
128 | dh_lib.o: ../../e_os.h ../../include/openssl/asn1.h |
129 | dh_lib.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h | |
dbad1690 BL |
130 | dh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h |
131 | dh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h | |
132 | dh_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h | |
4d94ae00 | 133 | dh_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h |
dbad1690 | 134 | dh_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h |
d66ace9d | 135 | dh_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h |
f8000b93 RL |
136 | dh_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h |
137 | dh_lib.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h | |
138 | dh_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | |
139 | dh_lib.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | |
710e5d56 | 140 | dh_lib.o: ../cryptlib.h dh_lib.c |