egl: Remove eglhash.c and eglhash.h.
[mesa.git] / src / egl / drivers / xdri / Makefile
index 9a2b7e0a9d80331ed7aa97e8b32b10cd0dd7ebc2..8a14027fc7b6065173fc1c8458ec8ab37b6400bb 100644 (file)
@@ -48,9 +48,13 @@ $(TOP)/$(LIB_DIR)/$(DRIVER_NAME): $(OBJECTS)
        $(TOP)/bin/mklib -o $(DRIVER_NAME) \
                -noprefix \
                -major 1 -minor 0 \
+               -L$(TOP)/$(LIB_DIR) \
                -install $(TOP)/$(LIB_DIR) \
                $(OBJECTS) $(DRM_LIB) $(MISC_LIBS)
 
+install:
+       $(INSTALL) -d $(DESTDIR)$(INSTALL_LIB_DIR)
+       $(MINSTALL) $(TOP)/$(LIB_DIR)/$(DRIVER_NAME) $(DESTDIR)$(INSTALL_LIB_DIR)
 
 clean:
        rm -f *.o