sync
[bitrig.git] / lib / libssl / Makefile
blob59ef803278bceeba2e5ae66b5bb5e316ca10180b
1 # $OpenBSD: Makefile,v 1.18 2011/05/26 13:52:55 jasper Exp $
3 SUBDIR=crypto ssl man
4 PC_FILES=openssl.pc libssl.pc libcrypto.pc
6 CLEANFILES=${PC_FILES}
8 distribution:
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
16 beforeinstall:
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
23 .include <bsd.prog.mk>
24 .include <bsd.subdir.mk>