summaryrefslogtreecommitdiff
path: root/src/libfsm/Makefile.am
blob: 4174548a06d460d634d9f24e77e21dac028fcc8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 = -release $(VERSION) -no-undefined

if LINKER_NO_UNDEFINED
libfsm_la_LDFLAGS += -Wl,--no-undefined
endif