summaryrefslogtreecommitdiff
path: root/src/mesa/gl.pc.in
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-03-10 18:43:53 -0400
committerKristian Høgsberg <krh@redhat.com>2008-03-10 18:46:19 -0400
commitfe23dc5ecae87de73f7b5a581868065a4c4ac09b (patch)
treeccd3ffe6f088ee257f5eca3206ea3ae31c8342de /src/mesa/gl.pc.in
parent3731159ec6e1527655d91b3eb364d5c2d252ac60 (diff)
Move make install logic for libGL back into src/mesa/Makefile.
This makes make install work again for non-glx libGL implementations. The make install logic is split into three sub-targets: install-libgl, install-osmesa, install-drivers. The install target in src/glx/x11 is then implemented using the src/mesa make install-libgl rule. Thanks to Dan Nicholson for pointing out the breakage.
Diffstat (limited to 'src/mesa/gl.pc.in')
-rw-r--r--src/mesa/gl.pc.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/gl.pc.in b/src/mesa/gl.pc.in
new file mode 100644
index 00000000000..4b144ffa4b2
--- /dev/null
+++ b/src/mesa/gl.pc.in
@@ -0,0 +1,11 @@
+prefix=@INSTALL_DIR@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/@LIB_DIR@
+includedir=${prefix}/include
+
+Name: gl
+Description: Mesa OpenGL library
+Requires:
+Version: @VERSION@
+Libs: -L${libdir} -lGL
+Cflags: -I${includedir}