# COPYRIGHT
#
# This file is part of FLUID.
#
# Authors: 
# 
# Tommi Ilmonen,   2001-2002.
# Janne Kontkanen, 2001-2002.
#
# /COPYRIGHT

# Note that there are dependencies between plugins -> The order is
# important.

DIRS          = gloveproxy \
		fileglove \
		filenapra \
		motionstar \
		mouseproxy \
		kbproxy \
		filetracker \
		filemouse \
		napra \
		napraproxy \
		viavoice \
		speechproxy \
		qtmouse \
		qtkeyboard \
		vwand

#IRIX Specific drivers:
#ifeq ($(findstring IRIX,$(FLUID_PLATFORM)),IRIX)
#	DIRS += mostartracker
#endif

#Linux Specific drivers
ifeq ($(findstring inux,$(FLUID_PLATFORM)),inux)
	DIRS += 5dtglove
endif

default: all

all \
clean \
cleaner \
cleanest \
dmain \
smain \
dlib \
plugin \
slib \
dirs \
linkdirs \
tr translate \
dep don doff \
depend \
dependoff \
dependon:;	@for DIR in $(DIRS); \
		 do \
		   $(MAKE) MUSTAJUURI_PATH=$(MUSTAJUURI_PATH) -C $$DIR $@; \
		 done
