summaryrefslogtreecommitdiff
path: root/lib/libssl/Makefile
blob: 04baaccb45a7ce2d01c47f216330ef65ff9abf2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $OpenBSD: Makefile,v 1.19 2014/04/11 22:51:53 miod Exp $

SUBDIR=ssl man
PC_FILES=openssl.pc libssl.pc

CLEANFILES=${PC_FILES}

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 <bsd.prog.mk>
.include <bsd.subdir.mk>