summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/g3dvl
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2008-09-08 21:05:49 -0400
committerYounes Manton <younes.m@gmail.com>2008-09-12 12:33:52 -0400
commit6b50fd27b85bc0d060ead13e6c656dd64c9a2978 (patch)
tree2b374470e4c97cb30051c6b3ad1d6cf50293695f /src/gallium/winsys/g3dvl
parent81335d0f1760fe172a106f79e81281c1f0d7dedf (diff)
downloadexternal_mesa3d-6b50fd27b85bc0d060ead13e6c656dd64c9a2978.zip
external_mesa3d-6b50fd27b85bc0d060ead13e6c656dd64c9a2978.tar.gz
external_mesa3d-6b50fd27b85bc0d060ead13e6c656dd64c9a2978.tar.bz2
g3dvl: Clean up Makefile deps.
Diffstat (limited to 'src/gallium/winsys/g3dvl')
-rw-r--r--src/gallium/winsys/g3dvl/nouveau/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/winsys/g3dvl/nouveau/Makefile b/src/gallium/winsys/g3dvl/nouveau/Makefile
index 7fa29d2..5d11bde 100644
--- a/src/gallium/winsys/g3dvl/nouveau/Makefile
+++ b/src/gallium/winsys/g3dvl/nouveau/Makefile
@@ -34,15 +34,16 @@ LIBS += -ldriclient -ldrm -lnv10 -lnv30 -lnv40 -lnv50 -ldraw -ltgsi -ltranslate
#############################################
-.PHONY = all clean
+.PHONY = all clean libdriclient
all: ${TARGET}
-${TARGET}: ${OBJECTS}
+${TARGET}: ${OBJECTS} libdriclient
+ $(CC) ${LDFLAGS} -shared -o $@ ${OBJECTS} ${LIBS}
+
+libdriclient:
cd ${DRIDIR}/src; ${MAKE}
- $(CC) ${LDFLAGS} -shared -o $@ $^ ${LIBS}
clean:
cd ${DRIDIR}/src; ${MAKE} clean
rm -rf ${OBJECTS} ${TARGET}
-