Module: Mesa
Branch: mesa_7_7_branch
Commit: 77529a2cf296b611fa49ab4fe711d8bbb2177d85
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=77529a2cf296b611fa49ab4fe711d8bbb2177d85

Author: Jakob Bornecrantz <[email protected]>
Date:   Tue Nov 24 19:16:37 2009 +0100

vmware/xorg: Clean Makefile a bit

---

 src/gallium/winsys/drm/vmware/xorg/Makefile |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/gallium/winsys/drm/vmware/xorg/Makefile 
b/src/gallium/winsys/drm/vmware/xorg/Makefile
index 383a6f9..ea0ce18 100644
--- a/src/gallium/winsys/drm/vmware/xorg/Makefile
+++ b/src/gallium/winsys/drm/vmware/xorg/Makefile
@@ -20,6 +20,9 @@ LIBS = \
        $(TOP)/src/gallium/drivers/svga/libsvga.a \
        $(GALLIUM_AUXILIARIES)
 
+LINKS = \
+       $(shell pkg-config --libs libdrm)
+
 DRIVER_DEFINES = \
        -DHAVE_CONFIG_H
 
@@ -31,9 +34,8 @@ TARGET_STAGING = $(TOP)/$(LIB_DIR)/gallium/$(TARGET)
 
 all default: $(TARGET) $(TARGET_STAGING)
 
-$(TARGET): $(OBJECTS) Makefile 
$(TOP)/src/gallium/state_trackers/xorg/libxorgtracker.a $(LIBS)
-       $(TOP)/bin/mklib -noprefix -o $@ \
-       $(OBJECTS) $(LIBS) $(shell pkg-config --libs libdrm)
+$(TARGET): $(OBJECTS) Makefile $(LIBS)
+       $(MKLIB) -noprefix -o $@ $(OBJECTS) $(LIBS) $(LINKS)
 
 $(TOP)/$(LIB_DIR)/gallium:
        mkdir -p $@

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to