summaryrefslogtreecommitdiffstats
path: root/src/libXvMC
diff options
context:
space:
mode:
Diffstat (limited to 'src/libXvMC')
-rw-r--r--src/libXvMC/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libXvMC/Makefile b/src/libXvMC/Makefile
index 83fcfc523c1..c154e17dc35 100644
--- a/src/libXvMC/Makefile
+++ b/src/libXvMC/Makefile
@@ -42,9 +42,23 @@ endif
all: ${TARGET}
+ifeq (${DRIVER}, softpipe)
+${TARGET}: ${OBJECTS}
+ cd ${GALLIUMDIR}/state_trackers/g3dvl; ${MAKE}
+ $(CC) ${LDFLAGS} -shared -Wl,-soname,${SONAME} -o $@ $^ ${LIBS}
+
+clean:
+ cd ${GALLIUMDIR}/state_trackers/g3dvl; ${MAKE} clean
+ rm -rf ${OBJECTS} ${TARGET}
+else
${TARGET}: ${OBJECTS}
+ cd ${GALLIUMDIR}/state_trackers/g3dvl; ${MAKE}
+ cd ${GALLIUMDIR}/winsys/g3dvl/nouveau; ${MAKE}
$(CC) ${LDFLAGS} -shared -Wl,-soname,${SONAME} -o $@ $^ ${LIBS}
clean:
+ cd ${GALLIUMDIR}/state_trackers/g3dvl; ${MAKE} clean
+ cd ${GALLIUMDIR}/winsys/g3dvl/nouveau; ${MAKE} clean
rm -rf ${OBJECTS} ${TARGET}
+endif