summaryrefslogtreecommitdiff
path: root/clients/syslogd/Imakefile
blob: abcee3997e79a4c74d228e329cf521c82d41a508 (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
/**/#	Copyright 1988 Massachusetts Institute of Technology.
/**/#
/**/#	For copying and distribution information, see the file
/**/#	"mit-copyright.h". 
/**/#
/**/#	$Source$
/**/#	$Author$
/**/#	$Id$
/**/#

#ifdef _AIX
LIBS= $(ZEPHYR_LIB) $(KRB_LIB) $(COMERR_LIB) -lsrc
#else
LIBS= $(ZEPHYR_LIB) $(KRB_LIB) $(COMERR_LIB)
#endif
LINCLUDES=-I.
LINTLIBS=$(ZEPHYR_LINTLIB) $(KRB_LINTLIB) $(COMERR_LINTLIB)
SRCS = syslogd.c
OBJS = syslogd.o
HDRS= syslog.h

TSRCS= logger.c syslog.c 
TOBJS= logger.o syslog.o

SRCDIR= ${SRCTOP}/clients/syslogd
CODE= ${SRCS} ${HDRS} ${TSRCS} Imakefile

#ifdef SYSLOG_COMPAT42
DEFINES = -DCOMPAT42
#endif

normal_obj_rule()

#ifdef SYSLOG_COMPAT42
genutil(logger, $(TOBJS),,)
#endif

program(syslogd,$(OBJS),,$(LIBS),$(ETCATHDIR))

manpage(8,syslogd.8)