VIDEO_DRIVER=@VIDEO_DRIVER@

all:
	(cd AR;         make -f Makefile)
	(cd ARMulti;    make -f Makefile)
	(cd Gl;         make -f Makefile)
	(cd @VIDEO_DRIVER@; make -f Makefile)

clean:
	(cd AR;         make -f Makefile clean)
	(cd ARMulti;    make -f Makefile clean)
	(cd Gl;         make -f Makefile clean)
	(cd VideoSGI;   make -f Makefile clean)
	(cd VideoLinuxV4L;     make -f Makefile clean)
	(cd VideoLinuxDV;      make -f Makefile clean)
	(cd VideoLinux1394Cam; make -f Makefile clean)
	(cd VideoMacOSX;       make -f Makefile clean)
	(cd ARvrml;     make -f Makefile clean)
	(cd VideoGStreamer;    make -f Makefile clean)

allclean:
	(cd AR;         make -f Makefile allclean)
	(cd ARMulti;    make -f Makefile allclean)
	(cd Gl;         make -f Makefile allclean)
	(cd VideoSGI;   make -f Makefile allclean)
	(cd VideoLinuxV4L;     make -f Makefile allclean)
	(cd VideoLinuxDV;      make -f Makefile allclean)
	(cd VideoLinux1394Cam; make -f Makefile allclean)
	(cd VideoMacOSX;       make -f Makefile allclean)
	(cd ARvrml;     make -f Makefile allclean)
	(cd VideoGStreamer;    make -f Makefile allclean)
	rm -f Makefile
