2009-09-11 19:34:15 +02:00
|
|
|
noinst_LIBRARIES = libparser.a
|
|
|
|
|
2019-04-24 14:52:30 +02:00
|
|
|
GENERATED_FILES = assign_tab.cc formula_tab.cc matrix_tab.cc assign_tab.hh formula_tab.hh matrix_tab.hh assign_ll.cc formula_ll.cc matrix_ll.cc
|
2009-09-11 19:34:15 +02:00
|
|
|
|
|
|
|
libparser_a_SOURCES = \
|
2019-01-08 17:12:05 +01:00
|
|
|
location.hh \
|
|
|
|
atom_assignings.cc \
|
|
|
|
atom_assignings.hh \
|
|
|
|
atom_substitutions.cc \
|
|
|
|
atom_substitutions.hh \
|
|
|
|
dynamic_atoms.cc \
|
|
|
|
dynamic_atoms.hh \
|
|
|
|
fine_atoms.cc \
|
|
|
|
fine_atoms.hh \
|
|
|
|
formula_parser.cc \
|
|
|
|
formula_parser.hh \
|
|
|
|
matrix_parser.cc \
|
|
|
|
matrix_parser.hh \
|
|
|
|
parser_exception.cc \
|
|
|
|
parser_exception.hh \
|
|
|
|
static_atoms.cc \
|
|
|
|
static_atoms.hh \
|
|
|
|
static_fine_atoms.cc \
|
|
|
|
static_fine_atoms.hh \
|
|
|
|
tree.cc \
|
|
|
|
tree.hh \
|
2009-09-11 19:34:15 +02:00
|
|
|
$(GENERATED_FILES)
|
|
|
|
|
2011-01-15 11:33:01 +01:00
|
|
|
libparser_a_CPPFLAGS = -I../.. $(BOOST_CPPFLAGS)
|
2009-09-11 19:34:15 +02:00
|
|
|
|
|
|
|
BUILT_SOURCES = $(GENERATED_FILES)
|
|
|
|
|
2019-04-24 14:52:30 +02:00
|
|
|
EXTRA_DIST = assign.yy formula.yy matrix.yy assign.ll formula.ll matrix.ll
|
2009-09-11 19:34:15 +02:00
|
|
|
|
2019-01-08 17:12:05 +01:00
|
|
|
%_tab.cc %_tab.hh: %.yy
|
2019-04-17 18:52:12 +02:00
|
|
|
$(YACC) -W -o$*_tab.cc $<
|
2009-09-11 19:34:15 +02:00
|
|
|
|
2019-04-23 12:58:38 +02:00
|
|
|
%_tab.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast
|
|
|
|
|
2019-01-08 17:12:05 +01:00
|
|
|
%_ll.cc: %.ll
|
2009-09-11 19:34:15 +02:00
|
|
|
$(LEX) -i -o$@ $<
|
2019-04-23 12:58:38 +02:00
|
|
|
|
|
|
|
%_ll.$(OBJEXT): CXXFLAGS += -Wno-old-style-cast
|