Use util/mklink.pl instead of util/mklink.sh.
[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 INSTALLTOP=/usr/local/ssl
11 MAKE=           make -f Makefile.ssl
12 MAKEDEPEND=     $(TOP)/util/domd $(TOP)
13 MAKEFILE=       Makefile.ssl
14 AR=             ar r
15
16 CFLAGS= $(INCLUDES) $(CFLAG)
17
18 GENERAL=Makefile
19 TEST=dsatest.c
20 APPS=
21
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC= dsa_gen.c dsa_key.c dsa_lib.c dsa_asn1.c dsa_vrf.c dsa_sign.c dsa_err.c
24 LIBOBJ= dsa_gen.o dsa_key.o dsa_lib.o dsa_asn1.o dsa_vrf.o dsa_sign.o dsa_err.o
25
26 SRC= $(LIBSRC)
27
28 EXHEADER= dsa.h
29 HEADER= $(EXHEADER)
30
31 ALL=    $(GENERAL) $(SRC) $(HEADER)
32
33 top:
34         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
35
36 all:    lib
37
38 lib:    $(LIBOBJ)
39         $(AR) $(LIB) $(LIBOBJ)
40         $(RANLIB) $(LIB)
41         @touch lib
42
43 files:
44         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
45
46 links:
47         @$(TOP)/util/point.sh Makefile.ssl Makefile
48         @$(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER)
49         @$(TOP)/util/mklink.pl ../../test $(TEST)
50         @$(TOP)/util/mklink.pl ../../apps $(APPS)
51
52 install:
53         @for i in $(EXHEADER) ; \
54         do  \
55         (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
56         chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
57         done;
58
59 tags:
60         ctags $(SRC)
61
62 tests:
63
64 lint:
65         lint -DLINT $(INCLUDES) $(SRC)>fluff
66
67 depend:
68         $(MAKEDEPEND) $(INCLUDES) $(DEPFLAG) $(PROGS) $(LIBSRC)
69
70 dclean:
71         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
72         mv -f Makefile.new $(MAKEFILE)
73
74 clean:
75         rm -f *.o */*.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
76
77 # DO NOT DELETE THIS LINE -- make depend depends on it.
78
79 dsa_asn1.o: ../../include/openssl/asn1.h ../../include/openssl/asn1_mac.h
80 dsa_asn1.o: ../../include/openssl/bio.h ../../include/openssl/blowfish.h
81 dsa_asn1.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
82 dsa_asn1.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
83 dsa_asn1.o: ../../include/openssl/des.h ../../include/openssl/dh.h
84 dsa_asn1.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
85 dsa_asn1.o: ../../include/openssl/err.h ../../include/openssl/evp.h
86 dsa_asn1.o: ../../include/openssl/idea.h ../../include/openssl/md2.h
87 dsa_asn1.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
88 dsa_asn1.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
89 dsa_asn1.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
90 dsa_asn1.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
91 dsa_asn1.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
92 dsa_asn1.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
93 dsa_asn1.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
94 dsa_asn1.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
95 dsa_asn1.o: ../cryptlib.h
96 dsa_err.o: ../../include/openssl/bn.h ../../include/openssl/dsa.h
97 dsa_err.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.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/dsa.h ../../include/openssl/e_os.h
101 dsa_gen.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
102 dsa_gen.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
103 dsa_gen.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
104 dsa_gen.o: ../cryptlib.h
105 dsa_key.o: ../../include/openssl/bio.h ../../include/openssl/bn.h
106 dsa_key.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
107 dsa_key.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
108 dsa_key.o: ../../include/openssl/err.h ../../include/openssl/opensslconf.h
109 dsa_key.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
110 dsa_key.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
111 dsa_key.o: ../cryptlib.h
112 dsa_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
113 dsa_lib.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
114 dsa_lib.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
115 dsa_lib.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
116 dsa_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
117 dsa_lib.o: ../../include/openssl/stack.h ../cryptlib.h
118 dsa_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
119 dsa_sign.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
120 dsa_sign.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
121 dsa_sign.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
122 dsa_sign.o: ../../include/openssl/opensslconf.h
123 dsa_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h
124 dsa_sign.o: ../../include/openssl/stack.h ../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/blowfish.h
127 dsa_vrf.o: ../../include/openssl/bn.h ../../include/openssl/buffer.h
128 dsa_vrf.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
129 dsa_vrf.o: ../../include/openssl/des.h ../../include/openssl/dh.h
130 dsa_vrf.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
131 dsa_vrf.o: ../../include/openssl/err.h ../../include/openssl/evp.h
132 dsa_vrf.o: ../../include/openssl/idea.h ../../include/openssl/md2.h
133 dsa_vrf.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
134 dsa_vrf.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
135 dsa_vrf.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
136 dsa_vrf.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
137 dsa_vrf.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
138 dsa_vrf.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
139 dsa_vrf.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
140 dsa_vrf.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
141 dsa_vrf.o: ../../include/openssl/x509_vfy.h ../cryptlib.h