diff options
author | Younes Manton <[email protected]> | 2008-09-08 21:05:49 -0400 |
---|---|---|
committer | Younes Manton <[email protected]> | 2008-09-12 12:33:52 -0400 |
commit | 6b50fd27b85bc0d060ead13e6c656dd64c9a2978 (patch) | |
tree | 2b374470e4c97cb30051c6b3ad1d6cf50293695f /src/libXvMC | |
parent | 81335d0f1760fe172a106f79e81281c1f0d7dedf (diff) |
g3dvl: Clean up Makefile deps.
Diffstat (limited to 'src/libXvMC')
-rw-r--r-- | src/libXvMC/Makefile | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/libXvMC/Makefile b/src/libXvMC/Makefile index b72bb16efbf..8565d271c70 100644 --- a/src/libXvMC/Makefile +++ b/src/libXvMC/Makefile @@ -38,27 +38,36 @@ endif ############################################# -.PHONY = all clean +ifeq (${DRIVER}, softpipe) +.PHONY = all clean g3dvl +else +.PHONY = all clean g3dvl nouveau_winsys +endif all: ${TARGET} ifeq (${DRIVER}, softpipe) -${TARGET}: ${OBJECTS} +${TARGET}: g3dvl + $(CC) ${LDFLAGS} -shared -Wl,-soname,${SONAME} -o $@ ${OBJECTS} ${LIBS} + +g3dvl: 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} +${TARGET}: ${OBJECTS} g3dvl nouveau_winsys + $(CC) ${LDFLAGS} -shared -Wl,-soname,${SONAME} -o $@ ${OBJECTS} ${LIBS} + +g3dvl: cd ${GALLIUMDIR}/state_trackers/g3dvl; ${MAKE} + +nouveau_winsys: 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 - |