summaryrefslogtreecommitdiff
path: root/server/Imakefile
blob: 6bc3bbad5568666a4421b42d5376ea6dd55029fe (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/**/#	Copyright 1988 Massachusetts Institute of Technology.
/**/#
/**/#	For copying and distribution information, see the file
/**/#	"mit-copyright.h". 
/**/#
/**/#	$Source$
/**/#	$Author$
/**/#	$Header$
/**/#

#if defined(DO_SYSLOG) && defined(SYSLOG_COMPAT42)
SYSLOG_LIB= ../clients/syslogd/syslog.o
#else
SYSLOG_LIB=
#endif
LIBS= ${SYSLOG_LIB} ${ZEPHYR_LIB} ${COMERR_LIB} ${HES_LIB} ${KRB_LIB} \
	${DES_LIB}
LINTLIBS= ${ZEPHYR_LINTLIB} ${COMERR_LINTLIB} ${HES_LINTLIB} \
	${KRB_LINTLIB} ${DES_LINTLIB}

HDRS=	zserver.h \
	zsrv_conf.h \
	timer.h

SRCS=	access.c \
	bdump.c \
	class.c \
	client.c \
	common.c \
	dispatch.c \
	hostm.c \
	main.c \
	server.c \
	subscr.c \
	timer.c \
	uloc.c \
	kstuff.c \
	version.c

OBJS= 	zsrv_err.o \
	access.o \
	bdump.o \
	class.o \
	client.o \
	common.o \
	dispatch.o \
	hostm.o \
	main.o \
	server.o \
	subscr.o \
	timer.o \
	uloc.o \
	kstuff.o \
	version.o

OTHERSRCS= zsrv_err.et
CONFIG_FILES= default.subscriptions
SRCDIR= ${SRCTOP}/server
CODE= ${SRCS} ${HDRS} ${OTHERSRCS} ${CONFIG_FILES} Imakefile

DEFINES=-DOLD_COMPAT -DNEW_COMPAT
normal_obj_rule()

program(zephyrd,${OBJS},,${LIBS},${USRETCDIR})

error_table_noprof(zsrv_err)

src:: zsrv_err.h

depend:: zsrv_err.h

install::
	-mkdir ${DESTDIR}${ACLDIR}
	-rm -f ${DESTDIR}${ACLDIR}/?*
	cp acldir/?* ${DESTDIR}${ACLDIR}
	${INSTALLFILE} default.subscriptions ${DESTDIR}${ACLDIR}/default.subscriptions