diff options
author | Eric Anholt <eric@anholt.net> | 2012-06-12 12:13:32 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-06-21 10:10:46 -0700 |
commit | 39785488e6a3f6beeb58372b88d49274a76d02f4 (patch) | |
tree | bf5cd449867f06c69409cb781938624eac62c7b8 /src | |
parent | 417c1a642141abac2f0a58d044893c93576bb9a3 (diff) | |
download | external_mesa3d-39785488e6a3f6beeb58372b88d49274a76d02f4.zip external_mesa3d-39785488e6a3f6beeb58372b88d49274a76d02f4.tar.gz external_mesa3d-39785488e6a3f6beeb58372b88d49274a76d02f4.tar.bz2 |
automake: Move .pc installation to automake.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/Makefile.am | 8 | ||||
-rw-r--r-- | src/mesa/Makefile.old | 12 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index b877b5d..6335042 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -27,3 +27,11 @@ install-exec-local: clean-local: $(MAKE) -f Makefile.old clean + +pkgconfigdir = $(libdir)/pkgconfig + +if HAVE_OSMESA_DRIVER +pkgconfig_DATA = osmesa.pc +else +pkgconfig_DATA = gl.pc +endif diff --git a/src/mesa/Makefile.old b/src/mesa/Makefile.old index c500a8c..7c85553 100644 --- a/src/mesa/Makefile.old +++ b/src/mesa/Makefile.old @@ -156,8 +156,8 @@ install: default $(DRICORE_INSTALL_TARGET) else \ $(MAKE) -f Makefile.old install-osmesa || exit 1 ; \ fi ;; \ - dri) $(MAKE) -f Makefile.old install-libgl-pc install-dri || exit 1 ;; \ - *) $(MAKE) -f Makefile.old install-libgl-pc || exit 1 ;; \ + dri) $(MAKE) -f Makefile.old install-headers install-dri || exit 1 ;; \ + *) $(MAKE) -f Makefile.old install-headers || exit 1 ;; \ esac ; \ done @@ -166,17 +166,9 @@ install-headers: $(INSTALL) -m 644 $(TOP)/include/GL/*.h \ $(DESTDIR)$(INSTALL_INC_DIR)/GL -install-libgl-pc: install-headers - $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR) - $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig - $(INSTALL) -m 644 gl.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig - install-osmesa: default - $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR) - $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig $(MINSTALL) $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_GLOB) \ $(DESTDIR)$(INSTALL_LIB_DIR) - $(INSTALL) -m 644 osmesa.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig install-dri: default cd drivers/dri && $(MAKE) install |