diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-10-13 19:14:30 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-10-13 19:14:30 +0000 |
commit | eafd7a3974e8605fd02794269db6114a3446e016 (patch) | |
tree | 064737b35dbe10f2995753ead92f95bac30ba048 /ragel/Makefile.am | |
download | ragel-tarball-eafd7a3974e8605fd02794269db6114a3446e016.tar.gz |
ragel-6.9ragel-6.9
Diffstat (limited to 'ragel/Makefile.am')
-rw-r--r-- | ragel/Makefile.am | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/ragel/Makefile.am b/ragel/Makefile.am new file mode 100644 index 0000000..48999ad --- /dev/null +++ b/ragel/Makefile.am @@ -0,0 +1,58 @@ + +INCLUDES = -I$(top_srcdir)/aapl + +bin_PROGRAMS = ragel + +ragel_CXXFLAGS = -Wall + +ragel_SOURCES = \ + buffer.h cdgoto.h cscodegen.h csipgoto.h inputdata.h rbxgoto.h \ + rubyflat.h cdcodegen.h cdipgoto.h csfflat.h cssplit.h javacodegen.h \ + redfsm.h rubyftable.h cdfflat.h cdsplit.h csfgoto.h cstable.h \ + parsedata.h rlparse.h rubytable.h cdfgoto.h cdtable.h csflat.h \ + dotcodegen.h parsetree.h rlscan.h version.h cdflat.h common.h \ + csftable.h fsmgraph.h pcheck.h rubycodegen.h xmlcodegen.h cdftable.h \ + csgoto.h gendata.h ragel.h rubyfflat.h \ + gocodegen.h gotable.h goftable.h goflat.h gofflat.h gogoto.h gofgoto.h \ + goipgoto.h gotablish.h \ + mlcodegen.h mltable.h mlftable.h mlflat.h mlfflat.h mlgoto.h mlfgoto.h \ + main.cpp parsetree.cpp parsedata.cpp fsmstate.cpp fsmbase.cpp \ + fsmattach.cpp fsmmin.cpp fsmgraph.cpp fsmap.cpp rlscan.cpp rlparse.cpp \ + inputdata.cpp common.cpp redfsm.cpp gendata.cpp cdcodegen.cpp \ + cdtable.cpp cdftable.cpp cdflat.cpp cdfflat.cpp cdgoto.cpp cdfgoto.cpp \ + cdipgoto.cpp cdsplit.cpp javacodegen.cpp rubycodegen.cpp rubytable.cpp \ + rubyftable.cpp rubyflat.cpp rubyfflat.cpp rbxgoto.cpp cscodegen.cpp \ + cstable.cpp csftable.cpp csflat.cpp csfflat.cpp csgoto.cpp csfgoto.cpp \ + csipgoto.cpp cssplit.cpp dotcodegen.cpp xmlcodegen.cpp \ + gocodegen.cpp gotable.cpp goftable.cpp goflat.cpp gofflat.cpp gogoto.cpp gofgoto.cpp \ + goipgoto.cpp gotablish.cpp \ + mlcodegen.cpp mltable.cpp mlftable.cpp mlflat.cpp mlfflat.cpp mlgoto.cpp mlfgoto.cpp + +BUILT_SOURCES = \ + rlscan.cpp rlparse.h rlparse.cpp version.h + +version.h: Makefile + echo '#define VERSION "$(PACKAGE_VERSION)"' > version.h + echo '#define PUBDATE "$(PUBDATE)"' >> version.h + +EXTRA_DIST = rlscan.rl rlparse.kh rlparse.kl + +if BUILD_PARSERS + +CLEANFILES = \ + rlscan.cpp rlparse.h rlparse.cpp + +rlparse.h: rlparse.kh + kelbt -o $@ $< + +rlparse.cpp: rlparse.kl rlparse.kh + kelbt -o $@ $< + +# This dependency comes from the import of the parser defines +# into the scanner. +rlscan.cpp: rlparse.h + +rlscan.cpp: rlscan.rl + ragel -G2 -I$(builddir) -o $@ $< + +endif |