* configure.ac: Output src/tgbaparse/Makefile.
* src/Makefile.am (SUBDIRS): Add tgbaparse. (libspot_la_LDADD): Add tgbaparse/libtgbaparse.la. * src/tgba/tgbaexplicit.cc (tgba_explicit::get_condition, tgba_explicit::get_promise, tgba_explicit::add_neg_condition, tgba_explicit::add_neg_promise): New methods. * src/tgba/tgbaexplicit.hh: Declare them. * src/tgbaparse/Makefile.am, src/tgbaparse/fmterror.cc, src/tgbaparse/parsedecl.hh, src/tgbaparse/public.hh, src/tgbaparse/tgbaparse.yy, src/tgbaparse/tgbascan.ll, src/tgbatest/tgbaread.cc, src/tgbatest/tgbaread.test: New files. * src/tgbatest/Makefile.am (check_PROGRAMS): Add tgbaread. (TESTS): Add tgbaread.cc. (CLEANFILES): Add input. (tgbaread_SOURCES): New variable.
This commit is contained in:
parent
cebffb11e8
commit
6884a7f985
18 changed files with 495 additions and 14 deletions
31
src/tgbaparse/Makefile.am
Normal file
31
src/tgbaparse/Makefile.am
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
AM_CPPFLAGS = -I$(srcdir)/..
|
||||
AM_CXXFLAGS = $(WARNING_CXXFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libtgbaparse.la
|
||||
|
||||
TGBAPARSE_YY = tgbaparse.yy
|
||||
FROM_TGBAPARSE_YY_MAIN = tgbaparse.cc
|
||||
FROM_TGBAPARSE_YY_OTHERS = \
|
||||
stack.hh \
|
||||
position.hh \
|
||||
location.hh \
|
||||
tgbaparse.hh
|
||||
FROM_TGBAPARSE_YY = $(FROM_TGBAPARSE_YY_MAIN) $(FROM_TGBAPARSE_YY_OTHERS)
|
||||
|
||||
BUILT_SOURCES = $(FROM_TGBAPARSE_YY)
|
||||
MAINTAINERCLEANFILES = $(FROM_TGBAPARSE_YY)
|
||||
|
||||
$(FROM_TGBAPARSE_YY_MAIN): $(srcdir)/$(TGBAPARSE_YY)
|
||||
bison --defines --locations --skeleton=lalr1.cc --report=all \
|
||||
$(srcdir)/$(TGBAPARSE_YY) -o $@
|
||||
$(FROM_TGBAPARSE_YY_OTHERS): $(TGBAPARSE_YY)
|
||||
@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) $(FROM_TGBAPARSE_YY_MAIN)
|
||||
|
||||
EXTRA_DIST = $(TGBAPARSE_YY)
|
||||
|
||||
libtgbaparse_la_SOURCES = \
|
||||
fmterror.cc \
|
||||
$(FROM_TGBAPARSE_YY) \
|
||||
tgbascan.ll \
|
||||
parsedecl.hh \
|
||||
public.hh
|
||||
Loading…
Add table
Add a link
Reference in a new issue