summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/Makefile
diff options
context:
space:
mode:
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>