summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/pfctl/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/pfctl/Makefile b/sbin/pfctl/Makefile
index 3ee1b93c3ec..6ff9790605b 100644
--- a/sbin/pfctl/Makefile
+++ b/sbin/pfctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.15 2004/03/10 18:49:49 mcbride Exp $
+# $OpenBSD: Makefile,v 1.16 2004/06/10 19:02:16 miod Exp $
PROG= pfctl
SRCS= pfctl.c parse.y pfctl_parser.c pf_print_state.c pfctl_altq.c
@@ -12,3 +12,11 @@ LDADD+= -lm
DPADD+= ${LIBM}
.include <bsd.prog.mk>
+
+# XXX
+.if (${MACHINE_ARCH} == "m88k")
+parse.o: parse.y
+ ${YACC.y} ${.IMPSRC}
+ ${COMPILE.c} -fno-schedule-insns2 -o ${.TARGET} y.tab.c
+ rm -f y.tab.c
+.endif