summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/Makefile
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-12-16 11:45:08 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-12-16 11:45:08 +0000
commit40435664ebf23fa4a24a268ae284e5603dbb002b (patch)
treea4a161e3d30f4ee36baa5e0d9da5b7f3921b4222 /usr.sbin/relayd/Makefile
parentb63e93d285f5b4780d059c1c782d157ec880df72 (diff)
Import hostated, the host status daemon. This daemon will monitor
remote hosts and dynamically alter pf(4) tables and redirection rules for active server load balancing. The daemon has been written by Pierre-Yves Ritschard (pyr at spootnik.org) and was formerly known as "slbd". The daemon is fully functional but it still needs some work and cleanup so we don't link it to the build yet. Some TODOs are a partial rewrite of the check_* routines (use libevent whenever we can), improvement of the manpages, and general knf and cleanup. ok deraadt@ claudio@
Diffstat (limited to 'usr.sbin/relayd/Makefile')
-rw-r--r--usr.sbin/relayd/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.sbin/relayd/Makefile b/usr.sbin/relayd/Makefile
new file mode 100644
index 00000000000..c04e70f3036
--- /dev/null
+++ b/usr.sbin/relayd/Makefile
@@ -0,0 +1,17 @@
+# $OpenBSD: Makefile,v 1.1 2006/12/16 11:45:07 reyk Exp $
+
+PROG= hostated
+SRCS= parse.y log.c control.c buffer.c imsg.c hostated.c \
+ pfe.c pfe_filter.c hce.c check_icmp.c check_tcp.c check_http.c
+MAN= hostated.8 hostated.conf.5
+
+LDADD= -levent
+DPADD= ${LIBEVENT}
+CFLAGS+= -Wall -Werror -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>