summaryrefslogtreecommitdiff
path: root/src/mesa/gl.pc.in
AgeCommit message (Collapse)AuthorFilesLines
2012-06-21mesa: Convert gl.pc to be generated by configure.Eric Anholt1-4/+4
This saves a step of mashing variables around in our Makefile.
2011-01-10Export TLS support in gl.pc.Tom Fogal1-0/+1
2009-04-29Use variable library name in pkg-config output.Tom Fogal1-1/+1
Previously the pkg-config output files would contain e.g. `-lGL' and `-lGLU', even if the user modified their configuration to build libraries with different names. This modifies the pkg-config inputs, and corresponding makery, so that modifying the output library name will cause the appropriate updated name to appear in the pkg-config `-l' option. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2008-12-14Add more package metadata to the pkg-config filesDan Nicholson1-2/+3
The pkg-config files have been filled in more thoroughly to allow users to use mesa more effectively. By adding metadata to Requires.private, Libs.private and Cflags, we can ensure that all the libraries and headers will be found in all situations. However, the full substitutions are only done when using the configure script. This also fixes the glu pkg-config file to account for using GL or OSMesa. Fixes bug 18161.
2008-07-06Set library and header installation directories from configurationDan Nicholson1-2/+2
Currently the installation directories for libraries and headers are resolved within the install commands. For instance, the libraries will be installed to $(INSTALL_DIR)/$(LIB_DIR). This limits the flexibility of the installation, such as when the libraries should be installed to a subdirectory like /usr/lib/tls. This adds the make variables $(INSTALL_LIB_DIR) and $(INSTALL_INC_DIR) to define the locations that the libraries and headers are installed. For the static configs, this resolves exactly as before to $(INSTALL_DIR)/include and $(INSTALL_DIR)/$(LIB_DIR). For autoconf, they are derived directly from the --libdir and --includedir settings.
2008-03-10Move make install logic for libGL back into src/mesa/Makefile.Kristian Høgsberg1-0/+11
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.
2008-03-08Move libGL install target to the libGL Makefile.Kristian Høgsberg1-11/+0
2007-09-12pkg-config supportDan Nicholson1-0/+11