From 89cc98c0d5c1b43a883f13210c472339dde1a4cf Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Sat, 31 Oct 2009 02:25:44 +0100 Subject: Only install libdrm_intel.pc if we build libdrm_intel --- libdrm/intel/Makefile.am | 2 ++ libdrm/intel/libdrm_intel.pc.in | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 libdrm/intel/libdrm_intel.pc.in (limited to 'libdrm') 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 -- cgit v1.2.3