Fix parallel make in r300 driver.
authorAdam Jackson <ajax@benzedrine.nwnk.net>
Tue, 20 Feb 2007 17:48:50 +0000 (12:48 -0500)
committerAdam Jackson <ajax@benzedrine.nwnk.net>
Tue, 20 Feb 2007 17:48:50 +0000 (12:48 -0500)
src/mesa/drivers/dri/r300/Makefile

index 5abb91d98761532bd80bc2d7a8008d8024c1f5ee..2ee23289341e2854eebf0d3771d3a12648c7eca0 100644 (file)
@@ -90,9 +90,11 @@ COMMON_SYMLINKS = \
 
 include ../Makefile.template
 
-$(SYMLINKS):
+server:
        mkdir -p server
-       for i in $(SYMLINKS) ; do rm -f $$i && test -f ../radeon/$$i && ln -s ../../radeon/$$i $$i ; done
+
+$(SYMLINKS): server
+       @[ -e $@ ] || ln -sf ../../radeon/$@ server/
 
 $(COMMON_SYMLINKS):
        @[ -e $@ ] || ln -sf ../radeon/$@ ./