summaryrefslogtreecommitdiff
path: root/clients/Imakefile
blob: 9cc0878aac83e35cf01c03df8910cfa0be83ba50 (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
45
46
47
48
49
/**/#	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

#ifndef X11_NO_XAW
XZWRITE=xzwrite
#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) $(XZWRITE)

#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