« Return to Thread: [PATCH] dri/radeon: Fix makefile to include all symbolic links in clean target.

[PATCH] dri/radeon: Fix makefile to include all symbolic links in clean target.

by Pauli Nieminen :: Rate this Message:

Reply to Author | View in Thread

---
 src/mesa/drivers/dri/r200/Makefile |    9 ++++++---
 src/mesa/drivers/dri/r300/Makefile |    9 ++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/mesa/drivers/dri/r200/Makefile b/src/mesa/drivers/dri/r200/Makefile
index 4686241..bcecd6a 100644
--- a/src/mesa/drivers/dri/r200/Makefile
+++ b/src/mesa/drivers/dri/r200/Makefile
@@ -55,7 +55,7 @@ X86_SOURCES =
 
 DRIVER_DEFINES = -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200
 
-SYMLINKS = \
+SERVER_SYMLINKS = \
  server/radeon_egl.c  \
  server/radeon_dri.c  \
  server/radeon_dri.h \
@@ -90,6 +90,9 @@ COMMON_SYMLINKS = \
  radeon_fbo.c \
  $(CS_SOURCES)
 
+SYMLINKS = $(SERVER_SYMLINKS) \
+   $(COMMON_SYMLINKS)
+
 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
 
 ##### TARGETS #####
@@ -102,12 +105,12 @@ include ../Makefile.template
 server:
  mkdir -p server
 
-$(SYMLINKS): server
+$(SERVER_SYMLINKS): server
  @[ -e $@ ] || ln -sf ../../radeon/$@ server/
 
 
 $(COMMON_SYMLINKS):
  @[ -e $@ ] || ln -sf ../radeon/$@ ./
 
-symlinks: $(SYMLINKS) $(COMMON_SYMLINKS)
+symlinks: $(SERVER_SYMLINKS) $(COMMON_SYMLINKS)
 
diff --git a/src/mesa/drivers/dri/r300/Makefile b/src/mesa/drivers/dri/r300/Makefile
index a772090..9b71793 100644
--- a/src/mesa/drivers/dri/r300/Makefile
+++ b/src/mesa/drivers/dri/r300/Makefile
@@ -73,7 +73,7 @@ DRIVER_DEFINES = -DCOMPILE_R300 -DR200_MERGED=0 \
 # -DRADEON_BO_TRACK \
  -Wall
 
-SYMLINKS = \
+SERVER_SYMLINKS = \
  server/radeon_dri.c \
  server/radeon_dri.h \
  server/radeon.h \
@@ -108,6 +108,9 @@ COMMON_SYMLINKS = \
  radeon_fbo.c \
  $(CS_SOURCES)
 
+SYMLINKS = $(SERVER_SYMLINKS) \
+   $(COMMON_SYMLINKS)
+
 DRI_LIB_DEPS += $(RADEON_LDFLAGS)
 
 ##### TARGETS #####
@@ -117,10 +120,10 @@ include ../Makefile.template
 server:
  mkdir -p server
 
-$(SYMLINKS): server
+$(SERVER_SYMLINKS): server
  @[ -e $@ ] || ln -sf ../../radeon/$@ server/
 
 $(COMMON_SYMLINKS):
  @[ -e $@ ] || ln -sf ../radeon/$@ ./
 
-symlinks: $(SYMLINKS) $(COMMON_SYMLINKS)
+symlinks: $(SERVER_SYMLINKS) $(COMMON_SYMLINKS)
--
1.6.3.1


------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@...
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

 « Return to Thread: [PATCH] dri/radeon: Fix makefile to include all symbolic links in clean target.