summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/Makefile
blob: 8e8b92798271aa64f88ef83314c9c7bf52fd0f3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#	$OpenBSD: Makefile,v 1.16 2007/12/07 17:17:00 reyk Exp $

PROG=		relayd
SRCS=		parse.y log.c control.c buffer.c imsg.c ssl.c ssl_privsep.c \
		relayd.c pfe.c pfe_filter.c hce.c relay.c relay_udp.c \
		carp.c check_icmp.c check_tcp.c check_script.c name2id.c
MAN=		relayd.8 relayd.conf.5

LDADD=		-levent -lssl -lcrypto
DPADD=		${LIBEVENT} ${LIBSSL} ${LIBCRYPTO}
CFLAGS+=	-Wall -I${.CURDIR}
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=	-Wsign-compare -Wbounded
CLEANFILES+=	y.tab.h

.include <bsd.prog.mk>