6d80ce77be835a167561a09dae17cb195b4183c4
[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 dsa_err.c
26 LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o dsa_err.o
27
28 SRC= $(LIBSRC)
29
30 EXHEADER= dsa.h
31 HEADER= $(EXHEADER)
32
33 ALL=    $(GENERAL) $(SRC) $(HEADER)
34
35 top:
36         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
37
38 all:    lib
39
40 lib:    $(LIBOBJ)
41         $(AR) $(LIB) $(LIBOBJ)
42         $(RANLIB) $(LIB)
43         @touch lib
44
45 files:
46         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
47
48 links:
49         @$(TOP)/util/point.sh Makefile.ssl Makefile
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         @for i in $(EXHEADER) ; \
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) $(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 dsa_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
82 dsa_asn1.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
83 dsa_asn1.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
84 dsa_asn1.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
85 dsa_asn1.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
86 dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
87 dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/safestack.h
88 dsa_asn1.o: ../../include/openssl/stack.h ../cryptlib.h
89 dsa_err.o: ../../include/openssl/bn.h ../../include/openssl/dh.h
90 dsa_err.o: ../../include/openssl/dsa.h ../../include/openssl/err.h
91 dsa_err.o: ../../include/openssl/opensslconf.h
92 dsa_gen.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
93 dsa_gen.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
94 dsa_gen.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
95 dsa_gen.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
96 dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
97 dsa_gen.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
98 dsa_gen.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
99 dsa_gen.o: ../cryptlib.h
100 dsa_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
101 dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
102 dsa_key.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
103 dsa_key.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
104 dsa_key.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
105 dsa_key.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
106 dsa_key.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
107 dsa_key.o: ../cryptlib.h
108 dsa_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
109 dsa_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
110 dsa_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
111 dsa_lib.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
112 dsa_lib.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
113 dsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
114 dsa_lib.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
115 dsa_lib.o: ../cryptlib.h
116 dsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
117 dsa_sign.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
118 dsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
119 dsa_sign.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
120 dsa_sign.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
121 dsa_sign.o: ../../include/openssl/opensslconf.h
122 dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
123 dsa_sign.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
124 dsa_sign.o: ../cryptlib.h
125 dsa_vrf.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
126 dsa_vrf.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
127 dsa_vrf.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
128 dsa_vrf.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
129 dsa_vrf.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
130 dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
131 dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
132 dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h
133 dsa_vrf.o: ../cryptlib.h