From 07f9be7b1c92fbb64c4a08dffb4db30da8764d66 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 8 Oct 2009 00:19:18 +0100 Subject: Add pkg-config support, fixes #187. --- pkgconfig/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkgconfig/Makefile (limited to 'pkgconfig/Makefile') diff --git a/pkgconfig/Makefile b/pkgconfig/Makefile new file mode 100644 index 00000000..cdcf8be8 --- /dev/null +++ b/pkgconfig/Makefile @@ -0,0 +1,11 @@ +DIR= ${LIBDIR}/pkgconfig +SRCS= einfo.pc.in openrc.pc.in +INC= einfo.pc openrc.pc + +sed -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../../Makefile > version.h + +SED_EXTRA= -e 's:@VERSION@:${VERSION}:g' + +MK= ../mk +include ../Makefile.inc +include ${MK}/scripts.mk -- cgit v1.2.3