19465558f8b0845497385106ab60f6be7c84378f
[openssl.git] / crypto / pem / Makefile.ssl
1 #
2 # SSLeay/crypto/pem/Makefile
3 #
4
5 DIR=    pem
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=
22 APPS=
23
24 LIB=$(TOP)/libcrypto.a
25 LIBSRC= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_all.c pem_err.c
26
27 LIBOBJ= pem_sign.o pem_seal.o pem_info.o pem_lib.o pem_all.o pem_err.o
28
29 SRC= $(LIBSRC)
30
31 EXHEADER= pem.h pem2.h
32 HEADER= $(EXHEADER)
33
34 ALL=    $(GENERAL) $(SRC) $(HEADER)
35
36 top:
37         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
38
39 all:    lib
40
41 lib:    $(LIBOBJ)
42         $(AR) $(LIB) $(LIBOBJ)
43         @echo You may get an error following this line.  Please ignore.
44         - $(RANLIB) $(LIB)
45         @touch lib
46
47 files:
48         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
49
50 links: $(EXHEADER)
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) $(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 *.obj lib tags core .pure .nfs* *.old *.bak fluff
80
81 # DO NOT DELETE THIS LINE -- make depend depends on it.
82
83 pem_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
84 pem_all.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
85 pem_all.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
86 pem_all.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
87 pem_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
88 pem_all.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
89 pem_all.o: ../../include/openssl/err.h ../../include/openssl/evp.h
90 pem_all.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
91 pem_all.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
92 pem_all.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
93 pem_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
94 pem_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
95 pem_all.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
96 pem_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
97 pem_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
98 pem_all.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
99 pem_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
100 pem_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
101 pem_all.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
102 pem_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
103 pem_all.o: ../cryptlib.h
104 pem_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
105 pem_err.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
106 pem_err.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
107 pem_err.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
108 pem_err.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
109 pem_err.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
110 pem_err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
111 pem_err.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
112 pem_err.o: ../../include/openssl/md4.h ../../include/openssl/md5.h
113 pem_err.o: ../../include/openssl/mdc2.h ../../include/openssl/obj_mac.h
114 pem_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
115 pem_err.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
116 pem_err.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
117 pem_err.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
118 pem_err.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
119 pem_err.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
120 pem_err.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
121 pem_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
122 pem_err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
123 pem_err.o: ../../include/openssl/x509_vfy.h
124 pem_info.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
125 pem_info.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
126 pem_info.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
127 pem_info.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
128 pem_info.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
129 pem_info.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
130 pem_info.o: ../../include/openssl/err.h ../../include/openssl/evp.h
131 pem_info.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
132 pem_info.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
133 pem_info.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
134 pem_info.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
135 pem_info.o: ../../include/openssl/opensslconf.h
136 pem_info.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
137 pem_info.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
138 pem_info.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
139 pem_info.o: ../../include/openssl/rc5.h ../../include/openssl/rd_fst.h
140 pem_info.o: ../../include/openssl/rijndael.h ../../include/openssl/ripemd.h
141 pem_info.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
142 pem_info.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
143 pem_info.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
144 pem_info.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
145 pem_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
146 pem_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
147 pem_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
148 pem_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
149 pem_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
150 pem_lib.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
151 pem_lib.o: ../../include/openssl/err.h ../../include/openssl/evp.h
152 pem_lib.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
153 pem_lib.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
154 pem_lib.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
155 pem_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
156 pem_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
157 pem_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
158 pem_lib.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
159 pem_lib.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
160 pem_lib.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
161 pem_lib.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
162 pem_lib.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
163 pem_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
164 pem_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
165 pem_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
166 pem_lib.o: ../cryptlib.h
167 pem_seal.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
168 pem_seal.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
169 pem_seal.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
170 pem_seal.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
171 pem_seal.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
172 pem_seal.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
173 pem_seal.o: ../../include/openssl/err.h ../../include/openssl/evp.h
174 pem_seal.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
175 pem_seal.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
176 pem_seal.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
177 pem_seal.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
178 pem_seal.o: ../../include/openssl/opensslconf.h
179 pem_seal.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
180 pem_seal.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
181 pem_seal.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
182 pem_seal.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
183 pem_seal.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
184 pem_seal.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
185 pem_seal.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
186 pem_seal.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
187 pem_seal.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
188 pem_seal.o: ../cryptlib.h
189 pem_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
190 pem_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
191 pem_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
192 pem_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
193 pem_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
194 pem_sign.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
195 pem_sign.o: ../../include/openssl/err.h ../../include/openssl/evp.h
196 pem_sign.o: ../../include/openssl/idea.h ../../include/openssl/lhash.h
197 pem_sign.o: ../../include/openssl/md2.h ../../include/openssl/md4.h
198 pem_sign.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
199 pem_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
200 pem_sign.o: ../../include/openssl/opensslconf.h
201 pem_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
202 pem_sign.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
203 pem_sign.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
204 pem_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
205 pem_sign.o: ../../include/openssl/rd_fst.h ../../include/openssl/rijndael.h
206 pem_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
207 pem_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
208 pem_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
209 pem_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
210 pem_sign.o: ../cryptlib.h