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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by Pauli Nieminen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

---
 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

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

by Michel Dänzer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I think it would be better to just track the symlinks in Git.


--
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@...
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev