summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-10-31 02:25:44 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-11-05 15:49:09 +0000
commit89cc98c0d5c1b43a883f13210c472339dde1a4cf (patch)
tree4be35556215ab87281811a339e63fde889c8c4c3 /libdrm
parentb7ed162d2912d53d03d94f9ceaebf7d96d570c04 (diff)
Only install libdrm_intel.pc if we build libdrm_intel
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/intel/Makefile.am2
-rw-r--r--libdrm/intel/libdrm_intel.pc.in10
2 files changed, 12 insertions, 0 deletions
diff --git a/libdrm/intel/Makefile.am b/libdrm/intel/Makefile.am
index 28f8952b..0faa10dc 100644
--- a/libdrm/intel/Makefile.am
+++ b/libdrm/intel/Makefile.am
@@ -46,3 +46,5 @@ libdrm_intel_la_SOURCES = \
libdrm_intelincludedir = ${includedir}
libdrm_intelinclude_HEADERS = intel_bufmgr.h
+
+pkgconfig_DATA = libdrm_intel.pc
diff --git a/libdrm/intel/libdrm_intel.pc.in b/libdrm/intel/libdrm_intel.pc.in
new file mode 100644
index 00000000..ea71cc3e
--- /dev/null
+++ b/libdrm/intel/libdrm_intel.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libdrm
+Description: Userspace interface to kernel DRM services
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -ldrm -ldrm_intel
+Cflags: -I${includedir} -I${includedir}/drm