2004-05-05 06:13:29 +00:00
|
|
|
AM_CPPFLAGS := ${AM_CPPFLAGS} -I..
|
2004-04-21 06:39:20 +00:00
|
|
|
|
2004-04-23 16:03:29 +00:00
|
|
|
CLEANFILES = doxygen.error
|
2004-04-21 19:03:38 +00:00
|
|
|
examplesdir = ${pkgdatadir}/examples
|
|
|
|
examples_DATA = examples/*
|
|
|
|
htmldir = ${pkgdatadir}/doc/html
|
|
|
|
html_DATA = doc/html/*
|
2004-04-23 16:03:29 +00:00
|
|
|
pdfdir = ${pkgdatadir}/doc/pdf
|
|
|
|
pdf_DATA = doc/latex/@PACKAGENAME@-@MAJOR@.@MINOR@.pdf
|
|
|
|
EXTRA_DIST = test.dat ${examples_DATA} ${html_DATA} ${pdf_DATA}
|
2004-04-21 19:03:38 +00:00
|
|
|
|
2004-04-23 16:03:29 +00:00
|
|
|
lib_LTLIBRARIES = libmrw.la libmrwexcstderr.la libmrwexclog4cxx.la
|
2004-04-21 06:39:20 +00:00
|
|
|
|
|
|
|
libmrw_la_SOURCES = mrw.hpp \
|
2004-04-27 20:26:50 +00:00
|
|
|
auto.hpp auto.cpp unistd.hpp smartpointer.hpp \
|
2004-04-21 19:03:38 +00:00
|
|
|
stacktrace.hpp stacktrace.cpp exception.hpp exception.cpp \
|
2004-04-27 20:26:50 +00:00
|
|
|
exec.hpp exec.cpp \
|
|
|
|
arg.hpp
|
2004-04-21 19:03:38 +00:00
|
|
|
libmrw_la_LDFLAGS = -version-info @MAJOR@:@MINOR@
|
2004-04-21 06:39:20 +00:00
|
|
|
|
2004-04-21 19:03:38 +00:00
|
|
|
libmrwexcstderr_la_SOURCES = autostacktracestderr.cpp
|
|
|
|
libmrwexcstderr_la_LDFLAGS = -version-info @MAJOR@:@MINOR@
|
|
|
|
libmrwexcstderr_la_LIBADD = -lmrw
|
2004-04-21 06:39:20 +00:00
|
|
|
|
2004-04-23 16:03:29 +00:00
|
|
|
libmrwexclog4cxx_la_SOURCES = autostacktracelog4cxx.cpp
|
|
|
|
libmrwexclog4cxx_la_LDFLAGS = -version-info @MAJOR@:@MINOR@
|
|
|
|
libmrwexclog4cxx_la_LIBADD = -lmrw
|
|
|
|
|
2004-04-27 20:26:50 +00:00
|
|
|
check_PROGRAMS = auto_test smartpointer_test exec_test \
|
|
|
|
stacktrace_test mrwexcstderr_test mrwexclog4cxx_test
|
2004-04-21 19:03:38 +00:00
|
|
|
auto_test_SOURCES = auto_test.cpp
|
|
|
|
auto_test_CPPFLAGS = -I.. -g3
|
|
|
|
auto_test_LDADD = -lmrw -lcppunit
|
2004-04-27 20:26:50 +00:00
|
|
|
smartpointer_test_SOURCES = smartpointer_test.cpp
|
|
|
|
smartpointer_test_CPPFLAGS = -I.. -g3
|
|
|
|
smartpointer_test_LDADD = -lmrw -lcppunit
|
2004-04-21 19:03:38 +00:00
|
|
|
exec_test_SOURCES = exec_test.cpp
|
|
|
|
exec_test_CPPFLAGS = -I.. -g3
|
|
|
|
exec_test_LDADD = -lmrw -lcppunit
|
|
|
|
stacktrace_test_SOURCES = stacktrace_test.cpp
|
|
|
|
stacktrace_test_CPPFLAGS = -I.. -g3
|
|
|
|
stacktrace_test_LDADD = -lmrw -lcppunit
|
2004-04-23 16:03:29 +00:00
|
|
|
mrwexcstderr_test_SOURCES = mrwexcstderr_test.cpp
|
|
|
|
mrwexcstderr_test_CPPFLAGS = -I.. -g3
|
|
|
|
mrwexcstderr_test_LDADD = -lmrwexcstderr -lcppunit
|
|
|
|
mrwexclog4cxx_test_SOURCES = mrwexclog4cxx_test.cpp
|
|
|
|
mrwexclog4cxx_test_CPPFLAGS = -I.. -g3
|
|
|
|
mrwexclog4cxx_test_LDADD = -lmrwexclog4cxx -lcppunit -llog4cxx
|
2004-04-21 19:03:38 +00:00
|
|
|
TESTS = ${check_PROGRAMS}
|
2004-04-21 06:39:20 +00:00
|
|
|
|
2004-04-23 16:03:29 +00:00
|
|
|
deps = ../COPYING ../README ../INSTALL ../NEWS ../ChangeLog
|
|
|
|
doc: doc/html/index.html doc/latex/@PACKAGENAME@-@MAJOR@.@MINOR@.pdf
|
|
|
|
doc/html/index.html: doxyfile *.[ch]pp ${deps}
|
2004-04-21 06:39:20 +00:00
|
|
|
doxygen doxyfile
|
2004-04-23 16:03:29 +00:00
|
|
|
doc/latex/@PACKAGENAME@-@MAJOR@.@MINOR@.pdf: doxyfile *.[ch]pp ${deps}
|
|
|
|
cd doc/latex && make && \
|
|
|
|
mv refman.pdf @PACKAGENAME@-@MAJOR@.@MINOR@.pdf
|