792722b3d7271a997628b5fe94dc34e13868864e
[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$(TOP) -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 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile.ssl
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST=dsatest.c
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c \
27         dsa_err.c dsa_ossl.c
28 LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o \
29         dsa_err.o dsa_ossl.o
30
31 SRC= $(LIBSRC)
32
33 EXHEADER= dsa.h
34 HEADER= $(EXHEADER)
35
36 ALL=    $(GENERAL) $(SRC) $(HEADER)
37
38 top:
39         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
40
41 all:    lib
42
43 lib:    $(LIBOBJ)
44         $(AR) $(LIB) $(LIBOBJ)
45         $(RANLIB) $(LIB) || echo Never mind.
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) $(CFLAG) $(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: ../../e_os.h ../../include/openssl/asn1.h
85 dsa_asn1.o: ../../include/openssl/asn1t.h ../../include/openssl/bio.h
86 dsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
87 dsa_asn1.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
88 dsa_asn1.o: ../../include/openssl/dsa.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/ossl_typ.h
92 dsa_asn1.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
93 dsa_asn1.o: ../../include/openssl/symhacks.h ../cryptlib.h dsa_asn1.c
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/e_os2.h
97 dsa_err.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
98 dsa_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
99 dsa_err.o: ../../include/openssl/ossl_typ.h ../../include/openssl/safestack.h
100 dsa_err.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
101 dsa_err.o: dsa_err.c
102 dsa_gen.o: ../../e_os.h ../../include/openssl/aes.h
103 dsa_gen.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
104 dsa_gen.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
105 dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
106 dsa_gen.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
107 dsa_gen.o: ../../include/openssl/des_old.h ../../include/openssl/dh.h
108 dsa_gen.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
109 dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/evp.h
110 dsa_gen.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
111 dsa_gen.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
112 dsa_gen.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
113 dsa_gen.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
114 dsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
115 dsa_gen.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
116 dsa_gen.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
117 dsa_gen.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
118 dsa_gen.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
119 dsa_gen.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
120 dsa_gen.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
121 dsa_gen.o: ../../include/openssl/ui_compat.h ../cryptlib.h dsa_gen.c
122 dsa_key.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
123 dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
124 dsa_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
125 dsa_key.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
126 dsa_key.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
127 dsa_key.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
128 dsa_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
129 dsa_key.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
130 dsa_key.o: ../cryptlib.h dsa_key.c
131 dsa_lib.o: ../../e_os.h ../../include/openssl/asn1.h
132 dsa_lib.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
133 dsa_lib.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
134 dsa_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
135 dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
136 dsa_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
137 dsa_lib.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
138 dsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
139 dsa_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/rand.h
140 dsa_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
141 dsa_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
142 dsa_lib.o: ../../include/openssl/ui.h ../cryptlib.h dsa_lib.c
143 dsa_ossl.o: ../../e_os.h ../../include/openssl/asn1.h
144 dsa_ossl.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
145 dsa_ossl.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
146 dsa_ossl.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
147 dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
148 dsa_ossl.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
149 dsa_ossl.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
150 dsa_ossl.o: ../../include/openssl/opensslconf.h
151 dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
152 dsa_ossl.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
153 dsa_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
154 dsa_ossl.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
155 dsa_ossl.o: ../cryptlib.h dsa_ossl.c
156 dsa_sign.o: ../../e_os.h ../../include/openssl/asn1.h
157 dsa_sign.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
158 dsa_sign.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
159 dsa_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
160 dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
161 dsa_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h
162 dsa_sign.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
163 dsa_sign.o: ../../include/openssl/opensslconf.h
164 dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
165 dsa_sign.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
166 dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
167 dsa_sign.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
168 dsa_sign.o: ../cryptlib.h dsa_sign.c
169 dsa_vrf.o: ../../e_os.h ../../include/openssl/asn1.h
170 dsa_vrf.o: ../../include/openssl/asn1_mac.h ../../include/openssl/bio.h
171 dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
172 dsa_vrf.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
173 dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
174 dsa_vrf.o: ../../include/openssl/ec.h ../../include/openssl/ecdsa.h
175 dsa_vrf.o: ../../include/openssl/engine.h ../../include/openssl/err.h
176 dsa_vrf.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
177 dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
178 dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rsa.h
179 dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
180 dsa_vrf.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h
181 dsa_vrf.o: ../cryptlib.h dsa_vrf.c