From e4e5cfce71aea090d747d436ab48c4717f78c97c Mon Sep 17 00:00:00 2001 From: miod <> Date: Fri, 11 Apr 2014 22:51:54 +0000 Subject: 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. --- src/lib/libcrypto/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/lib/libcrypto/Makefile (limited to 'src/lib/libcrypto/Makefile') 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 @@ +# $OpenBSD: Makefile,v 1.1 2014/04/11 22:51:53 miod Exp $ + +SUBDIR=crypto man +PC_FILES=libcrypto.pc + +CLEANFILES=${PC_FILES} + +distribution: + ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ + ${.CURDIR}/openssl.cnf ${DESTDIR}/etc/ssl/openssl.cnf && \ + ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ + ${.CURDIR}/cert.pem ${DESTDIR}/etc/ssl/cert.pem && \ + ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ + ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf + +beforeinstall: + /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} +.for p in ${PC_FILES} + ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \ + -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/ +.endfor + +.include +.include -- cgit v1.2.3-55-g6feb