summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-23 13:30:20 -0800
committerEric Anholt <eric@anholt.net>2009-02-23 13:30:44 -0800
commita773ce1db8801fcbbdb55b54172c9cd48b92e2d7 (patch)
tree03571655265275a97db1d18738342c2a6317b701
parent6feac49398d0f037103a4ae3d5a512badeed61fb (diff)
Add libdrm_intel.pc by popular demand.
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac3
-rw-r--r--libdrm_intel.pc.in10
4 files changed, 16 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index bd78034b..ba5440b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -36,6 +36,8 @@ i915.kld
install-sh
libdrm/config.h.in
libdrm.pc
+libdrm_intel.pc
+libdrm_nouveau.pc
libtool
ltmain.sh
mach64.kld
diff --git a/Makefile.am b/Makefile.am
index 5b1ae60a..e105eddb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -25,6 +25,6 @@ AUTOMAKE_OPTIONS = foreign
SUBDIRS = libdrm shared-core tests
pkgconfigdir = @pkgconfigdir@
-pkgconfig_DATA = libdrm.pc
+pkgconfig_DATA = libdrm.pc libdrm_intel.pc
-EXTRA_DIST = libdrm.pc.in
+EXTRA_DIST = libdrm.pc.in libdrm_intel.pc.in
diff --git a/configure.ac b/configure.ac
index b37af727..04933c3f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -143,4 +143,5 @@ AC_OUTPUT([
tests/Makefile
tests/modeprint/Makefile
tests/modetest/Makefile
- libdrm.pc])
+ libdrm.pc
+ libdrm_intel.pc])
diff --git a/libdrm_intel.pc.in b/libdrm_intel.pc.in
new file mode 100644
index 00000000..ea71cc3e
--- /dev/null
+++ b/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