summaryrefslogtreecommitdiff
path: root/h/zephyr/Imakefile
blob: cfe36e43ba4669d8384a005b1384cb335e519493 (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
/**/#	Copyright 1988,1991 Massachusetts Institute of Technology.
/**/#
/**/#	For copying and distribution information, see the file
/**/#	"mit-copyright.h". 
/**/#
/**/#	$Source$
/**/#	$Author$
/**/#	$Zephyr: /mit/zephyr/src/include/zephyr/RCS/Imakefile,v 1.4 91/03/21 12:16:56 raeburn Exp $
/**/#

HDRS= acl.h mit-copyright.h zephyr.h zephyr_conf.h zephyr_internal.h zsyslog.h
CODE= ${HDRS} Imakefile

all depend:: zephyr_paths.h

clean::
	$(RM) zephyr_paths.h

#ifdef KERBEROS
HaveKerberos=yes
#endif
#ifdef HESIOD
HaveHesiod=yes
#endif

#define export_as(var,name)	name=$(var) ; export name
#define export_var(var)		export_as(var,var)

zephyr_paths.h: Makefile
	export_as(ZLIBDIR,LIBDIR) ; \
	export_as(ATHBINDIR,CLIENTDIR) ; \
	export_var(HaveKerberos) ; \
	export_var(HaveHesiod) ; \
	$(PTOP)/tools/makepaths > zephyr_paths.h