]>
Commit | Line | Data |
---|---|---|
d56128f0 RE |
1 | ## |
2 | ## Makefile for OpenSSL | |
3 | ## | |
4 | ||
0973910f UM |
5 | VERSION= |
6 | MAJOR= | |
7 | MINOR= | |
d56128f0 | 8 | PLATFORM=dist |
e5f3045f BM |
9 | # INSTALL_PREFIX is for package builders so that they can configure |
10 | # for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/. | |
11 | # Normally it is left empty. | |
12 | INSTALL_PREFIX= | |
462ba4f6 UM |
13 | INSTALLTOP=/usr/local/ssl |
14 | ||
15 | # Do not edit this manually. Use Configure --openssldir=DIR do change this! | |
16 | OPENSSLDIR=/usr/local/ssl | |
d56128f0 | 17 | |
d02b48c6 RE |
18 | # RSAref - Define if we are to link with RSAref. |
19 | # NO_IDEA - Define to build without the IDEA algorithm | |
20 | # NO_RC4 - Define to build without the RC4 algorithm | |
21 | # NO_RC2 - Define to build without the RC2 algorithm | |
22 | # THREADS - Define when building with threads, you will probably also need any | |
58964a49 | 23 | # system defines as well, i.e. _REENTERANT for Solaris 2.[34] |
d02b48c6 RE |
24 | # TERMIO - Define the termio terminal subsystem, needed if sgtty is missing. |
25 | # TERMIOS - Define the termios terminal subsystem, Silicon Graphics. | |
26 | # LONGCRYPT - Define to use HPUX 10.x's long password modification to crypt(3). | |
27 | # DEVRANDOM - Give this the value of the 'random device' if your OS supports | |
58964a49 RE |
28 | # one. 32 bytes will be read from this when the random |
29 | # number generator is initalised. | |
d02b48c6 | 30 | # SSL_ALLOW_ADH - define if you want the server to be able to use the |
58964a49 | 31 | # SSLv3 anon-DH ciphers. |
baf748ba | 32 | # SSL_FORBID_ENULL - define if you want the server to be not able to use the |
58964a49 | 33 | # NULL encryption ciphers. |
d02b48c6 RE |
34 | # |
35 | # LOCK_DEBUG - turns on lots of lock debug output :-) | |
36 | # REF_CHECK - turn on some xyz_free() assertions. | |
58964a49 | 37 | # REF_PRINT - prints some stuff on structure free. |
d02b48c6 RE |
38 | # CRYPTO_MDEBUG - turns on my 'memory leak' detecting stuff |
39 | # MFUNC - Make all Malloc/Free/Realloc calls call | |
58964a49 RE |
40 | # CRYPTO_malloc/CRYPTO_free/CRYPTO_realloc which can be setup to |
41 | # call application defined callbacks via CRYPTO_set_mem_functions() | |
42 | # MD5_ASM needs to be defined to use the x86 assembler for MD5 | |
43 | # SHA1_ASM needs to be defined to use the x86 assembler for SHA1 | |
44 | # RMD160_ASM needs to be defined to use the x86 assembler for RIPEMD160 | |
dfeab068 RE |
45 | # Do not define B_ENDIAN or L_ENDIAN if 'unsigned long' == 8. It must |
46 | # equal 4. | |
47 | # PKCS1_CHECK - pkcs1 tests. | |
d02b48c6 | 48 | |
8d7ed6ff | 49 | CC= gcc |
dfeab068 | 50 | #CFLAG= -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall -Wuninitialized -DSHA1_ASM -DMD5_ASM -DRMD160_ASM |
8d7ed6ff | 51 | CFLAG= -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM |
f5d7a031 | 52 | DEPFLAG= |
d02b48c6 | 53 | PEX_LIBS= -L. -L.. -L../.. -L../../.. |
651d0aff | 54 | EX_LIBS= |
d02b48c6 | 55 | AR=ar r |
99aab161 UM |
56 | RANLIB= ranlib |
57 | PERL= perl | |
d02b48c6 | 58 | |
dfeab068 RE |
59 | # Set BN_ASM to bn_asm.o if you want to use the C version |
60 | BN_ASM= bn_asm.o | |
61 | #BN_ASM= bn_asm.o | |
62 | #BN_ASM= asm/bn86-elf.o # elf, linux-elf | |
63 | #BN_ASM= asm/bn86-sol.o # solaris | |
64 | #BN_ASM= asm/bn86-out.o # a.out, FreeBSD | |
65 | #BN_ASM= asm/bn86bsdi.o # bsdi | |
66 | #BN_ASM= asm/alpha.o # DEC Alpha | |
67 | #BN_ASM= asm/pa-risc2.o # HP-UX PA-RISC | |
68 | #BN_ASM= asm/r3000.o # SGI MIPS cpu | |
69 | #BN_ASM= asm/sparc.o # Sun solaris/SunOS | |
70 | #BN_ASM= asm/bn-win32.o # Windows 95/NT | |
71 | #BN_ASM= asm/x86w16.o # 16 bit code for Windows 3.1/DOS | |
72 | #BN_ASM= asm/x86w32.o # 32 bit code for Windows 3.1 | |
d02b48c6 | 73 | |
2613c1fa UM |
74 | # For x86 assembler: Set PROCESSOR to 386 if you want to support |
75 | # the 80386. | |
76 | PROCESSOR= | |
77 | ||
d02b48c6 RE |
78 | # Set DES_ENC to des_enc.o if you want to use the C version |
79 | #There are 4 x86 assember options. | |
8d7ed6ff | 80 | DES_ENC= asm/dx86-out.o asm/yx86-out.o |
58964a49 RE |
81 | #DES_ENC= des_enc.o fcrypt_b.o # C |
82 | #DES_ENC= asm/dx86-elf.o asm/yx86-elf.o # elf | |
83 | #DES_ENC= asm/dx86-sol.o asm/yx86-sol.o # solaris | |
84 | #DES_ENC= asm/dx86-out.o asm/yx86-out.o # a.out, FreeBSD | |
85 | #DES_ENC= asm/dx86bsdi.o asm/yx86bsdi.o # bsdi | |
d02b48c6 RE |
86 | |
87 | # Set BF_ENC to bf_enc.o if you want to use the C version | |
88 | #There are 4 x86 assember options. | |
8d7ed6ff | 89 | BF_ENC= asm/bx86-out.o |
58964a49 | 90 | #BF_ENC= bf_enc.o |
d02b48c6 | 91 | #BF_ENC= asm/bx86-elf.o # elf |
58964a49 RE |
92 | #BF_ENC= asm/bx86-sol.o # solaris |
93 | #BF_ENC= asm/bx86-out.o # a.out, FreeBSD | |
94 | #BF_ENC= asm/bx86bsdi.o # bsdi | |
d02b48c6 | 95 | |
58964a49 RE |
96 | # Set CAST_ENC to c_enc.o if you want to use the C version |
97 | #There are 4 x86 assember options. | |
8d7ed6ff | 98 | CAST_ENC= asm/cx86-out.o |
58964a49 RE |
99 | #CAST_ENC= c_enc.o |
100 | #CAST_ENC= asm/cx86-elf.o # elf | |
101 | #CAST_ENC= asm/cx86-sol.o # solaris | |
102 | #CAST_ENC= asm/cx86-out.o # a.out, FreeBSD | |
103 | #CAST_ENC= asm/cx86bsdi.o # bsdi | |
104 | ||
105 | # Set RC4_ENC to rc4_enc.o if you want to use the C version | |
106 | #There are 4 x86 assember options. | |
8d7ed6ff | 107 | RC4_ENC= asm/rx86-out.o |
58964a49 RE |
108 | #RC4_ENC= rc4_enc.o |
109 | #RC4_ENC= asm/rx86-elf.o # elf | |
110 | #RC4_ENC= asm/rx86-sol.o # solaris | |
111 | #RC4_ENC= asm/rx86-out.o # a.out, FreeBSD | |
112 | #RC4_ENC= asm/rx86bsdi.o # bsdi | |
113 | ||
114 | # Set RC5_ENC to rc5_enc.o if you want to use the C version | |
115 | #There are 4 x86 assember options. | |
8d7ed6ff | 116 | RC5_ENC= asm/r586-out.o |
58964a49 RE |
117 | #RC5_ENC= rc5_enc.o |
118 | #RC5_ENC= asm/r586-elf.o # elf | |
119 | #RC5_ENC= asm/r586-sol.o # solaris | |
120 | #RC5_ENC= asm/r586-out.o # a.out, FreeBSD | |
121 | #RC5_ENC= asm/r586bsdi.o # bsdi | |
122 | ||
123 | # Also need MD5_ASM defined | |
8d7ed6ff | 124 | MD5_ASM_OBJ= asm/mx86-out.o |
58964a49 RE |
125 | #MD5_ASM_OBJ= asm/mx86-elf.o # elf |
126 | #MD5_ASM_OBJ= asm/mx86-sol.o # solaris | |
127 | #MD5_ASM_OBJ= asm/mx86-out.o # a.out, FreeBSD | |
128 | #MD5_ASM_OBJ= asm/mx86bsdi.o # bsdi | |
129 | ||
130 | # Also need SHA1_ASM defined | |
8d7ed6ff | 131 | SHA1_ASM_OBJ= asm/sx86-out.o |
58964a49 RE |
132 | #SHA1_ASM_OBJ= asm/sx86-elf.o # elf |
133 | #SHA1_ASM_OBJ= asm/sx86-sol.o # solaris | |
134 | #SHA1_ASM_OBJ= asm/sx86-out.o # a.out, FreeBSD | |
135 | #SHA1_ASM_OBJ= asm/sx86bsdi.o # bsdi | |
136 | ||
137 | # Also need RMD160_ASM defined | |
8d7ed6ff | 138 | RMD160_ASM_OBJ= asm/rm86-out.o |
58964a49 RE |
139 | #RMD160_ASM_OBJ= asm/rm86-elf.o # elf |
140 | #RMD160_ASM_OBJ= asm/rm86-sol.o # solaris | |
141 | #RMD160_ASM_OBJ= asm/rm86-out.o # a.out, FreeBSD | |
142 | #RMD160_ASM_OBJ= asm/rm86bsdi.o # bsdi | |
143 | ||
144 | DIRS= crypto ssl rsaref apps test tools | |
0973910f UM |
145 | SHLIBDIRS= crypto ssl |
146 | ||
d02b48c6 RE |
147 | # dirs in crypto to build |
148 | SDIRS= \ | |
58964a49 RE |
149 | md2 md5 sha mdc2 hmac ripemd \ |
150 | des rc2 rc4 rc5 idea bf cast \ | |
151 | bn rsa dsa dh \ | |
f317aa4c | 152 | buffer bio stack lhash rand err objects \ |
8d8c7266 | 153 | evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp |
d02b48c6 | 154 | |
d02b48c6 | 155 | MAKEFILE= Makefile.ssl |
58964a49 | 156 | MAKE= make -f Makefile.ssl |
d02b48c6 RE |
157 | |
158 | MAN1=1 | |
159 | MAN3=3 | |
160 | SHELL=/bin/sh | |
161 | ||
58964a49 | 162 | TOP= . |
d02b48c6 | 163 | ONEDIRS=out tmp |
dfeab068 | 164 | EDIRS= times doc bugs util include certs ms shlib mt demos perl sf dep |
58964a49 RE |
165 | WDIRS= windows |
166 | LIBS= libcrypto.a libssl.a | |
167 | ||
168 | GENERAL= Makefile | |
9ce5db45 | 169 | BASENAME= openssl |
58964a49 RE |
170 | NAME= $(BASENAME)-$(VERSION) |
171 | TARFILE= $(NAME).tar | |
172 | WTARFILE= $(NAME)-win.tar | |
173 | EXHEADER= e_os.h | |
174 | HEADER= e_os.h | |
d02b48c6 | 175 | |
9535d202 | 176 | all: Makefile.ssl |
d02b48c6 RE |
177 | @for i in $(DIRS) ;\ |
178 | do \ | |
bb8f3c58 | 179 | (cd $$i && echo "making all in $$i..." && \ |
99aab161 | 180 | $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' SDIRS='${SDIRS}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' all ) || exit 1; \ |
d02b48c6 RE |
181 | done; |
182 | ||
183 | sub_all: | |
184 | @for i in $(DIRS) ;\ | |
185 | do \ | |
bb8f3c58 | 186 | (cd $$i && echo "making all in $$i..." && \ |
99aab161 | 187 | $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' all ) || exit 1; \ |
d02b48c6 RE |
188 | done; |
189 | ||
0973910f UM |
190 | linux-shared: |
191 | for i in ${SHLIBDIRS}; do \ | |
192 | rm -f lib$$i.a lib$$i.so \ | |
193 | lib$$i.so.${MAJOR} lib$$i.so.${MAJOR}.${MINOR}; \ | |
194 | ${MAKE} CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='-fPIC ${CFLAG}' SDIRS='${SDIRS}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' DIRS=$$i clean all || exit 1; \ | |
195 | ( set -x; ${CC} -shared -o lib$$i.so.${MAJOR}.${MINOR} \ | |
196 | -Wl,-S,-soname=lib$$i.so.${MAJOR} \ | |
197 | -Wl,--whole-archive lib$$i.a \ | |
198 | -Wl,--no-whole-archive -lc ) || exit 1; \ | |
199 | rm -f lib$$i.a; make -C $$i clean || exit 1 ;\ | |
200 | done; | |
201 | @set -x; \ | |
202 | for i in ${SHLIBDIRS}; do \ | |
203 | ln -s lib$$i.so.${MAJOR}.${MINOR} lib$$i.so.${MAJOR}; \ | |
204 | ln -s lib$$i.so.${MAJOR} lib$$i.so; \ | |
205 | done; | |
206 | ||
9535d202 | 207 | Makefile.ssl: Makefile.org |
5ea177cf RE |
208 | @echo "Makefile.ssl is older than Makefile.org." |
209 | @echo "Reconfigure the source tree (via 'perl Configure' or 'sh config')" | |
210 | @echo "and update the error lists (via 'make errors'), please." | |
9535d202 BL |
211 | @false |
212 | ||
dfeab068 | 213 | libclean: |
bb8f3c58 | 214 | rm -f *.a */lib */*/lib |
dfeab068 | 215 | |
d02b48c6 | 216 | clean: |
bb8f3c58 | 217 | rm -f shlib/*.o *.o core a.out fluff *.map |
d02b48c6 RE |
218 | @for i in $(DIRS) ;\ |
219 | do \ | |
bb8f3c58 | 220 | (cd $$i && echo "making clean in $$i..." && \ |
56ee3117 | 221 | $(MAKE) SDIRS='${SDIRS}' clean ) || exit 1; \ |
bb8f3c58 | 222 | rm -f $(LIBS); \ |
d02b48c6 | 223 | done; |
bb8f3c58 RE |
224 | rm -f *.a *.o speed.* *.map *.so .pure core |
225 | rm -f $(TARFILE) | |
d02b48c6 RE |
226 | @for i in $(ONEDIRS) ;\ |
227 | do \ | |
bb8f3c58 | 228 | rm -fr $$i/*; \ |
d02b48c6 RE |
229 | done |
230 | ||
231 | makefile.one: files | |
99aab161 | 232 | $(PERL) util/mk1mf.pl >makefile.one; \ |
d02b48c6 RE |
233 | sh util/do_ms.sh |
234 | ||
bacad008 | 235 | files: |
99aab161 | 236 | $(PERL) $(TOP)/util/files.pl Makefile.ssl > $(TOP)/MINFO |
d02b48c6 RE |
237 | @for i in $(DIRS) ;\ |
238 | do \ | |
56ee3117 | 239 | (cd $$i && echo "making 'files' in $$i..." && \ |
5a9bab32 | 240 | $(MAKE) SDIRS='${SDIRS}' PERL='${PERL}' files ) || exit 1; \ |
d02b48c6 RE |
241 | done; |
242 | ||
243 | links: | |
bb8f3c58 | 244 | @$(TOP)/util/point.sh Makefile.ssl Makefile |
ec577822 | 245 | @-mkdir -p include/openssl 2>/dev/null |
1314c344 | 246 | @$(PERL) $(TOP)/util/mklink.pl include/openssl $(EXHEADER) |
bb8f3c58 | 247 | @for i in $(DIRS); do \ |
56ee3117 | 248 | (cd $$i && echo "making links in $$i..." && \ |
1314c344 | 249 | $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PERL='${PERL}' links ) || exit 1; \ |
d02b48c6 | 250 | done; |
d02b48c6 RE |
251 | |
252 | dclean: | |
bb8f3c58 | 253 | rm -f *.bak |
d02b48c6 RE |
254 | @for i in $(DIRS) ;\ |
255 | do \ | |
bb8f3c58 | 256 | (cd $$i && echo "making dclean in $$i..." && \ |
d10c5c22 | 257 | $(MAKE) SDIRS='${SDIRS}' PERL='${PERL}' dclean ) || exit 1; \ |
d02b48c6 RE |
258 | done; |
259 | ||
260 | rehash: | |
b621d772 | 261 | @(OPENSSL="`pwd`/apps/openssl"; export OPENSSL; sh tools/c_rehash certs) |
d02b48c6 | 262 | |
58964a49 | 263 | test: tests |
d02b48c6 | 264 | |
73bfb9ad | 265 | tests: rehash |
bb8f3c58 | 266 | @(cd test && echo "testing..." && \ |
dfeab068 | 267 | $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SDIRS='${SDIRS}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' tests ); |
794b9c8f | 268 | @apps/openssl version -a |
d02b48c6 RE |
269 | |
270 | depend: | |
271 | @for i in $(DIRS) ;\ | |
272 | do \ | |
56ee3117 | 273 | (cd $$i && echo "making dependancies $$i..." && \ |
f5d7a031 | 274 | $(MAKE) SDIRS='${SDIRS}' DEPFLAG='${DEPFLAG}' depend ) || exit 1; \ |
d02b48c6 RE |
275 | done; |
276 | ||
277 | lint: | |
278 | @for i in $(DIRS) ;\ | |
279 | do \ | |
56ee3117 PS |
280 | (cd $$i && echo "making lint $$i..." && \ |
281 | $(MAKE) SDIRS='${SDIRS}' lint ) || exit 1; \ | |
d02b48c6 RE |
282 | done; |
283 | ||
284 | tags: | |
285 | @for i in $(DIRS) ;\ | |
286 | do \ | |
56ee3117 PS |
287 | (cd $$i && echo "making tags $$i..." && \ |
288 | $(MAKE) SDIRS='${SDIRS}' tags ) || exit 1; \ | |
d02b48c6 RE |
289 | done; |
290 | ||
291 | errors: | |
73934800 | 292 | perl util/mkerr.pl -recurse -write |
d02b48c6 RE |
293 | |
294 | tar: | |
651d0aff | 295 | @gtar --no-recursion -cvf - \ |
0f423567 | 296 | `find * -depth -print | grep -v CVS | grep -v .cvsignore | grep -v STATUS | sort` |\ |
5a061129 | 297 | tardy --user_number=0 --user_name=openssl \ |
9ce5db45 RE |
298 | --group_number=0 --group_name=openssl \ |
299 | --prefix=openssl-$(VERSION) - |\ | |
651d0aff RE |
300 | gzip --best >../$(TARFILE).gz; \ |
301 | ls -l ../$(TARFILE).gz | |
d02b48c6 | 302 | |
58964a49 | 303 | dist: |
99aab161 | 304 | $(PERL) Configure dist |
d02b48c6 RE |
305 | @$(MAKE) dist_pem_h |
306 | @$(MAKE) SDIRS='${SDIRS}' clean | |
d02b48c6 RE |
307 | @$(MAKE) tar |
308 | ||
309 | dist_pem_h: | |
310 | (cd crypto/pem; $(MAKE) SDIRS='${SDIRS}' CFLAG='${CFLAG}' pem.h; $(MAKE) clean) | |
311 | ||
312 | install: all | |
e5f3045f BM |
313 | @-mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/bin 2>/dev/null |
314 | @-mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/lib 2>/dev/null | |
315 | @-mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl 2>/dev/null | |
316 | @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/misc 2>/dev/null | |
317 | @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/certs 2>/dev/null | |
318 | @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/private 2>/dev/null | |
319 | @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/lib 2>/dev/null | |
d02b48c6 RE |
320 | @for i in $(DIRS) ;\ |
321 | do \ | |
322 | (cd $$i; echo "installing $$i..."; \ | |
e5f3045f | 323 | $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALL_PREFIX='${INSTALL_PREFIX}' INSTALLTOP='${INSTALLTOP}' OPENSSLDIR='${OPENSSLDIR}' EX_LIBS='${EX_LIBS}' SDIRS='${SDIRS}' install ); \ |
d02b48c6 RE |
324 | done |
325 | @for i in $(LIBS) ;\ | |
326 | do \ | |
58964a49 | 327 | ( echo installing $$i; \ |
e5f3045f BM |
328 | cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ |
329 | $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \ | |
330 | chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \ | |
d02b48c6 RE |
331 | done |
332 | ||
333 | # DO NOT DELETE THIS LINE -- make depend depends on it. |