diff options
Diffstat (limited to 'contrib/seg/Makefile')
| -rw-r--r-- | contrib/seg/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/seg/Makefile b/contrib/seg/Makefile index 65b8eca4d1b..1efc1c3198c 100644 --- a/contrib/seg/Makefile +++ b/contrib/seg/Makefile @@ -1,5 +1,5 @@ # -# $Header: /cvsroot/pgsql/contrib/seg/Makefile,v 1.1 2000/12/11 20:40:33 tgl Exp $ +# $Header: /cvsroot/pgsql/contrib/seg/Makefile,v 1.2 2001/02/10 22:31:42 petere Exp $ # subdir = contrib/seg @@ -25,9 +25,13 @@ include $(top_srcdir)/src/Makefile.shlib segparse.c segparse.h: segparse.y +ifdef YACC $(YACC) -d $(YFLAGS) -p seg_yy $< mv -f y.tab.c segparse.c mv -f y.tab.h segparse.h +else + @$(missing) bison $< $@ +endif segscan.c: segscan.l ifdef FLEX |
