summaryrefslogtreecommitdiff
path: root/src/lib/libssl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/Makefile')
-rw-r--r--src/lib/libssl/Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile
index f356472977..510bb0547f 100644
--- a/src/lib/libssl/Makefile
+++ b/src/lib/libssl/Makefile
@@ -1,6 +1,11 @@
1# $OpenBSD: Makefile,v 1.14 2005/04/01 05:31:40 beck Exp $ 1# $OpenBSD: Makefile,v 1.15 2010/12/28 14:30:50 jasper Exp $
2
3.include <bsd.own.mk> # for KERBEROS5
2 4
3SUBDIR=crypto ssl man 5SUBDIR=crypto ssl man
6PC_FILES=openssl.pc libssl.pc libcrypto.pc
7
8CLEANFILES=${PC_FILES}
4 9
5distribution: 10distribution:
6 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ 11 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
@@ -10,4 +15,17 @@ distribution:
10 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ 15 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
11 ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf 16 ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf
12 17
18beforeinstall:
19.if (${KERBEROS5:L} == "yes")
20 /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} -k
21.else
22 /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR}
23.endif
24
25.for p in ${PC_FILES}
26 ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \
27 -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/
28.endfor
29
30.include <bsd.prog.mk>
13.include <bsd.subdir.mk> 31.include <bsd.subdir.mk>