freebsd-skq/usr.sbin/syslogd/Makefile
brd 4990877585 Remove trailing slash in pathname so that valid METALOG is created in the
NO_ROOT case of make packages.

Submitted by:	Dan McGregor <dan.mcgregor@usask.ca>
Approved by:	re (rgrimes)
2018-08-25 20:19:16 +00:00

40 lines
596 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>