gallium: Don't depend directly on staging dir in Xorg template makefile
authorJakob Bornecrantz <jakob@vmware.com>
Tue, 1 Jun 2010 09:15:52 +0000 (10:15 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 1 Jun 2010 09:30:27 +0000 (10:30 +0100)
src/gallium/targets/Makefile.xorg

index 610cf45b950e244d1fb2174d664cdcb8bc8770ca..f638fbe455c9ff2f344bc6ddc42703cec90c37f5 100644 (file)
@@ -29,7 +29,7 @@ LIBNAME_STAGING = $(TOP)/$(LIB_DIR)/gallium/$(TARGET)
 
 ##### TARGETS #####
 
-default: depend $(LIBNAME) $(LIBNAME_STAGING)
+default: depend $(TOP)/$(LIB_DIR)/gallium $(LIBNAME) $(LIBNAME_STAGING)
 
 $(LIBNAME): $(OBJECTS) Makefile $(LIBS)
        $(MKLIB) -noprefix -o $@ $(OBJECTS) $(DRIVER_LINKS)
@@ -39,7 +39,7 @@ depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS) $(GENERATED_SOURC
        touch depend
        $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(GENERATED_SOURCES) 2> /dev/null
 
-$(LIBNAME_STAGING): $(LIBNAME) $(TOP)/$(LIB_DIR)/gallium
+$(LIBNAME_STAGING): $(LIBNAME)
        $(INSTALL) $(LIBNAME) $(TOP)/$(LIB_DIR)/gallium
 
 $(TOP)/$(LIB_DIR)/gallium: