-# $OpenBSD: Makefile,v 1.12 2007/11/02 15:26:07 jmc Exp $
+# $OpenBSD: Makefile,v 1.13 2017/07/03 22:21:47 espie Exp $
PROG= chio
SRCS= chio.c parse.y
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN= chio.1 chio.conf.5
+YFLAGS=
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.15 2015/10/23 09:13:00 tedu Exp $
+# $OpenBSD: Makefile,v 1.16 2017/07/03 22:21:47 espie Exp $
PROG= iked
SRCS= ca.c chap_ms.c config.c control.c crypto.c dh.c \
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
-CLEANFILES+= y.tab.h ikev2_map.c eap_map.c
+CLEANFILES+= ikev2_map.c eap_map.c
GENERATED= ikev2_map.c eap_map.c
+YFLAGS=
+
ikev2_map.c: genmap.sh ikev2.h
/bin/sh ${.CURDIR}/genmap.sh ${.CURDIR}/ikev2.h ikev2 > $@
@touch $@
-# $OpenBSD: Makefile,v 1.2 2016/06/16 17:40:30 tedu Exp $
+# $OpenBSD: Makefile,v 1.3 2017/07/03 22:21:47 espie Exp $
SRCS= parse.y doas.c env.c
CFLAGS+= -I${.CURDIR}
COPTS+= -Wall
+YFLAGS=
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.7 2017/01/21 08:41:42 benno Exp $
+# $OpenBSD: Makefile,v 1.8 2017/07/03 22:21:47 espie Exp $
PROG= acme-client
SRCS= acctproc.c base64.c certproc.c chngproc.c dbg.c dnsproc.c
SRCS+= fileproc.c http.c jsmn.c json.c keyproc.c main.c netproc.c
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith
CFLAGS+= -Wsign-compare -Wunused
+YFLAGS=
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.29 2016/09/28 12:02:17 reyk Exp $
+# $OpenBSD: Makefile,v 1.30 2017/07/03 22:21:47 espie Exp $
PROG= httpd
SRCS= parse.y
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith
CFLAGS+= -Wsign-compare -Wcast-qual
-CLEANFILES+= y.tab.h
+YFLAGS=
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.8 2017/01/20 11:55:08 benno Exp $
+# $OpenBSD: Makefile,v 1.9 2017/07/03 22:21:47 espie Exp $
.PATH: ${.CURDIR}/../ldapd
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
+YFLAGS=
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.20 2017/05/30 17:52:05 yasuoka Exp $
+# $OpenBSD: Makefile,v 1.21 2017/07/03 22:21:47 espie Exp $
NPPPD_COMMON_DIR= ${.CURDIR}/../common
CPPFLAGS+= -DUSE_NPPPD_RADIUS
CPPFLAGS+= -DUSE_SA_COOKIE
+YFLAGS=
LDADD+= -levent -lradius -lcrypto -ly -lutil
DPADD+= ${LIBEVENT} ${LIBRADIUS} ${LIBCRYPTO} ${LIBY} ${LIBUTIL}
-# $OpenBSD: Makefile,v 1.31 2017/05/27 08:33:25 claudio Exp $
+# $OpenBSD: Makefile,v 1.32 2017/07/03 22:21:47 espie Exp $
PROG= relayd
SRCS= parse.y
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith
CFLAGS+= -Wsign-compare -Wcast-qual
-CLEANFILES+= y.tab.h
+YFLAGS=
.include <bsd.prog.mk>
-# $Id: Makefile,v 1.9 2012/08/17 17:11:21 haesbaert Exp $
+# $Id: Makefile,v 1.10 2017/07/03 22:21:47 espie Exp $
PROG= sasyncd
SRCS= sasyncd.c carp.c conf.y log.c monitor.c net.c net_ctl.c pfkey.c timer.c
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../sbin/iked
-CLEANFILES= y.tab.h
+YFLAGS=
# ElectricFence
#LDADD+= -L/usr/local/lib -lefence
-# $OpenBSD: Makefile,v 1.44 2016/03/30 06:38:46 jmc Exp $
+# $OpenBSD: Makefile,v 1.45 2017/07/03 22:21:47 espie Exp $
.PATH: ${.CURDIR}/..
CFLAGS+= -Wsign-compare
CFLAGS+= -Werror-implicit-function-declaration
CFLAGS+= -DNO_IO
+YFLAGS=
SRCS= enqueue.c
SRCS+= parser.c
-# $OpenBSD: Makefile,v 1.14 2014/11/19 10:19:00 blambert Exp $
+# $OpenBSD: Makefile,v 1.15 2017/07/03 22:21:47 espie Exp $
PROG= snmpd
MAN= snmpd.8 snmpd.conf.5
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
-CLEANFILES+= y.tab.h
+YFLAGS=
.include <bsd.prog.mk>
-# $OpenBSD: Makefile,v 1.6 2016/10/07 08:49:53 reyk Exp $
+# $OpenBSD: Makefile,v 1.7 2017/07/03 22:21:47 espie Exp $
PROG= switchd
MAN= switchd.8 switchd.conf.5
GENERATED= ofp_map.c ofp10_map.c
CLEANFILES+= ${GENERATED} *~
+YFLAGS=
ofp_map.c: genmap.sh ${.CURDIR}/ofp_map.h ${.CURDIR}/../../sys/net/ofp.h
/bin/sh ${.CURDIR}/genmap.sh -i ${.CURDIR}/../../sys/net/ofp.h -t ofp \
-# $OpenBSD: Makefile,v 1.15 2017/05/08 09:08:40 reyk Exp $
+# $OpenBSD: Makefile,v 1.16 2017/07/03 22:21:47 espie Exp $
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
LDADD+= -lutil -lpthread -levent
DPADD+= ${LIBUTIL} ${LIBEVENT}
-CLEANFILES+= y.tab.h
+YFLAGS=
.else
-# $OpenBSD: Makefile,v 1.9 2017/05/30 09:33:31 jmatthew Exp $
+# $OpenBSD: Makefile,v 1.10 2017/07/03 22:21:47 espie Exp $
PROG= ypldap
SRCS= parse.y ypldap.c log.c \
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
+YFLAGS=
.include <bsd.prog.mk>