summaryrefslogtreecommitdiff
path: root/pkgconfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfig/Makefile')
-rw-r--r--pkgconfig/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgconfig/Makefile b/pkgconfig/Makefile
new file mode 100644
index 0000000..cdcf8be
--- /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