new functiontrace, removed simpletrace
This commit is contained in:
@@ -9,6 +9,9 @@
|
|||||||
## @license LGPL, see file <a href="license.html">COPYING</a>
|
## @license LGPL, see file <a href="license.html">COPYING</a>
|
||||||
##
|
##
|
||||||
## $Log$
|
## $Log$
|
||||||
|
## Revision 1.23 2005/02/28 07:14:58 marc
|
||||||
|
## new functiontrace, removed simpletrace
|
||||||
|
##
|
||||||
## Revision 1.22 2005/02/18 15:51:08 marc
|
## Revision 1.22 2005/02/18 15:51:08 marc
|
||||||
## new dynamiclibrary.hpp
|
## new dynamiclibrary.hpp
|
||||||
## tests are now compiled with option -O0
|
## tests are now compiled with option -O0
|
||||||
@@ -81,7 +84,7 @@ if HAVE_STACKTRACE
|
|||||||
AM_CPPFLAGS += -DHAVE_STACKTRACE
|
AM_CPPFLAGS += -DHAVE_STACKTRACE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CLEANFILES = doxygen.errors
|
CLEANFILES = doxygen.errors functiontrace_test.log
|
||||||
examplesdir = ${pkgdatadir}/examples
|
examplesdir = ${pkgdatadir}/examples
|
||||||
examples_DATA = examples/*
|
examples_DATA = examples/*
|
||||||
htmldir = ${pkgdatadir}/doc/html
|
htmldir = ${pkgdatadir}/doc/html
|
||||||
@@ -104,11 +107,12 @@ endif
|
|||||||
# exception.cpp exception.hpp \
|
# exception.cpp exception.hpp \
|
||||||
# exec.cpp exec.hpp list.hpp \
|
# exec.cpp exec.hpp list.hpp \
|
||||||
# map.hpp multimap.hpp multiset.hpp \
|
# map.hpp multimap.hpp multiset.hpp \
|
||||||
# set.hpp simpletrace.hpp \
|
# set.hpp \
|
||||||
# smartpointer.hpp stdext.cpp stdext.hpp \
|
# smartpointer.hpp stdext.cpp stdext.hpp \
|
||||||
# string.hpp unistd.hpp vector.hpp regexp.hpp regexp.cpp \
|
# string.hpp unistd.hpp vector.hpp regexp.hpp regexp.cpp \
|
||||||
# tokenizer.hpp configfile.hpp configfile.cpp file.hpp \
|
# tokenizer.hpp configfile.hpp configfile.cpp file.hpp \
|
||||||
# errno.hpp errno.cpp dynamiclibrary.hpp
|
# errno.hpp errno.cpp dynamiclibrary.hpp \
|
||||||
|
# functiontrace.cpp functiontrace.hpp
|
||||||
#else
|
#else
|
||||||
libmrw_la_SOURCES = \
|
libmrw_la_SOURCES = \
|
||||||
mrw.hpp version.cpp \
|
mrw.hpp version.cpp \
|
||||||
@@ -116,11 +120,14 @@ endif
|
|||||||
exception.cpp exception.hpp \
|
exception.cpp exception.hpp \
|
||||||
exec.cpp exec.hpp list.hpp \
|
exec.cpp exec.hpp list.hpp \
|
||||||
map.hpp multimap.hpp multiset.hpp \
|
map.hpp multimap.hpp multiset.hpp \
|
||||||
set.hpp simpletrace.hpp \
|
set.hpp \
|
||||||
smartpointer.hpp stdext.cpp stdext.hpp \
|
smartpointer.hpp stdext.cpp stdext.hpp \
|
||||||
string.hpp unistd.hpp vector.hpp regexp.hpp regexp.cpp \
|
string.hpp unistd.hpp vector.hpp regexp.hpp regexp.cpp \
|
||||||
tokenizer.hpp configfile.hpp configfile.cpp file.hpp \
|
tokenizer.hpp configfile.hpp configfile.cpp file.hpp \
|
||||||
errno.hpp errno.cpp dynamiclibrary.hpp
|
errno.hpp errno.cpp dynamiclibrary.hpp
|
||||||
|
if HAVE_LOG4CXX
|
||||||
|
libmrw_la_SOURCES += functiontrace.cpp functiontrace.hpp
|
||||||
|
endif
|
||||||
#endif
|
#endif
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
#if TRACER
|
#if TRACER
|
||||||
@@ -132,7 +139,9 @@ if HAVE_STACKTRACE
|
|||||||
#endif
|
#endif
|
||||||
endif
|
endif
|
||||||
libmrw_la_LDFLAGS = -version-info @LIB_VERSION@
|
libmrw_la_LDFLAGS = -version-info @LIB_VERSION@
|
||||||
|
if HAVE_STACKTRACE
|
||||||
libmrw_la_LIBADD = -lltdl
|
libmrw_la_LIBADD = -lltdl
|
||||||
|
endif
|
||||||
|
|
||||||
#if TRACER
|
#if TRACER
|
||||||
# BUILT_SOURCES = ${tmp_src:.cpp=.ii}
|
# BUILT_SOURCES = ${tmp_src:.cpp=.ii}
|
||||||
@@ -153,6 +162,9 @@ endif
|
|||||||
|
|
||||||
check_PROGRAMS = auto_test smartpointer_test exec_test stdext_test regexp_test \
|
check_PROGRAMS = auto_test smartpointer_test exec_test stdext_test regexp_test \
|
||||||
tokenizer_test configfile_test dynamiclibrary_test
|
tokenizer_test configfile_test dynamiclibrary_test
|
||||||
|
if HAVE_LOG4CXX
|
||||||
|
check_PROGRAMS += functiontrace_test
|
||||||
|
endif
|
||||||
check_SCRIPTS = configfile_check.sh
|
check_SCRIPTS = configfile_check.sh
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
check_PROGRAMS += stacktrace_test mrwexcstderr_test
|
check_PROGRAMS += stacktrace_test mrwexcstderr_test
|
||||||
@@ -165,49 +177,49 @@ auto_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
|||||||
auto_test_LDFLAGS = @CPPUNIT_LIBS@
|
auto_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
auto_test_LDADD = -lmrw
|
auto_test_LDADD = -lmrw
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
auto_test_LDADD += -lmrwexcstderr
|
auto_test_LDADD += -lmrwexcstderr
|
||||||
endif
|
endif
|
||||||
smartpointer_test_SOURCES = smartpointer_test.cpp version.cpp
|
smartpointer_test_SOURCES = smartpointer_test.cpp version.cpp
|
||||||
smartpointer_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
smartpointer_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
||||||
smartpointer_test_LDFLAGS = @CPPUNIT_LIBS@
|
smartpointer_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
smartpointer_test_LDADD = -lmrw
|
smartpointer_test_LDADD = -lmrw
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
smartpointer_test_LDADD += -lmrwexcstderr
|
smartpointer_test_LDADD += -lmrwexcstderr
|
||||||
endif
|
endif
|
||||||
exec_test_SOURCES = exec_test.cpp version.cpp
|
exec_test_SOURCES = exec_test.cpp version.cpp
|
||||||
exec_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
exec_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
||||||
exec_test_LDFLAGS = @CPPUNIT_LIBS@
|
exec_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
exec_test_LDADD = -lmrw
|
exec_test_LDADD = -lmrw
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
exec_test_LDADD += -lmrwexcstderr
|
exec_test_LDADD += -lmrwexcstderr
|
||||||
endif
|
endif
|
||||||
stdext_test_SOURCES = stdext_test.cpp version.cpp
|
stdext_test_SOURCES = stdext_test.cpp version.cpp
|
||||||
stdext_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
stdext_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
||||||
stdext_test_LDFLAGS = @CPPUNIT_LIBS@
|
stdext_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
stdext_test_LDADD = -lmrw
|
stdext_test_LDADD = -lmrw
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
stdext_test_LDADD += -lmrwexcstderr
|
stdext_test_LDADD += -lmrwexcstderr
|
||||||
endif
|
endif
|
||||||
regexp_test_SOURCES = regexp_test.cpp version.cpp
|
regexp_test_SOURCES = regexp_test.cpp version.cpp
|
||||||
regexp_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
regexp_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
||||||
regexp_test_LDFLAGS = @CPPUNIT_LIBS@
|
regexp_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
regexp_test_LDADD = -lmrw
|
regexp_test_LDADD = -lmrw
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
regexp_test_LDADD += -lmrwexcstderr
|
regexp_test_LDADD += -lmrwexcstderr
|
||||||
endif
|
endif
|
||||||
tokenizer_test_SOURCES = tokenizer_test.cpp version.cpp
|
tokenizer_test_SOURCES = tokenizer_test.cpp version.cpp
|
||||||
tokenizer_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
tokenizer_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
||||||
tokenizer_test_LDFLAGS = @CPPUNIT_LIBS@
|
tokenizer_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
tokenizer_test_LDADD = -lmrw
|
tokenizer_test_LDADD = -lmrw
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
tokenizer_test_LDADD += -lmrwexcstderr
|
tokenizer_test_LDADD += -lmrwexcstderr
|
||||||
endif
|
endif
|
||||||
configfile_test_SOURCES = configfile_test.cpp version.cpp
|
configfile_test_SOURCES = configfile_test.cpp version.cpp
|
||||||
configfile_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
configfile_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
||||||
configfile_test_LDFLAGS = @CPPUNIT_LIBS@
|
configfile_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
configfile_test_LDADD = -lmrw
|
configfile_test_LDADD = -lmrw
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
configfile_test_LDADD += -lmrwexcstderr
|
configfile_test_LDADD += -lmrwexcstderr
|
||||||
endif
|
endif
|
||||||
check_LTLIBRARIES = libdynamiclibrary_testlib.la
|
check_LTLIBRARIES = libdynamiclibrary_testlib.la
|
||||||
libdynamiclibrary_testlib_la_SOURCES = dynamiclibrary_testlib.cpp
|
libdynamiclibrary_testlib_la_SOURCES = dynamiclibrary_testlib.cpp
|
||||||
@@ -216,8 +228,14 @@ dynamiclibrary_test_SOURCES = dynamiclibrary_test.cpp version.cpp
|
|||||||
dynamiclibrary_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
dynamiclibrary_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
||||||
dynamiclibrary_test_LDFLAGS = @CPPUNIT_LIBS@
|
dynamiclibrary_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
dynamiclibrary_test_LDADD = -lmrw -lltdl
|
dynamiclibrary_test_LDADD = -lmrw -lltdl
|
||||||
|
if HAVE_LOG4CXX
|
||||||
|
functiontrace_test_SOURCES = functiontrace_test.cpp version.cpp
|
||||||
|
functiontrace_test_CPPFLAGS = -I.. -g3 -O0 @CPPUNIT_CFLAGS@
|
||||||
|
functiontrace_test_LDFLAGS = @CPPUNIT_LIBS@
|
||||||
|
functiontrace_test_LDADD = -lmrw -llog4cxx
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
dynamiclibrary_test_LDADD += -lmrwexcstderr
|
functiontrace_test_LDADD += -lmrwexcstderr
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
if HAVE_STACKTRACE
|
if HAVE_STACKTRACE
|
||||||
stacktrace_test_SOURCES = stacktrace_test.cpp version.cpp
|
stacktrace_test_SOURCES = stacktrace_test.cpp version.cpp
|
||||||
|
Reference in New Issue
Block a user