summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/drm
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-11-24 19:16:37 +0100
committerJakob Bornecrantz <[email protected]>2009-11-24 19:16:37 +0100
commit77529a2cf296b611fa49ab4fe711d8bbb2177d85 (patch)
tree49afa2e567f095b66d0d4b08caf5db50443d4870 /src/gallium/winsys/drm
parent522e840a91ef9fe35e5830626b9ce388169e5d22 (diff)
vmware/xorg: Clean Makefile a bit
Diffstat (limited to 'src/gallium/winsys/drm')
-rw-r--r--src/gallium/winsys/drm/vmware/xorg/Makefile8
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 383a6f975b4..ea0ce18fd1e 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 $@