/**/#	Copyright 1988 Massachusetts Institute of Technology.
/**/#
/**/#	For copying and distribution information, see the file
/**/#	"mit-copyright.h". 
/**/#
/**/#	$Source: /afs/athena.mit.edu/astaff/project/zephyr/src/clients/RCS/Imakefile,v $
/**/#	$Author: jtkohl $
/**/#	$Header: /afs/athena.mit.edu/astaff/project/zephyr/src/clients/RCS/Imakefile,v 1.6 89/10/30 16:53:53 jtkohl Exp $
/**/#
#define have_subdirs
#define no_curdir_lint

SRCDIR= ${SRCTOP}/clients
CODE= Imakefile ${SHELLSRC}

#ifdef DO_SYSLOG
SYSLOGD= syslogd
#else /* !DO_SYSLOG */
SYSLOGD=
#endif

#if defined(HESIOD) && defined(KERBEROS)
ZMAILNOTIFY= zmailnotify
#else /* !HESIOD || !KERBEROS */
/* zmailnotify will only compile properly with Hesiod and Kerberos, so
   there is no sense in building it when either is not in use. */
ZMAILNOTIFY=
#endif /* HESIOD && KERBEROS */

SUBDIRS = zaway zctl zleave zlocate \
	$(ZMAILNOTIFY) znol zpopnotify zshutdown_notify zstat zwrite $(SYSLOGD)

#ifdef OLD_ATHENA_COMPAT
SHELLSCRIPTS= zlogout zhide zwgc
SHELLSRC= zlogout.sh zhide.sh zwgc.sh

install_shell_scripts(SHELLSCRIPTS,$(CLIENTDIR))

install::
	rm -f ${DESTDIR}${CLIENTDIR}/zlogin
	ln -s zlogout ${DESTDIR}${CLIENTDIR}/zlogin
#else
SHELLSRC=
#endif
