diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/usr.sbin/openssl/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/usr.sbin/openssl/Makefile b/src/usr.sbin/openssl/Makefile new file mode 100644 index 0000000000..cba69cbe3d --- /dev/null +++ b/src/usr.sbin/openssl/Makefile | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | |||
| 2 | PROG= openssl | ||
| 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= lib/libssl/src | ||
| 12 | |||
| 13 | SSLEAY_SRC= ${.CURDIR}/../../${SSLEAYDIST}/apps | ||
| 14 | |||
| 15 | .if ${MACHINE_ARCH} == "i386" | ||
| 16 | CFLAGS+= -g -DL_ENDIAN -DBN_ASM | ||
| 17 | .else | ||
| 18 | .if ${MACHINE_ARCH} == "arc" | ||
| 19 | CFLAGS+= -DL_ENDIAN | ||
| 20 | .else | ||
| 21 | .if ${MACHINE_ARCH} == "pmax" | ||
| 22 | CFLAGS+= -DL_ENDIAN | ||
| 23 | .else | ||
| 24 | .if ${MACHINE_ARCH} == "alpha" | ||
| 25 | # no ENDIAN stuff defined for alpha | ||
| 26 | .else | ||
| 27 | CFLAGS+= -DB_ENDIAN | ||
| 28 | .endif | ||
| 29 | .endif | ||
| 30 | .endif | ||
| 31 | .endif | ||
| 32 | |||
| 33 | CFLAGS+= -DMONOLITH -DNO_IDEA -DTERMIOS -DANSI_SOURCE | ||
| 34 | CFLAGS+= -I/usr/include/ssl | ||
| 35 | |||
| 36 | SRCS= verify.c asn1pars.c req.c dgst.c dh.c enc.c gendh.c errstr.c ca.c \ | ||
| 37 | pkcs7.c crl2p7.c crl.c \ | ||
| 38 | rsa.c dsa.c dsaparam.c \ | ||
| 39 | x509.c genrsa.c gendsa.c s_server.c s_client.c speed.c \ | ||
| 40 | s_time.c apps.c s_cb.c s_socket.c version.c sess_id.c \ | ||
| 41 | ciphers.c nseq.c pkcs12.c pkcs8.c openssl.c | ||
| 42 | |||
| 43 | .PATH: ${SSLEAY_SRC} | ||
| 44 | |||
| 45 | .include<bsd.prog.mk> | ||
| 46 | |||
