summaryrefslogtreecommitdiffstats
path: root/src/mesa/Makefile
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2008-03-08 17:19:39 -0500
committerKristian Høgsberg <[email protected]>2008-03-08 17:19:39 -0500
commit47d563006de646b039c456ffc8379ca8ded3d5a5 (patch)
treebe5416b6612f79d0f3a6eaa3c7e0b6b5726cbbf8 /src/mesa/Makefile
parent6fd82f6fbd208dc7b1839ea408a5fb28589ee622 (diff)
Move libGL install target to the libGL Makefile.
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r--src/mesa/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index d0c78b71eed..87c5e6126de 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -132,15 +132,6 @@ $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME): $(OSMESA_DRIVER_OBJECTS) $(OSMESA16_OBJECT
######################################################################
-# libGL pkg-config file
-pcedit = sed \
- -e 's,@INSTALL_DIR@,$(INSTALL_DIR),' \
- -e 's,@LIB_DIR@,$(LIB_DIR),' \
- -e 's,@VERSION@,$(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY),'
-gl.pc: gl.pc.in
- $(pcedit) $< > $@
-
-######################################################################
# Generic stuff
depend: $(ALL_SOURCES)
@@ -160,15 +151,10 @@ subdirs:
fi
-install: default gl.pc
+install: default
$(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/include/GL
$(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)
- $(INSTALL) -d $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)/pkgconfig
$(INSTALL) -m 644 $(TOP)/include/GL/*.h $(DESTDIR)$(INSTALL_DIR)/include/GL
- @if [ -e $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) ]; then \
- $(INSTALL) $(TOP)/$(LIB_DIR)/libGL* $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR); \
- fi
- $(INSTALL) -m 644 gl.pc $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR)/pkgconfig
@if [ -e $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME) ]; then \
$(INSTALL) $(TOP)/$(LIB_DIR)/libOSMesa* $(DESTDIR)$(INSTALL_DIR)/$(LIB_DIR); \
fi