Add xkbcommon pkg-config file
authorDan Nicholson <dbn.lists@gmail.com>
Wed, 1 Apr 2009 13:22:06 +0000 (06:22 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Wed, 1 Apr 2009 13:22:06 +0000 (06:22 -0700)
.gitignore
Makefile.am
configure.ac
xkbcommon.pc.in [new file with mode: 0644]

index 8ae0a31..a640dea 100644 (file)
@@ -17,6 +17,7 @@ libtool
 ltmain.sh
 missing
 stamp-h1
+xkbcommon.pc
 ylwrap
 .deps/
 .libs/
index 5460eea..6c97739 100644 (file)
@@ -1,5 +1,8 @@
 SUBDIRS = include src test
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = xkbcommon.pc
+
 EXTRA_DIST = ChangeLog
 
 MAINTAINERCLEANFILES = ChangeLog
index 03b7502..307bfd6 100644 (file)
@@ -91,6 +91,7 @@ XORG_CHANGELOG
 
 AC_OUTPUT([
 Makefile
+xkbcommon.pc
 include/Makefile
 src/Makefile
 src/makekeys/Makefile
diff --git a/xkbcommon.pc.in b/xkbcommon.pc.in
new file mode 100644 (file)
index 0000000..b8587c8
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: xkbcommon
+Description: XKB API common to servers and clients
+Version: @PACKAGE_VERSION@
+Requires: xproto kbproto >= 1.0.99.1
+Cflags: -I${includedir}
+Libs: -L${libdir} -lxkbcommon