new functiontrace, removed simpletrace

master
Marc Wäckerlin 20 years ago
parent 778065506f
commit 2e0aec1d9f
  1. 28
      mrw/makefile.am

@ -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
@ -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

Loading…
Cancel
Save