NetBSD/usr.sbin/syslogd/Makefile

35 lines
796 B
Makefile
Raw Normal View History

2012-06-06 04:33:45 +04:00
# $NetBSD: Makefile,v 1.24 2012/06/06 00:33:45 christos Exp $
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
2002-09-18 07:54:26 +04:00
.include <bsd.own.mk>
2012-06-06 04:33:45 +04:00
WARNS?=4
2007-05-28 16:06:17 +04:00
USE_FORT?= yes # network server
LINTFLAGS+=-X 132,247,135,259,117,298
1993-03-21 12:45:37 +03:00
PROG= syslogd
SRCS= syslogd.c utmpentry.c tls.c sign.c
1994-12-22 14:43:15 +03:00
MAN= syslogd.8 syslog.conf.5
DPADD+=${LIBUTIL} ${LIBEVENT}
LDADD+=-lutil -levent
#make symlink to old socket location for transitional period
SYMLINKS= /var/run/log /dev/log
2002-09-18 07:54:26 +04:00
.PATH.c: ${NETBSDSRCDIR}/usr.bin/who
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP -Wredundant-decls
.if (${USE_INET6} != "no")
CPPFLAGS+=-DINET6
.endif
CPPFLAGS+=-DLIBWRAP
LDADD+= -lwrap
DPADD+= ${LIBWRAP}
.if ${MKCRYPTO} != "no"
LDADD+= -lssl -lcrypto
.else
CPPFLAGS+=-DDISABLE_TLS -DDISABLE_SIGN
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.prog.mk>