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
|
lib_LTLIBRARIES = libscalc.la
libscalc_la_SOURCES = lib/expression.cc lib/funcalls.cc \
lib/functions.cc lib/neg.cc lib/operators.cc \
lib/ids.cc lib/session.cc lib/const.cc lib/syntax.cc \
lib/parse.cc lib/subgroups.cc lib/calc.cc \
lib/neg.hh lib/calc_internals.hh lib/session.hh \
lib/scanner_internal.hh lib/const.hh \
lib/scanner.hh lib/subgroups.hh \
lib/funcalls.hh \
lib/operators.hh lib/ids.hh lib/calc.hh
libscalc_la_CPPFLAGS = -I$(srcdir)/lib
libscalc_la_LDFLAGS = -version-info 3:0:3
# Header files for libscalc
pkginclude_HEADERS = lib/scalc.hh lib/session.hh \
lib/expression.hh lib/functions.hh \
lib/syntax.hh
# We distribute the doxygen file
EXTRA_DIST = Doxyfile
TESTS = scalc_test_suite
# Not built by default
check_PROGRAMS= scalc_test_suite test
scalc_test_suite_SOURCES = tests/scalc_test_suite.cc
scalc_test_suite_LDADD = libscalc.la
scalc_test_suite_CPPFLAGS = -I$(srcdir)/lib
# test is a small interactive program that can be run
test_SOURCES = tests/test.cc
test_LDADD = libscalc.la
test_CPPFLAGS = -I$(srcdir)/lib
# Small test
valgrind: scalc_test_suite
LD_LIBRARY_PATH=./.libs:$(LD_LIBRARY_PATH) valgrind --leak-check=full .libs/scalc_test_suite
|