summaryrefslogtreecommitdiff
path: root/src/mesa/Makefile
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-03-05 19:01:43 -0500
committerKristian Høgsberg <krh@bitplanet.net>2010-04-28 14:41:21 -0400
commit9339c1291d73ada1a85b994cb076a9a0bf3c8110 (patch)
treec9466bcd10caf5988dc1bd71391bb3080a690b06 /src/mesa/Makefile
parenta5107b0a5cb1ac9f112aa498f57c13580bd56cb3 (diff)
gles: Build libGLESv1_CM.so and libGLESv2.so from glapi files
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r--src/mesa/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index 44e091f240..c050063017 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -146,6 +146,30 @@ install-libgl: default gl.pc install-headers
$(DESTDIR)$(INSTALL_LIB_DIR)
$(INSTALL) -m 644 gl.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+install-headers-es1:
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_INC_DIR)/GLES
+ $(INSTALL) -m 644 $(TOP)/include/GLES/*.h \
+ $(DESTDIR)$(INSTALL_INC_DIR)/GLES
+
+install-es1: default glesv1_cm.pc install-headers-es1
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+ $(MINSTALL) $(TOP)/$(LIB_DIR)/$(GLESv1_CM_LIB_GLOB) \
+ $(DESTDIR)$(INSTALL_LIB_DIR)
+ $(INSTALL) -m 644 glesv1_cm.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+
+install-headers-es2:
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_INC_DIR)/GLES2
+ $(INSTALL) -m 644 $(TOP)/include/GLES2/*.h \
+ $(DESTDIR)$(INSTALL_INC_DIR)/GLES2
+
+install-es2: default glesv2.pc install-headers-es2
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
+ $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+ $(MINSTALL) $(TOP)/$(LIB_DIR)/$(GLESv2_LIB_GLOB) \
+ $(DESTDIR)$(INSTALL_LIB_DIR)
+ $(INSTALL) -m 644 glesv2.pc $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig
+
install-osmesa: default osmesa.pc
$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
$(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)/pkgconfig