1.include <src.opts.mk> 2 3.PATH: ${SRCTOP}/usr.bin/wall 4 5PACKAGE= syslogd 6 7CONFGROUPS= CONFS SYSLOGD_D 8CONFS= syslog.conf 9PROG= syslogd 10MAN= syslog.conf.5 syslogd.8 11SRCS= syslogd.c ttymsg.c 12SYSLOGD_DPACAKGE= syslogd 13 14LIBADD= util 15 16.if ${MK_CASPER} != "no" 17SRCS+= syslogd_cap.c \ 18 syslogd_cap_config.c \ 19 syslogd_cap_log.c 20CFLAGS+= -DWITH_CASPER 21LIBADD+= cap_net casper nv 22.endif 23.if ${MK_INET_SUPPORT} != "no" 24CFLAGS+= -DINET 25.endif 26.if ${MK_INET6_SUPPORT} != "no" 27CFLAGS+= -DINET6 28.endif 29 30SYSLOGD_D= 31SYSLOGD_DDIR= /etc/syslog.d 32.if ${MK_FTP} != "no" 33CONFGROUPS+= FTP 34FTP+= ftp.conf 35FTPDIR= /etc/syslog.d 36FTPPACKAGE= ftpd 37.endif 38 39.if ${MK_LPR} != "no" 40CONFGROUPS+= LP 41LP+= lpr.conf 42LPDIR= /etc/syslog.d 43LPPACKAGE= lp 44.endif 45 46.if ${MK_PPP} != "no" 47CONFGROUPS+= PPP 48PPP+= ppp.conf 49PPPDIR= /etc/syslog.d 50PPPPACKAGE= ppp 51.endif 52 53CFLAGS+= -I${SRCTOP}/usr.bin/wall 54 55HAS_TESTS= 56SUBDIR.${MK_TESTS}+= tests 57 58.include <bsd.prog.mk> 59