[Compbench-devel] CompBenchmarks++/libcompbenchmarks CBM.h, NONE, 1.1 config.h.in, NONE, 1.1 libcom
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-01-22 17:42:47
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv4004 Added Files: CBM.h config.h.in libcompbenchmarks.cpp libcompbenchmarks.h Makefile.am Log Message: libcompbenchmarks moved in a separate directory. --- NEW FILE: libcompbenchmarks.h --- /* ---------------------------------------------------------------------------- $Id: libcompbenchmarks.h,v 1.1 2007/01/22 17:42:42 xfred Exp $ This is free software. For details, see the GNU Public License in the COPYING file, or Look http://www.fsf.org ------------------------------------------------------------------------- */ #ifndef H_CBMLIBCOMPBENCHMARKS #define H_CBMLIBCOMPBENCHMARKS 1 #include <config.h> #ifdef CBM_SYSTEM_LINUX # include <System/System-Linux.h> #endif #ifdef CBM_SYSTEM_CYGWIN # include <System/System-Cygwin.h> #endif #ifdef CBM_SYSTEM_FREEBSD # include <System/System-FreeBSD.h> #endif namespace CBM { /** Enable/disable verbosity * \sa UO_verbose */ extern void setVerbosity(int v); /** Defines version of the libcompbenchmarks library */ extern char *libcompbenchmarks_version; /** User option defining if package's test suite has to be run */ extern int UO_enableTestSuite; /** User option defining 'force' mode */ extern int UO_force; /** Verbose mode. * If set to 0, disable verbose mode (UI messages disabled). */ extern int UO_verbose; /** Enable exits on fatal error. * Set to 1 in Perl wrapper; defaults to 0. */ extern int UO_fatal; } #endif --- NEW FILE: CBM.h --- /* ---------------------------------------------------------------------------- $Id: CBM.h,v 1.1 2007/01/22 17:42:42 xfred Exp $ This is free software. For details, see the GNU Public License in the COPYING file, or Look http://www.fsf.org ------------------------------------------------------------------------- */ #ifndef CBM_LIB #define CBM_LIB #include <libcompbenchmarks.h> #include <Compiler/Compiler.h> #include <Benchmark/Benchmark.h> #endif --- NEW FILE: Makefile.am --- # libcompbenchmarks/Makefile.am SUBDIRS = share System Compiler Benchmark UI lib_LTLIBRARIES = libcompbenchmarks.la libcompbenchmarks_la_SOURCES = libcompbenchmarks.cpp libcompbenchmarks_la_LIBADD = System/libSystem.la \ Compiler/libCompiler.la \ Benchmark/libBenchmark.la \ UI/libUI.la # -lwwwcore -lwwwapp -lwwwinit # !!! libcompbenchmarks_la_DEPENDENCIES = $(libcompbenchmarks_la_LIBADD) libcompbenchmarksinclude_HEADERS = config.h libcompbenchmarks.h config.h CBM.h libcompbenchmarksincludedir = $(includedir)/compbenchmarks noinst_HEADERS = $(libcompbenchmarks_la_SOURCES:.cpp=.h) # !!! INCLUDES = -I $(top_srcdir) --- NEW FILE: libcompbenchmarks.cpp --- #include <libcompbenchmarks.h> char *CBM::libcompbenchmarks_version = VERSION; int CBM::UO_enableTestSuite = 1; int CBM::UO_force = 0; int CBM::UO_verbose = 1; int CBM::UO_fatal = 1; void CBM::setVerbosity(int v) { CBM::UO_verbose=v; } --- NEW FILE: config.h.in --- /* libcompbenchmarks/config.h.in. Generated from configure.in by autoheader. */ /* bzip2 */ #undef CBM_PROG_BZIP2 /* cat */ #undef CBM_PROG_CAT /* cp */ #undef CBM_PROG_CP /* cut */ #undef CBM_PROG_CUT /* dd */ #undef CBM_PROG_DD /* dialog */ #undef CBM_PROG_DIALOG /* grep */ #undef CBM_PROG_GREP /* gzip */ #undef CBM_PROG_GZIP /* head */ #undef CBM_PROG_HEAD /* make */ #undef CBM_PROG_MAKE /* mkdir */ #undef CBM_PROG_MKDIR /* patch */ #undef CBM_PROG_PATCH /* perl */ #undef CBM_PROG_PERL /* rm */ #undef CBM_PROG_RM /* tail */ #undef CBM_PROG_TAIL /* tar */ #undef CBM_PROG_TAR /* unzip */ #undef CBM_PROG_UNZIP /* wget */ #undef CBM_PROG_WGET /* zcat */ #undef CBM_PROG_ZCAT /* System */ #undef CBM_SYSTEM /* Cygwin */ #undef CBM_SYSTEM_CYGWIN /* FreeBSD */ #undef CBM_SYSTEM_FREEBSD /* Linux */ #undef CBM_SYSTEM_LINUX /* Define to 1 if you have the <ctype.h> header file. */ #undef HAVE_CTYPE_H /* Define to 1 if you have the <dirent.h> header file. */ #undef HAVE_DIRENT_H /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the <getopt.h> header file. */ #undef HAVE_GETOPT_H /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the `dl' library (-ldl). */ #undef HAVE_LIBDL /* Define to 1 if you have the <memory.h> header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the <stat.h> header file. */ #undef HAVE_STAT_H /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the <stdlib.h> header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the <string> header file. */ #undef HAVE_STRING /* Define to 1 if you have the <strings.h> header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the <time.h> header file. */ #undef HAVE_TIME_H /* Define to 1 if you have the <types.h> header file. */ #undef HAVE_TYPES_H /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Installation prefix */ #undef PREFIX /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION |