C++ Library containing a lot of needful things: Stack Trace, Command Line Parser, Resource Handling, Configuration Files, Unix Command Execution, Directories, Regular Expressions, Tokenizer, Function Trace, Standard Extensions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

143 lines
4.2 KiB

## @file
##
## $Id$
##
## $Date$
## $Author$
##
## @copy © Marc Wäckerlin
## @license LGPL, see file <a href="license.html">COPYING</a>
##
## $Log$
## Revision 1.24 2005/04/10 15:00:13 marc
## improved targets for makefile
##
## Revision 1.23 2005/04/07 21:01:46 marc
## reordering of dependencies (i.e. make release)
## documentation is now generated in root dir, no more in mrw subdir
##
## Revision 1.22 2005/03/11 23:28:30 marc
## - new multithreaded package
## - new log4cxx package
##
## Revision 1.21 2005/02/28 08:11:46 marc
## stack trace and dynamic library are conditional
##
## Revision 1.20 2005/02/28 07:54:57 marc
## added functiontrace
##
## Revision 1.19 2005/02/21 16:33:41 marc
## source rpm: no "-devel"!
##
## Revision 1.18 2005/02/18 16:19:13 marc
## Also build source RPM
## No more install RPMs after build
## Added dynamiclibrary.hpp
##
## Revision 1.17 2005/02/08 12:34:14 marc
## added errno / unix_error
##
## Revision 1.16 2005/01/07 00:37:10 marc
## config file handler and file
##
## Revision 1.15 2004/12/17 16:30:06 marc
## added tokenizer
##
## Revision 1.14 2004/12/14 20:22:42 marc
## added regexp
##
## Revision 1.13 2004/10/11 18:33:53 marc
## add stdext.hpp
##
## Revision 1.12 2004/10/07 17:25:40 marc
## make rpm also installs the new rpm (to check whether this is possible)
##
## Revision 1.11 2004/10/07 16:12:52 marc
## a backslash too much
##
## Revision 1.10 2004/10/07 16:01:03 marc
## new headers missing in installation
##
## Revision 1.9 2004/10/07 13:41:16 marc
## devel in the same spec file
##
## Revision 1.8 2004/09/09 20:09:06 marc
## library versioning now works how i want it
##
## Revision 1.7 2004/08/31 16:22:29 marc
## webserver now depends on tag and rpm
## added .PHONY
##
## Revision 1.6 2004/08/28 16:21:07 marc
## mrw-c++-0.92 (mrw)
## - new file: version.cpp
## - new file header for all sources
## - work around warning in mrw::auto<T>
## - possibility to compile without log4cxx
## - work around bugs in demangle.h and libiberty.h
## - corrections in documentation
## - added simple tracing mechanism
## - more warnings
## - small corrections in Auto<>::Free and a new test for it
## - possibility to compile without stack trace
##
SUBDIRS = mrw
EXTRA_DIST = bootstrap.sh
nobase_include_HEADERS = mrw/arg.hpp mrw/list.hpp \
mrw/unistd.hpp \
mrw/auto.hpp mrw/map.hpp \
mrw/smartpointer.hpp mrw/vector.hpp \
mrw/deque.hpp mrw/multimap.hpp \
mrw/exception.hpp mrw/multiset.hpp mrw/stdext.hpp \
mrw/exec.hpp mrw/set.hpp mrw/string.hpp \
mrw/regexp.hpp mrw/tokenizer.hpp \
mrw/configfile.hpp mrw/file.hpp mrw/errno.hpp
if HAVE_STACKTRACE
nobase_include_HEADERS += mrw/stacktrace.hpp
endif
if HAVE_LTDL
nobase_include_HEADERS += mrw/dynamiclibrary.hpp
endif
if HAVE_LOG4CXX
nobase_include_HEADERS += mrw/functiontrace.hpp
endif
infosdir = ${pkgdatadir}
infos_DATA = AUTHORS NEWS README COPYING INSTALL ChangeLog \
@PACKAGENAME@.spec
RPMS = /usr/src/packages/RPMS/i586/@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@-1.i586.rpm \
/usr/src/packages/RPMS/i586/@PACKAGENAME@-mt-@MAJOR@.@MINOR@.@LEAST@-1.i586.rpm \
/usr/src/packages/RPMS/i586/@PACKAGENAME@-devel-@MAJOR@.@MINOR@.@LEAST@-1.i586.rpm \
/usr/src/packages/SRPMS/@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@-1.src.rpm
.PHONY: release tag rpm webserver distclean-local
release: tag webserver
tag: distcheck
cvs ci -R .
cvs tag -FR REL_@PACKAGENAME@-@MAJOR@-@MINOR@-@LEAST@ .
rpm: dist
cp @PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz /usr/src/packages/SOURCES/
rpmbuild -ba --clean @PACKAGENAME@.spec
webserver: rpm
ssh root@waeckerlin.org bash -c \
'"rm -r /home/marc/mrw-c++; mkdir -p /home/marc/mrw-c++"'
scp doc/html/* \
doc/latex/@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.pdf \
@PACKAGENAME@-@MAJOR@.@MINOR@.@LEAST@.tar.gz \
${RPMS} \
log4cxx*.rpm \
root@waeckerlin.org:/home/marc/mrw-c++/
distclean-local:
- find . -name '*~' | xargs rm
- rm -r autom4te.cache
- rm aclocal.m4 config.guess config.sub configure \
depcomp install-sh ltmain.sh makefile makefile.in \
missing mkinstalldirs