1 1.24 christos # $NetBSD: Makefile,v 1.24 2012/06/06 00:33:45 christos Exp $ 2 1.6 perry # from: @(#)Makefile 8.1 (Berkeley) 6/6/93 3 1.18 lukem .include <bsd.own.mk> 4 1.18 lukem 5 1.24 christos WARNS?=4 6 1.20 tls USE_FORT?= yes # network server 7 1.20 tls 8 1.21 christos LINTFLAGS+=-X 132,247,135,259,117,298 9 1.21 christos 10 1.1 cgd PROG= syslogd 11 1.21 christos SRCS= syslogd.c utmpentry.c tls.c sign.c 12 1.5 cgd MAN= syslogd.8 syslog.conf.5 13 1.21 christos DPADD+=${LIBUTIL} ${LIBEVENT} 14 1.21 christos LDADD+=-lutil -levent 15 1.13 perry #make symlink to old socket location for transitional period 16 1.13 perry SYMLINKS= /var/run/log /dev/log 17 1.18 lukem .PATH.c: ${NETBSDSRCDIR}/usr.bin/who 18 1.21 christos CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/who -DSUPPORT_UTMPX -DSUPPORT_UTMP -Wredundant-decls 19 1.15 itojun 20 1.19 lukem .if (${USE_INET6} != "no") 21 1.19 lukem CPPFLAGS+=-DINET6 22 1.19 lukem .endif 23 1.19 lukem 24 1.15 itojun CPPFLAGS+=-DLIBWRAP 25 1.15 itojun LDADD+= -lwrap 26 1.15 itojun DPADD+= ${LIBWRAP} 27 1.1 cgd 28 1.21 christos .if ${MKCRYPTO} != "no" 29 1.21 christos LDADD+= -lssl -lcrypto 30 1.23 riz .else 31 1.23 riz CPPFLAGS+=-DDISABLE_TLS -DDISABLE_SIGN 32 1.21 christos .endif 33 1.21 christos 34 1.1 cgd .include <bsd.prog.mk> 35