diff options
author | Adrian Thurston <thurston@colm.net> | 2020-10-18 11:44:43 -0700 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2020-10-18 11:44:43 -0700 |
commit | 85b76476de71f43d3eb25d6bef4ee6d84cb71f6c (patch) | |
tree | 65c127fbcf70e62d8a4848be2c9c4ff7d74d86a1 /src/libfsm/Makefile.am | |
parent | 86bb5882a70224a29650ccfa1e46c9b023c2a3ef (diff) | |
download | colm-into-src.tar.gz |
lift all source code into src/ dirinto-src
Diffstat (limited to 'src/libfsm/Makefile.am')
-rw-r--r-- | src/libfsm/Makefile.am | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/libfsm/Makefile.am b/src/libfsm/Makefile.am new file mode 100644 index 00000000..5efcb9b4 --- /dev/null +++ b/src/libfsm/Makefile.am @@ -0,0 +1,43 @@ +# libfsm contains only the FSM construction code and the backend code +# generators for C, asm and cgil (Code Gen Intermediate Language) . It is +# useful for building state machine code generators in programs not connected +# to the ragel language. +lib_LTLIBRARIES = libfsm.la + +libfsminclude_HEADERS = \ + action.h fsmgraph.h common.h \ + gendata.h redfsm.h dot.h asm.h ragel.h + +# nodist_pkginclude_HEADERS = config.h + +# +# libfsm: state machine construction and direct code generation. +# +libfsm_la_CPPFLAGS = -I$(top_srcdir)/src/aapl + +dist_libfsm_la_SOURCES = \ + parsedata.h idbase.h codegen.h \ + actloop.h actexp.h \ + tables.h \ + binary.h bingoto.h binbreak.h binvar.h \ + flat.h flatgoto.h flatbreak.h flatvar.h \ + switch.h switchgoto.h switchbreak.h switchvar.h \ + goto.h gotoloop.h gotoexp.h \ + ipgoto.h asm.h \ + idbase.cc fsmstate.cc fsmbase.cc fsmattach.cc fsmmin.cc fsmgraph.cc \ + fsmap.cc fsmcond.cc fsmnfa.cc common.cc redfsm.cc gendata.cc \ + allocgen.cc codegen.cc \ + actexp.cc binvar.cc \ + tables.cc tabgoto.cc tabbreak.cc tabvar.cc \ + binary.cc bingoto.cc binbreak.cc actloop.cc \ + flat.cc flatgoto.cc flatbreak.cc flatvar.cc \ + switch.cc switchgoto.cc switchbreak.cc switchvar.cc \ + goto.cc gotoloop.cc gotoexp.cc ipgoto.cc \ + dot.cc asm.cc + +libfsm_la_LDFLAGS = -no-undefined + +if LINKER_NO_UNDEFINED +libfsm_la_LDFLAGS += -Wl,--no-undefined +endif + |