summaryrefslogtreecommitdiffstats
path: root/storage/innobase/fts/Makefile.query
blob: d91b1b92de16d2cce5ec9f11002c835e9ec95bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
LEX=flex
YACC=bison
PREFIX=fts

all:	fts0pars.cc fts0blex.cc fts0tlex.cc

fts0par.cc: fts0pars.y
fts0blex.cc: fts0blex.l
fts0tlex.cc: fts0tlex.l

.l.cc:
	echo '#include "univ.i"' > $*.cc
	$(LEX) --stdout -P$(subst lex,,$*) -o $*.cc \
	--header-file=../include/$*.h $< >> $*.cc

.y.cc:
	$(YACC) -p $(PREFIX) -o $*.cc -d $<
	mv $*.h ../include