Blow away Makefile.ssl.
[openssl.git] / crypto / pem / Makefile
1 #
2 # SSLeay/crypto/pem/Makefile
3 #
4
5 DIR=    pem
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
14 MAKEDEPPROG=    makedepend
15 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
16 MAKEFILE=       Makefile
17 AR=             ar r
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile
22 TEST=
23 APPS=
24
25 LIB=$(TOP)/libcrypto.a
26 LIBSRC= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_all.c pem_err.c \
27         pem_x509.c pem_xaux.c pem_oth.c pem_pk8.c pem_pkey.c
28
29 LIBOBJ= pem_sign.o pem_seal.o pem_info.o pem_lib.o pem_all.o pem_err.o \
30         pem_x509.o pem_xaux.o pem_oth.o pem_pk8.o pem_pkey.o
31
32 SRC= $(LIBSRC)
33
34 EXHEADER= pem.h pem2.h
35 HEADER= $(EXHEADER)
36
37 ALL=    $(GENERAL) $(SRC) $(HEADER)
38
39 top:
40         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
41
42 all:    lib
43
44 lib:    $(LIBOBJ)
45         $(AR) $(LIB) $(LIBOBJ)
46         $(RANLIB) $(LIB) || echo Never mind.
47         @touch lib
48
49 files:
50         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
51
52 links: $(EXHEADER)
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         @headerlist="$(EXHEADER)"; for i in $$headerlist ; \
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) -- $(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 *.obj lib tags core .pure .nfs* *.old *.bak fluff
81
82 # DO NOT DELETE THIS LINE -- make depend depends on it.
83
84 pem_all.o: ../../e_os.h ../../include/openssl/asn1.h
85 pem_all.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
86 pem_all.o: ../../include/openssl/crypto.h ../../include/openssl/dh.h
87 pem_all.o: ../../include/openssl/dsa.h ../../include/openssl/e_os2.h
88 pem_all.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
89 pem_all.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
90 pem_all.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
91 pem_all.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
92 pem_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
93 pem_all.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
94 pem_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
95 pem_all.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
96 pem_all.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
97 pem_all.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
98 pem_all.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_all.c
99 pem_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
100 pem_err.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
101 pem_err.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
102 pem_err.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
103 pem_err.o: ../../include/openssl/err.h ../../include/openssl/evp.h
104 pem_err.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
105 pem_err.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
106 pem_err.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
107 pem_err.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
108 pem_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
109 pem_err.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
110 pem_err.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
111 pem_err.o: ../../include/openssl/x509_vfy.h pem_err.c
112 pem_info.o: ../../e_os.h ../../include/openssl/asn1.h
113 pem_info.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
114 pem_info.o: ../../include/openssl/crypto.h ../../include/openssl/dsa.h
115 pem_info.o: ../../include/openssl/e_os2.h ../../include/openssl/ec.h
116 pem_info.o: ../../include/openssl/ecdh.h ../../include/openssl/ecdsa.h
117 pem_info.o: ../../include/openssl/err.h ../../include/openssl/evp.h
118 pem_info.o: ../../include/openssl/lhash.h ../../include/openssl/obj_mac.h
119 pem_info.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
120 pem_info.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
121 pem_info.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
122 pem_info.o: ../../include/openssl/pkcs7.h ../../include/openssl/rsa.h
123 pem_info.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
124 pem_info.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
125 pem_info.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
126 pem_info.o: ../cryptlib.h pem_info.c
127 pem_lib.o: ../../e_os.h ../../include/openssl/asn1.h
128 pem_lib.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
129 pem_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
130 pem_lib.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h
131 pem_lib.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
132 pem_lib.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
133 pem_lib.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
134 pem_lib.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
135 pem_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
136 pem_lib.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
137 pem_lib.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h
138 pem_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
139 pem_lib.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
140 pem_lib.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
141 pem_lib.o: ../../include/openssl/ui.h ../../include/openssl/ui_compat.h
142 pem_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
143 pem_lib.o: ../cryptlib.h pem_lib.c
144 pem_oth.o: ../../e_os.h ../../include/openssl/asn1.h
145 pem_oth.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
146 pem_oth.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
147 pem_oth.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
148 pem_oth.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
149 pem_oth.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
150 pem_oth.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
151 pem_oth.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
152 pem_oth.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
153 pem_oth.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
154 pem_oth.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
155 pem_oth.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
156 pem_oth.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
157 pem_oth.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_oth.c
158 pem_pk8.o: ../../e_os.h ../../include/openssl/asn1.h
159 pem_pk8.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
160 pem_pk8.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
161 pem_pk8.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
162 pem_pk8.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
163 pem_pk8.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
164 pem_pk8.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
165 pem_pk8.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
166 pem_pk8.o: ../../include/openssl/ossl_typ.h ../../include/openssl/pem.h
167 pem_pk8.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h
168 pem_pk8.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
169 pem_pk8.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
170 pem_pk8.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
171 pem_pk8.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
172 pem_pk8.o: ../cryptlib.h pem_pk8.c
173 pem_pkey.o: ../../e_os.h ../../include/openssl/asn1.h
174 pem_pkey.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
175 pem_pkey.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
176 pem_pkey.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
177 pem_pkey.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
178 pem_pkey.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
179 pem_pkey.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
180 pem_pkey.o: ../../include/openssl/opensslconf.h
181 pem_pkey.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
182 pem_pkey.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
183 pem_pkey.o: ../../include/openssl/pkcs12.h ../../include/openssl/pkcs7.h
184 pem_pkey.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
185 pem_pkey.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
186 pem_pkey.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
187 pem_pkey.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_pkey.c
188 pem_seal.o: ../../e_os.h ../../include/openssl/asn1.h
189 pem_seal.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
190 pem_seal.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
191 pem_seal.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
192 pem_seal.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
193 pem_seal.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
194 pem_seal.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
195 pem_seal.o: ../../include/openssl/opensslconf.h
196 pem_seal.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
197 pem_seal.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
198 pem_seal.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
199 pem_seal.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
200 pem_seal.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
201 pem_seal.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
202 pem_seal.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_seal.c
203 pem_sign.o: ../../e_os.h ../../include/openssl/asn1.h
204 pem_sign.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
205 pem_sign.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
206 pem_sign.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
207 pem_sign.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
208 pem_sign.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
209 pem_sign.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
210 pem_sign.o: ../../include/openssl/opensslconf.h
211 pem_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
212 pem_sign.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
213 pem_sign.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
214 pem_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
215 pem_sign.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
216 pem_sign.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
217 pem_sign.o: ../cryptlib.h pem_sign.c
218 pem_x509.o: ../../e_os.h ../../include/openssl/asn1.h
219 pem_x509.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
220 pem_x509.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
221 pem_x509.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
222 pem_x509.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
223 pem_x509.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
224 pem_x509.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
225 pem_x509.o: ../../include/openssl/opensslconf.h
226 pem_x509.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
227 pem_x509.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
228 pem_x509.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
229 pem_x509.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
230 pem_x509.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
231 pem_x509.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_x509.c
232 pem_xaux.o: ../../e_os.h ../../include/openssl/asn1.h
233 pem_xaux.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
234 pem_xaux.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h
235 pem_xaux.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h
236 pem_xaux.o: ../../include/openssl/ecdsa.h ../../include/openssl/err.h
237 pem_xaux.o: ../../include/openssl/evp.h ../../include/openssl/lhash.h
238 pem_xaux.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h
239 pem_xaux.o: ../../include/openssl/opensslconf.h
240 pem_xaux.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
241 pem_xaux.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
242 pem_xaux.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h
243 pem_xaux.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
244 pem_xaux.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h
245 pem_xaux.o: ../../include/openssl/x509_vfy.h ../cryptlib.h pem_xaux.c