diff options
author | Eric Anholt <[email protected]> | 2012-05-15 12:23:00 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-06-21 10:10:08 -0700 |
commit | fa4cf4dc0cdf2e71e7973410531e4d9d360dd1bb (patch) | |
tree | 50875d22eb189866e4abb231ad79c87bc96c58ec /src/mesa/Makefile | |
parent | 2d4b77c7c6c76b3c2083471a1afa4f19dfbb3d5f (diff) |
mesa: Convert gl.pc to be generated by configure.
This saves a step of mashing variables around in our Makefile.
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r-- | src/mesa/Makefile | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile index b17696df4d2..77996768cd5 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -167,18 +167,6 @@ pcedit = \ -e 's,@INSTALL_INC_DIR@,$(INSTALL_INC_DIR),' \ -e 's,@VERSION@,$(MESA_MAJOR).$(MESA_MINOR).$(MESA_TINY),' \ - -gl_pcedit = sed \ - $(pcedit) \ - -e 's,@GL_PC_REQ_PRIV@,$(GL_PC_REQ_PRIV),' \ - -e 's,@GL_PC_LIB_PRIV@,$(GL_PC_LIB_PRIV),' \ - -e 's,@GL_PC_CFLAGS@,$(GL_PC_CFLAGS),' \ - -e 's,@GLX_TLS@,$(GLX_TLS),' \ - -e 's,@GL_LIB@,$(GL_LIB),' - -gl.pc: gl.pc.in - $(gl_pcedit) $< > $@ - osmesa_pcedit = sed \ $(pcedit) \ -e 's,@OSMESA_LIB@,$(OSMESA_LIB),' \ @@ -193,7 +181,7 @@ install-headers: $(INSTALL) -m 644 $(TOP)/include/GL/*.h \ $(DESTDIR)$(INSTALL_INC_DIR)/GL -install-libgl-pc: gl.pc install-headers +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 @@ -220,7 +208,7 @@ clean: -rm -f */*/*.o -rm -f depend depend.bak libmesa.a libmesagallium.a -rm -f drivers/*/*.o - -rm -f *.pc + -rm -f osmesa.pc -rm -f $(BUILT_SOURCES) -@cd drivers/dri && $(MAKE) clean -@cd drivers/x11 && $(MAKE) clean |