all: link

clean:
	@ (cd ../..; make clean)

allclean: clean
	rm -f doc
	rm -f etc
	rm -f lib
	rm -f FML
	rm -f Ticket
	rm -f Process
	rm -f IO
	rm -f Tie
	rm -f Dialect
	rm -f MailingList
	rm -f libexec
	rm -f log

scan:
	@ (cd ../..; make scan)

update:
	@ (cd ../..; make update)

check:
	@ (cd ../../fml; make check)

link:
	rm -f doc; ln -s ../../fml/doc
	rm -f etc; ln -s ../../fml/etc
	rm -f lib; ln -s ../../fml/lib
	rm -f FML; ln -s ../../fml/lib/FML
	rm -f Ticket; ln -s ../../fml/lib/FML/Ticket
	rm -f Process; ln -s ../../fml/lib/FML/Process
	rm -f IO; ln -s ../../fml/lib/IO
	rm -f Tie; 
	rm -f Dialect; ln -s ../../fml/lib/Dialect
	rm -f MailingList; ln -s ../../fml/lib/MailingList
	rm -f libexec; ln -s ../../fml/libexec
	rm -f log; ln -s /var/spool/ml/elena/log

diff:
	@ (cd ../..;cvs diff -ub)


test:
	@ echo "* IO::* class test"
	@ apply perl IO/t/*pl
	@ make -f ../base/Makefile
