summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile
diff options
context:
space:
mode:
authormiod <>2014-04-11 22:51:54 +0000
committermiod <>2014-04-11 22:51:54 +0000
commite4e5cfce71aea090d747d436ab48c4717f78c97c (patch)
treeafd4b98775fa2752df82417abdf319a3af0bb439 /src/lib/libcrypto/Makefile
parent3c70ae462fc747402d562cd98a2825922441cdda (diff)
downloadopenbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.tar.gz
openbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.tar.bz2
openbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.zip
Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and libssl. No functional change, only there to make engineering easier, and libcrypto sources are still found in libssl/src/crypto at the moment. ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r--src/lib/libcrypto/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile
new file mode 100644
index 0000000000..c0496ca2d1
--- /dev/null
+++ b/src/lib/libcrypto/Makefile
@@ -0,0 +1,24 @@
1# $OpenBSD: Makefile,v 1.1 2014/04/11 22:51:53 miod Exp $
2
3SUBDIR=crypto man
4PC_FILES=libcrypto.pc
5
6CLEANFILES=${PC_FILES}
7
8distribution:
9 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
10 ${.CURDIR}/openssl.cnf ${DESTDIR}/etc/ssl/openssl.cnf && \
11 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
12 ${.CURDIR}/cert.pem ${DESTDIR}/etc/ssl/cert.pem && \
13 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
14 ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf
15
16beforeinstall:
17 /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
18.for p in ${PC_FILES}
19 ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \
20 -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/
21.endfor
22
23.include <bsd.prog.mk>
24.include <bsd.subdir.mk>