This helps with pkgbase as it switches these to use CONFS which properly tags them as config files. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16783
40 lines
597 B
Makefile
40 lines
597 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${SRCTOP}/usr.bin/wall
|
|
|
|
CONFGROUPS= CONFS SYSLOGD_D
|
|
CONFS= syslog.conf
|
|
PROG= syslogd
|
|
MAN= syslog.conf.5 syslogd.8
|
|
SRCS= syslogd.c ttymsg.c
|
|
|
|
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"
|
|
SYSLOGD_D+= ftp.conf
|
|
.endif
|
|
|
|
.if ${MK_LPR} != "no"
|
|
SYSLOGD_D+= lpr.conf
|
|
.endif
|
|
|
|
.if ${MK_PPP} != "no"
|
|
SYSLOGD_D+= ppp.conf
|
|
.endif
|
|
|
|
CFLAGS+= -I${SRCTOP}/usr.bin/wall
|
|
|
|
.include <bsd.prog.mk>
|