# $Id$
#
# Copyright (C) 1999 by the Massachusetts Institute of Technology.
# For copying and distribution information, see the file "mit-copyright.h".

SHELL=/bin/sh
VPATH=@srcdir@

SUBDIRS=common logger cfgfile clients browser man lib server
TAG_SUBDIRS=${SUBDIRS} include

default: all

all clean install depend.in:
	for i in ${SUBDIRS}; do (cd $$i; ${MAKE} ${MFLAGS} $@) || exit 1; done

distclean:
	rm -f config.cache config.log config.status Makefile *~ TAGS*
	for i in ${SUBDIRS}; do (cd $$i; ${MAKE} ${MFLAGS} $@) || exit 1; done

tags: TAGS

FORCE:
TAGS: FORCE
	etags -t `find ${TAG_SUBDIRS} -name '*.[ch]' -print`
