summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/Makefile
diff options
context:
space:
mode:
authorjsing <>2014-08-26 17:47:25 +0000
committerjsing <>2014-08-26 17:47:25 +0000
commitf3755acd5513f85ff734de6a822b6f804d3776ce (patch)
tree1f859a78eae941040f58599de8c0e1e56d61fdad /src/usr.bin/openssl/Makefile
parent0779b9f30aa9875c290af18a4362799668829707 (diff)
downloadopenbsd-f3755acd5513f85ff734de6a822b6f804d3776ce.tar.gz
openbsd-f3755acd5513f85ff734de6a822b6f804d3776ce.tar.bz2
openbsd-f3755acd5513f85ff734de6a822b6f804d3776ce.zip
Move openssl(1) from /usr/sbin/openssl to /usr/bin/openssl, since it is not
a system/superuser binary. At the same time, move the source code from its current lib/libssl/src/apps location to a more appropriate home under usr.bin/openssl. ok deraadt@ miod@
Diffstat (limited to 'src/usr.bin/openssl/Makefile')
-rw-r--r--src/usr.bin/openssl/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/usr.bin/openssl/Makefile b/src/usr.bin/openssl/Makefile
new file mode 100644
index 0000000000..f4c9ed4f2b
--- /dev/null
+++ b/src/usr.bin/openssl/Makefile
@@ -0,0 +1,27 @@
1# $OpenBSD: Makefile,v 1.1 2014/08/26 17:47:24 jsing Exp $
2
3PROG= openssl
4LDADD= -lssl -lcrypto
5DPADD= ${LIBSSL} ${LIBCRYPTO}
6MAN1= openssl.1
7
8CFLAGS+= -Wall -Werror
9CFLAGS+= -Wformat
10CFLAGS+= -Wformat-security
11CFLAGS+= -Wimplicit
12CFLAGS+= -Wreturn-type
13#CFLAGS+= -Wshadow
14CFLAGS+= -Wtrigraphs
15CFLAGS+= -Wuninitialized
16CFLAGS+= -Wunused
17
18CFLAGS+= -DLIBRESSL_INTERNAL
19
20SRCS= apps.c asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c dgst.c dh.c \
21 dhparam.c dsa.c dsaparam.c ec.c ecparam.c enc.c engine.c errstr.c \
22 gendh.c gendsa.c genpkey.c genrsa.c nseq.c ocsp.c openssl.c passwd.c \
23 pkcs12.c pkcs7.c pkcs8.c pkey.c pkeyparam.c pkeyutl.c prime.c rand.c \
24 req.c rsa.c rsautl.c s_cb.c s_client.c s_server.c s_socket.c s_time.c \
25 sess_id.c smime.c speed.c spkac.c ts.c verify.c version.c x509.c
26
27.include <bsd.prog.mk>