5470df3476fa531de43a34dfa42eebcc6600468b
[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 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=
20 APPS=
21
22 LIB=$(TOP)/libcrypto.a
23 LIBSRC= pem_sign.c pem_seal.c pem_info.c pem_lib.c pem_all.c $(ERRC).c
24
25 LIBOBJ= pem_sign.o pem_seal.o pem_info.o pem_lib.o pem_all.o $(ERRC).o
26
27 SRC= $(LIBSRC)
28
29 EXHEADER= pem.h pem2.h
30 HEADER= $(EXHEADER)
31
32 ALL=    $(GENERAL) $(SRC) $(HEADER)
33
34 top:
35         (cd ../..; $(MAKE) DIRS=crypto SDIRS=$(DIR) sub_all)
36
37 all:    lib
38
39 lib:    $(LIBOBJ)
40         $(AR) $(LIB) $(LIBOBJ)
41         $(RANLIB) $(LIB)
42         @touch lib
43
44 files:
45         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
46
47 links: $(EXHEADER)
48         @$(TOP)/util/point.sh Makefile.ssl Makefile
49         @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER)
50         @$(TOP)/util/mklink.sh ../../test $(TEST)
51         @$(TOP)/util/mklink.sh ../../apps $(APPS)
52
53 install:
54         @for i in $(EXHEADER) ; \
55         do  \
56         (cp $$i $(INSTALLTOP)/include/openssl/$$i; \
57         chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \
58         done;
59
60 tags:
61         ctags $(SRC)
62
63 tests:
64
65 lint:
66         lint -DLINT $(INCLUDES) $(SRC)>fluff
67
68 depend:
69         $(MAKEDEPEND) $(INCLUDES) $(LIBSRC)
70
71 dclean:
72         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
73         mv -f Makefile.new $(MAKEFILE)
74
75 clean:
76         rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
77
78 # DO NOT DELETE THIS LINE -- make depend depends on it.
79
80 pem_all.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
81 pem_all.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
82 pem_all.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
83 pem_all.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
84 pem_all.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
85 pem_all.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
86 pem_all.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
87 pem_all.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
88 pem_all.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
89 pem_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
90 pem_all.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
91 pem_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
92 pem_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
93 pem_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
94 pem_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
95 pem_all.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
96 pem_all.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
97 pem_err.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
98 pem_err.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
99 pem_err.o: ../../include/openssl/cast.h ../../include/openssl/crypto.h
100 pem_err.o: ../../include/openssl/des.h ../../include/openssl/dh.h
101 pem_err.o: ../../include/openssl/dsa.h ../../include/openssl/err.h
102 pem_err.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
103 pem_err.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
104 pem_err.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
105 pem_err.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
106 pem_err.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
107 pem_err.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h
108 pem_err.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
109 pem_err.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
110 pem_err.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
111 pem_err.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
112 pem_err.o: ../../include/openssl/x509_vfy.h
113 pem_info.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
114 pem_info.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
115 pem_info.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
116 pem_info.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
117 pem_info.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
118 pem_info.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
119 pem_info.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
120 pem_info.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
121 pem_info.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
122 pem_info.o: ../../include/openssl/opensslconf.h
123 pem_info.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
124 pem_info.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
125 pem_info.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
126 pem_info.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
127 pem_info.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
128 pem_info.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
129 pem_info.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
130 pem_info.o: ../cryptlib.h
131 pem_lib.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
132 pem_lib.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
133 pem_lib.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
134 pem_lib.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
135 pem_lib.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
136 pem_lib.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
137 pem_lib.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
138 pem_lib.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
139 pem_lib.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
140 pem_lib.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
141 pem_lib.o: ../../include/openssl/pem.h ../../include/openssl/pem2.h
142 pem_lib.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
143 pem_lib.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
144 pem_lib.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
145 pem_lib.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
146 pem_lib.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
147 pem_lib.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
148 pem_lib.o: ../cryptlib.h
149 pem_seal.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
150 pem_seal.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
151 pem_seal.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
152 pem_seal.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
153 pem_seal.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
154 pem_seal.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
155 pem_seal.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
156 pem_seal.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
157 pem_seal.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
158 pem_seal.o: ../../include/openssl/opensslconf.h
159 pem_seal.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
160 pem_seal.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
161 pem_seal.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
162 pem_seal.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
163 pem_seal.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
164 pem_seal.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
165 pem_seal.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
166 pem_seal.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
167 pem_sign.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
168 pem_sign.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
169 pem_sign.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
170 pem_sign.o: ../../include/openssl/crypto.h ../../include/openssl/des.h
171 pem_sign.o: ../../include/openssl/dh.h ../../include/openssl/dsa.h
172 pem_sign.o: ../../include/openssl/e_os.h ../../include/openssl/err.h
173 pem_sign.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
174 pem_sign.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
175 pem_sign.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
176 pem_sign.o: ../../include/openssl/opensslconf.h
177 pem_sign.o: ../../include/openssl/opensslv.h ../../include/openssl/pem.h
178 pem_sign.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs7.h
179 pem_sign.o: ../../include/openssl/rand.h ../../include/openssl/rc2.h
180 pem_sign.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h
181 pem_sign.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
182 pem_sign.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
183 pem_sign.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
184 pem_sign.o: ../../include/openssl/x509_vfy.h ../cryptlib.h