summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-02-10 16:17:32 +0100
committerJakob Bornecrantz <jakob@vmware.com>2009-02-10 16:24:06 +0100
commit1789dc8015d75b996a546a94f88d8cdaa3c7e8c4 (patch)
tree2b8f49faaf43d832a8c451fb156c3e633a008983 /src
parent94665aa648f8b9015f9eabdddad092b006faf70a (diff)
gallium: Don't rebuild common drm code
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/drm/intel/gem/Makefile.template6
-rw-r--r--src/gallium/winsys/drm/nouveau/common/Makefile.template6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/winsys/drm/intel/gem/Makefile.template b/src/gallium/winsys/drm/intel/gem/Makefile.template
index 557070ae02..b60e978894 100644
--- a/src/gallium/winsys/drm/intel/gem/Makefile.template
+++ b/src/gallium/winsys/drm/intel/gem/Makefile.template
@@ -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)
diff --git a/src/gallium/winsys/drm/nouveau/common/Makefile.template b/src/gallium/winsys/drm/nouveau/common/Makefile.template
index e40836e0a8..f0d098bb1c 100644
--- a/src/gallium/winsys/drm/nouveau/common/Makefile.template
+++ b/src/gallium/winsys/drm/nouveau/common/Makefile.template
@@ -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)