forget TRACE

master
Marc Wäckerlin 20 years ago
parent bd82d29c06
commit 802ab8e2c0
  1. 53
      mrw/makefile.am

@ -9,6 +9,9 @@
## @license LGPL, see file <a href="license.html">COPYING</a>
##
## $Log$
## Revision 1.14 2004/12/08 13:48:20 marc
## forget TRACE
##
## Revision 1.13 2004/11/25 18:33:18 marc
## support for function tracing which does not yet work (bug in OpenC++)
##
@ -70,17 +73,17 @@ if HAVE_LOG4CXX
endif
endif
if TRACER
tmp_src = \
mrw.hpp version.cpp \
arg.cpp arg.hpp auto.hpp deque.hpp \
exception.cpp exception.hpp \
exec.cpp exec.hpp list.hpp \
map.hpp multimap.hpp multiset.hpp \
set.hpp simpletrace.hpp \
smartpointer.hpp stdext.cpp stdext.hpp \
string.hpp unistd.hpp vector.hpp
else
#if TRACER
# tmp_src = \
# mrw.hpp version.cpp \
# arg.cpp arg.hpp auto.hpp deque.hpp \
# exception.cpp exception.hpp \
# exec.cpp exec.hpp list.hpp \
# map.hpp multimap.hpp multiset.hpp \
# set.hpp simpletrace.hpp \
# smartpointer.hpp stdext.cpp stdext.hpp \
# string.hpp unistd.hpp vector.hpp
#else
libmrw_la_SOURCES = \
mrw.hpp version.cpp \
arg.cpp arg.hpp auto.hpp deque.hpp \
@ -90,22 +93,22 @@ else
set.hpp simpletrace.hpp \
smartpointer.hpp stdext.cpp stdext.hpp \
string.hpp unistd.hpp vector.hpp
endif
#endif
if HAVE_STACKTRACE
if TRACER
tmp_src += \
stacktrace.hpp stacktrace.cpp
else
#if TRACER
# tmp_src += \
# stacktrace.hpp stacktrace.cpp
#else
libmrw_la_SOURCES += \
stacktrace.hpp stacktrace.cpp
endif
#endif
endif
libmrw_la_LDFLAGS = -version-info @LIB_VERSION@
if TRACER
BUILT_SOURCES = ${tmp_src:.cpp=.ii}
libmrw_la_SOURCES = ${BUILT_SOURCES}
endif
#if TRACER
# BUILT_SOURCES = ${tmp_src:.cpp=.ii}
# libmrw_la_SOURCES = ${BUILT_SOURCES}
#endif
if HAVE_STACKTRACE
libmrwexcstderr_la_SOURCES = autostacktracestderr.cpp version.cpp
@ -183,7 +186,7 @@ distclean-local:
- rm -r doc/html/* doc/latex/*
- rm makefile makefile.in doxygen.err libmrw.doxytag
if TRACER
%.ii: %.cpp; ${TRACE} -E -- $<
%.o: %.ii; ${CXX} -c ${CPPFLAGS} ${CXXFLAGS} -o $@ $<
endif
#if TRACER
#%.ii: %.cpp; ${TRACE} -E -- $<
#%.o: %.ii; ${CXX} -c ${CPPFLAGS} ${CXXFLAGS} -o $@ $<
#endif
Loading…
Cancel
Save