diff options
author | Adam Jackson <[email protected]> | 2005-01-08 03:16:04 +0000 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2005-01-08 03:16:04 +0000 |
commit | ccaa15a0812f3cdac5669cb315e5e7e9eaba9685 (patch) | |
tree | e1879849556335e2f67926382c1173dd7eadaf0b | |
parent | f1481aa2d7fe24dfe03e3c54305e4ed8111aae9f (diff) |
Parallel build fix. Multiword variables on the target side of a : get
expanded into individual rules for each word, so parallel builds will
start multiple instances to create the server/ symlinks and fail when they
already exist.
-rw-r--r-- | src/mesa/drivers/dri/r200/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r200/Makefile b/src/mesa/drivers/dri/r200/Makefile index 406ade22e23..f50ccd13895 100644 --- a/src/mesa/drivers/dri/r200/Makefile +++ b/src/mesa/drivers/dri/r200/Makefile @@ -57,9 +57,11 @@ include ../Makefile.template #INCLUDES += -I../radeon/server -$(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/ symlinks: $(SYMLINKS) |