1142425Snectar#
2160814Ssimon# OpenSSL/crypto/dh/Makefile
3142425Snectar#
4142425Snectar
5142425SnectarDIR=	dh
6142425SnectarTOP=	../..
7142425SnectarCC=	cc
8142425SnectarINCLUDES= -I.. -I$(TOP) -I../../include
9142425SnectarCFLAG=-g
10142425SnectarMAKEFILE=	Makefile
11142425SnectarAR=		ar r
12142425Snectar
13142425SnectarCFLAGS= $(INCLUDES) $(CFLAG)
14142425Snectar
15142425SnectarGENERAL=Makefile
16142425SnectarTEST= dhtest.c
17142425SnectarAPPS=
18142425Snectar
19142425SnectarLIB=$(TOP)/libcrypto.a
20238405SjkimLIBSRC= dh_asn1.c dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c dh_depr.c \
21238405Sjkim	dh_ameth.c dh_pmeth.c dh_prn.c
22238405SjkimLIBOBJ= dh_asn1.o dh_gen.o dh_key.o dh_lib.o dh_check.o dh_err.o dh_depr.o \
23238405Sjkim	dh_ameth.o dh_pmeth.o dh_prn.o
24142425Snectar
25142425SnectarSRC= $(LIBSRC)
26142425Snectar
27142425SnectarEXHEADER= dh.h
28142425SnectarHEADER=	$(EXHEADER)
29142425Snectar
30142425SnectarALL=    $(GENERAL) $(SRC) $(HEADER)
31142425Snectar
32142425Snectartop:
33142425Snectar	(cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
34142425Snectar
35142425Snectarall:	lib
36142425Snectar
37142425Snectarlib:	$(LIBOBJ)
38238405Sjkim	$(AR) $(LIB) $(LIBOBJ)
39142425Snectar	$(RANLIB) $(LIB) || echo Never mind.
40142425Snectar	@touch lib
41142425Snectar
42142425Snectarfiles:
43142425Snectar	$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
44142425Snectar
45142425Snectarlinks:
46142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
47142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
48142425Snectar	@$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
49142425Snectar
50142425Snectarinstall:
51160814Ssimon	@[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
52160814Ssimon	@headerlist="$(EXHEADER)"; for i in $$headerlist ; \
53142425Snectar	do  \
54142425Snectar	(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
55142425Snectar	chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
56142425Snectar	done;
57142425Snectar
58142425Snectartags:
59142425Snectar	ctags $(SRC)
60142425Snectar
61142425Snectartests:
62142425Snectar
63142425Snectarlint:
64142425Snectar	lint -DLINT $(INCLUDES) $(SRC)>fluff
65142425Snectar
66284285Sjkimupdate: depend
67284285Sjkim
68142425Snectardepend:
69160814Ssimon	@[ -n "$(MAKEDEPEND)" ] # should be set by upper Makefile...
70142425Snectar	$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
71142425Snectar
72142425Snectardclean:
73142425Snectar	$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
74142425Snectar	mv -f Makefile.new $(MAKEFILE)
75142425Snectar
76142425Snectarclean:
77142425Snectar	rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78142425Snectar
79142425Snectar# DO NOT DELETE THIS LINE -- make depend depends on it.
80142425Snectar
81238405Sjkimdh_ameth.o: ../../e_os.h ../../include/openssl/asn1.h
82238405Sjkimdh_ameth.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
83238405Sjkimdh_ameth.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
84238405Sjkimdh_ameth.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
85238405Sjkimdh_ameth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
86238405Sjkimdh_ameth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
87238405Sjkimdh_ameth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
88238405Sjkimdh_ameth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
89238405Sjkimdh_ameth.o: ../../include/openssl/opensslconf.h
90238405Sjkimdh_ameth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
91238405Sjkimdh_ameth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
92238405Sjkimdh_ameth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
93238405Sjkimdh_ameth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
94238405Sjkimdh_ameth.o: ../../include/openssl/x509_vfy.h ../asn1/asn1_locl.h ../cryptlib.h
95238405Sjkimdh_ameth.o: dh_ameth.c
96142425Snectardh_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
97142425Snectardh_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
98142425Snectardh_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
99142425Snectardh_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
100142425Snectardh_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
101142425Snectardh_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
102142425Snectardh_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
103142425Snectardh_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
104142425Snectardh_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
105142425Snectardh_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_asn1.c
106142425Snectardh_check.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
107142425Snectardh_check.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
108142425Snectardh_check.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
109142425Snectardh_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
110142425Snectardh_check.o: ../../include/openssl/opensslconf.h
111142425Snectardh_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
112142425Snectardh_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
113142425Snectardh_check.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_check.c
114160814Ssimondh_depr.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
115160814Ssimondh_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
116160814Ssimondh_depr.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
117160814Ssimondh_depr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
118160814Ssimondh_depr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
119160814Ssimondh_depr.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
120160814Ssimondh_depr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
121160814Ssimondh_depr.o: ../cryptlib.h dh_depr.c
122160814Ssimondh_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
123160814Ssimondh_err.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
124160814Ssimondh_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
125160814Ssimondh_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
126160814Ssimondh_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
127160814Ssimondh_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
128160814Ssimondh_err.o: dh_err.c
129142425Snectardh_gen.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
130142425Snectardh_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
131142425Snectardh_gen.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
132142425Snectardh_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
133142425Snectardh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
134142425Snectardh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
135142425Snectardh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
136142425Snectardh_gen.o: ../cryptlib.h dh_gen.c
137142425Snectardh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
138142425Snectardh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
139142425Snectardh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
140142425Snectardh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
141142425Snectardh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
142142425Snectardh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
143142425Snectardh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
144142425Snectardh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_key.c
145194206Ssimondh_lib.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
146194206Ssimondh_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
147194206Ssimondh_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
148194206Ssimondh_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
149194206Ssimondh_lib.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
150142425Snectardh_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
151238405Sjkimdh_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
152238405Sjkimdh_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
153238405Sjkimdh_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
154238405Sjkimdh_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pkcs7.h
155238405Sjkimdh_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
156238405Sjkimdh_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
157238405Sjkimdh_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
158238405Sjkimdh_lib.o: ../cryptlib.h dh_lib.c
159238405Sjkimdh_pmeth.o: ../../e_os.h ../../include/openssl/asn1.h
160238405Sjkimdh_pmeth.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
161238405Sjkimdh_pmeth.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
162238405Sjkimdh_pmeth.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
163238405Sjkimdh_pmeth.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
164238405Sjkimdh_pmeth.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
165238405Sjkimdh_pmeth.o: ../../include/openssl/err.h ../../include/openssl/evp.h
166238405Sjkimdh_pmeth.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
167238405Sjkimdh_pmeth.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
168238405Sjkimdh_pmeth.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
169238405Sjkimdh_pmeth.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
170238405Sjkimdh_pmeth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
171238405Sjkimdh_pmeth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
172238405Sjkimdh_pmeth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h ../evp/evp_locl.h
173238405Sjkimdh_pmeth.o: dh_pmeth.c
174238405Sjkimdh_prn.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h
175238405Sjkimdh_prn.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
176238405Sjkimdh_prn.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
177238405Sjkimdh_prn.o: ../../include/openssl/err.h ../../include/openssl/evp.h
178238405Sjkimdh_prn.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
179238405Sjkimdh_prn.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
180238405Sjkimdh_prn.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
181238405Sjkimdh_prn.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
182238405Sjkimdh_prn.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_prn.c
183