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