Blow away Makefile.ssl.
[openssl.git] / crypto / dh / Makefile
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 MAKE=           make
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST= dhtest.c
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= dh_asn1.c dh_gen.c dh_key.c dh_lib.c dh_check.c dh_err.c dh_depr.c
27 LIBOBJ= dh_asn1.o dh_gen.o dh_key.o dh_lib.o dh_check.o dh_err.o dh_depr.o
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)
43         $(RANLIB) $(LIB) || echo Never mind.
44         @touch lib
45
46 files:
47         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
48
49 links:
50         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
51         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
52         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
53
54 install:
55         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
56         do  \
57         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
58         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
59         done;
60
61 tags:
62         ctags $(SRC)
63
64 tests:
65
66 lint:
67         lint -DLINT $(INCLUDES) $(SRC)>fluff
68
69 depend:
70         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(LIBSRC)
71
72 dclean:
73         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
74         mv -f Makefile.new $(MAKEFILE)
75
76 clean:
77         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
78
79 # DO NOT DELETE THIS LINE -- make depend depends on it.
80
81 dh_asn1.o: ../../e_os.h ../../include/openssl/asn1.h
82 dh_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
83 dh_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
84 dh_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
85 dh_asn1.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
86 dh_asn1.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
87 dh_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
88 dh_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
89 dh_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
90 dh_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_asn1.c
91 dh_check.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
92 dh_check.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
93 dh_check.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
94 dh_check.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
95 dh_check.o: ../../include/openssl/opensslconf.h
96 dh_check.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
97 dh_check.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
98 dh_check.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_check.c
99 dh_depr.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
100 dh_depr.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
101 dh_depr.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
102 dh_depr.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
103 dh_depr.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
104 dh_depr.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
105 dh_depr.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
106 dh_depr.o: ../cryptlib.h dh_depr.c
107 dh_err.o: ../../include/openssl/bio.h ../../include/openssl/crypto.h
108 dh_err.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
109 dh_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
110 dh_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
111 dh_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
112 dh_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
113 dh_err.o: dh_err.c
114 dh_gen.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
115 dh_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
116 dh_gen.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
117 dh_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
118 dh_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
119 dh_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
120 dh_gen.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
121 dh_gen.o: ../cryptlib.h dh_gen.c
122 dh_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
123 dh_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
124 dh_key.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
125 dh_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
126 dh_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
127 dh_key.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
128 dh_key.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
129 dh_key.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_key.c
130 dh_lib.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
131 dh_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
132 dh_lib.o: ../../include/openssl/dh.h ../../include/openssl/e_os2.h
133 dh_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
134 dh_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
135 dh_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
136 dh_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
137 dh_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h dh_lib.c