summaryrefslogtreecommitdiff
path: root/clients/Imakefile
blob: 4def9ddef89a0f23143d03b3381d211870beed29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**/#	Copyright 1988 Massachusetts Institute of Technology.
/**/#
/**/#	For copying and distribution information, see the file
/**/#	"mit-copyright.h". 
/**/#
/**/#	$Source$
/**/#	$Author$
/**/#	$Header$
/**/#
#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