diff options
Diffstat (limited to 'src/lib/libssl/ssleay/Makefile')
-rw-r--r-- | src/lib/libssl/ssleay/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/lib/libssl/ssleay/Makefile b/src/lib/libssl/ssleay/Makefile new file mode 100644 index 0000000000..5eea72267b --- /dev/null +++ b/src/lib/libssl/ssleay/Makefile | |||
@@ -0,0 +1,38 @@ | |||
1 | |||
2 | PROG= ssleay | ||
3 | |||
4 | BINOWN= root | ||
5 | BINGRP= bin | ||
6 | BINMODE= 555 | ||
7 | BINDIR= /usr/sbin | ||
8 | LDADD= -lssl -lcrypto | ||
9 | NOMAN= not yet kiddies | ||
10 | |||
11 | SSLEAYDIST= src | ||
12 | |||
13 | SSLEAY_SRC= ${.CURDIR}/../${SSLEAYDIST}/apps | ||
14 | |||
15 | .if ${MACHINE_ARCH} == "i386" | ||
16 | CFLAGS+= -DL_ENDIAN -DBN_ASM | ||
17 | .else | ||
18 | .if ${MACHINE_ARCH} == "alpha" | ||
19 | # no ENDIAN stuff defined for alpha | ||
20 | .else | ||
21 | CFLAGS+= -DB_ENDIAN | ||
22 | .endif | ||
23 | .endif | ||
24 | |||
25 | CFLAGS+= -DMONOLITH -DNO_IDEA -DTERMIOS -DANSI_SOURCE | ||
26 | CFLAGS+= -I/usr/include/ssl | ||
27 | |||
28 | SRCS= verify.c asn1pars.c req.c dgst.c dh.c enc.c gendh.c errstr.c ca.c \ | ||
29 | pkcs7.c crl2p7.c crl.c \ | ||
30 | rsa.c dsa.c dsaparam.c \ | ||
31 | x509.c genrsa.c s_server.c s_client.c speed.c \ | ||
32 | s_time.c apps.c s_cb.c s_socket.c version.c sess_id.c \ | ||
33 | ciphers.c ssleay.c | ||
34 | |||
35 | .PATH: ${SSLEAY_SRC} | ||
36 | |||
37 | .include<bsd.prog.mk> | ||
38 | |||