e7351630e0e577e1e92ebc3db6957d8b767e0a96
[openssl.git] / crypto / dsa / Makefile.ssl
1 #
2 # SSLeay/crypto/dsa/Makefile
3 #
4
5 DIR=    dsa
6 TOP=    ../..
7 CC=     cc
8 INCLUDES= -I.. -I../../include
9 CFLAG=-g
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=/usr/local/ssl
13 MAKE=           make -f Makefile.ssl
14 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
15 MAKEFILE=       Makefile.ssl
16 AR=             ar r
17
18 CFLAGS= $(INCLUDES) $(CFLAG)
19
20 GENERAL=Makefile
21 TEST=dsatest.c
22 APPS=
23
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c \
26         dsa_err.c dsa_ossl.c
27 LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o \
28         dsa_err.o dsa_ossl.o
29
30 SRC= $(LIBSRC)
31
32 EXHEADER= dsa.h
33 HEADER= $(EXHEADER)
34
35 ALL=    $(GENERAL) $(SRC) $(HEADER)
36
37 top:
38         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
39
40 all:    lib
41
42 lib:    $(LIBOBJ)
43         $(AR) $(LIB) $(LIBOBJ)
44         @echo You may get an error following this line.  Please ignore.
45         - $(RANLIB) $(LIB)
46         @touch lib
47
48 files:
49         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
50
51 links:
52         @$(TOP)/util/point.sh Makefile.ssl Makefile
53         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
54         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
55         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
56
57 install:
58         @for i in $(EXHEADER) ; \
59         do  \
60         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
61         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
62         done;
63
64 tags:
65         ctags $(SRC)
66
67 tests:
68
69 lint:
70         lint -DLINT $(INCLUDES) $(SRC)>fluff
71
72 depend:
73         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
74
75 dclean:
76         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
77         mv -f Makefile.new $(MAKEFILE)
78
79 clean:
80         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
81
82 # DO NOT DELETE THIS LINE -- make depend depends on it.
83
84 dsa_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1t.h
85 dsa_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
86 dsa_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
87 dsa_asn1.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
88 dsa_asn1.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
89 dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
90 dsa_asn1.o: ../../include/openssl/opensslconf.h
91 dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
92 dsa_asn1.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
93 dsa_asn1.o: ../cryptlib.h
94 dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
95 dsa_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
96 dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/err.h
97 dsa_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
98 dsa_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
99 dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
100 dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
101 dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
102 dsa_gen.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
103 dsa_gen.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
104 dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
105 dsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
106 dsa_gen.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
107 dsa_gen.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
108 dsa_gen.o: ../../include/openssl/symhacks.h ../cryptlib.h
109 dsa_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
110 dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
111 dsa_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
112 dsa_key.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
113 dsa_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
114 dsa_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
115 dsa_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
116 dsa_key.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
117 dsa_key.o: ../../include/openssl/symhacks.h ../cryptlib.h
118 dsa_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
119 dsa_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
120 dsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
121 dsa_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
122 dsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
123 dsa_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
124 dsa_lib.o: ../../include/openssl/engine.h ../../include/openssl/err.h
125 dsa_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
126 dsa_lib.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
127 dsa_lib.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
128 dsa_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
129 dsa_lib.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
130 dsa_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
131 dsa_lib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
132 dsa_lib.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
133 dsa_lib.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
134 dsa_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
135 dsa_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
136 dsa_lib.o: ../../include/openssl/symhacks.h ../cryptlib.h
137 dsa_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
138 dsa_ossl.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
139 dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
140 dsa_ossl.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
141 dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
142 dsa_ossl.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
143 dsa_ossl.o: ../../include/openssl/engine.h ../../include/openssl/err.h
144 dsa_ossl.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
145 dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
146 dsa_ossl.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
147 dsa_ossl.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
148 dsa_ossl.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
149 dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
150 dsa_ossl.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
151 dsa_ossl.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
152 dsa_ossl.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
153 dsa_ossl.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
154 dsa_ossl.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
155 dsa_ossl.o: ../../include/openssl/symhacks.h ../cryptlib.h
156 dsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
157 dsa_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
158 dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
159 dsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
160 dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
161 dsa_sign.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
162 dsa_sign.o: ../../include/openssl/engine.h ../../include/openssl/err.h
163 dsa_sign.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
164 dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
165 dsa_sign.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
166 dsa_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
167 dsa_sign.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
168 dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
169 dsa_sign.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
170 dsa_sign.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
171 dsa_sign.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
172 dsa_sign.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
173 dsa_sign.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
174 dsa_sign.o: ../../include/openssl/symhacks.h ../cryptlib.h
175 dsa_vrf.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
176 dsa_vrf.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
177 dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
178 dsa_vrf.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
179 dsa_vrf.o: ../../include/openssl/des.h ../../include/openssl/dh.h
180 dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
181 dsa_vrf.o: ../../include/openssl/e_os2.h ../../include/openssl/engine.h
182 dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/evp.h
183 dsa_vrf.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
184 dsa_vrf.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
185 dsa_vrf.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
186 dsa_vrf.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
187 dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
188 dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
189 dsa_vrf.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
190 dsa_vrf.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
191 dsa_vrf.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
192 dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
193 dsa_vrf.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
194 dsa_vrf.o: ../cryptlib.h