gallium: Don't rebuild common drm code
authorJakob Bornecrantz <jakob@vmware.com>
Tue, 10 Feb 2009 15:17:32 +0000 (16:17 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 10 Feb 2009 15:24:06 +0000 (16:24 +0100)
src/gallium/winsys/drm/intel/gem/Makefile.template
src/gallium/winsys/drm/nouveau/common/Makefile.template

index 557070ae02abb7f81cbf58c19cdd0348cba444c5..b60e9788940e1571a7495dc88558ae85a8957046 100644 (file)
@@ -36,11 +36,11 @@ INCLUDES = \
 
 ##### TARGETS #####
 
-default: depend symlinks $(LIBNAME)
+default: depend symlinks lib$(LIBNAME).a
 
 
-$(LIBNAME): $(OBJECTS) Makefile Makefile.template
-       $(TOP)/bin/mklib -o $@ -static $(OBJECTS) $(DRIVER_LIBS)
+lib$(LIBNAME).a: $(OBJECTS) Makefile Makefile.template
+       $(TOP)/bin/mklib -o $(LIBNAME) -static $(OBJECTS) $(DRIVER_LIBS)
 
 
 depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS)
index e40836e0a82a63f486d005756f9342562f261331..f0d098bb1cf53cea4c11edc890eaad6c6190818f 100644 (file)
@@ -31,11 +31,11 @@ INCLUDES = \
 
 ##### TARGETS #####
 
-default: depend symlinks $(LIBNAME)
+default: depend symlinks lib$(LIBNAME).a
 
 
-$(LIBNAME): $(OBJECTS) Makefile Makefile.template
-       $(TOP)/bin/mklib -o $@ -static $(OBJECTS) $(DRIVER_LIBS)
+lib$(LIBNAME).a: $(OBJECTS) Makefile Makefile.template
+       $(TOP)/bin/mklib -o $(LIBNAME) -static $(OBJECTS) $(DRIVER_LIBS)
 
 
 depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS)