Add pkgconfig gluons

This commit is contained in:
christos 2013-01-18 18:09:55 +00:00
parent 6959a7ad63
commit 98c3902e37
3 changed files with 18 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2012/07/26 19:58:40 christos Exp $
# $NetBSD: Makefile,v 1.7 2013/01/18 18:09:56 christos Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@ -116,4 +116,7 @@ COPTS.eng_padlock.c = -Wno-stack-protector
INCSDIR=/usr/include/openssl
PKGCONFIG=libcrypto
.include "${.CURDIR}/../../pkgconfig.mk"
.include <bsd.lib.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2012/07/26 19:58:42 christos Exp $
# $NetBSD: Makefile,v 1.5 2013/01/18 18:09:56 christos Exp $
# RCSid:
# Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
@ -53,4 +53,7 @@ update_inc:
perl ${OPENSSLSRC}/extsrcs.pl 2> srcs.inc; \
patch -s ssl.inc < ssl.diff )
PKGCONFIG=libssl openssl
.include "${.CURDIR}/../../pkgconfig.mk"
.include <bsd.lib.mk>

View File

@ -0,0 +1,10 @@
# $NetBSD: pkgconfig.mk,v 1.1 2013/01/18 18:09:55 christos Exp $
FILESDIR=/usr/lib/pkgconfig
.for pkg in ${PKGCONFIG}
FILES+=${pkg}.pc
CLEANFILES+=${pkg}.pc
${pkg}.pc: ${.CURDIR}/../../mkpc
${.ALLSRC} ${.TARGET} > ${.TARGET}
.endfor