freebsd-dev/usr.sbin/syslogd/Makefile
Emmanuel Vadot 25367c806b pkgbase: Create a FreeBSD-syslogd package
This allow one to not install syslogd and use syslog-ng or any other
syslog daemon.
While here put some syslog.d file in their own package.

MFC after:	2 weeks
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D33455
2021-12-21 10:17:40 +01:00

49 lines
743 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
.include <src.opts.mk>
.PATH: ${SRCTOP}/usr.bin/wall
PACKAGE= syslogd
CONFGROUPS= CONFS SYSLOGD_D
CONFS= syslog.conf
PROG= syslogd
MAN= syslog.conf.5 syslogd.8
SRCS= syslogd.c ttymsg.c
SYSLOGD_DPACAKGE= syslogd
LIBADD= util
.if ${MK_INET_SUPPORT} != "no"
CFLAGS+= -DINET
.endif
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif
SYSLOGD_D=
SYSLOGD_DDIR= /etc/syslog.d
.if ${MK_FTP} != "no"
CONFGROUPS+= FTP
FTP+= ftp.conf
FTPDIR= /etc/syslog.d
FTPPACKAGE= ftpd
.endif
.if ${MK_LPR} != "no"
SYSLOGD_D+= lpr.conf
.endif
.if ${MK_PPP} != "no"
CONFGROUPS+= PPP
PPP+= ppp.conf
PPPDIR= /etc/syslog.d
PPPPACKAGE= ppp
.endif
CFLAGS+= -I${SRCTOP}/usr.bin/wall
.include <bsd.prog.mk>