8d436cc2d47516840526f633e4a76b8b0d7129b8
[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         $(RANLIB) $(LIB)
45         @touch lib
46
47 files:
48         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49
50 links:
51         @$(TOP)/util/point.sh Makefile.ssl Makefile
52         @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
53         @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST)
54         @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS)
55
56 install:
57         @for i in $(EXHEADER) ; \
58         do  \
59         (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \
60         chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \
61         done;
62
63 tags:
64         ctags $(SRC)
65
66 tests:
67
68 lint:
69         lint -DLINT $(INCLUDES) $(SRC)>fluff
70
71 depend:
72         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
73
74 dclean:
75         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
76         mv -f Makefile.new $(MAKEFILE)
77
78 clean:
79         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
82
83 dsa_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
84 dsa_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
85 dsa_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
86 dsa_asn1.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
87 dsa_asn1.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
88 dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
89 dsa_asn1.o: ../../include/openssl/opensslconf.h
90 dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
91 dsa_asn1.o: ../../include/openssl/stack.h ../cryptlib.h
92 dsa_err.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
93 dsa_err.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
94 dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/err.h
95 dsa_err.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
96 dsa_err.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
97 dsa_err.o: ../../include/openssl/stack.h
98 dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
99 dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
100 dsa_gen.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
101 dsa_gen.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
102 dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
103 dsa_gen.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
104 dsa_gen.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
105 dsa_gen.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
106 dsa_gen.o: ../cryptlib.h
107 dsa_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
108 dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
109 dsa_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
110 dsa_key.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
111 dsa_key.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
112 dsa_key.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
113 dsa_key.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
114 dsa_key.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
115 dsa_key.o: ../cryptlib.h
116 dsa_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
117 dsa_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
118 dsa_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
119 dsa_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
120 dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
121 dsa_lib.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
122 dsa_lib.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
123 dsa_lib.o: ../../include/openssl/stack.h ../cryptlib.h
124 dsa_ossl.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
125 dsa_ossl.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
126 dsa_ossl.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
127 dsa_ossl.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
128 dsa_ossl.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
129 dsa_ossl.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
130 dsa_ossl.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
131 dsa_ossl.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
132 dsa_ossl.o: ../cryptlib.h
133 dsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
134 dsa_sign.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
135 dsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
136 dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
137 dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
138 dsa_sign.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
139 dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
140 dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
141 dsa_sign.o: ../cryptlib.h
142 dsa_vrf.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
143 dsa_vrf.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
144 dsa_vrf.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
145 dsa_vrf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
146 dsa_vrf.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
147 dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/lhash.h
148 dsa_vrf.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
149 dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
150 dsa_vrf.o: ../../include/openssl/stack.h ../cryptlib.h