mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-06-18 23:37:05 +01:00
CI with Travis and loads of portability fixes
This commit is contained in:
@ -10,14 +10,12 @@ endif
|
||||
AM_LFLAGS = -olex.yy.c
|
||||
AM_YFLAGS = -d
|
||||
|
||||
BUILT_SOURCES = AsciiParser.hpp MathParser.hpp
|
||||
|
||||
lib_LTLIBRARIES = libLatAnalyze.la
|
||||
noinst_LTLIBRARIES = libLexers.la
|
||||
|
||||
libLexers_la_SOURCES = AsciiLexer.lpp MathLexer.lpp
|
||||
if CXX_GNU
|
||||
libLexers_la_CXXFLAGS = $(COM_CXXFLAGS) -Wno-unused-function
|
||||
libLexers_la_CXXFLAGS = $(COM_CXXFLAGS) -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-register
|
||||
else
|
||||
libLexers_la_CXXFLAGS = $(COM_CXXFLAGS)
|
||||
endif
|
||||
@ -97,4 +95,22 @@ endif
|
||||
libLatAnalyze_la_CXXFLAGS = $(COM_CXXFLAGS)
|
||||
libLatAnalyze_la_LIBADD = libLexers.la
|
||||
|
||||
if HAVE_AM_MINOR_LE_11
|
||||
AsciiParser.hpp: AsciiParser.ypp
|
||||
$(AM_V_YACC) $(YACC) -o AsciiParser.cpp --defines=AsciiParser.hpp $<
|
||||
|
||||
MathParser.hpp: MathParser.ypp
|
||||
$(AM_V_YACC) $(YACC) -o MathParser.cpp --defines=MathParser.hpp $<
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = AsciiParser.hpp MathParser.hpp
|
||||
|
||||
CLEANFILES = \
|
||||
MathLexer.cpp \
|
||||
AsciiLexer.cpp \
|
||||
AsciiParser.cpp\
|
||||
AsciiParser.hpp\
|
||||
MathParser.cpp \
|
||||
MathParser.hpp
|
||||
|
||||
ACLOCAL_AMFLAGS = -I .buildutils/m4
|
||||
|
Reference in New Issue
Block a user