summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/g3dvl/nouveau/Makefile
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2008-10-27 15:40:40 +1100
committerBen Skeggs <skeggsb@gmail.com>2008-10-27 15:40:40 +1100
commitee35de2dfb12415416817d417f59e676b34ea81b (patch)
tree14fc6e43eb0be509fc53694f8289a3675fcbbf75 /src/gallium/winsys/g3dvl/nouveau/Makefile
parent70a06e03d45f3d2e1cd1d430ba83c4b22471373c (diff)
parent3354e668f0d4eb7ad1d92607031c1fc2e785e8d1 (diff)
Merge remote branch 'nouveau/gallium-0.1' into gallium-0.2
Diffstat (limited to 'src/gallium/winsys/g3dvl/nouveau/Makefile')
-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 7fa29d2f5f..5d11bde322 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}
-