diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | libdrm_intel.pc.in | 10 |
4 files changed, 16 insertions, 3 deletions
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 |