Merge branch 'mesa_7_5_branch'
[mesa.git] / src / egl / main / Makefile
index 5ee246dc3f5205b10509eaac222e2c04524a17dc..7cab005214d389f887a8a15b1f3a8439b471f94f 100644 (file)
@@ -4,12 +4,14 @@ TOP = ../../..
 include $(TOP)/configs/current
 
 
-INCLUDE_DIRS = -I$(TOP)/include -I$(TOP)/src/mesa/glapi
+INCLUDE_DIRS = -I$(TOP)/include -I$(TOP)/src/mesa/glapi $(X11_INCLUDES)
 
 HEADERS = \
+       eglcompiler.h \
        eglconfig.h \
        eglconfigutil.h \
        eglcontext.h \
+       eglcurrent.h \
        egldefines.h \
        egldisplay.h \
        egldriver.h \
@@ -28,6 +30,7 @@ SOURCES = \
        eglconfig.c \
        eglconfigutil.c \
        eglcontext.c \
+       eglcurrent.c \
        egldisplay.c \
        egldriver.c \
        eglglobals.c \
@@ -64,9 +67,9 @@ $(TOP)/$(LIB_DIR)/libEGL.so: $(OBJECTS)
                -install $(TOP)/$(LIB_DIR) \
                $(EGL_LIB_DEPS) $(OBJECTS)
 
-install:
+install: default
        $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
-       $(INSTALL) $(TOP)/$(LIB_DIR)/libEGL.so* $(DESTDIR)$(INSTALL_LIB_DIR)
+       $(MINSTALL) $(TOP)/$(LIB_DIR)/libEGL.so* $(DESTDIR)$(INSTALL_LIB_DIR)
 
 clean:
        -rm -f *.o *.so*