From a773ce1db8801fcbbdb55b54172c9cd48b92e2d7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 23 Feb 2009 13:30:20 -0800 Subject: Add libdrm_intel.pc by popular demand. --- .gitignore | 2 ++ Makefile.am | 4 ++-- configure.ac | 3 ++- libdrm_intel.pc.in | 10 ++++++++++ 4 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 libdrm_intel.pc.in diff --git a/.gitignore b/.gitignore index bd78034b4..ba5440b75 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 5b1ae60af..e105eddb6 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 b37af7271..04933c3f1 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 000000000..ea71cc3ed --- /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 -- cgit v1.2.3