From: espie Date: Thu, 6 Jul 2017 12:15:23 +0000 (+0000) Subject: /tmp/cvsa9y4jm X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c9e86b779cb0713bf355065a401f77e07e79406e;p=openbsd /tmp/cvsa9y4jm --- diff --git a/usr.sbin/switchctl/Makefile b/usr.sbin/switchctl/Makefile index 83b28ccb824..d6007e91b3f 100644 --- a/usr.sbin/switchctl/Makefile +++ b/usr.sbin/switchctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2016/11/17 10:05:44 reyk Exp $ +# $OpenBSD: Makefile,v 1.5 2017/07/06 12:15:23 espie Exp $ SWITCHD= ${.CURDIR}/../switchd @@ -20,7 +20,7 @@ CFLAGS+= -Wsign-compare GENERATED= ofp_map.c ofp10_map.c SRCS+= ${GENERATED} -CLEANFILES+= ${GENERATED} *~ +CLEANFILES+= ${GENERATED} ofp_map.c: genmap.sh ${SWITCHD}/ofp_map.h ${SWITCHD}/../../sys/net/ofp.h /bin/sh ${SWITCHD}/genmap.sh -i ${SWITCHD}/../../sys/net/ofp.h -t ofp \ diff --git a/usr.sbin/switchd/Makefile b/usr.sbin/switchd/Makefile index 41f6436fd46..7312b739785 100644 --- a/usr.sbin/switchd/Makefile +++ b/usr.sbin/switchd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2017/07/03 22:21:47 espie Exp $ +# $OpenBSD: Makefile,v 1.8 2017/07/06 12:15:23 espie Exp $ PROG= switchd MAN= switchd.8 switchd.conf.5 @@ -18,7 +18,7 @@ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+= -Wsign-compare GENERATED= ofp_map.c ofp10_map.c -CLEANFILES+= ${GENERATED} *~ +CLEANFILES+= ${GENERATED} YFLAGS= ofp_map.c: genmap.sh ${.CURDIR}/ofp_map.h ${.CURDIR}/../../sys/net/ofp.h