Release 5.2.28 on 6/10/2011

This commit is contained in:
Gregory Burd 2011-09-13 13:44:24 -04:00
parent 05c4aa6cba
commit eff277ac23
9047 changed files with 2453207 additions and 0 deletions

130
LICENSE Normal file
View file

@ -0,0 +1,130 @@
/*-
* $Id$
*/
The following is the license that applies to this copy of the Berkeley DB
software. For a license to use the Berkeley DB software under conditions
other than those described here, or to purchase support for this software,
please contact Oracle at berkeleydb-info_us@oracle.com.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/*
* Copyright (c) 1990, 2011 Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Redistributions in any form must be accompanied by information on
* how to obtain complete source code for the DB software and any
* accompanying software that uses the DB software. The source code
* must either be included in the distribution or be available for no
* more than the cost of distribution plus a nominal fee, and must be
* freely redistributable under reasonable conditions. For an
* executable file, complete source code means the source code for all
* modules it contains. It does not include source code for modules or
* files that typically accompany the major components of the operating
* system on which the executable file runs.
*
* THIS SOFTWARE IS PROVIDED BY ORACLE ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
* NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL ORACLE BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* Copyright (c) 1990, 1993, 1994, 1995
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
/*
* Copyright (c) 1995, 1996
* The President and Fellows of Harvard University. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY HARVARD AND ITS CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL HARVARD OR ITS CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/***
* ASM: a very small and fast Java bytecode manipulation framework
* Copyright (c) 2000-2005 INRIA, France Telecom
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holders nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/

5
README
View file

@ -0,0 +1,5 @@
Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)
This is Berkeley DB 11g Release 2 from Oracle. To view release and
installation documentation, load the distribution file docs/index.html
into your web browser.

276
build_android/Android.mk Normal file
View file

@ -0,0 +1,276 @@
# DO NOT EDIT: automatically built by dist/s_android.
# Makefile for building a drop-in replacement of SQLite using
# Berkeley DB 11g Release 2, library version 11.2.5.2.28: (June 10, 2011)
###################################################################
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
###################################################################
# build libsqlite replacement
LOCAL_MODULE := libsqlite
# BDB_TOP will change with release numbers
BDB_TOP := db-5.2.28
BDB_PATH := $(LOCAL_PATH)/$(BDB_TOP)/src
# This directive results in arm (vs thumb) code. It's necessary to
# allow some BDB assembler code (for mutexes) to compile.
LOCAL_ARM_MODE := arm
# basic includes for BDB 11gR2
LOCAL_C_INCLUDES := $(BDB_PATH) $(LOCAL_PATH)/$(BDB_TOP)/build_android \
$(LOCAL_PATH)/$(BDB_TOP)/lang/sql/generated $(BDB_TOP)/src
# this is needed for sqlite3.c
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(BDB_TOP)/build_android/sql
# Source files
LOCAL_SRC_FILES := \
$(BDB_TOP)/src/btree/bt_compact.c \
$(BDB_TOP)/src/btree/bt_compare.c \
$(BDB_TOP)/src/btree/bt_compress.c \
$(BDB_TOP)/src/btree/bt_conv.c \
$(BDB_TOP)/src/btree/bt_curadj.c \
$(BDB_TOP)/src/btree/bt_cursor.c \
$(BDB_TOP)/src/btree/bt_delete.c \
$(BDB_TOP)/src/btree/bt_method.c \
$(BDB_TOP)/src/btree/bt_open.c \
$(BDB_TOP)/src/btree/bt_put.c \
$(BDB_TOP)/src/btree/bt_rec.c \
$(BDB_TOP)/src/btree/bt_reclaim.c \
$(BDB_TOP)/src/btree/bt_recno.c \
$(BDB_TOP)/src/btree/bt_rsearch.c \
$(BDB_TOP)/src/btree/bt_search.c \
$(BDB_TOP)/src/btree/bt_split.c \
$(BDB_TOP)/src/btree/bt_stat.c \
$(BDB_TOP)/src/btree/bt_upgrade.c \
$(BDB_TOP)/src/btree/btree_auto.c \
$(BDB_TOP)/src/clib/rand.c \
$(BDB_TOP)/src/clib/snprintf.c \
$(BDB_TOP)/src/common/clock.c \
$(BDB_TOP)/src/common/crypto_stub.c \
$(BDB_TOP)/src/common/db_byteorder.c \
$(BDB_TOP)/src/common/db_compint.c \
$(BDB_TOP)/src/common/db_err.c \
$(BDB_TOP)/src/common/db_getlong.c \
$(BDB_TOP)/src/common/db_idspace.c \
$(BDB_TOP)/src/common/db_log2.c \
$(BDB_TOP)/src/common/db_shash.c \
$(BDB_TOP)/src/common/dbt.c \
$(BDB_TOP)/src/common/mkpath.c \
$(BDB_TOP)/src/common/os_method.c \
$(BDB_TOP)/src/common/zerofill.c \
$(BDB_TOP)/src/db/crdel_auto.c \
$(BDB_TOP)/src/db/crdel_rec.c \
$(BDB_TOP)/src/db/db.c \
$(BDB_TOP)/src/db/db_am.c \
$(BDB_TOP)/src/db/db_auto.c \
$(BDB_TOP)/src/db/db_cam.c \
$(BDB_TOP)/src/db/db_cds.c \
$(BDB_TOP)/src/db/db_compact.c \
$(BDB_TOP)/src/db/db_conv.c \
$(BDB_TOP)/src/db/db_copy.c \
$(BDB_TOP)/src/db/db_dispatch.c \
$(BDB_TOP)/src/db/db_dup.c \
$(BDB_TOP)/src/db/db_iface.c \
$(BDB_TOP)/src/db/db_join.c \
$(BDB_TOP)/src/db/db_meta.c \
$(BDB_TOP)/src/db/db_method.c \
$(BDB_TOP)/src/db/db_open.c \
$(BDB_TOP)/src/db/db_overflow.c \
$(BDB_TOP)/src/db/db_pr.c \
$(BDB_TOP)/src/db/db_rec.c \
$(BDB_TOP)/src/db/db_reclaim.c \
$(BDB_TOP)/src/db/db_remove.c \
$(BDB_TOP)/src/db/db_rename.c \
$(BDB_TOP)/src/db/db_ret.c \
$(BDB_TOP)/src/db/db_setid.c \
$(BDB_TOP)/src/db/db_setlsn.c \
$(BDB_TOP)/src/db/db_sort_multiple.c \
$(BDB_TOP)/src/db/db_stati.c \
$(BDB_TOP)/src/db/db_truncate.c \
$(BDB_TOP)/src/db/db_upg.c \
$(BDB_TOP)/src/db/db_upg_opd.c \
$(BDB_TOP)/src/db/db_vrfy_stub.c \
$(BDB_TOP)/src/db/partition.c \
$(BDB_TOP)/src/dbreg/dbreg.c \
$(BDB_TOP)/src/dbreg/dbreg_auto.c \
$(BDB_TOP)/src/dbreg/dbreg_rec.c \
$(BDB_TOP)/src/dbreg/dbreg_stat.c \
$(BDB_TOP)/src/dbreg/dbreg_util.c \
$(BDB_TOP)/src/env/env_alloc.c \
$(BDB_TOP)/src/env/env_config.c \
$(BDB_TOP)/src/env/env_failchk.c \
$(BDB_TOP)/src/env/env_file.c \
$(BDB_TOP)/src/env/env_globals.c \
$(BDB_TOP)/src/env/env_method.c \
$(BDB_TOP)/src/env/env_name.c \
$(BDB_TOP)/src/env/env_open.c \
$(BDB_TOP)/src/env/env_recover.c \
$(BDB_TOP)/src/env/env_region.c \
$(BDB_TOP)/src/env/env_register.c \
$(BDB_TOP)/src/env/env_sig.c \
$(BDB_TOP)/src/env/env_stat.c \
$(BDB_TOP)/src/fileops/fileops_auto.c \
$(BDB_TOP)/src/fileops/fop_basic.c \
$(BDB_TOP)/src/fileops/fop_rec.c \
$(BDB_TOP)/src/fileops/fop_util.c \
$(BDB_TOP)/src/hash/hash_func.c \
$(BDB_TOP)/src/hash/hash_stub.c \
$(BDB_TOP)/src/heap/heap_stub.c \
$(BDB_TOP)/src/hmac/hmac.c \
$(BDB_TOP)/src/hmac/sha1.c \
$(BDB_TOP)/src/lock/lock.c \
$(BDB_TOP)/src/lock/lock_deadlock.c \
$(BDB_TOP)/src/lock/lock_failchk.c \
$(BDB_TOP)/src/lock/lock_id.c \
$(BDB_TOP)/src/lock/lock_list.c \
$(BDB_TOP)/src/lock/lock_method.c \
$(BDB_TOP)/src/lock/lock_region.c \
$(BDB_TOP)/src/lock/lock_stat.c \
$(BDB_TOP)/src/lock/lock_timer.c \
$(BDB_TOP)/src/lock/lock_util.c \
$(BDB_TOP)/src/log/log.c \
$(BDB_TOP)/src/log/log_archive.c \
$(BDB_TOP)/src/log/log_compare.c \
$(BDB_TOP)/src/log/log_debug.c \
$(BDB_TOP)/src/log/log_get.c \
$(BDB_TOP)/src/log/log_method.c \
$(BDB_TOP)/src/log/log_print.c \
$(BDB_TOP)/src/log/log_put.c \
$(BDB_TOP)/src/log/log_stat.c \
$(BDB_TOP)/src/log/log_verify_stub.c \
$(BDB_TOP)/src/mp/mp_alloc.c \
$(BDB_TOP)/src/mp/mp_bh.c \
$(BDB_TOP)/src/mp/mp_fget.c \
$(BDB_TOP)/src/mp/mp_fmethod.c \
$(BDB_TOP)/src/mp/mp_fopen.c \
$(BDB_TOP)/src/mp/mp_fput.c \
$(BDB_TOP)/src/mp/mp_fset.c \
$(BDB_TOP)/src/mp/mp_method.c \
$(BDB_TOP)/src/mp/mp_mvcc.c \
$(BDB_TOP)/src/mp/mp_region.c \
$(BDB_TOP)/src/mp/mp_register.c \
$(BDB_TOP)/src/mp/mp_resize.c \
$(BDB_TOP)/src/mp/mp_stat.c \
$(BDB_TOP)/src/mp/mp_sync.c \
$(BDB_TOP)/src/mp/mp_trickle.c \
$(BDB_TOP)/src/mutex/mut_alloc.c \
$(BDB_TOP)/src/mutex/mut_failchk.c \
$(BDB_TOP)/src/mutex/mut_method.c \
$(BDB_TOP)/src/mutex/mut_region.c \
$(BDB_TOP)/src/mutex/mut_stat.c \
$(BDB_TOP)/src/mutex/mut_tas.c \
$(BDB_TOP)/src/os/os_abort.c \
$(BDB_TOP)/src/os/os_abs.c \
$(BDB_TOP)/src/os/os_alloc.c \
$(BDB_TOP)/src/os/os_clock.c \
$(BDB_TOP)/src/os/os_config.c \
$(BDB_TOP)/src/os/os_cpu.c \
$(BDB_TOP)/src/os/os_ctime.c \
$(BDB_TOP)/src/os/os_dir.c \
$(BDB_TOP)/src/os/os_errno.c \
$(BDB_TOP)/src/os/os_fid.c \
$(BDB_TOP)/src/os/os_flock.c \
$(BDB_TOP)/src/os/os_fsync.c \
$(BDB_TOP)/src/os/os_getenv.c \
$(BDB_TOP)/src/os/os_handle.c \
$(BDB_TOP)/src/os/os_map.c \
$(BDB_TOP)/src/os/os_mkdir.c \
$(BDB_TOP)/src/os/os_open.c \
$(BDB_TOP)/src/os/os_pid.c \
$(BDB_TOP)/src/os/os_rename.c \
$(BDB_TOP)/src/os/os_root.c \
$(BDB_TOP)/src/os/os_rpath.c \
$(BDB_TOP)/src/os/os_rw.c \
$(BDB_TOP)/src/os/os_seek.c \
$(BDB_TOP)/src/os/os_stack.c \
$(BDB_TOP)/src/os/os_stat.c \
$(BDB_TOP)/src/os/os_tmpdir.c \
$(BDB_TOP)/src/os/os_truncate.c \
$(BDB_TOP)/src/os/os_uid.c \
$(BDB_TOP)/src/os/os_unlink.c \
$(BDB_TOP)/src/os/os_yield.c \
$(BDB_TOP)/src/qam/qam_stub.c \
$(BDB_TOP)/src/rep/rep_stub.c \
$(BDB_TOP)/src/repmgr/repmgr_stub.c \
$(BDB_TOP)/src/sequence/seq_stat.c \
$(BDB_TOP)/src/sequence/sequence.c \
$(BDB_TOP)/src/txn/txn.c \
$(BDB_TOP)/src/txn/txn_auto.c \
$(BDB_TOP)/src/txn/txn_chkpt.c \
$(BDB_TOP)/src/txn/txn_failchk.c \
$(BDB_TOP)/src/txn/txn_method.c \
$(BDB_TOP)/src/txn/txn_rec.c \
$(BDB_TOP)/src/txn/txn_recover.c \
$(BDB_TOP)/src/txn/txn_region.c \
$(BDB_TOP)/src/txn/txn_stat.c \
$(BDB_TOP)/src/txn/txn_util.c \
$(BDB_TOP)/lang/sql/generated/sqlite3.c
ifneq ($(TARGET_ARCH),arm)
LOCAL_LDLIBS += -lpthread -ldl
endif
#
# flags -- most of these are from the SQLite build, some are not.
# Here are some that may be changed for tuning or behavior:
# SQLITE_DEFAULT_JOURNAL_SIZE_LIMIT -- default size of BDB log file in bytes
# SQLITE_DEFAULT_PAGE_SIZE -- explicit control over page size for cache
# and databases
# SQLITE_DEFAULT_CACHE_SIZE -- sizes the BDB cache, in pages
# BDBSQL_SHARE_PRIVATE -- uses private environments but still shares databases
# among processes using external synchronization.
# BDBSQL_CONVERT_SQLITE -- define this to convert SQLite databases to BDB SQL
# format -- this has other requirements so do not do this without consulting
# Oracle.
#
LOCAL_CFLAGS += -Wall -DHAVE_USLEEP=1 \
-DSQLITE_DEFAULT_PAGE_SIZE=4096 \
-DBDBSQL_SHARE_PRIVATE=1 \
-DSQLITE_DEFAULT_JOURNAL_SIZE_LIMIT=524288 \
-DSQLITE_DEFAULT_CACHE_SIZE=128 \
-DSQLITE_THREADSAFE=1 -DNDEBUG=1 -DSQLITE_TEMP_STORE=3 \
-DSQLITE_OMIT_TRUNCATE_OPTIMIZATION -DSQLITE_OS_UNIX=1 \
-D_HAVE_SQLITE_CONFIG_H -DSQLITE_THREAD_OVERRIDE_LOCK=-1 \
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_BACKWARDS -Dfdatasync=fsync
# LOCAL_CFLAGS that are not used at this time
# -DSQLITE_ENABLE_POISON
# -DSQLITE_ENABLE_MEMORY_MANAGEMENT
ifneq ($(TARGET_SIMULATOR),true)
LOCAL_SHARED_LIBRARIES := libdl
endif
LOCAL_C_INCLUDES += $(call include-path-for, system-core)/cutils
LOCAL_SHARED_LIBRARIES += liblog libicuuc libicui18n libutils
# This links in some static symbols from Android
LOCAL_WHOLE_STATIC_LIBRARIES := libsqlite3_android
include $(BUILD_SHARED_LIBRARY)
################################################################################
##device commande line tool:sqlite3
################################################################################
ifneq ($(SDK_ONLY),true) # SDK doesn't need device version of sqlite3
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_SRC_FILES := $(BDB_TOP)/lang/sql/sqlite/src/shell.c
LOCAL_SHARED_LIBRARIES := libsqlite
LOCAL_C_INCLUDES := $(BDB_PATH) $(LOCAL_PATH)/$(BDB_TOP)/build_android\
$(LOCAL_PATH)/$(BDB_TOP)/lang/sql/generated $(LOCAL_PATH)/../android
ifneq ($(TARGET_ARCH),arm)
LOCAL_LDLIBS += -lpthread -ldl
endif
LOCAL_CFLAGS += -DHAVE_USLEEP=1 -DTHREADSAFE=1 -DNDEBUG=1
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := debug
LOCAL_MODULE := sqlite3
include $(BUILD_EXECUTABLE)
endif # !SDK_ONLY

279
build_android/clib_port.h Normal file
View file

@ -0,0 +1,279 @@
/* DO NOT EDIT: automatically built from dist/clib_port.in. */
/*
* Minimum/maximum values for various types.
*/
#ifndef UINT16_MAX /* Maximum 16-bit unsigned. */
#define UINT16_MAX 65535
#endif
#ifndef UINT32_MAX /* Maximum 32-bit unsigned. */
#define UINT32_MAX 4294967295U
#endif
#ifndef INT_MAX
#if SIZEOF_INT == 4
#define INT_MAX 2147483647
#endif
#if SIZEOF_INT == 8
#define INT_MAX 9223372036854775807
#endif
#endif
#ifndef INT_MIN /* minimum (signed) int value */
#define INT_MIN (-INT_MAX-1)
#endif
#ifndef UINT_MAX /* maximum (signed) int value */
#if SIZEOF_INT == 4
#define UINT_MAX 4294967295U
#endif
#if SIZEOF_INT == 8
#define UINT_MAX 18446744073709551615U
#endif
#endif
#ifndef LONG_MAX /* maximum (signed) long value */
#if SIZEOF_LONG == 4
#define LONG_MAX 2147483647
#endif
#if SIZEOF_LONG == 8
#define LONG_MAX 9223372036854775807L
#endif
#endif
#ifndef LONG_MIN /* minimum (signed) long value */
#define LONG_MIN (-LONG_MAX-1)
#endif
#ifndef ULONG_MAX /* maximum (unsigned) long value */
#if SIZEOF_LONG == 4
#define ULONG_MAX 4294967295U
#endif
#if SIZEOF_LONG == 8
#define ULONG_MAX 18446744073709551615UL
#endif
#endif
#if defined(HAVE_64BIT_TYPES)
/*
* Override the system's 64-bit min/max constants. AIX's 32-bit compiler can
* handle 64-bit values, but the system's constants don't include the LL/ULL
* suffix, and so can't be compiled using the 32-bit compiler.
*/
#undef INT64_MAX
#undef INT64_MIN
#undef UINT64_MAX
#ifdef DB_WIN32
#define INT64_MAX _I64_MAX
#define INT64_MIN _I64_MIN
#define UINT64_MAX _UI64_MAX
#else
#define INT64_MAX 9223372036854775807LL
#define INT64_MIN (-INT64_MAX-1)
#define UINT64_MAX 18446744073709551615ULL
#endif /* DB_WIN32 */
#define INT64_FMT "%lld"
#define UINT64_FMT "%llu"
#endif /* HAVE_64BIT_TYPES */
/*
* Exit success/failure macros.
*/
#ifndef HAVE_EXIT_SUCCESS
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#endif
/*
* File modes.
*/
#ifdef DB_WIN32
#ifndef S_IREAD /* WinCE doesn't have S_IREAD. */
#define S_IREAD 0
#endif
#ifndef S_IWRITE /* WinCE doesn't have S_IWRITE. */
#define S_IWRITE 0
#endif
#ifndef S_IRUSR
#define S_IRUSR S_IREAD /* R for owner */
#endif
#ifndef S_IWUSR
#define S_IWUSR S_IWRITE /* W for owner */
#endif
#ifndef S_IXUSR
#define S_IXUSR 0 /* X for owner */
#endif
#ifndef S_IRGRP
#define S_IRGRP 0 /* R for group */
#endif
#ifndef S_IWGRP
#define S_IWGRP 0 /* W for group */
#endif
#ifndef S_IXGRP
#define S_IXGRP 0 /* X for group */
#endif
#ifndef S_IROTH
#define S_IROTH 0 /* R for other */
#endif
#ifndef S_IWOTH
#define S_IWOTH 0 /* W for other */
#endif
#ifndef S_IXOTH
#define S_IXOTH 0 /* X for other */
#endif
#else /* !DB_WIN32 */
#ifndef S_IRUSR
#define S_IRUSR 0000400 /* R for owner */
#endif
#ifndef S_IWUSR
#define S_IWUSR 0000200 /* W for owner */
#endif
#ifndef S_IXUSR
#define S_IXUSR 0000100 /* X for owner */
#endif
#ifndef S_IRGRP
#define S_IRGRP 0000040 /* R for group */
#endif
#ifndef S_IWGRP
#define S_IWGRP 0000020 /* W for group */
#endif
#ifndef S_IXGRP
#define S_IXGRP 0000010 /* X for group */
#endif
#ifndef S_IROTH
#define S_IROTH 0000004 /* R for other */
#endif
#ifndef S_IWOTH
#define S_IWOTH 0000002 /* W for other */
#endif
#ifndef S_IXOTH
#define S_IXOTH 0000001 /* X for other */
#endif
#endif /* !DB_WIN32 */
/*
* Don't step on the namespace. Other libraries may have their own
* implementations of these functions, we don't want to use their
* implementations or force them to use ours based on the load order.
*/
#ifndef HAVE_ATOI
#define atoi __db_Catoi
#endif
#ifndef HAVE_ATOL
#define atol __db_Catol
#endif
#ifndef HAVE_BSEARCH
#define bsearch __db_Cbsearch
#endif
#ifndef HAVE_FCLOSE
#define fclose __db_Cfclose
#endif
#ifndef HAVE_FGETC
#define fgetc __db_Cfgetc
#endif
#ifndef HAVE_FGETS
#define fgets __db_Cfgets
#endif
#ifndef HAVE_FOPEN
#define fopen __db_Cfopen
#endif
#ifndef HAVE_FWRITE
#define fwrite __db_Cfwrite
#endif
#ifndef HAVE_GETADDRINFO
#define freeaddrinfo(a) __db_Cfreeaddrinfo(a)
#define getaddrinfo(a, b, c, d) __db_Cgetaddrinfo(a, b, c, d)
#endif
#ifndef HAVE_GETCWD
#define getcwd __db_Cgetcwd
#endif
#ifndef HAVE_GETOPT
#define getopt __db_Cgetopt
#define optarg __db_Coptarg
#define opterr __db_Copterr
#define optind __db_Coptind
#define optopt __db_Coptopt
#define optreset __db_Coptreset
#endif
#ifndef HAVE_ISALPHA
#define isalpha __db_Cisalpha
#endif
#ifndef HAVE_ISDIGIT
#define isdigit __db_Cisdigit
#endif
#ifndef HAVE_ISPRINT
#define isprint __db_Cisprint
#endif
#ifndef HAVE_ISSPACE
#define isspace __db_Cisspace
#endif
#ifndef HAVE_LOCALTIME
#define localtime __db_Clocaltime
#endif
#ifndef HAVE_MEMCMP
#define memcmp __db_Cmemcmp
#endif
#ifndef HAVE_MEMCPY
#define memcpy __db_Cmemcpy
#endif
#ifndef HAVE_MEMMOVE
#define memmove __db_Cmemmove
#endif
#ifndef HAVE_PRINTF
#define printf __db_Cprintf
#define fprintf __db_Cfprintf
#endif
#ifndef HAVE_QSORT
#define qsort __db_Cqsort
#endif
#ifndef HAVE_RAISE
#define raise __db_Craise
#endif
#ifndef HAVE_RAND
#define rand __db_Crand
#define srand __db_Csrand
#endif
#ifndef HAVE_SNPRINTF
#define snprintf __db_Csnprintf
#endif
#ifndef HAVE_STRCASECMP
#define strcasecmp __db_Cstrcasecmp
#define strncasecmp __db_Cstrncasecmp
#endif
#ifndef HAVE_STRCAT
#define strcat __db_Cstrcat
#endif
#ifndef HAVE_STRCHR
#define strchr __db_Cstrchr
#endif
#ifndef HAVE_STRDUP
#define strdup __db_Cstrdup
#endif
#ifndef HAVE_STRERROR
#define strerror __db_Cstrerror
#endif
#ifndef HAVE_STRNCAT
#define strncat __db_Cstrncat
#endif
#ifndef HAVE_STRNCMP
#define strncmp __db_Cstrncmp
#endif
#ifndef HAVE_STRRCHR
#define strrchr __db_Cstrrchr
#endif
#ifndef HAVE_STRSEP
#define strsep __db_Cstrsep
#endif
#ifndef HAVE_STRTOL
#define strtol __db_Cstrtol
#endif
#ifndef HAVE_STRTOUL
#define strtoul __db_Cstrtoul
#endif
#ifndef HAVE_TIME
#define time __db_Ctime
#endif
#ifndef HAVE_VSNPRINTF
#define vsnprintf __db_Cvsnprintf
#endif

3049
build_android/db.h Normal file

File diff suppressed because it is too large Load diff

635
build_android/db_config.h Normal file
View file

@ -0,0 +1,635 @@
/* DO NOT EDIT: automatically built by dist/s_android. */
/* Define to 1 if you want to build a version for running the test suite. */
/* #undef CONFIG_TEST */
/* Defined to a size to limit the stack size of Berkeley DB threads. */
/* #undef DB_STACKSIZE */
/* We use DB_WIN32 much as one would use _WIN32 -- to specify that we're using
an operating system environment that supports Win32 calls and semantics. We
don't use _WIN32 because Cygwin/GCC also defines _WIN32, even though
Cygwin/GCC closely emulates the Unix environment. */
/* #undef DB_WIN32 */
/* Define to 1 if you want a debugging version. */
/* #undef DEBUG */
/* Define to 1 if you want a version that logs read operations. */
/* #undef DEBUG_ROP */
/* Define to 1 if you want a version that logs write operations. */
/* #undef DEBUG_WOP */
/* Define to 1 if you want a version with run-time diagnostic checking. */
/* #undef DIAGNOSTIC */
/* Define to 1 if 64-bit types are available. */
#define HAVE_64BIT_TYPES 1
/* Define to 1 if you have the `abort' function. */
#define HAVE_ABORT 1
/* Define to 1 if you have the `atoi' function. */
#define HAVE_ATOI 1
/* Define to 1 if you have the `atol' function. */
#define HAVE_ATOL 1
/* Define to 1 to use Solaris library routes for atomic operations. */
/* #undef HAVE_ATOMIC_SOLARIS */
/* Define to 1 to use native atomic operations. */
/* #undef HAVE_ATOMIC_SUPPORT */
/* Define to 1 to use GCC and x86 or x86_64 assemlby language atomic
operations. */
/* #undef HAVE_ATOMIC_X86_GCC_ASSEMBLY */
/* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */
/* Define to 1 if you have the `backtrace_symbols' function. */
/* #undef HAVE_BACKTRACE_SYMBOLS */
/* Define to 1 if you have the `bsearch' function. */
#define HAVE_BSEARCH 1
/* Define to 1 if you have the `clock_gettime' function. */
#define HAVE_CLOCK_GETTIME 1
/* Define to 1 if clock_gettime supports CLOCK_MONOTONIC. */
#define HAVE_CLOCK_MONOTONIC 1
/* Define to 1 if building compression support. */
/* #undef HAVE_COMPRESSION */
/* Define to 1 if building cryptography support. */
/* #undef HAVE_CRYPTO */
/* Define to 1 if using Intel IPP for cryptography. */
/* #undef HAVE_CRYPTO_IPP */
/* Define to 1 if you have the `ctime_r' function. */
#define HAVE_CTIME_R 1
/* Define to 1 if ctime_r takes a buffer length as a third argument. */
/* #undef HAVE_CTIME_R_3ARG */
/* Define to 1 if building the DBM API. */
/* #undef HAVE_DBM */
/* Define to 1 if you have the `directio' function. */
/* #undef HAVE_DIRECTIO */
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 to use dtrace for performance event tracing. */
/* #undef HAVE_DTRACE */
/* Define to 1 if you have the <execinfo.h> header file. */
/* #undef HAVE_EXECINFO_H */
/* Define to 1 if platform has EXIT_SUCCESS/EXIT_FAILURE #defines. */
#define HAVE_EXIT_SUCCESS 1
/* Define to 1 if you have the `fchmod' function. */
#define HAVE_FCHMOD 1
/* Define to 1 if you have the `fclose' function. */
#define HAVE_FCLOSE 1
/* Define to 1 if you have the `fcntl' function. */
#define HAVE_FCNTL 1
/* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */
#define HAVE_FCNTL_F_SETFD 1
/* Define to 1 if you have the `fdatasync' function. */
/* #undef HAVE_FDATASYNC */
/* Define to 1 if you have the `fgetc' function. */
#define HAVE_FGETC 1
/* Define to 1 if you have the `fgets' function. */
#define HAVE_FGETS 1
/* Define to 1 if allocated filesystem blocks are not zeroed. */
/* #undef HAVE_FILESYSTEM_NOTZERO */
/* Define to 1 if you have the `fopen' function. */
#define HAVE_FOPEN 1
/* Define to 1 if you have the `ftruncate' function. */
#define HAVE_FTRUNCATE 1
/* Define to 1 if you have the `fwrite' function. */
#define HAVE_FWRITE 1
/* Define to 1 if you have the `getaddrinfo' function. */
#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
/* Define to 1 if you have the `getenv' function. */
#define HAVE_GETENV 1
/* Define to 1 if you have the `getgid' function. */
#define HAVE_GETGID 1
/* Define to 1 if you have the `getopt' function. */
#define HAVE_GETOPT 1
/* Define to 1 if getopt supports the optreset variable. */
#define HAVE_GETOPT_OPTRESET 1
/* Define to 1 if you have the `getrusage' function. */
#define HAVE_GETRUSAGE 1
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
/* Define to 1 if you have the `getuid' function. */
#define HAVE_GETUID 1
/* Define to 1 if building Hash access method. */
/* #undef HAVE_HASH */
/* Define to 1 if building Heap access method. */
/* #undef HAVE_HEAP */
/* Define to 1 if you have the `hstrerror' function. */
#define HAVE_HSTRERROR 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `isalpha' function. */
#define HAVE_ISALPHA 1
/* Define to 1 if you have the `isdigit' function. */
#define HAVE_ISDIGIT 1
/* Define to 1 if you have the `isprint' function. */
#define HAVE_ISPRINT 1
/* Define to 1 if you have the `isspace' function. */
#define HAVE_ISSPACE 1
/* Define to 1 if you have a localization function to support globalization. */
/* #undef HAVE_LOCALIZATION */
/* Define to 1 if you have the `localtime' function. */
#define HAVE_LOCALTIME 1
/* Define to 1 if you want to enable log checksums. */
/* #undef HAVE_LOG_CHECKSUM */
/* Define to 1 if you have the `memcmp' function. */
#define HAVE_MEMCMP 1
/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mlock' function. */
#define HAVE_MLOCK 1
/* Define to 1 if you have the `mmap' function. */
#define HAVE_MMAP 1
/* Define to 1 where mmap() incrementally extends the accessible mapping as
the underlying file grows. */
#define HAVE_MMAP_EXTEND 1
/* Define to 1 if you have the `mprotect' function. */
#define HAVE_MPROTECT 1
/* Define to 1 if you have the `munlock' function. */
#define HAVE_MUNLOCK 1
/* Define to 1 if you have the `munmap' function. */
#define HAVE_MUNMAP 1
/* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */
/* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */
/* Define to 1 to use the AIX _check_lock mutexes. */
/* #undef HAVE_MUTEX_AIX_CHECK_LOCK */
/* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */
/* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */
#define HAVE_MUTEX_ARM_GCC_ASSEMBLY 1
/* Define to 1 to use the Apple/Darwin _spin_lock_try mutexes. */
/* #undef HAVE_MUTEX_DARWIN_SPIN_LOCK_TRY */
/* Define to 1 to use the UNIX fcntl system call mutexes. */
/* #undef HAVE_MUTEX_FCNTL */
/* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes.
*/
/* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */
/* Define to 1 to use the msem_XXX mutexes on HP-UX. */
/* #undef HAVE_MUTEX_HPPA_MSEM_INIT */
/* Define to 1 to use test-and-set mutexes with blocking mutexes. */
/* #undef HAVE_MUTEX_HYBRID */
/* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */
/* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and MIPS assembly language mutexes. */
/* #undef HAVE_MUTEX_MIPS_GCC_ASSEMBLY */
/* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */
/* #undef HAVE_MUTEX_MSEM_INIT */
/* Define to 1 to use the GCC compiler and PowerPC assembly language mutexes.
*/
/* #undef HAVE_MUTEX_PPC_GCC_ASSEMBLY */
/* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */
/* #undef HAVE_MUTEX_PTHREADS */
/* Define to 1 to use Reliant UNIX initspin mutexes. */
/* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */
/* Define to 1 to use the IBM C compiler and S/390 assembly language mutexes.
*/
/* #undef HAVE_MUTEX_S390_CC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */
/* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */
/* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */
/* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */
/* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */
/* #undef HAVE_MUTEX_SEMA_INIT */
/* Define to 1 to use the SGI XXX_lock mutexes. */
/* #undef HAVE_MUTEX_SGI_INIT_LOCK */
/* Define to 1 to use the Solaris _lock_XXX mutexes. */
/* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */
/* Define to 1 to use the Solaris lwp threads mutexes. */
/* #undef HAVE_MUTEX_SOLARIS_LWP */
/* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */
/* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */
/* Define to 1 if the Berkeley DB library should support mutexes. */
#define HAVE_MUTEX_SUPPORT 1
/* Define to 1 if mutexes hold system resources. */
/* #undef HAVE_MUTEX_SYSTEM_RESOURCES */
/* Define to 1 to configure mutexes intra-process only. */
/* #undef HAVE_MUTEX_THREAD_ONLY */
/* Define to 1 to use the CC compiler and Tru64 assembly language mutexes. */
/* #undef HAVE_MUTEX_TRU64_CC_ASSEMBLY */
/* Define to 1 to use the UNIX International mutexes. */
/* #undef HAVE_MUTEX_UI_THREADS */
/* Define to 1 to use the UTS compiler and assembly language mutexes. */
/* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */
/* Define to 1 to use VMS mutexes. */
/* #undef HAVE_MUTEX_VMS */
/* Define to 1 to use VxWorks mutexes. */
/* #undef HAVE_MUTEX_VXWORKS */
/* Define to 1 to use the MSVC compiler and Windows mutexes. */
/* #undef HAVE_MUTEX_WIN32 */
/* Define to 1 to use the GCC compiler and Windows mutexes. */
/* #undef HAVE_MUTEX_WIN32_GCC */
/* Define to 1 to use the GCC compiler and 64-bit x86 assembly language
mutexes. */
/* #undef HAVE_MUTEX_X86_64_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and 32-bit x86 assembly language
mutexes. */
/* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the O_DIRECT flag. */
/* #undef HAVE_O_DIRECT */
/* Define to 1 if building partitioned database support. */
/* #undef HAVE_PARTITION */
/* Define to 1 to enable some kind of performance event monitoring. */
/* #undef HAVE_PERFMON */
/* Define to 1 to enable performance event monitoring of *_stat() statistics.
*/
/* #undef HAVE_PERFMON_STATISTICS */
/* Define to 1 if you have the `pread' function. */
/* #undef HAVE_PREAD 1 */
/* Define to 1 if you have the `printf' function. */
#define HAVE_PRINTF 1
/* Define to 1 if you have the `pstat_getdynamic' function. */
/* #undef HAVE_PSTAT_GETDYNAMIC */
/* Define to 1 if it is OK to initialize an already initialized
pthread_cond_t. */
/* #undef HAVE_PTHREAD_COND_REINIT_OKAY */
/* Define to 1 if it is OK to initialize an already initialized
pthread_rwlock_t. */
/* #undef HAVE_PTHREAD_RWLOCK_REINIT_OKAY */
/* Define to 1 if you have the `pthread_self' function. */
#define HAVE_PTHREAD_SELF 1
/* Define to 1 if you have the `pthread_yield' function. */
/* #undef HAVE_PTHREAD_YIELD */
/* Define to 1 if you have the `pwrite' function. */
/* #undef HAVE_PWRITE */
/* Define to 1 if building on QNX. */
/* #undef HAVE_QNX */
/* Define to 1 if you have the `qsort' function. */
#define HAVE_QSORT 1
/* Define to 1 if building Queue access method. */
/* #undef HAVE_QUEUE */
/* Define to 1 if you have the `raise' function. */
#define HAVE_RAISE 1
/* Define to 1 if you have the `rand' function. */
/* #undef HAVE_RAND */
/* Define to 1 if you have the `random' function. */
/* #undef HAVE_RANDOM */
/* Define to 1 if building replication support. */
/* #undef HAVE_REPLICATION */
/* Define to 1 if building the Berkeley DB replication framework. */
/* #undef HAVE_REPLICATION_THREADS */
/* Define to 1 if you have the `sched_yield' function. */
#define HAVE_SCHED_YIELD 1
/* Define to 1 if you have the `select' function. */
#define HAVE_SELECT 1
/* Define to 1 if you have the `setgid' function. */
#define HAVE_SETGID 1
/* Define to 1 if you have the `setuid' function. */
#define HAVE_SETUID 1
/* Define to 1 to configure Berkeley DB to use read/write latches. */
#define HAVE_SHARED_LATCHES 1
/* Define to 1 if shmctl/SHM_LOCK locks down shared memory segments. */
/* #undef HAVE_SHMCTL_SHM_LOCK */
/* Define to 1 if you have the `shmget' function. */
/* #undef HAVE_SHMGET */
/* Define to 1 if you have the `sigaction' function. */
#define HAVE_SIGACTION 1
/* Define to 1 if thread identifier type db_threadid_t is integral. */
#define HAVE_SIMPLE_THREAD_TYPE 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the `stat' function. */
#define HAVE_STAT 1
/* Define to 1 if building statistics support. */
#define HAVE_STATISTICS 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strcat' function. */
#define HAVE_STRCAT 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if building without output message content. */
/* #undef HAVE_STRIPPED_MESSAGES */
/* Define to 1 if you have the `strncat' function. */
#define HAVE_STRNCAT 1
/* Define to 1 if you have the `strncmp' function. */
#define HAVE_STRNCMP 1
/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1
/* Define to 1 if you have the `strsep' function. */
#define HAVE_STRSEP 1
/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1
/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
/* Define to 1 if you have the `sysconf' function. */
#define HAVE_SYSCONF 1
/* Define to 1 if port includes files in the Berkeley DB source code. */
#define HAVE_SYSTEM_INCLUDE_FILES 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/sdt.h> header file. */
/* #undef HAVE_SYS_SDT_H */
/* Define to 1 if you have the <sys/select.h> header file. */
#define HAVE_SYS_SELECT_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the `time' function. */
#define HAVE_TIME 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if unlink of file with open file descriptors will fail. */
/* #undef HAVE_UNLINK_WITH_OPEN_FAILURE */
/* Define to 1 if port includes historic database upgrade support. */
#define HAVE_UPGRADE_SUPPORT 1
/* Define to 1 if building access method verification support. */
/* #undef HAVE_VERIFY */
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* Define to 1 if building on VxWorks. */
/* #undef HAVE_VXWORKS */
/* Define to 1 if you have the `yield' function. */
/* #undef HAVE_YIELD */
/* Define to 1 if you have the `_fstati64' function. */
/* #undef HAVE__FSTATI64 */
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "Oracle Technology Network Berkeley DB forum"
/* Define to the full name of this package. */
#define PACKAGE_NAME "Berkeley DB"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "Berkeley DB 5.2.28"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "db-5.2.28"
/* Define to the home page for this package. */
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
/* Define to the version of this package. */
#define PACKAGE_VERSION "5.2.28"
/* The size of `char', as computed by sizeof. */
#define SIZEOF_CHAR 1
/* The size of `char *', as computed by sizeof. */
#define SIZEOF_CHAR_P 4
/* The size of `int', as computed by sizeof. */
#define SIZEOF_INT 4
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 4
/* The size of `long long', as computed by sizeof. */
#define SIZEOF_LONG_LONG 8
/* The size of `short', as computed by sizeof. */
#define SIZEOF_SHORT 2
/* The size of `size_t', as computed by sizeof. */
#define SIZEOF_SIZE_T 4
/* The size of `unsigned char', as computed by sizeof. */
#define SIZEOF_UNSIGNED_CHAR 1
/* The size of `unsigned int', as computed by sizeof. */
#define SIZEOF_UNSIGNED_INT 4
/* The size of `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4
/* The size of `unsigned long long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG_LONG 8
/* The size of `unsigned short', as computed by sizeof. */
#define SIZEOF_UNSIGNED_SHORT 2
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
/* Define to 1 to mask harmless uninitialized memory read/writes. */
/* #undef UMRW */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
/* #undef inline */
#endif
/* type to use in place of socklen_t if not defined */
/* #undef socklen_t */

1139
build_android/db_int.h Normal file

File diff suppressed because it is too large Load diff

161
build_android/sql/config.h Normal file
View file

@ -0,0 +1,161 @@
/* DO NOT EDIT: automatically built by dist/s_android. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the <errno.h> header file. */
#define HAVE_ERRNO_H 1
/* Define to 1 if you have the `fdatasync' function. */
/* #undef HAVE_FDATASYNC */
/* Define to 1 if you have the `gmtime_r' function. */
#define HAVE_GMTIME_R 1
/* Define to 1 if the system has the type `int16_t'. */
#define HAVE_INT16_T 1
/* Define to 1 if the system has the type `int32_t'. */
#define HAVE_INT32_T 1
/* Define to 1 if the system has the type `int64_t'. */
#define HAVE_INT64_T 1
/* Define to 1 if the system has the type `int8_t'. */
#define HAVE_INT8_T 1
/* Define to 1 if the system has the type `intptr_t'. */
#define HAVE_INTPTR_T 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the `localtime_r' function. */
#define HAVE_LOCALTIME_R 1
/* Define to 1 if you have the `localtime_s' function. */
/* #undef HAVE_LOCALTIME_S */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if the system has the type `uint16_t'. */
#define HAVE_UINT16_T 1
/* Define to 1 if the system has the type `uint32_t'. */
#define HAVE_UINT32_T 1
/* Define to 1 if the system has the type `uint64_t'. */
#define HAVE_UINT64_T 1
/* Define to 1 if the system has the type `uint8_t'. */
#define HAVE_UINT8_T 1
/* Define to 1 if the system has the type `uintptr_t'. */
#define HAVE_UINTPTR_T 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if you have the `usleep' function. */
#define HAVE_USLEEP 1
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME "sqlite"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "sqlite 3.7.6.2"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "sqlite"
/* Define to the version of this package. */
#define PACKAGE_VERSION "3.7.6.2"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/*
** Build options detected by SQLite's configure script but not normally part
** of config.h. Accept what configure detected unless it was overridden on the
** command line.
*/
#ifndef HAVE_EDITLINE
#define HAVE_EDITLINE 0
#endif
#if !HAVE_EDITLINE
#undef HAVE_EDITLINE
#endif
#ifndef HAVE_READLINE
#define HAVE_READLINE 0
#endif
#if !HAVE_READLINE
#undef HAVE_READLINE
#endif
#ifndef SQLITE_OS_UNIX
#define SQLITE_OS_UNIX 1
#endif
#if !SQLITE_OS_UNIX
#undef SQLITE_OS_UNIX
#endif
#ifndef SQLITE_OS_WIN
#define SQLITE_OS_WIN 0
#endif
#if !SQLITE_OS_WIN
#undef SQLITE_OS_WIN
#endif
#ifndef SQLITE_THREADSAFE
#define SQLITE_THREADSAFE 1
#endif
#if !SQLITE_THREADSAVE
#undef SQLITE_THREADSAVE
#endif
#ifndef SQLITE_THREAD_OVERRIDE_LOCK
#define SQLITE_THREAD_OVERRIDE_LOCK -1
#endif
#if !SQLITE_THREAD_OVERRIDE_LOCK
#undef SQLITE_THREAD_OVERRIDE_LOCK
#endif
#ifndef SQLITE_TEMP_STORE
#define SQLITE_TEMP_STORE 1
#endif
#if !SQLITE_THREAD_OVERRIDE_LOCK
#undef SQLITE_THREAD_OVERRIDE_LOCK
#endif

3
build_unix/.IGNORE_ME Normal file
View file

@ -0,0 +1,3 @@
Some combinations of the gzip and tar archive exploders found
on Linux systems ignore directories that don't have any files
(other than symbolic links) in them. So, here's a file.

5007
build_vxworks/BerkeleyDB20.wpj Executable file

File diff suppressed because it is too large Load diff

29
build_vxworks/BerkeleyDB20.wsp Executable file
View file

@ -0,0 +1,29 @@
Document file - DO NOT EDIT
<BEGIN> CORE_INFO_TYPE
Workspace
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> projectList
$(PRJ_DIR)/BerkeleyDB20.wpj \
$(PRJ_DIR)/util/db_archive20.wpj \
$(PRJ_DIR)/util/db_checkpoint20.wpj \
$(PRJ_DIR)/util/db_deadlock20.wpj \
$(PRJ_DIR)/util/db_dump20.wpj \
$(PRJ_DIR)/util/db_load20.wpj \
$(PRJ_DIR)/util/db_printlog20.wpj \
$(PRJ_DIR)/util/db_recover20.wpj \
$(PRJ_DIR)/util/db_stat20.wpj \
$(PRJ_DIR)/util/db_upgrade20.wpj \
$(PRJ_DIR)/util/db_verify20.wpj \
$(PRJ_DIR)/dbdemo/dbdemo20.wpj
<END>
<BEGIN> userComments
<END>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,29 @@
Document file - DO NOT EDIT
<BEGIN> CORE_INFO_TYPE
Workspace
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> projectList
$(PRJ_DIR)/BerkeleyDB20small.wpj \
$(PRJ_DIR)/util/db_archive20.wpj \
$(PRJ_DIR)/util/db_checkpoint20.wpj \
$(PRJ_DIR)/util/db_deadlock20.wpj \
$(PRJ_DIR)/util/db_dump20.wpj \
$(PRJ_DIR)/util/db_load20.wpj \
$(PRJ_DIR)/util/db_printlog20.wpj \
$(PRJ_DIR)/util/db_recover20.wpj \
$(PRJ_DIR)/util/db_stat20.wpj \
$(PRJ_DIR)/util/db_upgrade20.wpj \
$(PRJ_DIR)/util/db_verify20.wpj \
$(PRJ_DIR)/dbdemo/dbdemo20.wpj
<END>
<BEGIN> userComments
<END>

5066
build_vxworks/BerkeleyDB22.wpj Executable file

File diff suppressed because it is too large Load diff

29
build_vxworks/BerkeleyDB22.wsp Executable file
View file

@ -0,0 +1,29 @@
Document file - DO NOT EDIT
<BEGIN> CORE_INFO_TYPE
Workspace
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> projectList
$(PRJ_DIR)/BerkeleyDB22.wpj \
$(PRJ_DIR)/util/db_archive22.wpj \
$(PRJ_DIR)/util/db_checkpoint22.wpj \
$(PRJ_DIR)/util/db_deadlock22.wpj \
$(PRJ_DIR)/util/db_dump22.wpj \
$(PRJ_DIR)/util/db_load22.wpj \
$(PRJ_DIR)/util/db_printlog22.wpj \
$(PRJ_DIR)/util/db_recover22.wpj \
$(PRJ_DIR)/util/db_stat22.wpj \
$(PRJ_DIR)/util/db_upgrade22.wpj \
$(PRJ_DIR)/util/db_verify22.wpj \
$(PRJ_DIR)/dbdemo/dbdemo22.wpj
<END>
<BEGIN> userComments
<END>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,29 @@
Document file - DO NOT EDIT
<BEGIN> CORE_INFO_TYPE
Workspace
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> projectList
$(PRJ_DIR)/BerkeleyDB22small.wpj \
$(PRJ_DIR)/util/db_archive22.wpj \
$(PRJ_DIR)/util/db_checkpoint22.wpj \
$(PRJ_DIR)/util/db_deadlock22.wpj \
$(PRJ_DIR)/util/db_dump22.wpj \
$(PRJ_DIR)/util/db_load22.wpj \
$(PRJ_DIR)/util/db_printlog22.wpj \
$(PRJ_DIR)/util/db_recover22.wpj \
$(PRJ_DIR)/util/db_stat22.wpj \
$(PRJ_DIR)/util/db_upgrade22.wpj \
$(PRJ_DIR)/util/db_verify22.wpj \
$(PRJ_DIR)/dbdemo/dbdemo22.wpj
<END>
<BEGIN> userComments
<END>

1382
build_vxworks/Makefile.6x Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,902 @@
# Wind River Workbench generated Makefile.
# Do not edit!!!
#
# The file ".wrmakefile" is the template used by the Wind River Workbench to
# generate the makefiles of this project. Add user-specific build targets and
# make rules only(!) in this project's ".wrmakefile" file. These will then be
# automatically dumped into the makefiles.
WIND_HOME := $(subst \,/,$(WIND_HOME))
WIND_BASE := $(subst \,/,$(WIND_BASE))
WIND_USR := $(subst \,/,$(WIND_USR))
BDB_ROOT := D:/httpsRepos/db
BDB_OBJECT_DIR := obj
all : pre_build main_all post_build
_clean ::
@echo "make: removing targets and objects of `pwd`"
TRACE=0
TRACEON=$(TRACE:0=@)
TRACE_FLAG=$(TRACEON:1=)
MAKEFILE := Makefile
FLEXIBLE_BUILD := 1
BUILD_SPEC = SIMNTdiab
DEBUG_MODE = 1
ifeq ($(DEBUG_MODE),1)
MODE_DIR := Debug
else
MODE_DIR := NonDebug
endif
OBJ_DIR := .
#Global Build Macros
PROJECT_TYPE = DKM
DEFINES =
EXPAND_DBG = 0
#BuildSpec specific Build Macros
VX_CPU_FAMILY = simpc
CPU = SIMNT
TOOL_FAMILY = diab
TOOL = diabS
TOOL_PATH =
CC_ARCH_SPEC = -tX86LH:vxworks66
VXVER := vxworks-6.8
LIBPATH =
LIBS = -lstlstd
IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/$(VXVER)/target/h -I$(WIND_BASE)/diab/5.5.1.0/include/ -I$(BDB_ROOT)/ -I$(BDB_ROOT)/src -I$(BDB_ROOT)/build_vxworks -I$(BDB_ROOT)/src/dbinc -I$(BDB_ROOT)/src/dbinc_auto -I$(WIND_BASE)/target/h/wrn/coreip -I$(WIND_BASE)/$(VXVER)/target/h/wrn/coreip
#BuildTool flags
ifeq ($(DEBUG_MODE),1)
DEBUGFLAGS_C-Compiler = -g
DEBUGFLAGS_C++-Compiler = -g
DEBUGFLAGS_Linker = -g
DEBUGFLAGS_Partial-Image-Linker =
DEBUGFLAGS_Librarian =
DEBUGFLAGS_Assembler = -g
else
DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
DEBUGFLAGS_Linker = -XO -Xsize-opt
DEBUGFLAGS_Partial-Image-Linker =
DEBUGFLAGS_Librarian =
DEBUGFLAGS_Assembler = -XO -Xsize-opt
endif
#Project Targets
PROJECT_TARGETS = bdbvxw/$(MODE_DIR)/bdbvxw.out
#Rules
# bdbvxw
ifeq ($(DEBUG_MODE),1)
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_C-Compiler = -g
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_C++-Compiler = -g
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_Linker = -g
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_Partial-Image-Linker =
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_Librarian =
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_Assembler = -g
else
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_C-Compiler = -XO -Xsize-opt
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_C++-Compiler = -XO -Xsize-opt
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_Linker = -XO -Xsize-opt
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_Partial-Image-Linker =
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_Librarian =
bdbvxw/$(MODE_DIR)/% : DEBUGFLAGS_Assembler = -XO -Xsize-opt
endif
bdbvxw/$(MODE_DIR)/% : IDE_INCLUDES = -I$(WIND_BASE)/target/h -I$(WIND_BASE)/$(VXVER)/target/h -I$(WIND_BASE)/target/h -I$(WIND_BASE)/diab/5.5.1.0/include/ -I$(BDB_ROOT)/ -I$(BDB_ROOT)/src -I$(BDB_ROOT)/build_vxworks -I$(BDB_ROOT)/src/dbinc -I$(BDB_ROOT)/src/dbinc_auto -I$(WIND_BASE)/target/h/wrn/coreip -I$(WIND_BASE)/$(VXVER)/target/h/wrn/coreip
bdbvxw/$(MODE_DIR)/% : PROJECT_TYPE = DKM
bdbvxw/$(MODE_DIR)/% : DEFINES =
bdbvxw/$(MODE_DIR)/% : EXPAND_DBG = 0
bdbvxw/$(MODE_DIR)/% : VX_CPU_FAMILY = simpc
bdbvxw/$(MODE_DIR)/% : CPU = SIMNT
bdbvxw/$(MODE_DIR)/% : TOOL_FAMILY = diab
bdbvxw/$(MODE_DIR)/% : TOOL = diab
bdbvxw/$(MODE_DIR)/% : TOOL_PATH =
bdbvxw/$(MODE_DIR)/% : CC_ARCH_SPEC = -tX86LH:vxworks66
bdbvxw/$(MODE_DIR)/% : LIBPATH =
bdbvxw/$(MODE_DIR)/% : LIBS = -lstlstd
bdbvxw/$(MODE_DIR)/% : OBJ_DIR := bdbvxw/$(MODE_DIR)
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compact.o : $(BDB_ROOT)/src/btree/bt_compact.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compare.o : $(BDB_ROOT)/src/btree/bt_compare.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compress.o : $(BDB_ROOT)/src/btree/bt_compress.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_conv.o : $(BDB_ROOT)/src/btree/bt_conv.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_curadj.o : $(BDB_ROOT)/src/btree/bt_curadj.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_cursor.o : $(BDB_ROOT)/src/btree/bt_cursor.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_delete.o : $(BDB_ROOT)/src/btree/bt_delete.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_method.o : $(BDB_ROOT)/src/btree/bt_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_open.o : $(BDB_ROOT)/src/btree/bt_open.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_put.o : $(BDB_ROOT)/src/btree/bt_put.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_rec.o : $(BDB_ROOT)/src/btree/bt_rec.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_reclaim.o : $(BDB_ROOT)/src/btree/bt_reclaim.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_recno.o : $(BDB_ROOT)/src/btree/bt_recno.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_rsearch.o : $(BDB_ROOT)/src/btree/bt_rsearch.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_search.o : $(BDB_ROOT)/src/btree/bt_search.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_split.o : $(BDB_ROOT)/src/btree/bt_split.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_stat.o : $(BDB_ROOT)/src/btree/bt_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_upgrade.o : $(BDB_ROOT)/src/btree/bt_upgrade.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/btree_auto.o : $(BDB_ROOT)/src/btree/btree_auto.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/getopt.o : $(BDB_ROOT)/src/clib/getopt.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/snprintf.o : $(BDB_ROOT)/src/clib/snprintf.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strcasecmp.o : $(BDB_ROOT)/src/clib/strcasecmp.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strdup.o : $(BDB_ROOT)/src/clib/strdup.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strsep.o : $(BDB_ROOT)/src/clib/strsep.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/clock.o : $(BDB_ROOT)/src/common/clock.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/crypto_stub.o : $(BDB_ROOT)/src/common/crypto_stub.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_byteorder.o : $(BDB_ROOT)/src/common/db_byteorder.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_compint.o : $(BDB_ROOT)/src/common/db_compint.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_err.o : $(BDB_ROOT)/src/common/db_err.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_getlong.o : $(BDB_ROOT)/src/common/db_getlong.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_idspace.o : $(BDB_ROOT)/src/common/db_idspace.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_log2.o : $(BDB_ROOT)/src/common/db_log2.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_shash.o : $(BDB_ROOT)/src/common/db_shash.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/dbt.o : $(BDB_ROOT)/src/common/dbt.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/mkpath.o : $(BDB_ROOT)/src/common/mkpath.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/os_method.o : $(BDB_ROOT)/src/common/os_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_arg.o : $(BDB_ROOT)/src/common/util_arg.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_cache.o : $(BDB_ROOT)/src/common/util_cache.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_log.o : $(BDB_ROOT)/src/common/util_log.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_sig.o : $(BDB_ROOT)/src/common/util_sig.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/zerofill.o : $(BDB_ROOT)/src/common/zerofill.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/crdel_auto.o : $(BDB_ROOT)/src/db/crdel_auto.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/crdel_rec.o : $(BDB_ROOT)/src/db/crdel_rec.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db.o : $(BDB_ROOT)/src/db/db.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_am.o : $(BDB_ROOT)/src/db/db_am.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_auto.o : $(BDB_ROOT)/src/db/db_auto.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_cam.o : $(BDB_ROOT)/src/db/db_cam.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_cds.o : $(BDB_ROOT)/src/db/db_cds.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_compact.o : $(BDB_ROOT)/src/db/db_compact.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_conv.o : $(BDB_ROOT)/src/db/db_conv.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_copy.o : $(BDB_ROOT)/src/db/db_copy.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_dispatch.o : $(BDB_ROOT)/src/db/db_dispatch.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_dup.o : $(BDB_ROOT)/src/db/db_dup.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_iface.o : $(BDB_ROOT)/src/db/db_iface.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_join.o : $(BDB_ROOT)/src/db/db_join.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_meta.o : $(BDB_ROOT)/src/db/db_meta.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_method.o : $(BDB_ROOT)/src/db/db_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_open.o : $(BDB_ROOT)/src/db/db_open.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_overflow.o : $(BDB_ROOT)/src/db/db_overflow.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_pr.o : $(BDB_ROOT)/src/db/db_pr.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_rec.o : $(BDB_ROOT)/src/db/db_rec.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_reclaim.o : $(BDB_ROOT)/src/db/db_reclaim.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_remove.o : $(BDB_ROOT)/src/db/db_remove.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_rename.o : $(BDB_ROOT)/src/db/db_rename.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_ret.o : $(BDB_ROOT)/src/db/db_ret.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_setid.o : $(BDB_ROOT)/src/db/db_setid.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_setlsn.o : $(BDB_ROOT)/src/db/db_setlsn.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_sort_multiple.o : $(BDB_ROOT)/src/db/db_sort_multiple.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_stati.o : $(BDB_ROOT)/src/db/db_stati.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_truncate.o : $(BDB_ROOT)/src/db/db_truncate.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_upg.o : $(BDB_ROOT)/src/db/db_upg.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_upg_opd.o : $(BDB_ROOT)/src/db/db_upg_opd.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_vrfy_stub.o : $(BDB_ROOT)/src/db/db_vrfy_stub.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg.o : $(BDB_ROOT)/src/dbreg/dbreg.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_auto.o : $(BDB_ROOT)/src/dbreg/dbreg_auto.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_rec.o : $(BDB_ROOT)/src/dbreg/dbreg_rec.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_stat.o : $(BDB_ROOT)/src/dbreg/dbreg_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_util.o : $(BDB_ROOT)/src/dbreg/dbreg_util.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_alloc.o : $(BDB_ROOT)/src/env/env_alloc.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_config.o : $(BDB_ROOT)/src/env/env_config.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_failchk.o : $(BDB_ROOT)/src/env/env_failchk.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_file.o : $(BDB_ROOT)/src/env/env_file.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_globals.o : $(BDB_ROOT)/src/env/env_globals.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_method.o : $(BDB_ROOT)/src/env/env_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_name.o : $(BDB_ROOT)/src/env/env_name.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_open.o : $(BDB_ROOT)/src/env/env_open.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_recover.o : $(BDB_ROOT)/src/env/env_recover.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_region.o : $(BDB_ROOT)/src/env/env_region.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_register.o : $(BDB_ROOT)/src/env/env_register.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_sig.o : $(BDB_ROOT)/src/env/env_sig.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_stat.o : $(BDB_ROOT)/src/env/env_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fileops_auto.o : $(BDB_ROOT)/src/fileops/fileops_auto.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_basic.o : $(BDB_ROOT)/src/fileops/fop_basic.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_rec.o : $(BDB_ROOT)/src/fileops/fop_rec.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_util.o : $(BDB_ROOT)/src/fileops/fop_util.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hash/hash_func.o : $(BDB_ROOT)/src/hash/hash_func.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hash/hash_stub.o : $(BDB_ROOT)/src/hash/hash_stub.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/heap/heap_stub.o : $(BDB_ROOT)/src/heap/heap_stub.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hmac/hmac.o : $(BDB_ROOT)/src/hmac/hmac.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hmac/sha1.o : $(BDB_ROOT)/src/hmac/sha1.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock.o : $(BDB_ROOT)/src/lock/lock.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_deadlock.o : $(BDB_ROOT)/src/lock/lock_deadlock.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_failchk.o : $(BDB_ROOT)/src/lock/lock_failchk.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_id.o : $(BDB_ROOT)/src/lock/lock_id.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_list.o : $(BDB_ROOT)/src/lock/lock_list.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_method.o : $(BDB_ROOT)/src/lock/lock_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_region.o : $(BDB_ROOT)/src/lock/lock_region.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_stat.o : $(BDB_ROOT)/src/lock/lock_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_timer.o : $(BDB_ROOT)/src/lock/lock_timer.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_util.o : $(BDB_ROOT)/src/lock/lock_util.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log.o : $(BDB_ROOT)/src/log/log.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_archive.o : $(BDB_ROOT)/src/log/log_archive.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_compare.o : $(BDB_ROOT)/src/log/log_compare.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_debug.o : $(BDB_ROOT)/src/log/log_debug.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_get.o : $(BDB_ROOT)/src/log/log_get.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_method.o : $(BDB_ROOT)/src/log/log_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_print.o : $(BDB_ROOT)/src/log/log_print.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_put.o : $(BDB_ROOT)/src/log/log_put.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_stat.o : $(BDB_ROOT)/src/log/log_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_verify_stub.o : $(BDB_ROOT)/src/log/log_verify_stub.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_alloc.o : $(BDB_ROOT)/src/mp/mp_alloc.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_bh.o : $(BDB_ROOT)/src/mp/mp_bh.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fget.o : $(BDB_ROOT)/src/mp/mp_fget.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fmethod.o : $(BDB_ROOT)/src/mp/mp_fmethod.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fopen.o : $(BDB_ROOT)/src/mp/mp_fopen.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fput.o : $(BDB_ROOT)/src/mp/mp_fput.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fset.o : $(BDB_ROOT)/src/mp/mp_fset.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_method.o : $(BDB_ROOT)/src/mp/mp_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_mvcc.o : $(BDB_ROOT)/src/mp/mp_mvcc.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_region.o : $(BDB_ROOT)/src/mp/mp_region.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_register.o : $(BDB_ROOT)/src/mp/mp_register.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_resize.o : $(BDB_ROOT)/src/mp/mp_resize.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_stat.o : $(BDB_ROOT)/src/mp/mp_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_sync.o : $(BDB_ROOT)/src/mp/mp_sync.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_trickle.o : $(BDB_ROOT)/src/mp/mp_trickle.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_alloc.o : $(BDB_ROOT)/src/mutex/mut_alloc.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_failchk.o : $(BDB_ROOT)/src/mutex/mut_failchk.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_method.o : $(BDB_ROOT)/src/mutex/mut_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_region.o : $(BDB_ROOT)/src/mutex/mut_region.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_stat.o : $(BDB_ROOT)/src/mutex/mut_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_tas.o : $(BDB_ROOT)/src/mutex/mut_tas.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_abort.o : $(BDB_ROOT)/src/os/os_abort.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_alloc.o : $(BDB_ROOT)/src/os/os_alloc.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_clock.o : $(BDB_ROOT)/src/os/os_clock.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_cpu.o : $(BDB_ROOT)/src/os/os_cpu.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_ctime.o : $(BDB_ROOT)/src/os/os_ctime.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_dir.o : $(BDB_ROOT)/src/os/os_dir.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_errno.o : $(BDB_ROOT)/src/os/os_errno.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_fid.o : $(BDB_ROOT)/src/os/os_fid.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_flock.o : $(BDB_ROOT)/src/os/os_flock.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_fsync.o : $(BDB_ROOT)/src/os/os_fsync.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_getenv.o : $(BDB_ROOT)/src/os/os_getenv.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_handle.o : $(BDB_ROOT)/src/os/os_handle.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_mkdir.o : $(BDB_ROOT)/src/os/os_mkdir.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_open.o : $(BDB_ROOT)/src/os/os_open.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_pid.o : $(BDB_ROOT)/src/os/os_pid.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_rename.o : $(BDB_ROOT)/src/os/os_rename.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_root.o : $(BDB_ROOT)/src/os/os_root.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_rw.o : $(BDB_ROOT)/src/os/os_rw.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_seek.o : $(BDB_ROOT)/src/os/os_seek.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_stack.o : $(BDB_ROOT)/src/os/os_stack.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_stat.o : $(BDB_ROOT)/src/os/os_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_tmpdir.o : $(BDB_ROOT)/src/os/os_tmpdir.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_truncate.o : $(BDB_ROOT)/src/os/os_truncate.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_uid.o : $(BDB_ROOT)/src/os/os_uid.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_unlink.o : $(BDB_ROOT)/src/os/os_unlink.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_abs.o : $(BDB_ROOT)/src/os_vxworks/os_vx_abs.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_config.o : $(BDB_ROOT)/src/os_vxworks/os_vx_config.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_map.o : $(BDB_ROOT)/src/os_vxworks/os_vx_map.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_rpath.o : $(BDB_ROOT)/src/os_vxworks/os_vx_rpath.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_yield.o : $(BDB_ROOT)/src/os_vxworks/os_vx_yield.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/qam/qam_stub.o : $(BDB_ROOT)/src/qam/qam_stub.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/rep/rep_stub.o : $(BDB_ROOT)/src/rep/rep_stub.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/repmgr/repmgr_stub.o : $(BDB_ROOT)/src/repmgr/repmgr_stub.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn.o : $(BDB_ROOT)/src/txn/txn.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_auto.o : $(BDB_ROOT)/src/txn/txn_auto.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_chkpt.o : $(BDB_ROOT)/src/txn/txn_chkpt.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_failchk.o : $(BDB_ROOT)/src/txn/txn_failchk.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_method.o : $(BDB_ROOT)/src/txn/txn_method.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_rec.o : $(BDB_ROOT)/src/txn/txn_rec.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_recover.o : $(BDB_ROOT)/src/txn/txn_recover.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_region.o : $(BDB_ROOT)/src/txn/txn_region.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_stat.o : $(BDB_ROOT)/src/txn/txn_stat.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_util.o : $(BDB_ROOT)/src/txn/txn_util.c
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@"; $(TOOL_PATH)dcc $(DEBUGFLAGS_C-Compiler) $(CC_ARCH_SPEC) -W:c:,-Xclib-optim-off -Xansi -Xlocal-data-area-static-only -Xforce-declarations -Xmake-dependency=0xd $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o "$@" -c "$<"
OBJECTS_bdbvxw = \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compact.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compare.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compress.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_conv.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_curadj.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_cursor.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_delete.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_open.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_put.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_rec.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_reclaim.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_recno.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_rsearch.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_search.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_split.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_upgrade.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/btree_auto.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/getopt.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/snprintf.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strcasecmp.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strdup.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strsep.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/clock.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/crypto_stub.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_byteorder.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_compint.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_err.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_getlong.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_idspace.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_log2.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_shash.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/dbt.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/mkpath.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/os_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_arg.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_cache.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_log.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_sig.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/zerofill.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/crdel_auto.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/crdel_rec.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_am.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_auto.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_cam.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_cds.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_compact.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_conv.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_copy.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_dispatch.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_dup.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_iface.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_join.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_meta.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_open.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_overflow.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_pr.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_rec.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_reclaim.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_remove.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_rename.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_ret.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_setid.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_setlsn.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_sort_multiple.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_stati.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_truncate.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_upg.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_upg_opd.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_vrfy_stub.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_auto.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_rec.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_util.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_alloc.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_config.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_failchk.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_file.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_globals.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_name.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_open.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_recover.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_region.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_register.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_sig.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fileops_auto.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_basic.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_rec.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_util.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hash/hash_func.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hash/hash_stub.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/heap/heap_stub.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hmac/hmac.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hmac/sha1.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_deadlock.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_failchk.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_id.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_list.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_region.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_timer.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_util.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_archive.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_compare.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_debug.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_get.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_print.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_put.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_verify_stub.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_alloc.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_bh.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fget.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fmethod.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fopen.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fput.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fset.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_mvcc.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_region.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_register.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_resize.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_sync.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_trickle.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_alloc.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_failchk.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_region.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_tas.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_abort.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_alloc.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_clock.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_cpu.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_ctime.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_dir.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_errno.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_fid.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_flock.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_fsync.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_getenv.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_handle.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_mkdir.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_open.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_pid.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_rename.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_root.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_rw.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_seek.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_stack.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_tmpdir.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_truncate.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_uid.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_unlink.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_abs.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_config.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_map.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_rpath.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_yield.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/qam/qam_stub.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/rep/rep_stub.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/repmgr/repmgr_stub.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_auto.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_chkpt.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_failchk.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_method.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_rec.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_recover.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_region.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_stat.o \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_util.o
bdbvxw/$(MODE_DIR)/bdbvxw.out : $(OBJECTS_bdbvxw)
$(TRACE_FLAG)if [ ! -d "`dirname "$@"`" ]; then mkdir -p "`dirname "$@"`"; fi;echo "building $@";rm -f "$@";ddump -Ng $(OBJECTS_bdbvxw) $(ADDED_OBJECTS) | tclsh $(WIND_BASE)/host/resource/hutils/tcl/munch.tcl -c pentium > $(OBJ_DIR)/ctdt.c; $(TOOL_PATH)dcc $(DEBUGFLAGS_Linker) $(CC_ARCH_SPEC) -Xdollar-in-ident -Xforce-declarations $(ADDED_CFLAGS) $(IDE_INCLUDES) $(ADDED_INCLUDES) -DCPU=$(CPU) -DTOOL_FAMILY=$(TOOL_FAMILY) -DTOOL=$(TOOL) -D_WRS_KERNEL $(DEFINES) -o $(OBJ_DIR)/ctdt.o -c $(OBJ_DIR)/ctdt.c; $(TOOL_PATH)dld -tX86LH:vxworks66 -X -r5 -f 0x90,1,1 -r4 -o "$@" $(OBJ_DIR)/ctdt.o $(OBJECTS_bdbvxw) $(ADDED_OBJECTS) $(LIBPATH) $(LIBS) $(ADDED_LIBPATH) $(ADDED_LIBS) && if [ "$(EXPAND_DBG)" = "1" ]; then plink "$@";fi
bdbvxw/$(MODE_DIR)/bdbvxw_compile_file : $(FILE) ;
_clean :: bdbvxw/$(MODE_DIR)/bdbvxw_clean
bdbvxw/$(MODE_DIR)/bdbvxw_clean :
$(TRACE_FLAG)if [ -d "bdbvxw" ]; then cd "bdbvxw"; rm -rf $(MODE_DIR); fi
DEP_FILES := \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compact.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compare.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_compress.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_conv.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_curadj.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_cursor.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_delete.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_open.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_put.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_rec.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_reclaim.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_recno.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_rsearch.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_search.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_split.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/bt_upgrade.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/btree/btree_auto.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/getopt.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/snprintf.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strcasecmp.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strdup.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/clib/strsep.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/clock.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/crypto_stub.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_byteorder.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_compint.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_err.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_getlong.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_idspace.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_log2.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/db_shash.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/dbt.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/mkpath.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/os_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_arg.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_cache.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_log.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/util_sig.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/common/zerofill.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/crdel_auto.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/crdel_rec.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_am.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_auto.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_cam.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_cds.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_compact.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_conv.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_copy.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_dispatch.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_dup.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_iface.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_join.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_meta.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_open.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_overflow.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_pr.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_rec.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_reclaim.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_remove.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_rename.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_ret.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_setid.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_setlsn.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_sort_multiple.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_stati.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_truncate.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_upg.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_upg_opd.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/db/db_vrfy_stub.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_auto.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_rec.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/dbreg/dbreg_util.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_alloc.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_config.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_failchk.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_file.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_globals.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_name.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_open.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_recover.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_region.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_register.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_sig.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/env/env_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fileops_auto.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_basic.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_rec.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/fileops/fop_util.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hash/hash_func.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hash/hash_stub.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/heap/heap_stub.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hmac/hmac.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/hmac/sha1.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_deadlock.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_failchk.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_id.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_list.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_region.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_timer.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/lock/lock_util.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_archive.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_compare.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_debug.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_get.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_print.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_put.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/log/log_verify_stub.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_alloc.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_bh.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fget.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fmethod.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fopen.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fput.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_fset.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_mvcc.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_region.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_register.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_resize.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_sync.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mp/mp_trickle.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_alloc.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_failchk.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_region.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/mutex/mut_tas.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_abort.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_alloc.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_clock.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_cpu.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_ctime.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_dir.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_errno.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_fid.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_flock.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_fsync.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_getenv.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_handle.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_mkdir.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_open.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_pid.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_rename.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_root.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_rw.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_seek.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_stack.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_tmpdir.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_truncate.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_uid.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os/os_unlink.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_abs.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_config.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_map.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_rpath.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/os_vxworks/os_vx_yield.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/qam/qam_stub.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/rep/rep_stub.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/repmgr/repmgr_stub.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_auto.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_chkpt.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_failchk.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_method.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_rec.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_recover.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_region.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_stat.d \
bdbvxw/$(MODE_DIR)/Objects/$(BDB_OBJECT_DIR)/src/txn/txn_util.d
-include $(DEP_FILES)
-include $(PRJ_ROOT_DIR)/*.makefile
-include *.makefile
main_all : external_build $(PROJECT_TARGETS)
@echo "make: built targets of `pwd`"
# entry point for extending the build
external_build ::
@echo ""
# main entry point for pre processing prior to the build
pre_build :: $(PRE_BUILD_STEP) generate_sources
@echo ""
# entry point for generating sources prior to the build
generate_sources ::
@echo ""
# main entry point for post processing after the build
post_build :: $(POST_BUILD_STEP) deploy_output
@echo ""
# entry point for deploying output after the build
deploy_output ::
@echo ""
clean :: external_clean $(CLEAN_STEP) _clean
# entry point for extending the build clean
external_clean ::
@echo ""

279
build_vxworks/clib_port.h Normal file
View file

@ -0,0 +1,279 @@
/* DO NOT EDIT: automatically built from dist/clib_port.in. */
/*
* Minimum/maximum values for various types.
*/
#ifndef UINT16_MAX /* Maximum 16-bit unsigned. */
#define UINT16_MAX 65535
#endif
#ifndef UINT32_MAX /* Maximum 32-bit unsigned. */
#define UINT32_MAX 4294967295U
#endif
#ifndef INT_MAX
#if SIZEOF_INT == 4
#define INT_MAX 2147483647
#endif
#if SIZEOF_INT == 8
#define INT_MAX 9223372036854775807
#endif
#endif
#ifndef INT_MIN /* minimum (signed) int value */
#define INT_MIN (-INT_MAX-1)
#endif
#ifndef UINT_MAX /* maximum (signed) int value */
#if SIZEOF_INT == 4
#define UINT_MAX 4294967295U
#endif
#if SIZEOF_INT == 8
#define UINT_MAX 18446744073709551615U
#endif
#endif
#ifndef LONG_MAX /* maximum (signed) long value */
#if SIZEOF_LONG == 4
#define LONG_MAX 2147483647
#endif
#if SIZEOF_LONG == 8
#define LONG_MAX 9223372036854775807L
#endif
#endif
#ifndef LONG_MIN /* minimum (signed) long value */
#define LONG_MIN (-LONG_MAX-1)
#endif
#ifndef ULONG_MAX /* maximum (unsigned) long value */
#if SIZEOF_LONG == 4
#define ULONG_MAX 4294967295U
#endif
#if SIZEOF_LONG == 8
#define ULONG_MAX 18446744073709551615UL
#endif
#endif
#if defined(HAVE_64BIT_TYPES)
/*
* Override the system's 64-bit min/max constants. AIX's 32-bit compiler can
* handle 64-bit values, but the system's constants don't include the LL/ULL
* suffix, and so can't be compiled using the 32-bit compiler.
*/
#undef INT64_MAX
#undef INT64_MIN
#undef UINT64_MAX
#ifdef DB_WIN32
#define INT64_MAX _I64_MAX
#define INT64_MIN _I64_MIN
#define UINT64_MAX _UI64_MAX
#else
#define INT64_MAX 9223372036854775807LL
#define INT64_MIN (-INT64_MAX-1)
#define UINT64_MAX 18446744073709551615ULL
#endif /* DB_WIN32 */
#define INT64_FMT "%lld"
#define UINT64_FMT "%llu"
#endif /* HAVE_64BIT_TYPES */
/*
* Exit success/failure macros.
*/
#ifndef HAVE_EXIT_SUCCESS
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#endif
/*
* File modes.
*/
#ifdef DB_WIN32
#ifndef S_IREAD /* WinCE doesn't have S_IREAD. */
#define S_IREAD 0
#endif
#ifndef S_IWRITE /* WinCE doesn't have S_IWRITE. */
#define S_IWRITE 0
#endif
#ifndef S_IRUSR
#define S_IRUSR S_IREAD /* R for owner */
#endif
#ifndef S_IWUSR
#define S_IWUSR S_IWRITE /* W for owner */
#endif
#ifndef S_IXUSR
#define S_IXUSR 0 /* X for owner */
#endif
#ifndef S_IRGRP
#define S_IRGRP 0 /* R for group */
#endif
#ifndef S_IWGRP
#define S_IWGRP 0 /* W for group */
#endif
#ifndef S_IXGRP
#define S_IXGRP 0 /* X for group */
#endif
#ifndef S_IROTH
#define S_IROTH 0 /* R for other */
#endif
#ifndef S_IWOTH
#define S_IWOTH 0 /* W for other */
#endif
#ifndef S_IXOTH
#define S_IXOTH 0 /* X for other */
#endif
#else /* !DB_WIN32 */
#ifndef S_IRUSR
#define S_IRUSR 0000400 /* R for owner */
#endif
#ifndef S_IWUSR
#define S_IWUSR 0000200 /* W for owner */
#endif
#ifndef S_IXUSR
#define S_IXUSR 0000100 /* X for owner */
#endif
#ifndef S_IRGRP
#define S_IRGRP 0000040 /* R for group */
#endif
#ifndef S_IWGRP
#define S_IWGRP 0000020 /* W for group */
#endif
#ifndef S_IXGRP
#define S_IXGRP 0000010 /* X for group */
#endif
#ifndef S_IROTH
#define S_IROTH 0000004 /* R for other */
#endif
#ifndef S_IWOTH
#define S_IWOTH 0000002 /* W for other */
#endif
#ifndef S_IXOTH
#define S_IXOTH 0000001 /* X for other */
#endif
#endif /* !DB_WIN32 */
/*
* Don't step on the namespace. Other libraries may have their own
* implementations of these functions, we don't want to use their
* implementations or force them to use ours based on the load order.
*/
#ifndef HAVE_ATOI
#define atoi __db_Catoi
#endif
#ifndef HAVE_ATOL
#define atol __db_Catol
#endif
#ifndef HAVE_BSEARCH
#define bsearch __db_Cbsearch
#endif
#ifndef HAVE_FCLOSE
#define fclose __db_Cfclose
#endif
#ifndef HAVE_FGETC
#define fgetc __db_Cfgetc
#endif
#ifndef HAVE_FGETS
#define fgets __db_Cfgets
#endif
#ifndef HAVE_FOPEN
#define fopen __db_Cfopen
#endif
#ifndef HAVE_FWRITE
#define fwrite __db_Cfwrite
#endif
#ifndef HAVE_GETADDRINFO
#define freeaddrinfo(a) __db_Cfreeaddrinfo(a)
#define getaddrinfo(a, b, c, d) __db_Cgetaddrinfo(a, b, c, d)
#endif
#ifndef HAVE_GETCWD
#define getcwd __db_Cgetcwd
#endif
#ifndef HAVE_GETOPT
#define getopt __db_Cgetopt
#define optarg __db_Coptarg
#define opterr __db_Copterr
#define optind __db_Coptind
#define optopt __db_Coptopt
#define optreset __db_Coptreset
#endif
#ifndef HAVE_ISALPHA
#define isalpha __db_Cisalpha
#endif
#ifndef HAVE_ISDIGIT
#define isdigit __db_Cisdigit
#endif
#ifndef HAVE_ISPRINT
#define isprint __db_Cisprint
#endif
#ifndef HAVE_ISSPACE
#define isspace __db_Cisspace
#endif
#ifndef HAVE_LOCALTIME
#define localtime __db_Clocaltime
#endif
#ifndef HAVE_MEMCMP
#define memcmp __db_Cmemcmp
#endif
#ifndef HAVE_MEMCPY
#define memcpy __db_Cmemcpy
#endif
#ifndef HAVE_MEMMOVE
#define memmove __db_Cmemmove
#endif
#ifndef HAVE_PRINTF
#define printf __db_Cprintf
#define fprintf __db_Cfprintf
#endif
#ifndef HAVE_QSORT
#define qsort __db_Cqsort
#endif
#ifndef HAVE_RAISE
#define raise __db_Craise
#endif
#ifndef HAVE_RAND
#define rand __db_Crand
#define srand __db_Csrand
#endif
#ifndef HAVE_SNPRINTF
#define snprintf __db_Csnprintf
#endif
#ifndef HAVE_STRCASECMP
#define strcasecmp __db_Cstrcasecmp
#define strncasecmp __db_Cstrncasecmp
#endif
#ifndef HAVE_STRCAT
#define strcat __db_Cstrcat
#endif
#ifndef HAVE_STRCHR
#define strchr __db_Cstrchr
#endif
#ifndef HAVE_STRDUP
#define strdup __db_Cstrdup
#endif
#ifndef HAVE_STRERROR
#define strerror __db_Cstrerror
#endif
#ifndef HAVE_STRNCAT
#define strncat __db_Cstrncat
#endif
#ifndef HAVE_STRNCMP
#define strncmp __db_Cstrncmp
#endif
#ifndef HAVE_STRRCHR
#define strrchr __db_Cstrrchr
#endif
#ifndef HAVE_STRSEP
#define strsep __db_Cstrsep
#endif
#ifndef HAVE_STRTOL
#define strtol __db_Cstrtol
#endif
#ifndef HAVE_STRTOUL
#define strtoul __db_Cstrtoul
#endif
#ifndef HAVE_TIME
#define time __db_Ctime
#endif
#ifndef HAVE_VSNPRINTF
#define vsnprintf __db_Cvsnprintf
#endif

3050
build_vxworks/db.h Normal file

File diff suppressed because it is too large Load diff

646
build_vxworks/db_config.h Normal file
View file

@ -0,0 +1,646 @@
/* DO NOT EDIT: automatically built by dist/s_vxworks. */
/* !!!
* The CONFIG_TEST option may be added using the Tornado project build.
* DO NOT modify it here.
*/
/* Define to 1 if you want to build a version for running the test suite. */
/* #undef CONFIG_TEST */
/* Defined to a size to limit the stack size of Berkeley DB threads. */
/* #undef DB_STACKSIZE */
/* We use DB_WIN32 much as one would use _WIN32 -- to specify that we're using
an operating system environment that supports Win32 calls and semantics. We
don't use _WIN32 because Cygwin/GCC also defines _WIN32, even though
Cygwin/GCC closely emulates the Unix environment. */
/* #undef DB_WIN32 */
/* !!!
* The DEBUG option may be added using the Tornado project build.
* DO NOT modify it here.
*/
/* Define to 1 if you want a debugging version. */
/* #undef DEBUG */
/* Define to 1 if you want a version that logs read operations. */
/* #undef DEBUG_ROP */
/* Define to 1 if you want a version that logs write operations. */
/* #undef DEBUG_WOP */
/* !!!
* The DIAGNOSTIC option may be added using the Tornado project build.
* DO NOT modify it here.
*/
/* Define to 1 if you want a version with run-time diagnostic checking. */
/* #undef DIAGNOSTIC */
/* Define to 1 if 64-bit types are available. */
#define HAVE_64BIT_TYPES 1
/* Define to 1 if you have the `abort' function. */
#define HAVE_ABORT 1
/* Define to 1 if you have the `atoi' function. */
#define HAVE_ATOI 1
/* Define to 1 if you have the `atol' function. */
#define HAVE_ATOL 1
/* Define to 1 to use Solaris library routes for atomic operations. */
/* #undef HAVE_ATOMIC_SOLARIS */
/* Define to 1 to use native atomic operations. */
/* #undef HAVE_ATOMIC_SUPPORT */
/* Define to 1 to use GCC and x86 or x86_64 assemlby language atomic
operations. */
/* #undef HAVE_ATOMIC_X86_GCC_ASSEMBLY */
/* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */
/* Define to 1 if you have the `backtrace_symbols' function. */
/* #undef HAVE_BACKTRACE_SYMBOLS */
/* Define to 1 if you have the `bsearch' function. */
#define HAVE_BSEARCH 1
/* Define to 1 if you have the `clock_gettime' function. */
#define HAVE_CLOCK_GETTIME 1
/* Define to 1 if clock_gettime supports CLOCK_MONOTONIC. */
/* #undef HAVE_CLOCK_MONOTONIC */
/* Define to 1 if building compression support. */
/* #undef HAVE_COMPRESSION */
/* Define to 1 if Berkeley DB release includes strong cryptography. */
#define HAVE_CRYPTO 1
/* Define to 1 if using Intel IPP for cryptography. */
/* #undef HAVE_CRYPTO_IPP */
/* Define to 1 if you have the `ctime_r' function. */
#define HAVE_CTIME_R 1
/* Define to 1 if ctime_r takes a buffer length as a third argument. */
#define HAVE_CTIME_R_3ARG 1
/* Define to 1 if building the DBM API. */
/* #undef HAVE_DBM */
/* Define to 1 if you have the `directio' function. */
/* #undef HAVE_DIRECTIO */
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define to 1 to use dtrace for performance event tracing. */
/* #undef HAVE_DTRACE */
/* Define to 1 if you have the <execinfo.h> header file. */
/* #undef HAVE_EXECINFO_H */
/* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */
#define HAVE_EXIT_SUCCESS 1
/* Define to 1 if you have the `fchmod' function. */
/* #undef HAVE_FCHMOD */
/* Define to 1 if you have the `fclose' function. */
#define HAVE_FCLOSE 1
/* Define to 1 if you have the `fcntl' function. */
/* #undef HAVE_FCNTL */
/* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */
/* #undef HAVE_FCNTL_F_SETFD */
/* Define to 1 if you have the `fdatasync' function. */
/* #undef HAVE_FDATASYNC */
/* Define to 1 if you have the `fgetc' function. */
#define HAVE_FGETC 1
/* Define to 1 if you have the `fgets' function. */
#define HAVE_FGETS 1
/* Define to 1 if allocated filesystem blocks are not zeroed. */
#define HAVE_FILESYSTEM_NOTZERO 1
/* Define to 1 if you have the `fopen' function. */
#define HAVE_FOPEN 1
/* Define to 1 if you have the `ftruncate' function. */
#define HAVE_FTRUNCATE 1
/* Define to 1 if you have the `fwrite' function. */
#define HAVE_FWRITE 1
/* Define to 1 if you have the `getaddrinfo' function. */
#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
/* Define to 1 if you have the `getenv' function. */
#define HAVE_GETENV 1
/* Define to 1 if you have the `getgid' function. */
#define HAVE_GETGID 1
/* Define to 1 if you have the `getopt' function. */
#define HAVE_GETOPT 1
/* Define to 1 if getopt supports the optreset variable. */
#define HAVE_GETOPT_OPTRESET 1
/* Define to 1 if you have the `getrusage' function. */
/* #undef HAVE_GETRUSAGE */
/* Define to 1 if you have the `gettimeofday' function. */
/* #undef HAVE_GETTIMEOFDAY */
/* Define to 1 if you have the `getuid' function. */
/* #undef HAVE_GETUID */
/* Define to 1 if building Hash access method. */
#define HAVE_HASH 1
/* Define to 1 if building Heap access method. */
#define HAVE_HEAP 1
/* Define to 1 if you have the `hstrerror' function. */
/* #undef HAVE_HSTRERROR */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Define to 1 if you have the `isalpha' function. */
#define HAVE_ISALPHA 1
/* Define to 1 if you have the `isdigit' function. */
#define HAVE_ISDIGIT 1
/* Define to 1 if you have the `isprint' function. */
#define HAVE_ISPRINT 1
/* Define to 1 if you have the `isspace' function. */
#define HAVE_ISSPACE 1
/* Define to 1 if you have a localization function to support globalization. */
/* #undef HAVE_LOCALIZATION */
/* Define to 1 if you have the `localtime' function. */
#define HAVE_LOCALTIME 1
/* Define to 1 if you want to enable log checksums. */
#define HAVE_LOG_CHECKSUM 1
/* Define to 1 if you have the `memcmp' function. */
#define HAVE_MEMCMP 1
/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mlock' function. */
/* #undef HAVE_MLOCK */
/* Define to 1 if you have the `mmap' function. */
/* #undef HAVE_MMAP */
/* Define to 1 where mmap() incrementally extends the accessible mapping as
the underlying file grows. */
/* #undef HAVE_MMAP_EXTEND */
/* Define to 1 if you have the `mprotect' function. */
/* #undef HAVE_MPROTECT */
/* Define to 1 if you have the `munlock' function. */
/* #undef HAVE_MUNLOCK */
/* Define to 1 if you have the `munmap' function. */
/* #undef HAVE_MUNMAP */
/* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */
/* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */
/* Define to 1 to use the AIX _check_lock mutexes. */
/* #undef HAVE_MUTEX_AIX_CHECK_LOCK */
/* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */
/* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */
/* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */
/* Define to 1 to use the Apple/Darwin _spin_lock_try mutexes. */
/* #undef HAVE_MUTEX_DARWIN_SPIN_LOCK_TRY */
/* Define to 1 to use the UNIX fcntl system call mutexes. */
/* #undef HAVE_MUTEX_FCNTL */
/* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes.
*/
/* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */
/* Define to 1 to use the msem_XXX mutexes on HP-UX. */
/* #undef HAVE_MUTEX_HPPA_MSEM_INIT */
/* Define to 1 to use test-and-set mutexes with blocking mutexes. */
/* #undef HAVE_MUTEX_HYBRID */
/* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */
/* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and MIPS assembly language mutexes. */
/* #undef HAVE_MUTEX_MIPS_GCC_ASSEMBLY */
/* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */
/* #undef HAVE_MUTEX_MSEM_INIT */
/* Define to 1 to use the GCC compiler and PowerPC assembly language mutexes.
*/
/* #undef HAVE_MUTEX_PPC_GCC_ASSEMBLY */
/* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */
/* #undef HAVE_MUTEX_PTHREADS */
/* Define to 1 to use Reliant UNIX initspin mutexes. */
/* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */
/* Define to 1 to use the IBM C compiler and S/390 assembly language mutexes.
*/
/* #undef HAVE_MUTEX_S390_CC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */
/* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */
/* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */
/* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */
/* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */
/* #undef HAVE_MUTEX_SEMA_INIT */
/* Define to 1 to use the SGI XXX_lock mutexes. */
/* #undef HAVE_MUTEX_SGI_INIT_LOCK */
/* Define to 1 to use the Solaris _lock_XXX mutexes. */
/* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */
/* Define to 1 to use the Solaris lwp threads mutexes. */
/* #undef HAVE_MUTEX_SOLARIS_LWP */
/* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */
/* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */
/* Define to 1 if the Berkeley DB library should support mutexes. */
#define HAVE_MUTEX_SUPPORT 1
/* Define to 1 if mutexes hold system resources. */
#define HAVE_MUTEX_SYSTEM_RESOURCES 1
/* Define to 1 to configure mutexes intra-process only. */
/* #undef HAVE_MUTEX_THREAD_ONLY */
/* Define to 1 to use the CC compiler and Tru64 assembly language mutexes. */
/* #undef HAVE_MUTEX_TRU64_CC_ASSEMBLY */
/* Define to 1 to use the UNIX International mutexes. */
/* #undef HAVE_MUTEX_UI_THREADS */
/* Define to 1 to use the UTS compiler and assembly language mutexes. */
/* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */
/* Define to 1 to use VMS mutexes. */
/* #undef HAVE_MUTEX_VMS */
/* Define to 1 to use VxWorks mutexes. */
#define HAVE_MUTEX_VXWORKS 1
/* Define to 1 to use the MSVC compiler and Windows mutexes. */
/* #undef HAVE_MUTEX_WIN32 */
/* Define to 1 to use the GCC compiler and Windows mutexes. */
/* #undef HAVE_MUTEX_WIN32_GCC */
/* Define to 1 to use the GCC compiler and 64-bit x86 assembly language
mutexes. */
/* #undef HAVE_MUTEX_X86_64_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and 32-bit x86 assembly language
mutexes. */
/* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the O_DIRECT flag. */
/* #undef HAVE_O_DIRECT */
/* Define to 1 if building partitioned database support. */
/* #undef HAVE_PARTITION */
/* Define to 1 to enable some kind of performance event monitoring. */
/* #undef HAVE_PERFMON */
/* Define to 1 to enable performance event monitoring of *_stat() statistics.
*/
/* #undef HAVE_PERFMON_STATISTICS */
/* Define to 1 if you have the `pread' function. */
/* #undef HAVE_PREAD */
/* Define to 1 if you have the `printf' function. */
#define HAVE_PRINTF 1
/* Define to 1 if you have the `pstat_getdynamic' function. */
/* #undef HAVE_PSTAT_GETDYNAMIC */
/* Define to 1 if it is OK to initialize an already initialized
pthread_cond_t. */
/* #undef HAVE_PTHREAD_COND_REINIT_OKAY */
/* Define to 1 if it is OK to initialize an already initialized
pthread_rwlock_t. */
/* #undef HAVE_PTHREAD_RWLOCK_REINIT_OKAY */
/* Define to 1 if you have the `pthread_self' function. */
/* #undef HAVE_PTHREAD_SELF */
/* Define to 1 if you have the `pthread_yield' function. */
/* #undef HAVE_PTHREAD_YIELD */
/* Define to 1 if you have the `pwrite' function. */
/* #undef HAVE_PWRITE */
/* Define to 1 if building on QNX. */
/* #undef HAVE_QNX */
/* Define to 1 if you have the `qsort' function. */
#define HAVE_QSORT 1
/* Define to 1 if building Queue access method. */
#define HAVE_QUEUE 1
/* Define to 1 if you have the `raise' function. */
#define HAVE_RAISE 1
/* Define to 1 if you have the `rand' function. */
#define HAVE_RAND 1
/* Define to 1 if you have the `random' function. */
/* #undef HAVE_RANDOM */
/* Define to 1 if building replication support. */
#define HAVE_REPLICATION 1
/* Define to 1 if building the Berkeley DB replication framework. */
#define HAVE_REPLICATION_THREADS 1
/* Define to 1 if you have the `sched_yield' function. */
#define HAVE_SCHED_YIELD 1
/* Define to 1 if you have the `select' function. */
#define HAVE_SELECT 1
/* Define to 1 if you have the `setgid' function. */
#define HAVE_SETGID 1
/* Define to 1 if you have the `setuid' function. */
#define HAVE_SETUID 1
/* Define to 1 to configure Berkeley DB to use shared, read/write latches. */
#define HAVE_SHARED_LATCHES 1
/* Define to 1 if shmctl/SHM_LOCK locks down shared memory segments. */
/* #undef HAVE_SHMCTL_SHM_LOCK */
/* Define to 1 if you have the `shmget' function. */
/* #undef HAVE_SHMGET */
/* Define to 1 if you have the `sigaction' function. */
/* #undef HAVE_SIGACTION */
/* Define to 1 if thread identifier type db_threadid_t is integral. */
#define HAVE_SIMPLE_THREAD_TYPE 1
/* Define to 1 if you have the `snprintf' function. */
/* #undef HAVE_SNPRINTF */
/* Define to 1 if you have the `stat' function. */
#define HAVE_STAT 1
/* Define to 1 if building statistics support. */
#define HAVE_STATISTICS 1
/* 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. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
/* #undef HAVE_STRCASECMP */
/* Define to 1 if you have the `strcat' function. */
#define HAVE_STRCAT 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
/* #undef HAVE_STRDUP */
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if building without output message content. */
/* #undef HAVE_STRIPPED_MESSAGES */
/* Define to 1 if you have the `strncat' function. */
#define HAVE_STRNCAT 1
/* Define to 1 if you have the `strncmp' function. */
#define HAVE_STRNCMP 1
/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1
/* Define to 1 if you have the `strsep' function. */
/* #undef HAVE_STRSEP */
/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1
/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define to 1 if `st_blksize' is member of `struct stat'. */
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
/* Define to 1 if you have the `sysconf' function. */
/* #undef HAVE_SYSCONF */
/* Define to 1 if port includes files in the Berkeley DB source code. */
#define HAVE_SYSTEM_INCLUDE_FILES 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/sdt.h> header file. */
/* #undef HAVE_SYS_SDT_H */
/* Define to 1 if you have the <sys/select.h> header file. */
/* #undef HAVE_SYS_SELECT_H */
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* 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/time.h> header file. */
/* #undef HAVE_SYS_TIME_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' function. */
#define HAVE_TIME 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if unlink of file with open file descriptors will fail. */
#define HAVE_UNLINK_WITH_OPEN_FAILURE 1
/* Define to 1 if port includes historic database upgrade support. */
#define HAVE_UPGRADE_SUPPORT 1
/* Define to 1 if building access method verification support. */
#define HAVE_VERIFY 1
/* Define to 1 if you have the `vsnprintf' function. */
/* #undef HAVE_VSNPRINTF */
/* Define to 1 if building VxWorks. */
#define HAVE_VXWORKS 1
/* Define to 1 if you have the `yield' function. */
/* #undef HAVE_YIELD */
/* Define to 1 if you have the `_fstati64' function. */
/* #undef HAVE__FSTATI64 */
/* Define to the sub-directory in which libtool stores uninstalled libraries. */
/* #undef LT_OBJDIR */
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "Oracle Technology Network Berkeley DB forum"
/* Define to the full name of this package. */
#define PACKAGE_NAME "Berkeley DB"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "Berkeley DB 5.2.28"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "db-5.2.28"
/* Define to the home page for this package. */
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
/* Define to the version of this package. */
#define PACKAGE_VERSION "5.2.28"
/* The size of a `char', as computed by sizeof. */
/* #undef SIZEOF_CHAR */
/* The size of a `char *', as computed by sizeof. */
#define SIZEOF_CHAR_P 4
/* The size of a `int', as computed by sizeof. */
/* #undef SIZEOF_INT */
/* The size of a `long', as computed by sizeof. */
/* #undef SIZEOF_LONG */
/* The size of a `long long', as computed by sizeof. */
/* #undef SIZEOF_LONG_LONG */
/* The size of a `short', as computed by sizeof. */
/* #undef SIZEOF_SHORT */
/* The size of a `size_t', as computed by sizeof. */
/* #undef SIZEOF_SIZE_T */
/* The size of a `unsigned char', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_CHAR */
/* The size of a `unsigned int', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_INT */
/* The size of a `unsigned long', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_LONG */
/* The size of a `unsigned long long', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_LONG_LONG */
/* The size of a `unsigned short', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_SHORT */
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
/* #undef TIME_WITH_SYS_TIME */
/* Define to 1 to mask harmless uninitialized memory read/writes. */
/* #undef UMRW */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#define inline
#endif
/* type to use in place of socklen_t if not defined */
/* #undef socklen_t */

View file

@ -0,0 +1,646 @@
/* DO NOT EDIT: automatically built by dist/s_vxworks. */
/* !!!
* The CONFIG_TEST option may be added using the Tornado project build.
* DO NOT modify it here.
*/
/* Define to 1 if you want to build a version for running the test suite. */
/* #undef CONFIG_TEST */
/* Defined to a size to limit the stack size of Berkeley DB threads. */
/* #undef DB_STACKSIZE */
/* We use DB_WIN32 much as one would use _WIN32 -- to specify that we're using
an operating system environment that supports Win32 calls and semantics. We
don't use _WIN32 because Cygwin/GCC also defines _WIN32, even though
Cygwin/GCC closely emulates the Unix environment. */
/* #undef DB_WIN32 */
/* !!!
* The DEBUG option may be added using the Tornado project build.
* DO NOT modify it here.
*/
/* Define to 1 if you want a debugging version. */
/* #undef DEBUG */
/* Define to 1 if you want a version that logs read operations. */
/* #undef DEBUG_ROP */
/* Define to 1 if you want a version that logs write operations. */
/* #undef DEBUG_WOP */
/* !!!
* The DIAGNOSTIC option may be added using the Tornado project build.
* DO NOT modify it here.
*/
/* Define to 1 if you want a version with run-time diagnostic checking. */
/* #undef DIAGNOSTIC */
/* Define to 1 if 64-bit types are available. */
#define HAVE_64BIT_TYPES 1
/* Define to 1 if you have the `abort' function. */
#define HAVE_ABORT 1
/* Define to 1 if you have the `atoi' function. */
#define HAVE_ATOI 1
/* Define to 1 if you have the `atol' function. */
#define HAVE_ATOL 1
/* Define to 1 to use Solaris library routes for atomic operations. */
/* #undef HAVE_ATOMIC_SOLARIS */
/* Define to 1 to use native atomic operations. */
/* #undef HAVE_ATOMIC_SUPPORT */
/* Define to 1 to use GCC and x86 or x86_64 assemlby language atomic
operations. */
/* #undef HAVE_ATOMIC_X86_GCC_ASSEMBLY */
/* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */
/* Define to 1 if you have the `backtrace_symbols' function. */
/* #undef HAVE_BACKTRACE_SYMBOLS */
/* Define to 1 if you have the `bsearch' function. */
#define HAVE_BSEARCH 1
/* Define to 1 if you have the `clock_gettime' function. */
#define HAVE_CLOCK_GETTIME 1
/* Define to 1 if clock_gettime supports CLOCK_MONOTONIC. */
/* #undef HAVE_CLOCK_MONOTONIC */
/* Define to 1 if building compression support. */
/* #undef HAVE_COMPRESSION */
/* Define to 1 if Berkeley DB release includes strong cryptography. */
/* #undef HAVE_CRYPTO */
/* Define to 1 if using Intel IPP for cryptography. */
/* #undef HAVE_CRYPTO_IPP */
/* Define to 1 if you have the `ctime_r' function. */
#define HAVE_CTIME_R 1
/* Define to 1 if ctime_r takes a buffer length as a third argument. */
#define HAVE_CTIME_R_3ARG 1
/* Define to 1 if building the DBM API. */
/* #undef HAVE_DBM */
/* Define to 1 if you have the `directio' function. */
/* #undef HAVE_DIRECTIO */
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#define HAVE_DIRENT_H 1
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define to 1 to use dtrace for performance event tracing. */
/* #undef HAVE_DTRACE */
/* Define to 1 if you have the <execinfo.h> header file. */
/* #undef HAVE_EXECINFO_H */
/* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */
#define HAVE_EXIT_SUCCESS 1
/* Define to 1 if you have the `fchmod' function. */
/* #undef HAVE_FCHMOD */
/* Define to 1 if you have the `fclose' function. */
#define HAVE_FCLOSE 1
/* Define to 1 if you have the `fcntl' function. */
/* #undef HAVE_FCNTL */
/* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */
/* #undef HAVE_FCNTL_F_SETFD */
/* Define to 1 if you have the `fdatasync' function. */
/* #undef HAVE_FDATASYNC */
/* Define to 1 if you have the `fgetc' function. */
#define HAVE_FGETC 1
/* Define to 1 if you have the `fgets' function. */
#define HAVE_FGETS 1
/* Define to 1 if allocated filesystem blocks are not zeroed. */
#define HAVE_FILESYSTEM_NOTZERO 1
/* Define to 1 if you have the `fopen' function. */
#define HAVE_FOPEN 1
/* Define to 1 if you have the `ftruncate' function. */
#define HAVE_FTRUNCATE 1
/* Define to 1 if you have the `fwrite' function. */
#define HAVE_FWRITE 1
/* Define to 1 if you have the `getaddrinfo' function. */
#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
/* Define to 1 if you have the `getenv' function. */
#define HAVE_GETENV 1
/* Define to 1 if you have the `getgid' function. */
#define HAVE_GETGID 1
/* Define to 1 if you have the `getopt' function. */
#define HAVE_GETOPT 1
/* Define to 1 if getopt supports the optreset variable. */
#define HAVE_GETOPT_OPTRESET 1
/* Define to 1 if you have the `getrusage' function. */
/* #undef HAVE_GETRUSAGE */
/* Define to 1 if you have the `gettimeofday' function. */
/* #undef HAVE_GETTIMEOFDAY */
/* Define to 1 if you have the `getuid' function. */
/* #undef HAVE_GETUID */
/* Define to 1 if building Hash access method. */
/* #undef HAVE_HASH */
/* Define to 1 if building Heap access method. */
#define HAVE_HEAP 1
/* Define to 1 if you have the `hstrerror' function. */
/* #undef HAVE_HSTRERROR */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Define to 1 if you have the `isalpha' function. */
#define HAVE_ISALPHA 1
/* Define to 1 if you have the `isdigit' function. */
#define HAVE_ISDIGIT 1
/* Define to 1 if you have the `isprint' function. */
#define HAVE_ISPRINT 1
/* Define to 1 if you have the `isspace' function. */
#define HAVE_ISSPACE 1
/* Define to 1 if you have a localization function to support globalization. */
/* #undef HAVE_LOCALIZATION */
/* Define to 1 if you have the `localtime' function. */
#define HAVE_LOCALTIME 1
/* Define to 1 if you want to enable log checksums. */
#define HAVE_LOG_CHECKSUM 1
/* Define to 1 if you have the `memcmp' function. */
#define HAVE_MEMCMP 1
/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mlock' function. */
/* #undef HAVE_MLOCK */
/* Define to 1 if you have the `mmap' function. */
/* #undef HAVE_MMAP */
/* Define to 1 where mmap() incrementally extends the accessible mapping as
the underlying file grows. */
/* #undef HAVE_MMAP_EXTEND */
/* Define to 1 if you have the `mprotect' function. */
/* #undef HAVE_MPROTECT */
/* Define to 1 if you have the `munlock' function. */
/* #undef HAVE_MUNLOCK */
/* Define to 1 if you have the `munmap' function. */
/* #undef HAVE_MUNMAP */
/* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */
/* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */
/* Define to 1 to use the AIX _check_lock mutexes. */
/* #undef HAVE_MUTEX_AIX_CHECK_LOCK */
/* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */
/* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */
/* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */
/* Define to 1 to use the Apple/Darwin _spin_lock_try mutexes. */
/* #undef HAVE_MUTEX_DARWIN_SPIN_LOCK_TRY */
/* Define to 1 to use the UNIX fcntl system call mutexes. */
/* #undef HAVE_MUTEX_FCNTL */
/* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes.
*/
/* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */
/* Define to 1 to use the msem_XXX mutexes on HP-UX. */
/* #undef HAVE_MUTEX_HPPA_MSEM_INIT */
/* Define to 1 to use test-and-set mutexes with blocking mutexes. */
/* #undef HAVE_MUTEX_HYBRID */
/* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */
/* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and MIPS assembly language mutexes. */
/* #undef HAVE_MUTEX_MIPS_GCC_ASSEMBLY */
/* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */
/* #undef HAVE_MUTEX_MSEM_INIT */
/* Define to 1 to use the GCC compiler and PowerPC assembly language mutexes.
*/
/* #undef HAVE_MUTEX_PPC_GCC_ASSEMBLY */
/* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */
/* #undef HAVE_MUTEX_PTHREADS */
/* Define to 1 to use Reliant UNIX initspin mutexes. */
/* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */
/* Define to 1 to use the IBM C compiler and S/390 assembly language mutexes.
*/
/* #undef HAVE_MUTEX_S390_CC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */
/* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */
/* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */
/* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */
/* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */
/* #undef HAVE_MUTEX_SEMA_INIT */
/* Define to 1 to use the SGI XXX_lock mutexes. */
/* #undef HAVE_MUTEX_SGI_INIT_LOCK */
/* Define to 1 to use the Solaris _lock_XXX mutexes. */
/* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */
/* Define to 1 to use the Solaris lwp threads mutexes. */
/* #undef HAVE_MUTEX_SOLARIS_LWP */
/* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */
/* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */
/* Define to 1 if the Berkeley DB library should support mutexes. */
#define HAVE_MUTEX_SUPPORT 1
/* Define to 1 if mutexes hold system resources. */
#define HAVE_MUTEX_SYSTEM_RESOURCES 1
/* Define to 1 to configure mutexes intra-process only. */
/* #undef HAVE_MUTEX_THREAD_ONLY */
/* Define to 1 to use the CC compiler and Tru64 assembly language mutexes. */
/* #undef HAVE_MUTEX_TRU64_CC_ASSEMBLY */
/* Define to 1 to use the UNIX International mutexes. */
/* #undef HAVE_MUTEX_UI_THREADS */
/* Define to 1 to use the UTS compiler and assembly language mutexes. */
/* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */
/* Define to 1 to use VMS mutexes. */
/* #undef HAVE_MUTEX_VMS */
/* Define to 1 to use VxWorks mutexes. */
#define HAVE_MUTEX_VXWORKS 1
/* Define to 1 to use the MSVC compiler and Windows mutexes. */
/* #undef HAVE_MUTEX_WIN32 */
/* Define to 1 to use the GCC compiler and Windows mutexes. */
/* #undef HAVE_MUTEX_WIN32_GCC */
/* Define to 1 to use the GCC compiler and 64-bit x86 assembly language
mutexes. */
/* #undef HAVE_MUTEX_X86_64_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and 32-bit x86 assembly language
mutexes. */
/* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the O_DIRECT flag. */
/* #undef HAVE_O_DIRECT */
/* Define to 1 if building partitioned database support. */
/* #undef HAVE_PARTITION */
/* Define to 1 to enable some kind of performance event monitoring. */
/* #undef HAVE_PERFMON */
/* Define to 1 to enable performance event monitoring of *_stat() statistics.
*/
/* #undef HAVE_PERFMON_STATISTICS */
/* Define to 1 if you have the `pread' function. */
/* #undef HAVE_PREAD */
/* Define to 1 if you have the `printf' function. */
#define HAVE_PRINTF 1
/* Define to 1 if you have the `pstat_getdynamic' function. */
/* #undef HAVE_PSTAT_GETDYNAMIC */
/* Define to 1 if it is OK to initialize an already initialized
pthread_cond_t. */
/* #undef HAVE_PTHREAD_COND_REINIT_OKAY */
/* Define to 1 if it is OK to initialize an already initialized
pthread_rwlock_t. */
/* #undef HAVE_PTHREAD_RWLOCK_REINIT_OKAY */
/* Define to 1 if you have the `pthread_self' function. */
/* #undef HAVE_PTHREAD_SELF */
/* Define to 1 if you have the `pthread_yield' function. */
/* #undef HAVE_PTHREAD_YIELD */
/* Define to 1 if you have the `pwrite' function. */
/* #undef HAVE_PWRITE */
/* Define to 1 if building on QNX. */
/* #undef HAVE_QNX */
/* Define to 1 if you have the `qsort' function. */
#define HAVE_QSORT 1
/* Define to 1 if building Queue access method. */
/* #undef HAVE_QUEUE */
/* Define to 1 if you have the `raise' function. */
#define HAVE_RAISE 1
/* Define to 1 if you have the `rand' function. */
#define HAVE_RAND 1
/* Define to 1 if you have the `random' function. */
/* #undef HAVE_RANDOM */
/* Define to 1 if building replication support. */
/* #undef HAVE_REPLICATION */
/* Define to 1 if building the Berkeley DB replication framework. */
/* #undef HAVE_REPLICATION */
/* Define to 1 if you have the `sched_yield' function. */
#define HAVE_SCHED_YIELD 1
/* Define to 1 if you have the `select' function. */
#define HAVE_SELECT 1
/* Define to 1 if you have the `setgid' function. */
#define HAVE_SETGID 1
/* Define to 1 if you have the `setuid' function. */
#define HAVE_SETUID 1
/* Define to 1 to configure Berkeley DB to use shared, read/write latches. */
#define HAVE_SHARED_LATCHES 1
/* Define to 1 if shmctl/SHM_LOCK locks down shared memory segments. */
/* #undef HAVE_SHMCTL_SHM_LOCK */
/* Define to 1 if you have the `shmget' function. */
/* #undef HAVE_SHMGET */
/* Define to 1 if you have the `sigaction' function. */
/* #undef HAVE_SIGACTION */
/* Define to 1 if thread identifier type db_threadid_t is integral. */
#define HAVE_SIMPLE_THREAD_TYPE 1
/* Define to 1 if you have the `snprintf' function. */
/* #undef HAVE_SNPRINTF */
/* Define to 1 if you have the `stat' function. */
#define HAVE_STAT 1
/* Define to 1 if building statistics support. */
/* #undef HAVE_STATISTICS */
/* 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. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
/* #undef HAVE_STRCASECMP */
/* Define to 1 if you have the `strcat' function. */
#define HAVE_STRCAT 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
/* #undef HAVE_STRDUP */
/* Define to 1 if you have the `strerror' function. */
#define HAVE_STRERROR 1
/* Define to 1 if you have the `strftime' function. */
#define HAVE_STRFTIME 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if building without output message content. */
/* #undef HAVE_STRIPPED_MESSAGES */
/* Define to 1 if you have the `strncat' function. */
#define HAVE_STRNCAT 1
/* Define to 1 if you have the `strncmp' function. */
#define HAVE_STRNCMP 1
/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1
/* Define to 1 if you have the `strsep' function. */
/* #undef HAVE_STRSEP */
/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1
/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define to 1 if `st_blksize' is member of `struct stat'. */
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
/* Define to 1 if you have the `sysconf' function. */
/* #undef HAVE_SYSCONF */
/* Define to 1 if port includes files in the Berkeley DB source code. */
#define HAVE_SYSTEM_INCLUDE_FILES 1
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/sdt.h> header file. */
/* #undef HAVE_SYS_SDT_H */
/* Define to 1 if you have the <sys/select.h> header file. */
/* #undef HAVE_SYS_SELECT_H */
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* 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/time.h> header file. */
/* #undef HAVE_SYS_TIME_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' function. */
#define HAVE_TIME 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if unlink of file with open file descriptors will fail. */
#define HAVE_UNLINK_WITH_OPEN_FAILURE 1
/* Define to 1 if port includes historic database upgrade support. */
#define HAVE_UPGRADE_SUPPORT 1
/* Define to 1 if building access method verification support. */
/* #undef HAVE_VERIFY */
/* Define to 1 if you have the `vsnprintf' function. */
/* #undef HAVE_VSNPRINTF */
/* Define to 1 if building VxWorks. */
#define HAVE_VXWORKS 1
/* Define to 1 if you have the `yield' function. */
/* #undef HAVE_YIELD */
/* Define to 1 if you have the `_fstati64' function. */
/* #undef HAVE__FSTATI64 */
/* Define to the sub-directory in which libtool stores uninstalled libraries. */
/* #undef LT_OBJDIR */
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "Oracle Technology Network Berkeley DB forum"
/* Define to the full name of this package. */
#define PACKAGE_NAME "Berkeley DB"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "Berkeley DB 5.2.28"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "db-5.2.28"
/* Define to the home page for this package. */
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
/* Define to the version of this package. */
#define PACKAGE_VERSION "5.2.28"
/* The size of a `char', as computed by sizeof. */
/* #undef SIZEOF_CHAR */
/* The size of a `char *', as computed by sizeof. */
#define SIZEOF_CHAR_P 4
/* The size of a `int', as computed by sizeof. */
/* #undef SIZEOF_INT */
/* The size of a `long', as computed by sizeof. */
/* #undef SIZEOF_LONG */
/* The size of a `long long', as computed by sizeof. */
/* #undef SIZEOF_LONG_LONG */
/* The size of a `short', as computed by sizeof. */
/* #undef SIZEOF_SHORT */
/* The size of a `size_t', as computed by sizeof. */
/* #undef SIZEOF_SIZE_T */
/* The size of a `unsigned char', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_CHAR */
/* The size of a `unsigned int', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_INT */
/* The size of a `unsigned long', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_LONG */
/* The size of a `unsigned long long', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_LONG_LONG */
/* The size of a `unsigned short', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_SHORT */
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
/* #undef TIME_WITH_SYS_TIME */
/* Define to 1 to mask harmless uninitialized memory read/writes. */
/* #undef UMRW */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#define inline
#endif
/* type to use in place of socklen_t if not defined */
/* #undef socklen_t */

1494
build_vxworks/db_cxx.h Normal file

File diff suppressed because it is too large Load diff

1142
build_vxworks/db_int.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,39 @@
This README describes the steps needed to run a demo example of BerkeleyDB.
1. Read the pages in the Reference Guide that describe building
BerkeleyDB on VxWorks:
$(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/intro.html
$(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/notes.html
$(WIND_BASE)/target/src/BerkeleyDB/docs/ref/build_vxworks/faq.html
2. Launch Tornado 2.0 and open up the BerkeleyDB project.
3. Add the demo project to that workspace:
$(WIND_BASE)/target/src/BerkeleyDB/build_vxworks/demo/dbdemo.wpj
4. Build BerkeleyDB as described in the Reference Guide.
5. Build the dbdemo project.
6. Download BerkeleyDB onto the target.
7. Download the dbdemo project onto the target.
8. Open a windsh to the target and run the demo:
-> dbdemo "<pathname>/<dbname>"
Where pathname is a pathname string pointing to a directory that the
demo can create a database in. That directory should already exist.
The dbname is the name for the database. For example:
-> dbdemo "/tmp/demo.db"
9. The demo program will ask for input. You can type in any string.
The program will add an entry to the database with that string as
the key and the reverse of that string as the data item for that key.
It will continue asking for input until you hit ^D or enter "quit".
Upon doing so, the demo program will display all the keys you have
entered as input and their data items.

View file

@ -0,0 +1,177 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1997, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
extern int getopt(int, char * const *, const char *);
#else
#include <unistd.h>
#endif
#include <db_config.h>
#include <db_int.h>
#define DATABASE "access.db"
int dbdemo_main __P((int, char *[]));
int dbdemo_usage __P((void));
int
dbdemo(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("dbdemo", args, &argc, &argv);
return (dbdemo_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
dbdemo_main(argc, argv)
int argc;
char *argv[];
{
extern int optind, __db_getopt_reset;
DB *dbp;
DBC *dbcp;
DBT key, data;
size_t len;
int ch, ret, rflag;
char *database, *p, *t, buf[1024], rbuf[1024];
const char *progname = "dbdemo"; /* Program name. */
rflag = 0;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "r")) != EOF)
switch (ch) {
case 'r':
rflag = 1;
break;
case '?':
default:
return (dbdemo_usage());
}
argc -= optind;
argv += optind;
/* Accept optional database name. */
database = *argv == NULL ? DATABASE : argv[0];
/* Optionally discard the database. */
if (rflag)
(void)remove(database);
/* Create and initialize database object, open the database. */
if ((ret = db_create(&dbp, NULL, 0)) != 0) {
fprintf(stderr,
"%s: db_create: %s\n", progname, db_strerror(ret));
return (EXIT_FAILURE);
}
dbp->set_errfile(dbp, stderr);
dbp->set_errpfx(dbp, progname);
if ((ret = dbp->set_pagesize(dbp, 1024)) != 0) {
dbp->err(dbp, ret, "set_pagesize");
goto err1;
}
if ((ret = dbp->set_cachesize(dbp, 0, 32 * 1024, 0)) != 0) {
dbp->err(dbp, ret, "set_cachesize");
goto err1;
}
if ((ret = dbp->open(dbp,
NULL, database, NULL, DB_BTREE, DB_CREATE, 0664)) != 0) {
dbp->err(dbp, ret, "%s: open", database);
goto err1;
}
/*
* Insert records into the database, where the key is the user
* input and the data is the user input in reverse order.
*/
memset(&key, 0, sizeof(DBT));
memset(&data, 0, sizeof(DBT));
for (;;) {
printf("input> ");
fflush(stdout);
if (fgets(buf, sizeof(buf), stdin) == NULL)
break;
if (strcmp(buf, "exit\n") == 0 || strcmp(buf, "quit\n") == 0)
break;
if ((len = strlen(buf)) <= 1)
continue;
for (t = rbuf, p = buf + (len - 2); p >= buf;)
*t++ = *p--;
*t++ = '\0';
key.data = buf;
data.data = rbuf;
data.size = key.size = (u_int32_t)len - 1;
switch (ret =
dbp->put(dbp, NULL, &key, &data, DB_NOOVERWRITE)) {
case 0:
break;
default:
dbp->err(dbp, ret, "DB->put");
if (ret != DB_KEYEXIST)
goto err1;
break;
}
}
printf("\n");
/* Acquire a cursor for the database. */
if ((ret = dbp->cursor(dbp, NULL, &dbcp, 0)) != 0) {
dbp->err(dbp, ret, "DB->cursor");
goto err1;
}
/* Initialize the key/data pair so the flags aren't set. */
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
/* Walk through the database and print out the key/data pairs. */
while ((ret = dbcp->get(dbcp, &key, &data, DB_NEXT)) == 0)
printf("%.*s : %.*s\n",
(int)key.size, (char *)key.data,
(int)data.size, (char *)data.data);
if (ret != DB_NOTFOUND) {
dbp->err(dbp, ret, "DBcursor->get");
goto err2;
}
/* Close everything down. */
if ((ret = dbcp->close(dbcp)) != 0) {
dbp->err(dbp, ret, "DBcursor->close");
goto err1;
}
if ((ret = dbp->close(dbp, 0)) != 0) {
fprintf(stderr,
"%s: DB->close: %s\n", progname, db_strerror(ret));
return (EXIT_FAILURE);
}
return (EXIT_SUCCESS);
err2: (void)dbcp->close(dbcp);
err1: (void)dbp->close(dbp, 0);
return (EXIT_FAILURE);
}
int
dbdemo_usage()
{
(void)fprintf(stderr, "usage: ex_access [-r] [database]\n");
return (EXIT_FAILURE);
}

142
build_vxworks/dbdemo/dbdemo20.wpj Executable file
View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
dbdemo20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/dbdemo20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_dbdemo20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
dbdemo
<END>

176
build_vxworks/dbdemo/dbdemo22.wpj Executable file
View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
dbdemo22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/dbdemo22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_dbdemo22.out
<END>
<BEGIN> BUILD_RULE_dbdemo22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
dbdemo
<END>

View file

@ -0,0 +1,70 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_curalloc_usage(void);
int
b_curalloc(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DBC *curp;
int ch, i, count;
count = 100000;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "c:")) != EOF)
switch (ch) {
case 'c':
count = atoi(optarg);
break;
case '?':
default:
return (b_curalloc_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_curalloc_usage());
/* Create the database. */
DB_BENCH_ASSERT(db_create(&dbp, NULL, 0) == 0);
dbp->set_errfile(dbp, stderr);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(dbp->open(
dbp, NULL, TESTFILE, NULL, DB_BTREE, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(
dbp->open(dbp, TESTFILE, NULL, DB_BTREE, DB_CREATE, 0666) == 0);
#endif
/* Allocate a cursor count times. */
TIMER_START;
for (i = 0; i < count; ++i) {
DB_BENCH_ASSERT(dbp->cursor(dbp, NULL, &curp, 0) == 0);
DB_BENCH_ASSERT(curp->c_close(curp) == 0);
}
TIMER_STOP;
printf("# %d cursor allocations\n", count);
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
return (0);
}
static int
b_curalloc_usage()
{
(void)fprintf(stderr, "usage: b_curalloc [-c count]\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,242 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_curwalk_usage(void);
int
b_curwalk(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DBTYPE type;
DBC *dbc;
DBT key, data;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
DB_HEAP_RID rid;
#endif
db_recno_t recno;
u_int32_t cachesize, pagesize, walkflags;
int ch, i, count, dupcount, j;
int prev, ret, skipdupwalk, sorted, walkcount;
char *ts, dbuf[32], kbuf[32];
type = DB_BTREE;
cachesize = 10 * MEGABYTE;
pagesize = 16 * 1024;
count = 100000;
dupcount = prev = skipdupwalk = sorted = 0;
walkcount = 1000;
ts = "Btree";
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "C:c:d:P:pSst:w:")) != EOF)
switch (ch) {
case 'C':
cachesize = (u_int32_t)atoi(optarg);
break;
case 'c':
count = atoi(optarg);
break;
case 'd':
dupcount = atoi(optarg);
break;
case 'P':
pagesize = (u_int32_t)atoi(optarg);
break;
case 'p':
prev = 1;
break;
case 'S':
skipdupwalk = 1;
break;
case 's':
sorted = 1;
break;
case 't':
switch (optarg[0]) {
case 'B': case 'b':
ts = "Btree";
type = DB_BTREE;
break;
case 'H': case 'h':
if (optarg[1] == 'E' || optarg[1] == 'e') {
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
if (b_util_have_heap())
return (0);
ts = "Heap";
type = DB_HEAP;
#else
fprintf(stderr,
"b_curwalk: Heap is not supported! \n");
return (EXIT_SUCCESS);
#endif
} else {
if (b_util_have_hash())
return (0);
ts = "Hash";
type = DB_HASH;
}
break;
case 'Q': case 'q':
if (b_util_have_queue())
return (0);
ts = "Queue";
type = DB_QUEUE;
break;
case 'R': case 'r':
ts = "Recno";
type = DB_RECNO;
break;
default:
return (b_curwalk_usage());
}
break;
case 'w':
walkcount = atoi(optarg);
break;
case '?':
default:
return (b_curwalk_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_curwalk_usage());
/*
* Queue and Recno don't support duplicates.
*/
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
if (dupcount != 0 &&
(type == DB_QUEUE || type == DB_RECNO || type == DB_HEAP)) {
fprintf(stderr,
"b_curwalk: Queue, Recno and Heap don't support duplicates\n");
return (b_curwalk_usage());
}
#else
if (dupcount != 0 && (type == DB_QUEUE || type == DB_RECNO)) {
fprintf(stderr,
"b_curwalk: Queue and Recno don't support duplicates\n");
return (b_curwalk_usage());
}
#endif
#if DB_VERSION_MAJOR < 3 || DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 0
#define DB_PREV_NODUP 0
/*
* DB_PREV_NODUP wasn't available until after 3.0.55.
*
* For some reason, testing sorted duplicates doesn't work either.
* I don't really care about 3.0.55 any more, just ignore it.
*/
return (0);
#endif
/* Create the database. */
DB_BENCH_ASSERT(db_create(&dbp, NULL, 0) == 0);
DB_BENCH_ASSERT(dbp->set_cachesize(dbp, 0, cachesize, 0) == 0);
DB_BENCH_ASSERT(dbp->set_pagesize(dbp, pagesize) == 0);
dbp->set_errfile(dbp, stderr);
/* Set record length for Queue. */
if (type == DB_QUEUE)
DB_BENCH_ASSERT(dbp->set_re_len(dbp, 20) == 0);
/* Set duplicates flag. */
if (dupcount != 0)
DB_BENCH_ASSERT(
dbp->set_flags(dbp, sorted ? DB_DUPSORT : DB_DUP) == 0);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(dbp->open(
dbp, NULL, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbp->open(
dbp, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#endif
/* Initialize the data. */
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
/* Insert count in-order key/data pairs. */
data.data = dbuf;
data.size = 20;
if (type == DB_BTREE || type == DB_HASH) {
key.size = 10;
key.data = kbuf;
for (i = 0; i < count; ++i) {
(void)snprintf(kbuf, sizeof(kbuf), "%010d", i);
for (j = 0; j <= dupcount; ++j) {
(void)snprintf(dbuf, sizeof(dbuf), "%020d", j);
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
}
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
} else if (type == DB_HEAP) {
key.data = &rid;
key.size = sizeof(rid);
for (i = 0; i < count; ++i)
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, DB_APPEND) == 0);
#endif
} else {
key.data = &recno;
key.size = sizeof(recno);
for (i = 0, recno = 1; i < count; ++i, ++recno)
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
walkflags = prev ?
(skipdupwalk ? DB_PREV_NODUP : DB_PREV) :
(skipdupwalk ? DB_NEXT_NODUP : DB_NEXT);
/* Walk the cursor through the tree N times. */
TIMER_START;
for (i = 0; i < walkcount; ++i) {
DB_BENCH_ASSERT(dbp->cursor(dbp, NULL, &dbc, 0) == 0);
while ((ret = dbc->c_get(dbc, &key, &data, walkflags)) == 0)
;
DB_BENCH_ASSERT(ret == DB_NOTFOUND);
DB_BENCH_ASSERT(dbc->c_close(dbc) == 0);
}
TIMER_STOP;
printf("# %d %s %s cursor of %d 10/20 byte key/data items",
walkcount, ts, prev ?
(skipdupwalk ? "DB_PREV_NODUP" : "DB_PREV") :
(skipdupwalk ? "DB_NEXT_NODUP" : "DB_NEXT"),
count);
if (dupcount != 0)
printf(" with %d dups", dupcount);
printf("\n");
/*
* An "operation" is traversal of a single key/data pair -- not a
* return of the key/data pair, since some versions of this test
* skip duplicate key/data pairs.
*
* Use a "double" so we don't overflow.
*/
TIMER_DISPLAY((double)count * walkcount);
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
return (EXIT_SUCCESS);
}
static int
b_curwalk_usage()
{
(void)fprintf(stderr, "%s\n\t%s\n",
"usage: b_curwalk [-pSs] [-C cachesz]",
"[-c cnt] [-d dupcnt] [-P pagesz] [-t type] [-w walkcnt]");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,203 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_del_usage(void);
int
b_del(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DBC *dbc;
DBT key, data;
DBTYPE type;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
DB_HEAP_RID rid;
#endif
db_recno_t recno;
u_int32_t cachesize;
int ch, i, count, ret, use_cursor;
char *ts, buf[32];
type = DB_BTREE;
cachesize = MEGABYTE;
count = 100000;
use_cursor = 0;
ts = "Btree";
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "C:c:t:w")) != EOF)
switch (ch) {
case 'C':
cachesize = (u_int32_t)atoi(optarg);
break;
case 'c':
count = atoi(optarg);
break;
case 't':
switch (optarg[0]) {
case 'B': case 'b':
ts = "Btree";
type = DB_BTREE;
break;
case 'H': case 'h':
if (optarg[1] == 'E' || optarg[1] == 'e') {
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
if (b_util_have_heap())
return (0);
ts = "Heap";
type = DB_HEAP;
#else
fprintf(stderr,
"b_curwalk: Heap is not supported! \n");
return (EXIT_SUCCESS);
#endif
} else {
if (b_util_have_hash())
return (0);
ts = "Hash";
type = DB_HASH;
}
break;
case 'Q': case 'q':
if (b_util_have_queue())
return (0);
ts = "Queue";
type = DB_QUEUE;
break;
case 'R': case 'r':
ts = "Recno";
type = DB_RECNO;
break;
default:
return (b_del_usage());
}
break;
case 'w':
use_cursor = 1;
break;
case '?':
default:
return (b_del_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_del_usage());
/* Create the database. */
DB_BENCH_ASSERT(db_create(&dbp, NULL, 0) == 0);
DB_BENCH_ASSERT(dbp->set_cachesize(dbp, 0, cachesize, 0) == 0);
dbp->set_errfile(dbp, stderr);
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
/* Need a cursor if using Heap. */
if (type == DB_HEAP && !use_cursor) {
printf("Heap databases require the -w flag.\n");
return (-1);
}
#endif
/* Set record length for Queue. */
if (type == DB_QUEUE)
DB_BENCH_ASSERT(dbp->set_re_len(dbp, 20) == 0);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(
dbp->open(dbp, NULL, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(
dbp->open(dbp, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#endif
/* Initialize the data. */
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
data.data = "01234567890123456789";
data.size = 20;
/* Store a key/data pair. */
switch (type) {
case DB_BTREE:
case DB_HASH:
key.data = buf;
key.size = 10;
break;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
case DB_HEAP:
key.data = &rid;
key.size = sizeof(rid);
break;
#endif
case DB_QUEUE:
case DB_RECNO:
key.data = &recno;
key.size = sizeof(recno);
break;
case DB_UNKNOWN:
b_util_abort();
break;
}
/* Insert count in-order key/data pairs. */
if (type == DB_BTREE || type == DB_HASH)
for (i = 0; i < count; ++i) {
(void)snprintf(buf, sizeof(buf), "%010d", i);
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
else if (type == DB_HEAP)
for (i = 0; i < count; i++)
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, DB_APPEND) == 0);
#endif
else
for (i = 0, recno = 1; i < count; ++i, ++recno)
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
/* Delete the records. */
TIMER_START;
if (use_cursor) {
DB_BENCH_ASSERT(dbp->cursor(dbp, NULL, &dbc, 0) == 0);
while ((ret = dbc->c_get(dbc, &key, &data, DB_NEXT)) == 0)
DB_BENCH_ASSERT(dbc->c_del(dbc, 0) == 0);
DB_BENCH_ASSERT (ret == DB_NOTFOUND);
} else
if (type == DB_BTREE || type == DB_HASH)
for (i = 0; i < count; ++i) {
(void)snprintf(buf, sizeof(buf), "%010d", i);
DB_BENCH_ASSERT(
dbp->del(dbp, NULL, &key, 0) == 0);
}
else
for (i = 0, recno = 1; i < count; ++i, ++recno)
DB_BENCH_ASSERT(
dbp->del(dbp, NULL, &key, 0) == 0);
TIMER_STOP;
printf(
"# %d %s database in-order delete of 10/20 byte key/data pairs using %s\n",
count, ts, use_cursor ? "a cursor" : "the key");
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
return (0);
}
static int
b_del_usage()
{
(void)fprintf(stderr,
"usage: b_del [-w] [-C cachesz] [-c count] [-t type]\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,189 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_get_usage(void);
u_int32_t part_callback(dbp, dbt)
DB *dbp;
DBT *dbt;
{
extern u_int32_t __ham_func2(DB *, const void *, u_int32_t);
return (__ham_func2(dbp, dbt->data, dbt->size));
}
int
b_get(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DBTYPE type;
DBT key, data;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
DB_HEAP_RID rid;
#endif
db_recno_t recno;
u_int32_t cachesize;
int ch, i, count;
char *ts;
type = DB_BTREE;
cachesize = MEGABYTE;
count = 100000;
ts = "Btree";
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "C:c:t:")) != EOF)
switch (ch) {
case 'C':
cachesize = (u_int32_t)atoi(optarg);
break;
case 'c':
count = atoi(optarg);
break;
case 't':
switch (optarg[0]) {
case 'B': case 'b':
ts = "Btree";
type = DB_BTREE;
break;
case 'H': case 'h':
if (optarg[1] == 'E' || optarg[1] == 'e') {
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
if (b_util_have_heap())
return (0);
ts = "Heap";
type = DB_HEAP;
#else
fprintf(stderr,
"b_curwalk: Heap is not supported! \n");
return (EXIT_SUCCESS);
#endif
} else {
if (b_util_have_hash())
return (0);
ts = "Hash";
type = DB_HASH;
}
break;
case 'Q': case 'q':
if (b_util_have_queue())
return (0);
ts = "Queue";
type = DB_QUEUE;
break;
case 'R': case 'r':
ts = "Recno";
type = DB_RECNO;
break;
default:
return (b_get_usage());
}
break;
case '?':
default:
return (b_get_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_get_usage());
/* Create the database. */
DB_BENCH_ASSERT(db_create(&dbp, NULL, 0) == 0);
DB_BENCH_ASSERT(dbp->set_cachesize(dbp, 0, cachesize, 0) == 0);
dbp->set_errfile(dbp, stderr);
/* Set record length for Queue. */
if (type == DB_QUEUE)
DB_BENCH_ASSERT(dbp->set_re_len(dbp, 10) == 0);
#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 7 && DB_VERSION_PATCH == 30
if (type == DB_BTREE) {
DBT keys[3];
memset(keys, 0, sizeof(keys));
keys[0].data = "a";
keys[0].size = 1;
keys[1].data = "b";
keys[1].size = 1;
keys[2].data = "c";
keys[2].size = 1;
DB_BENCH_ASSERT(
dbp->set_partition_keys(dbp, 4, keys, NULL) == 0);
}
if (type == DB_HASH) {
DB_BENCH_ASSERT(
dbp->set_partition_callback(dbp, 4, part_callback) == 0);
}
#endif
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(
dbp->open(dbp, NULL, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(
dbp->open(dbp, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#endif
/* Store a key/data pair. */
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
switch (type) {
case DB_BTREE:
case DB_HASH:
key.data = "aaaaa";
key.size = 5;
break;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
case DB_HEAP:
key.data = &rid;
key.size = sizeof(rid);
break;
#endif
case DB_QUEUE:
case DB_RECNO:
recno = 1;
key.data = &recno;
key.size = sizeof(recno);
break;
case DB_UNKNOWN:
b_util_abort();
break;
}
data.data = "bbbbb";
data.size = 5;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
DB_BENCH_ASSERT(dbp->put(
dbp, NULL, &key, &data, type == DB_HEAP ? DB_APPEND : 0) == 0);
#else
DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
#endif
/* Retrieve the key/data pair count times. */
TIMER_START;
for (i = 0; i < count; ++i)
DB_BENCH_ASSERT(dbp->get(dbp, NULL, &key, &data, 0) == 0);
TIMER_STOP;
printf("# %d %s database get of cached key/data item\n", count, ts);
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
return (0);
}
static int
b_get_usage()
{
(void)fprintf(stderr,
"usage: b_get [-C cachesz] [-c count] [-t type]\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,427 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
#if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 0
/*
* The in-memory tests don't run on early releases of Berkeley DB.
*/
#undef MEGABYTE
#define MEGABYTE (1024 * 1024)
u_int32_t bulkbufsize = 4 * MEGABYTE;
u_int32_t cachesize = 32 * MEGABYTE;
u_int32_t datasize = 32;
u_int32_t keysize = 8;
u_int32_t logbufsize = 8 * MEGABYTE;
u_int32_t numitems;
u_int32_t pagesize = 32 * 1024;
FILE *fp;
static void b_inmem_op_ds __P((u_int, int));
static void b_inmem_op_ds_bulk __P((u_int, u_int *));
static void b_inmem_op_tds __P((u_int, int, u_int32_t, u_int32_t));
static int b_inmem_usage __P((void));
static void
b_inmem_op_ds(u_int ops, int update)
{
DB_ENV *dbenv;
char *letters = "abcdefghijklmnopqrstuvwxuz";
DB *dbp;
DBT key, data;
char *keybuf, *databuf;
DB_MPOOL_STAT *gsp;
DB_BENCH_ASSERT((keybuf = malloc(keysize)) != NULL);
DB_BENCH_ASSERT((databuf = malloc(datasize)) != NULL);
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
key.data = keybuf;
key.size = keysize;
memset(keybuf, 'a', keysize);
data.data = databuf;
data.size = datasize;
memset(databuf, 'b', datasize);
DB_BENCH_ASSERT(db_create(&dbp, NULL, 0) == 0);
dbenv = dbp->dbenv;
dbp->set_errfile(dbp, stderr);
DB_BENCH_ASSERT(dbp->set_pagesize(dbp, pagesize) == 0);
DB_BENCH_ASSERT(dbp->open(
dbp, NULL, NULL, NULL, DB_BTREE, DB_CREATE, 0666) == 0);
(void)dbenv->memp_stat(dbenv, &gsp, NULL, DB_STAT_CLEAR);
if (update) {
TIMER_START;
for (; ops > 0; --ops) {
keybuf[(ops % keysize)] = letters[(ops % 26)];
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
TIMER_STOP;
} else {
DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
TIMER_START;
for (; ops > 0; --ops)
DB_BENCH_ASSERT(
dbp->get(dbp, NULL, &key, &data, 0) == 0);
TIMER_STOP;
}
if (dbenv->memp_stat(dbenv, &gsp, NULL, 0) == 0)
DB_BENCH_ASSERT(gsp->st_cache_miss == 0);
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
}
static void
b_inmem_op_ds_bulk(u_int ops, u_int *totalp)
{
DB_ENV *dbenv;
DB *dbp;
DBC *dbc;
DBT key, data;
u_int32_t len, klen;
u_int i, total;
char *keybuf, *databuf;
void *pointer, *dp, *kp;
DB_MPOOL_STAT *gsp;
DB_BENCH_ASSERT((keybuf = malloc(keysize)) != NULL);
DB_BENCH_ASSERT((databuf = malloc(bulkbufsize)) != NULL);
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
key.data = keybuf;
key.size = keysize;
data.data = databuf;
data.size = datasize;
memset(databuf, 'b', datasize);
DB_BENCH_ASSERT(db_create(&dbp, NULL, 0) == 0);
dbenv = dbp->dbenv;
dbp->set_errfile(dbp, stderr);
DB_BENCH_ASSERT(dbp->set_pagesize(dbp, pagesize) == 0);
DB_BENCH_ASSERT(dbp->set_cachesize(dbp, 0, cachesize, 1) == 0);
DB_BENCH_ASSERT(
dbp->open(dbp, NULL, NULL, NULL, DB_BTREE, DB_CREATE, 0666) == 0);
for (i = 1; i <= numitems; ++i) {
(void)snprintf(keybuf, keysize, "%7d", i);
DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
#if 0
fp = fopen("before", "w");
dbp->set_msgfile(dbp, fp);
DB_BENCH_ASSERT (dbp->stat_print(dbp, DB_STAT_ALL) == 0);
#endif
DB_BENCH_ASSERT(dbp->cursor(dbp, NULL, &dbc, 0) == 0);
data.ulen = bulkbufsize;
data.flags = DB_DBT_USERMEM;
(void)dbenv->memp_stat(dbenv, &gsp, NULL, DB_STAT_CLEAR);
TIMER_START;
for (total = 0; ops > 0; --ops) {
DB_BENCH_ASSERT(dbc->c_get(
dbc, &key, &data, DB_FIRST | DB_MULTIPLE_KEY) == 0);
DB_MULTIPLE_INIT(pointer, &data);
while (pointer != NULL) {
DB_MULTIPLE_KEY_NEXT(pointer, &data, kp, klen, dp, len);
if (kp != NULL)
++total;
}
}
TIMER_STOP;
*totalp = total;
if (dbenv->memp_stat(dbenv, &gsp, NULL, 0) == 0)
DB_BENCH_ASSERT(gsp->st_cache_miss == 0);
#if 0
fp = fopen("before", "w");
dbp->set_msgfile(dbp, fp);
DB_BENCH_ASSERT (dbp->stat_print(dbp, DB_STAT_ALL) == 0);
#endif
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
COMPQUIET(dp, NULL);
COMPQUIET(klen, 0);
COMPQUIET(len, 0);
}
static void
b_inmem_op_tds(u_int ops, int update, u_int32_t env_flags, u_int32_t log_flags)
{
DB *dbp;
DBT key, data;
DB_ENV *dbenv;
DB_MPOOL_STAT *gsp;
DB_TXN *txn;
char *keybuf, *databuf;
DB_BENCH_ASSERT((keybuf = malloc(keysize)) != NULL);
DB_BENCH_ASSERT((databuf = malloc(datasize)) != NULL);
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
key.data = keybuf;
key.size = keysize;
memset(keybuf, 'a', keysize);
data.data = databuf;
data.size = datasize;
memset(databuf, 'b', datasize);
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
/* General environment configuration. */
#ifdef DB_AUTO_COMMIT
DB_BENCH_ASSERT(dbenv->set_flags(dbenv, DB_AUTO_COMMIT, 1) == 0);
#endif
if (env_flags != 0)
DB_BENCH_ASSERT(dbenv->set_flags(dbenv, env_flags, 1) == 0);
/* Logging configuration. */
if (log_flags != 0)
#if DB_VERSION_MINOR >= 7 || DB_VERSION_MAJOR > 4
DB_BENCH_ASSERT(
dbenv->log_set_config(dbenv, log_flags, 1) == 0);
#else
DB_BENCH_ASSERT(dbenv->set_flags(dbenv, log_flags, 1) == 0);
#endif
#ifdef DB_LOG_INMEMORY
if (!(log_flags & DB_LOG_INMEMORY))
#endif
#ifdef DB_LOG_IN_MEMORY
if (!(log_flags & DB_LOG_IN_MEMORY))
#endif
DB_BENCH_ASSERT(dbenv->set_lg_max(dbenv, logbufsize * 10) == 0);
DB_BENCH_ASSERT(dbenv->set_lg_bsize(dbenv, logbufsize) == 0);
DB_BENCH_ASSERT(dbenv->open(dbenv, "TESTDIR",
DB_CREATE | DB_PRIVATE | DB_INIT_LOCK |
DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN, 0666) == 0);
DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
DB_BENCH_ASSERT(dbp->set_pagesize(dbp, pagesize) == 0);
DB_BENCH_ASSERT(dbp->open(
dbp, NULL, TESTFILE, NULL, DB_BTREE, DB_CREATE, 0666) == 0);
if (update) {
(void)dbenv->memp_stat(dbenv, &gsp, NULL, DB_STAT_CLEAR);
TIMER_START;
for (; ops > 0; --ops)
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
TIMER_STOP;
if (dbenv->memp_stat(dbenv, &gsp, NULL, 0) == 0)
DB_BENCH_ASSERT(gsp->st_page_out == 0);
} else {
DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
(void)dbenv->memp_stat(dbenv, &gsp, NULL, DB_STAT_CLEAR);
TIMER_START;
for (; ops > 0; --ops) {
DB_BENCH_ASSERT(
dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0);
DB_BENCH_ASSERT(
dbp->get(dbp, NULL, &key, &data, 0) == 0);
DB_BENCH_ASSERT(txn->commit(txn, 0) == 0);
}
TIMER_STOP;
if (dbenv->memp_stat(dbenv, &gsp, NULL, 0) == 0)
DB_BENCH_ASSERT(gsp->st_cache_miss == 0);
}
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
}
#define DEFAULT_OPS 1000000
int
b_inmem(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
u_int ops, total;
int ch;
if ((progname = strrchr(argv[0], '/')) == NULL)
progname = argv[0];
else
++progname;
ops = 0;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "b:C:d:k:l:o:P:")) != EOF)
switch (ch) {
case 'b':
bulkbufsize = (u_int32_t)atoi(optarg);
break;
case 'C':
cachesize = (u_int32_t)atoi(optarg);
break;
case 'd':
datasize = (u_int)atoi(optarg);
break;
case 'k':
keysize = (u_int)atoi(optarg);
break;
case 'l':
logbufsize = (u_int32_t)atoi(optarg);
break;
case 'o':
ops = (u_int)atoi(optarg);
break;
case 'P':
pagesize = (u_int32_t)atoi(optarg);
break;
case '?':
default:
return (b_inmem_usage());
}
argc -= optind;
argv += optind;
if (argc != 1)
return (b_inmem_usage());
numitems = (cachesize / (keysize + datasize - 1)) / 2;
if (strcasecmp(argv[0], "read") == 0) {
if (ops == 0)
ops = DEFAULT_OPS;
b_inmem_op_ds(ops, 0);
printf(
"# %u in-memory Btree database reads of %u/%u byte key/data pairs\n",
ops, keysize, datasize);
} else if (strcasecmp(argv[0], "bulk") == 0) {
if (keysize < 8) {
fprintf(stderr,
"%s: bulk read requires a key size >= 10\n", progname);
return (EXIT_FAILURE);
}
/*
* The ops value is the number of bulk operations, not key get
* operations. Reduce the value so the test doesn't take so
* long, and use the returned number of retrievals as the ops
* value for timing purposes.
*/
if (ops == 0)
ops = 100000;
b_inmem_op_ds_bulk(ops, &total);
ops = total;
printf(
"# %u bulk in-memory Btree database reads of %u/%u byte key/data pairs\n",
ops, keysize, datasize);
} else if (strcasecmp(argv[0], "write") == 0) {
if (ops == 0)
ops = DEFAULT_OPS;
b_inmem_op_ds(ops, 1);
printf(
"# %u in-memory Btree database writes of %u/%u byte key/data pairs\n",
ops, keysize, datasize);
} else if (strcasecmp(argv[0], "txn-read") == 0) {
if (ops == 0)
ops = DEFAULT_OPS;
b_inmem_op_tds(ops, 0, 0, 0);
printf(
"# %u transactional in-memory Btree database reads of %u/%u %s",
ops, keysize, datasize, "byte key/data pairs\n");
} else if (strcasecmp(argv[0], "txn-write") == 0) {
if (ops == 0)
ops = DEFAULT_OPS;
#if defined(DB_LOG_INMEMORY) || defined(DB_LOG_IN_MEMORY)
#if defined(DB_LOG_INMEMORY)
b_inmem_op_tds(ops, 1, 0, DB_LOG_INMEMORY);
#else
b_inmem_op_tds(ops, 1, 0, DB_LOG_IN_MEMORY);
#endif
printf(
"# %u transactional in-memory logging Btree database writes of %u/%u%s",
ops, keysize, datasize, " byte key/data pairs\n");
#else
return (EXIT_SUCCESS);
#endif
} else if (strcasecmp(argv[0], "txn-nosync") == 0) {
if (ops == 0)
ops = DEFAULT_OPS;
b_inmem_op_tds(ops, 1, DB_TXN_NOSYNC, 0);
printf(
"# %u transactional nosync logging Btree database writes of %u/%u %s",
ops, keysize, datasize, "byte key/data pairs\n");
} else if (strcasecmp(argv[0], "txn-write-nosync") == 0) {
if (ops == 0)
ops = DEFAULT_OPS;
#ifdef DB_TXN_WRITE_NOSYNC
b_inmem_op_tds(ops, 1, DB_TXN_WRITE_NOSYNC, 0);
printf(
"# %u transactional OS-write/nosync logging Btree database writes of %u/%u%s",
ops, keysize, datasize, " byte key/data pairs\n");
#else
return (EXIT_SUCCESS);
#endif
} else if (strcasecmp(argv[0], "txn-sync") == 0) {
/*
* Flushing to disk takes a long time, reduce the number of
* default ops.
*/
if (ops == 0)
ops = 100000;
b_inmem_op_tds(ops, 1, 0, 0);
printf(
"# %u transactional logging Btree database writes of %u/%u %s",
ops, keysize, datasize, "byte key/data pairs\n");
} else {
fprintf(stderr, "%s: unknown keyword %s\n", progname, argv[0]);
return (EXIT_FAILURE);
}
TIMER_DISPLAY(ops);
return (EXIT_SUCCESS);
}
static int
b_inmem_usage()
{
fprintf(stderr, "usage: %s %s%s%s%s",
progname, "[-b bulkbufsz] [-C cachesz]\n\t",
"[-d datasize] [-k keysize] [-l logbufsz] [-o ops] [-P pagesz]\n\t",
"[read | bulk | write | txn-read |\n\t",
"txn-write | txn-nosync | txn-write-nosync | txn-sync]\n");
return (EXIT_FAILURE);
}
#else
int
b_inmem(int argc, char *argv[])
{
COMPQUIET(argc, 0);
COMPQUIET(argv, NULL);
return (0);
}
#endif

View file

@ -0,0 +1,200 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2009, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
#ifdef _POSIX_THREADS
typedef struct {
pthread_t id;
DB_ENV *dbenv;
int iterations;
db_mutex_t mutex;
int contentions;
} threadinfo_t;
static void *b_latch_latch_threadmain __P((void *));
#endif
static int time_latches __P((DB_ENV *, db_mutex_t, int));
#define LATCH_THREADS_MAX 100
/* Return the environment needed for __mutex_lock(), depending on release.
*/
#if DB_VERSION_MAJOR <4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 7
#define ENV_ARG(dbenv) (dbenv)
#else
#define ENV_ARG(dbenv) ((dbenv)->env)
#endif
/*
* In the mulithreaded latch test each thread locks and updates this variable.
* It detects contention when the value of this counter changes during the
* mutex lock call.
*/
static int CurrentCounter = 0;
static int b_latch_latch_usage __P((void));
static int
b_latch_latch_usage()
{
(void)fprintf(stderr, "usage: b_latch [-c number of %s",
"lock+unlock pairs] [-n number of threads]\n");
return (EXIT_FAILURE);
}
/*
* time_latches --
* Repeat acquire and release of an exclusive latch, counting the
* number of times that 'someone else' got it just as we tried to.
*/
static int time_latches(dbenv, mutex, iterations)
DB_ENV *dbenv;
db_mutex_t mutex;
int iterations;
{
int contended, i, previous;
contended = 0;
for (i = 0; i < iterations; ++i) {
previous = CurrentCounter;
DB_BENCH_ASSERT(__mutex_lock(ENV_ARG(dbenv), mutex) == 0);
if (previous != CurrentCounter)
contended++;
CurrentCounter++;
DB_BENCH_ASSERT(__mutex_unlock(ENV_ARG(dbenv), mutex) == 0);
}
return (contended);
}
#ifdef _POSIX_THREADS
/*
* latch_threadmain --
* Entry point for multithreaded latching test.
*
* Currently only supported for POSIX threads.
*/
static void *
b_latch_latch_threadmain(arg)
void *arg;
{
threadinfo_t *info = arg;
info->contentions = time_latches(info->dbenv,
info->mutex, info->iterations);
return ((void *) 0);
}
#endif
/*
* b_latch --
* Measure the speed of latching and mutex operations.
*
*
*/
int
b_latch(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
int ch, count, nthreads;
#ifdef _POSIX_THREADS
threadinfo_t threads[LATCH_THREADS_MAX];
int i, ret;
void *status;
#endif
db_mutex_t mutex;
int contended;
contended = 0;
count = 1000000;
nthreads = 0; /* Default to running the test without extra threads */
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "c:n:")) != EOF)
switch (ch) {
case 'c':
count = atoi(optarg);
break;
case 'n':
nthreads = atoi(optarg);
break;
case '?':
default:
return (b_latch_latch_usage());
}
argc -= optind;
argv += optind;
if (argc != 0 || count < 1 || nthreads < 0 ||
nthreads > LATCH_THREADS_MAX)
return (b_latch_latch_usage());
#ifndef _POSIX_THREADS
if (nthreads > 1) {
(void)fprintf(stderr,
"Sorry, support for -n %d: threads not yet available\n",
nthreads);
exit(EXIT_FAILURE);
}
#endif
/* Create the environment. */
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 1
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
NULL, DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG |
DB_INIT_MPOOL | DB_INIT_TXN | DB_PRIVATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG |
DB_INIT_MPOOL | DB_INIT_TXN | DB_PRIVATE | DB_THREAD, 0666) == 0);
#endif
DB_BENCH_ASSERT(dbenv->mutex_alloc(dbenv, DB_MUTEX_SELF_BLOCK,
&mutex) == 0);
#ifdef _POSIX_THREADS
for (i = 0; i < nthreads; i++) {
threads[i].dbenv = dbenv;
threads[i].mutex = mutex;
threads[i].iterations =
nthreads <= 1 ? count : count / nthreads;
}
#endif
/* Start and acquire and release a mutex count times. If there's
* posix support and a non-zero number of threads start them.
*/
TIMER_START;
#ifdef _POSIX_THREADS
if (nthreads > 0) {
for (i = 0; i < nthreads; i++)
DB_BENCH_ASSERT(pthread_create(&threads[i].id,
NULL, b_latch_latch_threadmain, &threads[i]) == 0);
for (i = 0; i < nthreads; i++) {
ret = pthread_join(threads[i].id, &status);
DB_BENCH_ASSERT(ret == 0);
contended += threads[i].contentions;
}
} else
#endif
contended = time_latches(dbenv, mutex, count);
TIMER_STOP;
printf("# %d mutex lock-unlock pairs of %d thread%s\n", count,
nthreads, nthreads == 1 ? "" : "s");
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbenv->mutex_free(dbenv, mutex) == 0);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
COMPQUIET(contended, 0);
return (0);
}

View file

@ -0,0 +1,198 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_load_usage(void);
int
b_load(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DBTYPE type;
DBT key, data;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
DB_HEAP_RID rid;
#endif
db_recno_t recno;
u_int32_t cachesize;
int ch, i, count, duplicate;
char *ts, buf[32];
type = DB_BTREE;
cachesize = MEGABYTE;
count = 100000;
duplicate = 0;
ts = "Btree";
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "C:c:dt:")) != EOF)
switch (ch) {
case 'C':
cachesize = (u_int32_t)atoi(optarg);
break;
case 'c':
count = atoi(optarg);
break;
case 'd':
duplicate = 1;
break;
case 't':
switch (optarg[0]) {
case 'B': case 'b':
ts = "Btree";
type = DB_BTREE;
break;
case 'H': case 'h':
if (optarg[1] == 'E' || optarg[1] == 'e') {
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
if (b_util_have_heap())
return (0);
ts = "Heap";
type = DB_HEAP;
#else
fprintf(stderr,
"b_curwalk: Heap is not supported! \n");
return (EXIT_SUCCESS);
#endif
} else {
if (b_util_have_hash())
return (0);
ts = "Hash";
type = DB_HASH;
}
break;
case 'Q': case 'q':
if (b_util_have_queue())
return (0);
ts = "Queue";
type = DB_QUEUE;
break;
case 'R': case 'r':
ts = "Recno";
type = DB_RECNO;
break;
default:
return (b_load_usage());
}
break;
case '?':
default:
return (b_load_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_load_usage());
/* Usage. */
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
if (duplicate &&
(type == DB_QUEUE || type == DB_RECNO || type == DB_HEAP)) {
fprintf(stderr,
"b_load: Queue, Recno and Heap don't support duplicates\n");
return (b_load_usage());
}
#else
if (duplicate && (type == DB_QUEUE || type == DB_RECNO)) {
fprintf(stderr,
"b_load: Queue an Recno don't support duplicates\n");
return (b_load_usage());
}
#endif
#if DB_VERSION_MAJOR < 3 || DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 1
/*
* DB versions prior to 3.1.17 didn't have off-page duplicates, so
* this test can run forever.
*/
if (duplicate)
return (0);
#endif
/* Create the database. */
DB_BENCH_ASSERT(db_create(&dbp, NULL, 0) == 0);
DB_BENCH_ASSERT(dbp->set_cachesize(dbp, 0, cachesize, 0) == 0);
if (duplicate)
DB_BENCH_ASSERT(dbp->set_flags(dbp, DB_DUP) == 0);
dbp->set_errfile(dbp, stderr);
/* Set record length for Queue. */
if (type == DB_QUEUE)
DB_BENCH_ASSERT(dbp->set_re_len(dbp, 20) == 0);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(
dbp->open(dbp, NULL, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(
dbp->open(dbp, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#endif
/* Initialize the data. */
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
/* Insert count in-order key/data pairs. */
TIMER_START;
if (duplicate) {
key.size = 10;
key.data = "01234567890123456789";
data.data = buf;
data.size = 20;
for (i = 0; i < count; ++i) {
(void)snprintf(buf, sizeof(buf), "%020d", i);
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
} else {
data.data = buf;
data.size = 20;
if (type == DB_BTREE || type == DB_HASH) {
key.size = 10;
key.data = buf;
for (i = 0; i < count; ++i) {
(void)snprintf(buf, sizeof(buf), "%010d", i);
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
} else if (type == DB_HEAP) {
key.data = &rid;
key.size = sizeof(rid);
for (i = 0; i < count; ++i)
DB_BENCH_ASSERT(dbp->put(dbp,
NULL, &key, &data, DB_APPEND) == 0);
#endif
} else {
key.data = &recno;
key.size = sizeof(recno);
for (i = 0, recno = 1; i < count; ++i, ++recno)
DB_BENCH_ASSERT(
dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
}
TIMER_STOP;
printf("# %d %s database in-order put of 10/20 byte key/data %sitems\n",
count, ts, duplicate ? "duplicate " : "");
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
return (0);
}
static int
b_load_usage()
{
(void)fprintf(stderr,
"usage: b_load [-d] [-C cachesz] [-c count] [-t type]\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,158 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_open_usage(void);
int
b_open(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
DB *dbp;
DBTYPE type;
int ch, i, count;
char *fname, *dbname, *ts;
type = DB_BTREE;
count = 1000;
fname = dbname = NULL;
ts = "Btree";
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "c:dft:")) != EOF)
switch (ch) {
case 'c':
count = atoi(optarg);
break;
case 'd':
dbname = "dbname";
break;
case 'f':
fname = "filename";
break;
case 't':
switch (optarg[0]) {
case 'B': case 'b':
ts = "Btree";
type = DB_BTREE;
break;
case 'H': case 'h':
if (optarg[1] == 'E' || optarg[1] == 'e') {
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
if (b_util_have_heap())
return (0);
ts = "Heap";
type = DB_HEAP;
#else
fprintf(stderr,
"b_curwalk: Heap is not supported! \n");
return (EXIT_SUCCESS);
#endif
} else {
if (b_util_have_hash())
return (0);
ts = "Hash";
type = DB_HASH;
}
break;
case 'Q': case 'q':
if (b_util_have_queue())
return (0);
ts = "Queue";
type = DB_QUEUE;
break;
case 'R': case 'r':
ts = "Recno";
type = DB_RECNO;
break;
default:
return (b_open_usage());
}
break;
case '?':
default:
return (b_open_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_open_usage());
#if DB_VERSION_MAJOR < 4
/*
* Don't run in-memory database tests on versions less than 3, it
* takes forever and eats memory.
*/
if (fname == NULL && dbname == NULL)
return (0);
#endif
#if DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 4
/*
* Named in-memory databases weren't available until 4.4.
*/
if (fname == NULL && dbname != NULL)
return (0);
#endif
/* Create the environment. */
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 0
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
NULL, DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE, 0666) == 0);
#endif
/* Create the database. */
DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(dbp->open(
dbp, NULL, fname, dbname, type, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbp->open(
dbp, fname, dbname, type, DB_CREATE, 0666) == 0);
#endif
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
/* Open the database count times. */
TIMER_START;
for (i = 0; i < count; ++i) {
DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(dbp->open(
dbp, NULL, fname, dbname, type, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbp->open(
dbp, fname, dbname, type, DB_CREATE, 0666) == 0);
#endif
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
}
TIMER_STOP;
printf("# %d %s %sdatabase open/close pairs\n",
count, ts,
fname == NULL ?
(dbname == NULL ? "in-memory " : "named in-memory ") :
(dbname == NULL ? "" : "sub-"));
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
return (0);
}
static int
b_open_usage()
{
(void)fprintf(stderr, "usage: b_open [-df] [-c count] [-t type]\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,251 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_put_usage(void);
static int b_put_secondary(DB *, const DBT *, const DBT *, DBT *);
int
b_put(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
DB *dbp, **second;
DBTYPE type;
DBT key, data;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
DB_HEAP_RID rid;
#endif
db_recno_t recno;
u_int32_t cachesize, dsize;
int ch, i, count, secondaries;
char *ts, buf[64];
second = NULL;
type = DB_BTREE;
cachesize = MEGABYTE;
dsize = 20;
count = 100000;
secondaries = 0;
ts = "Btree";
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "C:c:d:s:t:")) != EOF)
switch (ch) {
case 'C':
cachesize = (u_int32_t)atoi(optarg);
break;
case 'c':
count = atoi(optarg);
break;
case 'd':
dsize = (u_int32_t)atoi(optarg);
break;
case 's':
secondaries = atoi(optarg);
break;
case 't':
switch (optarg[0]) {
case 'B': case 'b':
ts = "Btree";
type = DB_BTREE;
break;
case 'H': case 'h':
if (optarg[1] == 'E' || optarg[1] == 'e') {
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
if (b_util_have_heap())
return (0);
ts = "Heap";
type = DB_HEAP;
#else
fprintf(stderr,
"b_curwalk: Heap is not supported! \n");
return (EXIT_SUCCESS);
#endif
} else {
if (b_util_have_hash())
return (0);
ts = "Hash";
type = DB_HASH;
}
break;
case 'Q': case 'q':
if (b_util_have_queue())
return (0);
ts = "Queue";
type = DB_QUEUE;
break;
case 'R': case 'r':
ts = "Recno";
type = DB_RECNO;
break;
default:
return (b_put_usage());
}
break;
case '?':
default:
return (b_put_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_put_usage());
#if DB_VERSION_MAJOR < 3 || DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 3
/*
* Secondaries were added after DB 3.2.9.
*/
if (secondaries)
return (0);
#endif
/* Create the environment. */
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
DB_BENCH_ASSERT(dbenv->set_cachesize(dbenv, 0, cachesize, 0) == 0);
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 1
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
NULL, DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE, 0666) == 0);
#endif
/*
* Create the database.
* Optionally set the record length for Queue.
*/
DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
if (type == DB_QUEUE)
DB_BENCH_ASSERT(dbp->set_re_len(dbp, dsize) == 0);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(
dbp->open(dbp, NULL, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(
dbp->open(dbp, TESTFILE, NULL, type, DB_CREATE, 0666) == 0);
#endif
/* Optionally create the secondaries. */
if (secondaries != 0) {
DB_BENCH_ASSERT((second =
calloc(sizeof(DB *), (size_t)secondaries)) != NULL);
for (i = 0; i < secondaries; ++i) {
DB_BENCH_ASSERT(db_create(&second[i], dbenv, 0) == 0);
(void)snprintf(buf, sizeof(buf), "%d.db", i);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(second[i]->open(second[i], NULL,
buf, NULL, DB_BTREE, DB_CREATE, 0600) == 0);
#else
DB_BENCH_ASSERT(second[i]->open(second[i],
buf, NULL, DB_BTREE, DB_CREATE, 0600) == 0);
#endif
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
/*
* The DB_TXN argument to Db.associate was added in
* 4.1.25.
*/
DB_BENCH_ASSERT(dbp->associate(
dbp, NULL, second[i], b_put_secondary, 0) == 0);
#else
DB_BENCH_ASSERT(dbp->associate(
dbp, second[i], b_put_secondary, 0) == 0);
#endif
}
}
/* Store a key/data pair. */
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
switch (type) {
case DB_BTREE:
case DB_HASH:
key.data = "01234567890123456789";
key.size = 20;
break;
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
case DB_HEAP:
key.data = &rid;
key.size = sizeof(rid);
break;
#endif
case DB_QUEUE:
case DB_RECNO:
recno = 1;
key.data = &recno;
key.size = sizeof(recno);
break;
case DB_UNKNOWN:
b_util_abort();
break;
}
data.size = dsize;
DB_BENCH_ASSERT(
(data.data = malloc((size_t)dsize)) != NULL);
/* Store the key/data pair count times. */
TIMER_START;
for (i = 0; i < count; ++i) {
/* Change data value so the secondaries are updated. */
(void)snprintf(data.data, data.size, "%10lu", (u_long)i);
#if DB_VERSION_MAJOR > 5 || (DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR >= 2)
DB_BENCH_ASSERT(dbp->put(dbp,
NULL, &key, &data, type == DB_HEAP ? DB_APPEND : 0) == 0);
#else
DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
#endif
}
TIMER_STOP;
if (type == DB_BTREE || type == DB_HASH)
printf(
"# %d %s database put of 10 byte key, %lu byte data",
count, ts, (u_long)dsize);
else
printf("# %d %s database put of key, %lu byte data",
count, ts, (u_long)dsize);
if (secondaries)
printf(" with %d secondaries", secondaries);
printf("\n");
TIMER_DISPLAY(count);
if (second != NULL) {
for (i = 0; i < secondaries; ++i)
DB_BENCH_ASSERT(second[i]->close(second[i], 0) == 0);
free(second);
}
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
return (0);
}
static int
b_put_secondary(dbp, pkey, pdata, skey)
DB *dbp;
const DBT *pkey, *pdata;
DBT *skey;
{
skey->data = pdata->data;
skey->size = pdata->size;
COMPQUIET(dbp, NULL);
COMPQUIET(pkey, NULL);
return (0);
}
static int
b_put_usage()
{
(void)fprintf(stderr, "usage: b_put %s\n",
"[-C cachesz] [-c count] [-d bytes] [-s secondaries] [-t type]");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,142 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_recover_usage(void);
int
b_recover(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DBT key, data;
DB_ENV *dbenv;
DB_TXN *txn;
u_int32_t cachesize;
int ch, i, count;
/*
* Recover was too slow before release 4.0 that it's not worth
* running the test.
*/
#if DB_VERSION_MAJOR < 4
return (0);
#endif
cachesize = MEGABYTE;
count = 1000;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "C:c:")) != EOF)
switch (ch) {
case 'C':
cachesize = (u_int32_t)atoi(optarg);
break;
case 'c':
count = atoi(optarg);
break;
case '?':
default:
return (b_recover_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_recover_usage());
/* Create the environment. */
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
DB_BENCH_ASSERT(dbenv->set_cachesize(dbenv, 0, cachesize, 0) == 0);
#define OFLAGS \
(DB_CREATE | DB_INIT_LOCK | \
DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN | DB_PRIVATE)
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 0
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR, NULL, OFLAGS, 0666) == 0);
#endif
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 1
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR, OFLAGS, 0666) == 0);
#endif
#if DB_VERSION_MAJOR > 3 || DB_VERSION_MINOR > 1
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR, OFLAGS, 0666) == 0);
#endif
/* Create the database. */
DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(dbp->open(dbp, NULL,
TESTFILE, NULL, DB_BTREE, DB_CREATE | DB_AUTO_COMMIT, 0666) == 0);
#else
DB_BENCH_ASSERT(
dbp->open(dbp, TESTFILE, NULL, DB_BTREE, DB_CREATE, 0666) == 0);
#endif
/* Initialize the data. */
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
key.size = data.size = 20;
key.data = data.data = "01234567890123456789";
/* Start/commit a transaction count times. */
for (i = 0; i < count; ++i) {
#if DB_VERSION_MAJOR < 4
DB_BENCH_ASSERT(
txn_begin(dbenv, NULL, &txn, DB_TXN_NOSYNC) == 0);
DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
DB_BENCH_ASSERT(txn_commit(txn, 0) == 0);
#else
DB_BENCH_ASSERT(
dbenv->txn_begin(dbenv, NULL, &txn, DB_TXN_NOSYNC) == 0);
DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
DB_BENCH_ASSERT(txn->commit(txn, 0) == 0);
#endif
}
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
/* Create a new DB_ENV handle. */
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
DB_BENCH_ASSERT(
dbenv->set_cachesize(dbenv, 0, 1048576 /* 1MB */, 0) == 0);
/* Now run recovery. */
TIMER_START;
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 0
DB_BENCH_ASSERT(dbenv->open(
dbenv, TESTDIR, NULL, OFLAGS | DB_RECOVER, 0666) == 0);
#endif
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 1
DB_BENCH_ASSERT(
dbenv->open(dbenv, TESTDIR, OFLAGS | DB_RECOVER, 0666) == 0);
#endif
#if DB_VERSION_MAJOR > 3 || DB_VERSION_MINOR > 1
DB_BENCH_ASSERT(
dbenv->open(dbenv, TESTDIR, OFLAGS | DB_RECOVER, 0666) == 0);
#endif
TIMER_STOP;
/*
* We divide the time by the number of transactions, so an "operation"
* is the recovery of a single transaction.
*/
printf("# recovery after %d transactions\n", count);
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
return (0);
}
static int
b_recover_usage()
{
(void)fprintf(stderr, "usage: b_recover [-C cachesz] [-c count]\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,94 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_txn_usage(void);
int
b_txn(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
DB_TXN *txn;
int tabort, ch, i, count;
count = 1000;
tabort = 0;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "ac:")) != EOF)
switch (ch) {
case 'a':
tabort = 1;
break;
case 'c':
count = atoi(optarg);
break;
case '?':
default:
return (b_txn_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_txn_usage());
/* Create the environment. */
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 1
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
NULL, DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG |
DB_INIT_MPOOL | DB_INIT_TXN | DB_PRIVATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR,
DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG |
DB_INIT_MPOOL | DB_INIT_TXN | DB_PRIVATE, 0666) == 0);
#endif
/* Start and commit/abort a transaction count times. */
TIMER_START;
if (tabort)
for (i = 0; i < count; ++i) {
#if DB_VERSION_MAJOR < 4
DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0);
DB_BENCH_ASSERT(txn_abort(txn) == 0);
#else
DB_BENCH_ASSERT(
dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0);
DB_BENCH_ASSERT(txn->abort(txn) == 0);
#endif
}
else
for (i = 0; i < count; ++i) {
#if DB_VERSION_MAJOR < 4
DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0);
DB_BENCH_ASSERT(txn_commit(txn, 0) == 0);
#else
DB_BENCH_ASSERT(
dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0);
DB_BENCH_ASSERT(txn->commit(txn, 0) == 0);
#endif
}
TIMER_STOP;
printf("# %d empty transaction start/%s pairs\n",
count, tabort ? "abort" : "commit");
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
return (0);
}
static int
b_txn_usage()
{
(void)fprintf(stderr, "usage: b_txn [-a] [-c count]\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,173 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_txn_write_usage __P((void));
#ifdef DB_INIT_REP
static int b_txn_write_send __P((DB_ENV *,
const DBT *, const DBT *, const DB_LSN *, int, u_int32_t));
/*
* b_txn_write_send --
* A stubbed-out replication message function.
*/
static int
b_txn_write_send(dbenv, control, rec, lsn, eid, flags)
DB_ENV *dbenv;
const DBT *control, *rec;
const DB_LSN *lsn;
int eid;
u_int32_t flags;
{
COMPQUIET(dbenv, NULL);
COMPQUIET(control, NULL);
COMPQUIET(rec, NULL);
COMPQUIET(lsn, NULL);
COMPQUIET(eid, 0);
COMPQUIET(flags, 0);
return (0);
}
#endif
int
b_txn_write(int argc, char *argv[])
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DBT key, data;
DB_ENV *dbenv;
DB_TXN *txn;
u_int32_t flags, oflags;
int ch, i, count, rep_stub;
char *config;
count = 1000;
oflags = flags = 0;
rep_stub = 0;
config = "synchronous";
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "ac:rw")) != EOF)
switch (ch) {
case 'a':
config = "nosync";
flags = DB_TXN_NOSYNC;
break;
case 'c':
count = atoi(optarg);
break;
case 'r':
#ifdef DB_INIT_REP
rep_stub = 1;
#else
exit(0);
#endif
break;
case 'w':
config = "write-nosync";
#ifdef DB_TXN_WRITE_NOSYNC
flags = DB_TXN_WRITE_NOSYNC;
#else
exit(0);
#endif
break;
case '?':
default:
return (b_txn_write_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_txn_write_usage());
/* Create the environment. */
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
#ifdef DB_INIT_REP
if (rep_stub) {
#if DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 5 || DB_VERSION_MAJOR > 4
DB_BENCH_ASSERT(
dbenv->rep_set_transport(dbenv, 1, b_txn_write_send) == 0);
#else
DB_BENCH_ASSERT(
dbenv->set_rep_transport(dbenv, 1, b_txn_write_send) == 0);
#endif
oflags |= DB_INIT_REP;
}
#endif
oflags |= DB_CREATE | DB_INIT_LOCK |
DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN | DB_PRIVATE;
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 0
DB_BENCH_ASSERT(
dbenv->open(dbenv, TESTDIR, NULL, flags | oflags, 0666) == 0);
#endif
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR == 1
DB_BENCH_ASSERT(
dbenv->open(dbenv, TESTDIR, flags | oflags, 0666) == 0);
#endif
#if DB_VERSION_MAJOR > 3 || DB_VERSION_MINOR > 1
if (flags != 0)
DB_BENCH_ASSERT(dbenv->set_flags(dbenv, flags, 1) == 0);
DB_BENCH_ASSERT(dbenv->open(dbenv, TESTDIR, oflags, 0666) == 0);
#endif
#ifdef DB_INIT_REP
if (rep_stub)
DB_BENCH_ASSERT(
dbenv->rep_start(dbenv, NULL, DB_REP_MASTER) == 0);
#endif
/* Create the database. */
DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(dbp->open(dbp, NULL,
TESTFILE, NULL, DB_BTREE, DB_CREATE | DB_AUTO_COMMIT, 0666) == 0);
#else
DB_BENCH_ASSERT(
dbp->open(dbp, TESTFILE, NULL, DB_BTREE, DB_CREATE, 0666) == 0);
#endif
/* Initialize the data. */
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
key.size = data.size = 20;
key.data = data.data = "01234567890123456789";
/* Start/commit a transaction count times. */
TIMER_START;
for (i = 0; i < count; ++i) {
#if DB_VERSION_MAJOR < 4
DB_BENCH_ASSERT(txn_begin(dbenv, NULL, &txn, 0) == 0);
DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
DB_BENCH_ASSERT(txn_commit(txn, 0) == 0);
#else
DB_BENCH_ASSERT(dbenv->txn_begin(dbenv, NULL, &txn, 0) == 0);
DB_BENCH_ASSERT(dbp->put(dbp, txn, &key, &data, 0) == 0);
DB_BENCH_ASSERT(txn->commit(txn, 0) == 0);
#endif
}
TIMER_STOP;
printf("# %d %stransactions write %s commit pairs\n",
count, rep_stub ? "replicated ": "", config);
TIMER_DISPLAY(count);
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
return (0);
}
static int
b_txn_write_usage()
{
(void)fprintf(stderr, "usage: b_txn_write [-arw] [-c count]\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,147 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
#define UNAMEFILE "NODENAME"
static int b_uname_write_info __P((FILE *));
int
b_uname()
{
FILE *fp;
int ret;
if ((fp = fopen(UNAMEFILE, "w")) == NULL)
goto file_err;
ret = b_uname_write_info(fp);
if (fclose(fp) != 0) {
file_err: fprintf(stderr,
"%s: %s: %s\n", progname, UNAMEFILE, strerror(errno));
return (1);
}
return (ret);
}
#ifdef DB_WIN32
static int
b_uname_write_info(fp)
FILE *fp;
{
OSVERSIONINFO osver;
SYSTEM_INFO sysinfo;
char *p;
#ifdef DB_WINCE
p = "WinCE";
#else
{
DWORD len;
char buf[1024];
len = sizeof(buf) - 1;
GetComputerName(buf, &len);
p = buf;
}
#endif
fprintf(fp, "<p>%s, ", p);
GetSystemInfo(&sysinfo);
switch (sysinfo.wProcessorArchitecture) {
case PROCESSOR_ARCHITECTURE_ALPHA:
p = "alpha";
break;
case PROCESSOR_ARCHITECTURE_INTEL:
p = "x86";
break;
case PROCESSOR_ARCHITECTURE_MIPS:
p = "mips";
break;
case PROCESSOR_ARCHITECTURE_PPC:
p = "ppc";
break;
default:
p = "unknown";
break;
}
fprintf(fp, "%s<br>\n", p);
memset(&osver, 0, sizeof(osver));
osver.dwOSVersionInfoSize = sizeof(osver);
GetVersionEx(&osver);
switch (osver.dwPlatformId) {
case VER_PLATFORM_WIN32_NT: /* NT, Windows 2000 or Windows XP */
if (osver.dwMajorVersion == 4)
p = "Windows NT4x";
else if (osver.dwMajorVersion <= 3)
p = "Windows NT3x";
else if (osver.dwMajorVersion == 5 && osver.dwMinorVersion < 1)
p = "Windows 2000";
else if (osver.dwMajorVersion >= 5)
p = "Windows XP";
else
p = "unknown";
break;
case VER_PLATFORM_WIN32_WINDOWS: /* Win95, Win98 or WinME */
if ((osver.dwMajorVersion > 4) ||
((osver.dwMajorVersion == 4) && (osver.dwMinorVersion > 0))) {
if (osver.dwMinorVersion >= 90)
p = "Windows ME";
else
p = "Windows 98";
} else
p = "Windows 95";
break;
case VER_PLATFORM_WIN32s: /* Windows 3.x */
p = "Windows";
break;
default:
p = "unknown";
break;
}
fprintf(fp,
"%s, %ld.%02ld", p, osver.dwMajorVersion, osver.dwMinorVersion);
return (0);
}
#elif defined(HAVE_VXWORKS)
static int
b_uname_write_info(fp)
FILE *fp;
{
fprintf(fp, "<p>VxWorks");
return (0);
}
#else /* POSIX */
#include <sys/utsname.h>
static int
b_uname_write_info(fp)
FILE *fp;
{
struct utsname name;
if (uname(&name) == 0)
fprintf(fp, "<p>%s, %s<br>\n%s, %s, %s</p>\n", name.nodename,
name.machine, name.sysname, name.release, name.version);
else {
/*
* We've seen random failures on some systems, complain and
* skip the call if it fails.
*/
fprintf(stderr, "%s: uname: %s\n", progname, strerror(errno));
fprintf(fp, "<p>POSIX");
}
return (0);
}
#endif

View file

@ -0,0 +1,170 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
static int b_util_testdir_remove __P((char *));
int
b_util_have_hash()
{
#if defined(HAVE_HASH) ||\
DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 2
return (0);
#else
fprintf(stderr,
"library build did not include support for the Hash access method\n");
return (1);
#endif
}
int
b_util_have_heap()
{
#if defined(HAVE_HEAP) ||\
DB_VERSION_MAJOR < 5 || DB_VERSION_MAJOR == 5 && DB_VERSION_MINOR < 2
return (0);
#else
fprintf(stderr,
"library build did not include support for the Heap access method\n");
return (1);
#endif
}
int
b_util_have_queue()
{
#if defined(HAVE_QUEUE) ||\
DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 2
return (0);
#else
fprintf(stderr,
"library build did not include support for the Queue access method\n");
return (1);
#endif
}
/*
* b_util_dir_setup --
* Create the test directory.
*/
int
b_util_dir_setup()
{
int ret;
#if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 3
if ((ret = __os_mkdir(NULL, TESTDIR, 0755)) != 0) {
#else
if ((ret = mkdir(TESTDIR, 0755)) != 0) {
#endif
fprintf(stderr,
"%s: %s: %s\n", progname, TESTDIR, db_strerror(ret));
return (1);
}
return (0);
}
#if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 4
#define OS_EXISTS(a, b, c) __os_exists(a, b, c)
#else
#define OS_EXISTS(a, b, c) __os_exists(b, c)
#endif
/*
* b_util_dir_teardown
* Clean up the test directory.
*/
int
b_util_dir_teardown()
{
int ret;
if (OS_EXISTS(NULL, TESTFILE, NULL) == 0 &&
(ret = b_util_unlink(TESTFILE)) != 0) {
fprintf(stderr,
"%s: %s: %s\n", progname, TESTFILE, db_strerror(ret));
return (1);
}
return (b_util_testdir_remove(TESTDIR) ? 1 : 0);
}
/*
* testdir_remove --
* Remove a directory and all its contents, the "dir" must contain no
* subdirectories, because testdir_remove will not recursively delete
* all subdirectories.
*/
static int
b_util_testdir_remove(dir)
char *dir;
{
int cnt, i, isdir, ret;
char buf[1024], **names;
ret = 0;
/* If the directory doesn't exist, we're done. */
if (OS_EXISTS(NULL, dir, &isdir) != 0)
return (0);
/* Get a list of the directory contents. */
#if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 6
if ((ret = __os_dirlist(NULL, dir, 0, &names, &cnt)) != 0)
return (ret);
#else
if ((ret = __os_dirlist(NULL, dir, &names, &cnt)) != 0)
return (ret);
#endif
/* Go through the file name list, remove each file in the list */
for (i = 0; i < cnt; ++i) {
(void)snprintf(buf, sizeof(buf),
"%s%c%s", dir, PATH_SEPARATOR[0], names[i]);
if ((ret = OS_EXISTS(NULL, buf, &isdir)) != 0)
goto file_err;
if (!isdir && (ret = b_util_unlink(buf)) != 0) {
file_err: fprintf(stderr, "%s: %s: %s\n",
progname, buf, db_strerror(ret));
break;
}
}
__os_dirfree(NULL, names, cnt);
/*
* If we removed the contents of the directory, remove the directory
* itself.
*/
if (i == cnt && (ret = rmdir(dir)) != 0)
fprintf(stderr,
"%s: %s: %s\n", progname, dir, db_strerror(errno));
return (ret);
}
void
b_util_abort()
{
#if DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 6
abort();
#elif DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 6
__os_abort();
#else
__os_abort(NULL);
#endif
}
int
b_util_unlink(path)
char *path;
{
#if DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 7
return (__os_unlink(NULL, path));
#else
return (__os_unlink(NULL, path, 0));
#endif
}

View file

@ -0,0 +1,632 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
#include "b_workload.h"
static int b_workload_dump_verbose_stats __P((DB *, CONFIG *));
static int b_workload_is_del_workload __P((int));
static int b_workload_is_get_workload __P((int));
static int b_workload_is_put_workload __P((int));
static int b_workload_run_mixed_workload __P((DB *, CONFIG *));
static int b_workload_run_std_workload __P((DB *, CONFIG *));
static int b_workload_usage __P((void));
static char *b_workload_workload_str __P((int));
/*
* General TODO list:
* * The workload type. Might work better as a bitmask than the current enum.
* * Improve the verbose stats, so they can be easily parsed.
* * Think about doing automatic btree/hash comparison in here.
*/
int
b_workload(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
CONFIG conf;
DB *dbp;
DB_ENV *dbenv;
int ch, ffactor, ksz;
dbenv = NULL;
memset(&conf, 0, sizeof(conf));
conf.seed = 124087;
srand(conf.seed);
conf.pcount = 100000;
conf.ts = "Btree";
conf.type = DB_BTREE;
conf.dsize = 20;
conf.presize = 0;
conf.workload = T_PUT_GET_DELETE;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "b:c:d:e:g:ik:m:op:r:t:vw:")) != EOF)
switch (ch) {
case 'b':
conf.cachesz = atoi(optarg);
break;
case 'c':
conf.pcount = atoi(optarg);
break;
case 'd':
conf.dsize = atoi(optarg);
break;
case 'e':
conf.cursor_del = atoi(optarg);
break;
case 'g':
conf.gcount = atoi(optarg);
break;
case 'i':
conf.presize = 1;
break;
case 'k':
conf.ksize = atoi(optarg);
break;
case 'm':
conf.message = optarg;
break;
case 'o':
conf.orderedkeys = 1;
break;
case 'p':
conf.pagesz = atoi(optarg);
break;
case 'r':
conf.num_dups = atoi(optarg);
break;
case 't':
switch (optarg[0]) {
case 'B': case 'b':
conf.ts = "Btree";
conf.type = DB_BTREE;
break;
case 'H': case 'h':
if (b_util_have_hash())
return (0);
conf.ts = "Hash";
conf.type = DB_HASH;
break;
default:
return (b_workload_usage());
}
break;
case 'v':
conf.verbose = 1;
break;
case 'w':
switch (optarg[0]) {
case 'A':
conf.workload = T_PUT_GET_DELETE;
break;
case 'B':
conf.workload = T_GET;
break;
case 'C':
conf.workload = T_PUT;
break;
case 'D':
conf.workload = T_DELETE;
break;
case 'E':
conf.workload = T_PUT_GET;
break;
case 'F':
conf.workload = T_PUT_DELETE;
break;
case 'G':
conf.workload = T_GET_DELETE;
break;
case 'H':
conf.workload = T_MIXED;
break;
default:
return (b_workload_usage());
}
break;
case '?':
default:
fprintf(stderr, "Invalid option: %c\n", ch);
return (b_workload_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (b_workload_usage());
/*
* Validate the input parameters if specified.
*/
if (conf.pagesz != 0)
DB_BENCH_ASSERT(conf.pagesz >= 512 && conf.pagesz <= 65536 &&
((conf.pagesz & (conf.pagesz - 1)) == 0));
if (conf.cachesz != 0)
DB_BENCH_ASSERT(conf.cachesz > 20480);
DB_BENCH_ASSERT(conf.ksize == 0 || conf.orderedkeys == 0);
/* Create the environment. */
DB_BENCH_ASSERT(db_env_create(&dbenv, 0) == 0);
dbenv->set_errfile(dbenv, stderr);
if (conf.cachesz != 0)
DB_BENCH_ASSERT(
dbenv->set_cachesize(dbenv, 0, conf.cachesz, 0) == 0);
#if DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 1
DB_BENCH_ASSERT(dbenv->open(dbenv, "TESTDIR",
NULL, DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbenv->open(dbenv, "TESTDIR",
DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE, 0666) == 0);
#endif
DB_BENCH_ASSERT(db_create(&dbp, dbenv, 0) == 0);
if (conf.pagesz != 0)
DB_BENCH_ASSERT(
dbp->set_pagesize(dbp, conf.pagesz) == 0);
if (conf.presize != 0 && conf.type == DB_HASH) {
ksz = (conf.orderedkeys != 0) ? sizeof(u_int32_t) : conf.ksize;
if (ksz == 0)
ksz = 10;
ffactor = (conf.pagesz - 32)/(ksz + conf.dsize + 8);
fprintf(stderr, "ffactor: %d\n", ffactor);
DB_BENCH_ASSERT(
dbp->set_h_ffactor(dbp, ffactor) == 0);
DB_BENCH_ASSERT(
dbp->set_h_nelem(dbp, conf.pcount*10) == 0);
}
#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1)
DB_BENCH_ASSERT(dbp->open(
dbp, NULL, TESTFILE, NULL, conf.type, DB_CREATE, 0666) == 0);
#else
DB_BENCH_ASSERT(dbp->open(
dbp, TESTFILE, NULL, conf.type, DB_CREATE, 0666) == 0);
#endif
if (conf.workload == T_MIXED)
b_workload_run_mixed_workload(dbp, &conf);
else
b_workload_run_std_workload(dbp, &conf);
if (b_workload_is_put_workload(conf.workload) == 0)
timespecadd(&conf.tot_time, &conf.put_time);
if (b_workload_is_get_workload(conf.workload) == 0)
timespecadd(&conf.tot_time, &conf.get_time);
if (b_workload_is_del_workload(conf.workload) == 0)
timespecadd(&conf.tot_time, &conf.del_time);
/* Ensure data is flushed for following measurements. */
DB_BENCH_ASSERT(dbp->sync(dbp, 0) == 0);
if (conf.verbose != 0)
b_workload_dump_verbose_stats(dbp, &conf);
DB_BENCH_ASSERT(dbp->close(dbp, 0) == 0);
DB_BENCH_ASSERT(dbenv->close(dbenv, 0) == 0);
/*
* Construct a string for benchmark output.
*
* Insert HTML in-line to make the output prettier -- ugly, but easy.
*/
printf("# workload test: %s: %s<br>%lu ops",
conf.ts, b_workload_workload_str(conf.workload), (u_long)conf.pcount);
if (conf.ksize != 0)
printf(", key size: %lu", (u_long)conf.ksize);
if (conf.dsize != 0)
printf(", data size: %lu", (u_long)conf.dsize);
if (conf.pagesz != 0)
printf(", page size: %lu", (u_long)conf.pagesz);
else
printf(", page size: default");
if (conf.cachesz != 0)
printf(", cache size: %lu", (u_long)conf.cachesz);
else
printf(", cache size: default");
printf(", %s keys", conf.orderedkeys == 1 ? "ordered" : "unordered");
printf(", num dups: %lu", (u_long)conf.num_dups);
printf("\n");
if (conf.workload != T_MIXED) {
if (conf.message != NULL)
printf("%s %s ", conf.message, conf.ts);
TIME_DISPLAY(conf.pcount, conf.tot_time);
} else
TIMER_DISPLAY(conf.pcount);
return (0);
}
/*
* The mixed workload is designed to simulate a somewhat real
* usage scenario.
* NOTES: * rand is used to decide on the current operation. This will
* be repeatable, since the same seed is always used.
* * All added keys are stored in a FIFO queue, this is not very
* space efficient, but is the best way I could come up with to
* insert random key values, and be able to retrieve/delete them.
* * TODO: the workload will currently only work with unordered
* fixed length keys.
*/
#define GET_PROPORTION 90
#define PUT_PROPORTION 7
#define DEL_PROPORTION 3
static int
b_workload_run_mixed_workload(dbp, config)
DB *dbp;
CONFIG *config;
{
DBT key, data;
size_t next_op, i, ioff, inscount;
char kbuf[KBUF_LEN];
struct bench_q operation_queue;
/* Having ordered insertion does not make sense here */
DB_BENCH_ASSERT(config->orderedkeys == 0);
srand(config->seed);
memset(&operation_queue, 0, sizeof(struct bench_q));
ioff = 0;
INIT_KEY(key, config);
memset(&data, 0, sizeof(data));
DB_BENCH_ASSERT(
(data.data = malloc(data.size = config->dsize)) != NULL);
/*
* Add an initial sample set of data to the DB.
* This should add some stability, and reduce the likelihood
* of deleting all of the entries in the DB.
*/
inscount = 2 * config->pcount;
if (inscount > 100000)
inscount = 100000;
for (i = 0; i < inscount; ++i) {
GET_KEY_NEXT(key, config, kbuf, i);
BENCH_Q_TAIL_INSERT(operation_queue, kbuf);
DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
TIMER_START;
for (i = 0; i < config->pcount; ++i) {
next_op = rand()%100;
if (next_op < GET_PROPORTION ) {
BENCH_Q_POP_PUSH(operation_queue, kbuf);
key.data = kbuf;
key.size = sizeof(kbuf);
dbp->get(dbp, NULL, &key, &data, 0);
} else if (next_op < GET_PROPORTION+PUT_PROPORTION) {
GET_KEY_NEXT(key, config, kbuf, i);
BENCH_Q_TAIL_INSERT(operation_queue, kbuf);
dbp->put(dbp, NULL, &key, &data, 0);
} else {
BENCH_Q_POP(operation_queue, kbuf);
key.data = kbuf;
key.size = sizeof(kbuf);
dbp->del(dbp, NULL, &key, 0);
}
}
TIMER_STOP;
TIMER_GET(config->tot_time);
return (0);
}
static int
b_workload_run_std_workload(dbp, config)
DB *dbp;
CONFIG *config;
{
DBT key, data;
DBC *dbc;
u_int32_t i;
int ret;
char kbuf[KBUF_LEN];
/* Setup a key/data pair. */
INIT_KEY(key, config);
memset(&data, 0, sizeof(data));
DB_BENCH_ASSERT(
(data.data = malloc(data.size = config->dsize)) != NULL);
/* Store the key/data pair count times. */
TIMER_START;
for (i = 0; i < config->pcount; ++i) {
GET_KEY_NEXT(key, config, kbuf, i);
DB_BENCH_ASSERT(dbp->put(dbp, NULL, &key, &data, 0) == 0);
}
TIMER_STOP;
TIMER_GET(config->put_time);
if (b_workload_is_get_workload(config->workload) == 0) {
TIMER_START;
for (i = 0; i <= config->gcount; ++i) {
DB_BENCH_ASSERT(dbp->cursor(dbp, NULL, &dbc, 0) == 0);
while ((dbc->c_get(dbc, &key, &data, DB_NEXT)) == 0);
DB_BENCH_ASSERT(dbc->c_close(dbc) == 0);
}
TIMER_STOP;
TIMER_GET(config->get_time);
}
if (b_workload_is_del_workload(config->workload) == 0) {
/* reset rand to reproduce key sequence. */
srand(config->seed);
TIMER_START;
if (config->cursor_del != 0) {
DB_BENCH_ASSERT(dbp->cursor(dbp, NULL, &dbc, 0) == 0);
while (
(ret = dbc->c_get(dbc, &key, &data, DB_NEXT)) == 0)
DB_BENCH_ASSERT(dbc->c_del(dbc, 0) == 0);
DB_BENCH_ASSERT (ret == DB_NOTFOUND);
} else {
INIT_KEY(key, config);
for (i = 0; i < config->pcount; ++i) {
GET_KEY_NEXT(key, config, kbuf, i);
ret = dbp->del(dbp, NULL, &key, 0);
/*
* Random key generation can cause dups,
* so NOTFOUND result is OK.
*/
if (config->ksize == 0)
DB_BENCH_ASSERT
(ret == 0 || ret == DB_NOTFOUND);
else
DB_BENCH_ASSERT(ret == 0);
}
}
TIMER_STOP;
TIMER_GET(config->del_time);
}
return (0);
}
static int
b_workload_dump_verbose_stats(dbp, config)
DB *dbp;
CONFIG *config;
{
/*
* It would be nice to be able to define stat as _stat on
* Windows, but that substitutes _stat for the db call as well.
*/
#ifdef DB_WIN32
struct _stat fstat;
#else
struct stat fstat;
#endif
DB_HASH_STAT *hstat;
DB_BTREE_STAT *bstat;
double free_prop;
char path[1024];
#ifdef DB_BENCH_INCLUDE_CONFIG_SUMMARY
printf("Completed workload benchmark.\n");
printf("Configuration summary:\n");
printf("\tworkload type: %d\n", (int)config->workload);
printf("\tdatabase type: %s\n", config->ts);
if (config->cachesz != 0)
printf("\tcache size: %lu\n", (u_long)config->cachesz);
if (config->pagesz != 0)
printf("\tdatabase page size: %lu\n", (u_long)config->pagesz);
printf("\tput element count: %lu\n", (u_long)config->pcount);
if ( b_workload_is_get_workload(config->workload) == 0)
printf("\tget element count: %lu\n", (u_long)config->gcount);
if (config->orderedkeys)
printf("\tInserting items in order\n");
else if (config->ksize == 0)
printf("\tInserting keys with size 10\n");
else
printf(
"\tInserting keys with size: %lu\n", (u_long)config->ksize);
printf("\tInserting data elements size: %lu\n", (u_long)config->dsize);
if (b_workload_is_del_workload(config->workload) == 0) {
if (config->cursor_del)
printf("\tDeleting items using a cursor\n");
else
printf("\tDeleting items without a cursor\n");
}
#endif /* DB_BENCH_INCLUDE_CONFIG_SUMMARY */
if (b_workload_is_put_workload(config->workload) == 0)
printf("%s Time spent inserting (%lu) (%s) items: %lu/%lu\n",
config->message[0] == '\0' ? "" : config->message,
(u_long)config->pcount, config->ts,
(u_long)config->put_time.tv_sec, config->put_time.tv_nsec);
if (b_workload_is_get_workload(config->workload) == 0)
printf("%s Time spent getting (%lu) (%s) items: %lu/%lu\n",
config->message[0] == '\0' ? "" : config->message,
(u_long)config->pcount * ((config->gcount == 0) ?
1 : config->gcount), config->ts,
(u_long)config->get_time.tv_sec, config->get_time.tv_nsec);
if (b_workload_is_del_workload(config->workload) == 0)
printf("%s Time spent deleting (%lu) (%s) items: %lu/%lu\n",
config->message[0] == '\0' ? "" : config->message,
(u_long)config->pcount, config->ts,
(u_long)config->del_time.tv_sec, config->del_time.tv_nsec);
(void)snprintf(path, sizeof(path),
"%s%c%s", TESTDIR, PATH_SEPARATOR[0], TESTFILE);
#ifdef DB_WIN32
if (_stat(path, &fstat) == 0) {
#else
if (stat(path, &fstat) == 0) {
#endif
printf("%s Size of db file (%s): %lu K\n",
config->message[0] == '\0' ? "" : config->message,
config->ts, (u_long)fstat.st_size/1024);
}
if (config->type == DB_HASH) {
#if DB_VERSION_MAJOR < 3 || DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR <= 2
DB_BENCH_ASSERT(dbp->stat(dbp, &hstat, NULL, 0) == 0);
#elif DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR <= 2
DB_BENCH_ASSERT(dbp->stat(dbp, &hstat, 0) == 0);
#else
DB_BENCH_ASSERT(dbp->stat(dbp, NULL, &hstat, 0) == 0);
#endif
/*
* Hash fill factor is a bit tricky. Want to include
* both bucket and overflow buckets (not offpage).
*/
free_prop = hstat->hash_pagesize*hstat->hash_buckets;
free_prop += hstat->hash_pagesize*hstat->hash_overflows;
free_prop =
(free_prop - hstat->hash_bfree - hstat->hash_ovfl_free)/
free_prop;
printf("%s db fill factor (%s): %.2f%%\n",
config->message[0] == '\0' ? "" : config->message,
config->ts, free_prop*100);
free(hstat);
} else { /* Btree */
#if DB_VERSION_MAJOR < 3 || DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR <= 2
DB_BENCH_ASSERT(dbp->stat(dbp, &bstat, NULL, 0) == 0);
#elif DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR <= 2
DB_BENCH_ASSERT(dbp->stat(dbp, &bstat, 0) == 0);
#else
DB_BENCH_ASSERT(dbp->stat(dbp, NULL, &bstat, 0) == 0);
#endif
free_prop = bstat->bt_pagesize*bstat->bt_leaf_pg;
free_prop = (free_prop-bstat->bt_leaf_pgfree)/free_prop;
printf("%s db fill factor (%s): %.2f%%\n",
config->message[0] == '\0' ? "" : config->message,
config->ts, free_prop*100);
free(bstat);
}
return (0);
}
static char *
b_workload_workload_str(workload)
int workload;
{
static char buf[128];
switch (workload) {
case T_PUT_GET_DELETE:
return ("PUT/GET/DELETE");
/* NOTREACHED */
case T_GET:
return ("GET");
/* NOTREACHED */
case T_PUT:
return ("PUT");
/* NOTREACHED */
case T_DELETE:
return ("DELETE");
/* NOTREACHED */
case T_PUT_GET:
return ("PUT/GET");
/* NOTREACHED */
case T_PUT_DELETE:
return ("PUT/DELETE");
/* NOTREACHED */
case T_GET_DELETE:
return ("GET/DELETE");
/* NOTREACHED */
case T_MIXED:
snprintf(buf, sizeof(buf), "MIXED (get: %d, put: %d, del: %d)",
(int)GET_PROPORTION,
(int)PUT_PROPORTION, (int)DEL_PROPORTION);
return (buf);
default:
break;
}
exit(b_workload_usage());
/* NOTREACHED */
}
static int
b_workload_is_get_workload(workload)
int workload;
{
switch (workload) {
case T_GET:
case T_PUT_GET:
case T_PUT_GET_DELETE:
case T_GET_DELETE:
return 0;
}
return 1;
}
static int
b_workload_is_put_workload(workload)
int workload;
{
switch (workload) {
case T_PUT:
case T_PUT_GET:
case T_PUT_GET_DELETE:
case T_PUT_DELETE:
return 0;
}
return 1;
}
static int
b_workload_is_del_workload(workload)
int workload;
{
switch (workload) {
case T_DELETE:
case T_PUT_DELETE:
case T_PUT_GET_DELETE:
case T_GET_DELETE:
return 0;
}
return 1;
}
static int
b_workload_usage()
{
(void)fprintf(stderr,
"usage: b_workload [-b cachesz] [-c count] [-d bytes] [-e]\n");
(void)fprintf(stderr,
"\t[-g getitrs] [-i] [-k keysize] [-m message] [-o] [-p pagesz]\n");
(void)fprintf(stderr, "\t[-r dup_count] [-t type] [-w type]\n");
(void)fprintf(stderr, "Where:\n");
(void)fprintf(stderr, "\t-b the size of the DB cache.\n");
(void)fprintf(stderr, "\t-c the number of elements to be measured.\n");
(void)fprintf(stderr, "\t-d the size of each data element.\n");
(void)fprintf(stderr, "\t-e delete entries using a cursor.\n");
(void)fprintf(stderr, "\t-g number of get cursor traverses.\n");
(void)fprintf(stderr, "\t-i Pre-init hash DB bucket count.\n");
(void)fprintf(stderr, "\t-k the size of each key inserted.\n");
(void)fprintf(stderr, "\t-m message pre-pended to log output.\n");
(void)fprintf(stderr, "\t-o keys should be ordered for insert.\n");
(void)fprintf(stderr, "\t-p the page size for the database.\n");
(void)fprintf(stderr, "\t-r the number of duplicates to insert\n");
(void)fprintf(stderr, "\t-t type of the underlying database.\n");
(void)fprintf(stderr, "\t-w the workload to measure, available:\n");
(void)fprintf(stderr, "\t\tA - PUT_GET_DELETE\n");
(void)fprintf(stderr, "\t\tB - GET\n");
(void)fprintf(stderr, "\t\tC - PUT\n");
(void)fprintf(stderr, "\t\tD - DELETE\n");
(void)fprintf(stderr, "\t\tE - PUT_GET\n");
(void)fprintf(stderr, "\t\tF - PUT_DELETE\n");
(void)fprintf(stderr, "\t\tG - GET_DELETE\n");
(void)fprintf(stderr, "\t\tH - MIXED\n");
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,153 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
/*
* Macros to help with initializing/assigning key dbts
*/
#define KBUF_LEN 12
#define INIT_KEY(key, config) do { \
memset(&key, 0, sizeof(key)); \
if (config->orderedkeys) { \
key.size = sizeof (u_int32_t); \
} else if (config->ksize != 0) { \
DB_BENCH_ASSERT( \
(key.data = malloc(key.size = config->ksize)) != NULL); \
} else { \
key.data = kbuf; \
key.size = 10; \
} \
} while (0)
#define GET_KEY_NEXT(key, config, kbuf, i) do { \
size_t tmp_int; \
if (config->orderedkeys) { \
/* Will be sorted on little-endian system. */ \
tmp_int = i; \
M_32_SWAP(tmp_int); \
key.data = &tmp_int; \
} else if (config->ksize == 0) { \
/* \
* This will produce duplicate keys. \
* That is not such a big deal, since we are \
* using the same seed to srand each time, \
* the scenario is reproducible. \
*/ \
(void)snprintf(kbuf, sizeof(kbuf), "%10d", rand()); \
} else { \
/* TODO: Not sure of the best approach here. */ \
(void)snprintf(key.data, config->ksize, "%10lu", (u_long)i); \
} \
} while (0)
/* Taken from dbinc/db_swap.h */
#undef M_32_SWAP
#define M_32_SWAP(a) { \
u_int32_t _tmp; \
_tmp = (u_int32_t)a; \
((u_int8_t *)&a)[0] = ((u_int8_t *)&_tmp)[3]; \
((u_int8_t *)&a)[1] = ((u_int8_t *)&_tmp)[2]; \
((u_int8_t *)&a)[2] = ((u_int8_t *)&_tmp)[1]; \
((u_int8_t *)&a)[3] = ((u_int8_t *)&_tmp)[0]; \
}
/*
* A singly linked list, that maintains a pointer
* to the start and the end of the queue.
* Should be possible to use a STAILQ, but this seemed easier
*/
typedef struct bench_qentry {
char data[KBUF_LEN];
struct bench_qentry *next;
}bench_qentry;
typedef struct bench_q {
struct bench_qentry *head;
struct bench_qentry *tail;
} bench_q;
#define BENCH_Q_TAIL_INSERT(queue, buf) do { \
struct bench_qentry *entry; \
DB_BENCH_ASSERT( \
(entry = malloc(sizeof(struct bench_qentry))) != NULL); \
memcpy(entry->data, buf, sizeof(entry->data)); \
if (queue.head == NULL) \
queue.head = queue.tail = entry; \
else { \
queue.tail->next = entry; \
queue.tail = entry; \
} \
} while (0)
#define BENCH_Q_POP(queue, buf) do { \
struct bench_qentry *popped = queue.head; \
if (popped == NULL) \
break; \
if (queue.head->next == NULL) \
queue.head = queue.tail = NULL; \
else \
queue.head = queue.head->next; \
memcpy(buf, popped->data, sizeof(buf)); \
free(popped); \
} while (0)
/*
* Retrieve the head of the queue, save the data into user
* buffer, and push the item back onto the end of the list.
* Same functionality as pop/insert, but saves a malloc/free
*/
#define BENCH_Q_POP_PUSH(queue, buf) do { \
struct bench_qentry *popped = queue.head; \
if (popped == NULL) \
break; \
if (queue.head->next == NULL) \
queue.head = queue.tail = NULL; \
else \
queue.head = queue.head->next; \
memcpy(buf, popped->data, sizeof(buf)); \
if (queue.head == NULL) \
queue.head = queue.tail = popped; \
else { \
queue.tail->next = popped; \
queue.tail = popped; \
} \
} while (0)
typedef enum {
T_PUT,
T_GET,
T_DELETE,
T_PUT_GET,
T_PUT_DELETE,
T_PUT_GET_DELETE,
T_GET_DELETE,
T_MIXED
} test_type;
typedef struct
{
u_int32_t ksize;
u_int32_t dsize;
size_t orderedkeys;
size_t num_dups;
u_int32_t pagesz;
u_int32_t cachesz;
u_int32_t pcount;
size_t gcount;
size_t cursor_del;
size_t verbose;
test_type workload;
u_int32_t seed;
size_t presize;
DBTYPE type;
char *ts;
char *message;
/* Fields used to store timing information */
db_timespec put_time;
db_timespec get_time;
db_timespec del_time;
db_timespec tot_time;
} CONFIG;

View file

@ -0,0 +1,218 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#ifndef _BENCH_H_
#define _BENCH_H_
#include "db_config.h"
#include "db_int.h"
#if DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 5
/*
* Older releases of Berkeley DB don't include standard include files in
* db_int.h.
*/
#ifdef DB_WIN32
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
#include <direct.h>
#include <sys/timeb.h>
#else
#include <sys/stat.h>
#include <sys/time.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#endif
#endif
#define TESTDIR "TESTDIR"
#define TESTFILE "test_micro.db"
/*
* Implement a custom assert to allow consistent behavior across builds and
* platforms.
*
* The BDB library DB_ASSERT implementation is only enabled in diagnostic
* builds -- so is not suitable here.
*/
#define DB_BENCH_ASSERT(e) do { \
(e) ? (void)0 : \
(fprintf(stderr, \
"assert failure: %s/%d: \"%s\"\n", __FILE__, __LINE__, #e), \
b_util_abort()); \
} while (0)
#ifndef NS_PER_SEC
#define NS_PER_SEC 1000000000 /* Nanoseconds in a second */
#endif
#ifndef NS_PER_US
#define NS_PER_US 1000 /* Nanoseconds in a microsecond */
#endif
#ifndef MS_PER_NS
#define MS_PER_NS 1000000 /* Milliseconds in a nanosecond */
#endif
#ifdef DB_TIMEOUT_TO_TIMESPEC
/*
* We have the timer routines in the Berkeley DB library after their conversion
* to the POSIX timespec interfaces. We'd rather use something that gives us
* better information than elapsed wallclock time, so use getrusage instead if
* it's available.
*/
#ifdef HAVE_GETRUSAGE
#include <sys/resource.h>
#define SET_TIMER_FROM_GETRUSAGE(tp) do { \
struct rusage __usage; \
DB_BENCH_ASSERT(getrusage(RUSAGE_SELF, &__usage) == 0); \
(tp)->tv_sec = \
__usage.ru_utime.tv_sec + __usage.ru_stime.tv_sec; \
(tp)->tv_nsec = NS_PER_US * \
(__usage.ru_utime.tv_usec + __usage.ru_stime.tv_usec); \
} while (0);
#define TIMER_START SET_TIMER_FROM_GETRUSAGE(&__start_time);
#define TIMER_STOP SET_TIMER_FROM_GETRUSAGE(&__end_time);
#elif defined(DB_WIN32) && !defined(DB_WINCE)
#define SET_TIMER_FROM_GETPROCESSTIMES(tp) do { \
FILETIME lpCreationTime, lpExitTime, lpKernelTime, lpUserTIme; \
LARGE_INTEGER large_int; \
LONGLONG __ns_since_epoch; \
DB_BENCH_ASSERT( \
GetProcessTimes(GetCurrentProcess(), &lpCreationTime, \
&lpExitTime, &lpKernelTime, &lpUserTIme) != 0); \
memcpy(&large_int, &lpKernelTime, sizeof(lpKernelTime)); \
__ns_since_epoch = (large_int.QuadPart * 100); \
(tp)->tv_sec = (time_t)(__ns_since_epoch / NS_PER_SEC); \
(tp)->tv_nsec = (long)(__ns_since_epoch % NS_PER_SEC); \
memcpy(&large_int, &lpUserTIme, sizeof(lpUserTIme)); \
__ns_since_epoch = (large_int.QuadPart * 100); \
(tp)->tv_sec += (time_t)(__ns_since_epoch / NS_PER_SEC); \
(tp)->tv_nsec += (long)(__ns_since_epoch % NS_PER_SEC); \
} while (0);
#define TIMER_START SET_TIMER_FROM_GETPROCESSTIMES(&__start_time);
#define TIMER_STOP SET_TIMER_FROM_GETPROCESSTIMES(&__end_time);
#else /* !HAVEGETRUSAGE && !DB_WIN32 */
#if DB_VERSION_MAJOR > 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR > 6
#define TIMER_START __os_gettime(NULL, &__start_time, 1)
#define TIMER_STOP __os_gettime(NULL, &__end_time, 1)
#else
#define TIMER_START __os_gettime(NULL, &__start_time)
#define TIMER_STOP __os_gettime(NULL, &__end_time)
#endif
#endif /* !HAVE_GETRUSAGE */
#else /* !DB_TIMEOUT_TO_TIMESPEC */
#if defined(HAVE_CLOCK_GETTIME)
typedef struct timespec db_timespec;
#else
typedef struct {
time_t tv_sec; /* seconds */
long tv_nsec; /* nanoseconds */
} db_timespec;
#endif
#define timespecadd(vvp, uvp) \
do { \
(vvp)->tv_sec += (uvp)->tv_sec; \
(vvp)->tv_nsec += (uvp)->tv_nsec; \
if ((vvp)->tv_nsec >= NS_PER_SEC) { \
(vvp)->tv_sec++; \
(vvp)->tv_nsec -= NS_PER_SEC; \
} \
} while (0)
#define timespecsub(vvp, uvp) \
do { \
(vvp)->tv_sec -= (uvp)->tv_sec; \
(vvp)->tv_nsec -= (uvp)->tv_nsec; \
if ((vvp)->tv_nsec < 0) { \
(vvp)->tv_sec--; \
(vvp)->tv_nsec += NS_PER_SEC; \
} \
} while (0)
#define TIMER_START CLOCK(__start_time)
#define TIMER_STOP CLOCK(__end_time)
#if defined(HAVE_CLOCK_GETTIME)
#define CLOCK(tm) do { \
DB_BENCH_ASSERT(clock_gettime( \
CLOCK_REALTIME, (struct timespec *)&(tm)) == 0); \
} while (0)
#elif defined(DB_WIN32)
#define CLOCK(tm) do { \
struct _timeb __now; \
_ftime(&__now); \
(tm).tv_sec = __now.time; \
(tm).tv_nsec = __now.millitm * MS_PER_NS; \
} while (0)
#else
#define CLOCK(tm) do { \
struct timeval __tp; \
DB_BENCH_ASSERT(gettimeofday(&__tp, NULL) == 0); \
(tm).tv_sec = __tp.tv_sec; \
(tm).tv_nsec = __tp.tv_usec * NS_PER_US; \
} while (0)
#endif
#endif /* !DB_TIMEOUT_TO_TIMESPEC */
extern db_timespec __start_time, __end_time;
#define TIMER_GET(tm) do { \
tm = __end_time; \
timespecsub(&(tm), &__start_time); \
} while (0)
#define TIMER_DISPLAY(ops) do { \
db_timespec __tmp_time; \
__tmp_time = __end_time; \
timespecsub(&__tmp_time, &__start_time); \
TIME_DISPLAY(ops, __tmp_time); \
} while (0)
#define TIME_DISPLAY(ops, tm) do { \
double __secs; \
int __major, __minor, __patch; \
__secs = (tm).tv_sec + (double)(tm).tv_nsec / NS_PER_SEC; \
(void)db_version(&__major, &__minor, &__patch); \
printf("%d.%d.%d\t%.2f\n", __major, __minor, __patch, \
(__secs == 0) ? 0.0 : (ops) / __secs); \
} while (0)
extern char *progname; /* program name */
int b_curalloc __P((int, char *[]));
int b_curwalk __P((int, char *[]));
int b_del __P((int, char *[]));
int b_get __P((int, char *[]));
int b_inmem __P((int, char *[]));
int b_latch __P((int, char *[]));
int b_load __P((int, char *[]));
int b_open __P((int, char *[]));
int b_put __P((int, char *[]));
int b_recover __P((int, char *[]));
int b_txn __P((int, char *[]));
int b_txn_write __P((int, char *[]));
int b_uname __P((void));
void b_util_abort __P((void));
int b_util_dir_setup __P((void));
int b_util_dir_teardown __P((void));
int b_util_have_hash __P((void));
int b_util_have_heap __P((void));
int b_util_have_queue __P((void));
int b_util_unlink __P((char *));
int b_workload __P((int, char *[]));
u_int32_t part_callback __P((DB *, DBT *));
#endif /* !_BENCH_H_ */

View file

@ -0,0 +1,226 @@
/*
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2005, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "bench.h"
int test_micro_main __P((int, char *[]));
static int test_micro_run __P((char *));
static int test_micro_usage __P((void));
char *progname; /* program name */
db_timespec __start_time, __end_time; /* TIMER_START & TIMER_END */
static int test_start = 1; /* first test to run */
static int test_end = 0; /* last test to run */
static struct {
char *name; /* command name */
int (*f)(int, char *[]); /* function */
} cmdlist[] = {
{ "b_curalloc", b_curalloc },
{ "b_curwalk", b_curwalk },
{ "b_del", b_del },
{ "b_get", b_get },
{ "b_inmem", b_inmem },
{ "b_latch", b_latch },
{ "b_load", b_load },
{ "b_open", b_open },
{ "b_put", b_put },
{ "b_recover", b_recover },
{ "b_txn", b_txn },
{ "b_txn_write", b_txn_write },
{ "b_workload", b_workload },
{ NULL, NULL }
};
int
test_micro(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("test_micro", args, &argc, &argv);
return (test_micro_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
test_micro_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
int ch, ret;
char *run_directory, *ifile;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
run_directory = NULL;
ifile = "run.std";
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "d:e:i:s:")) != EOF)
switch (ch) {
case 'd':
run_directory = optarg;
break;
case 'e':
test_end = atoi(optarg);
break;
case 'i':
ifile = optarg;
break;
case 's':
test_start = atoi(optarg);
break;
case '?':
default:
return (test_micro_usage());
}
argc -= optind;
argv += optind;
/* Run in the target directory. */
if (run_directory != NULL && chdir(run_directory) != 0) {
fprintf(stderr,
"%s: %s: %s\n", progname, run_directory, strerror(errno));
return (1);
}
/* Clean up any left-over test directory. */
if (b_util_dir_teardown())
return (1);
ret = test_micro_run(ifile);
return (ret ? EXIT_FAILURE : EXIT_SUCCESS);
}
/*
* run --
* Read a configuration file and run the tests.
*/
static int
test_micro_run(ifile)
char *ifile;
{
#ifdef HAVE_GETOPT_OPTRESET
extern int optreset;
#endif
extern int optind, __db_getopt_reset;
static int test_cur = 0;
FILE *ifp;
int argc, cmdindx, lineno, ret;
char *p, cmd[1024], path[1024], **argv;
/* Identify the run. */
if (b_uname() != 0)
return (1);
/* Open the list of tests. */
if ((ifp = fopen(ifile, "r")) == NULL) {
fprintf(stderr,
"%s: %s: %s\n", progname, ifile, strerror(errno));
return (1);
}
for (lineno = 1; fgets(cmd, sizeof(cmd), ifp) != NULL; ++lineno) {
/*
* Nul-terminate the command line; check for a trailing \r
* on Windows.
*/
if ((p = strchr(cmd, '\n')) == NULL) {
format_err: fprintf(stderr, "%s: %s: line %d: illegal input\n",
progname, ifile, lineno);
return (1);
}
if (p > cmd && p[-1] == '\r')
--p;
*p = '\0';
/* Skip empty lines and comments. */
if (cmd[0] == '\0' || cmd[0] == '#')
continue;
/* Optionally limit the test run to specific tests. */
if (++test_cur < test_start ||
(test_end != 0 && test_cur > test_end))
continue;
fprintf(stderr, "%d: %s\n", test_cur, cmd);
/* Find the command. */
if ((p = strchr(cmd, ' ')) == NULL)
goto format_err;
*p++ = '\0';
for (cmdindx = 0; cmdlist[cmdindx].name != NULL; ++cmdindx)
if (strcmp(cmd, cmdlist[cmdindx].name) == 0)
break;
if (cmdlist[cmdindx].name == NULL)
goto format_err;
/* Build argc/argv. */
if (__db_util_arg(cmd, p, &argc, &argv) != 0)
return (1);
/* Re-direct output into the test log file. */
(void)snprintf(path, sizeof(path), "%d", test_cur);
if (freopen(path, "a", stdout) == NULL) {
fprintf(stderr,
"%s: %s: %s\n", progname, path, strerror(errno));
return (1);
}
/*
* Each underlying "program" re-parses its arguments --
* reset getopt.
*/
#ifdef HAVE_GETOPT_OPTRESET
optreset = 1;
#endif
optind = 1;
/* Prepare the test directory. */
if (b_util_dir_setup())
return (1);
ret = cmdlist[cmdindx].f(argc, argv);
/* Clean up the test directory. */
if (b_util_dir_teardown())
return (1);
(void)fflush(stdout);
#if DB_VERSION_MAJOR < 4 || DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 1
__os_free(NULL, argv, 0);
#else
__os_free(NULL, argv);
#endif
if (ret != 0)
return (ret);
}
return (0);
}
static int
test_micro_usage()
{
(void)fprintf(stderr,
"usage: %s [-d directory] [-e end] [-i input] [-s start]\n",
progname);
return (EXIT_FAILURE);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
test_micro20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/test_micro20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_test_micro20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
test_micro
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
test_micro22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/test_micro22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_test_micro22.out
<END>
<BEGIN> BUILD_RULE_test_micro22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
test_micro
<END>

View file

@ -0,0 +1,200 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
int db_archive_main __P((int, char *[]));
int db_archive_usage __P((void));
int db_archive_version_check __P((void));
const char *progname;
int
db_archive(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_archive", args, &argc, &argv);
return (db_archive_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_archive_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
u_int32_t flags;
int ch, exitval, ret, verbose;
char **file, *home, **list, *passwd;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_archive_version_check()) != 0)
return (ret);
dbenv = NULL;
flags = 0;
exitval = verbose = 0;
home = passwd = NULL;
file = list = NULL;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "adh:lP:sVv")) != EOF)
switch (ch) {
case 'a':
LF_SET(DB_ARCH_ABS);
break;
case 'd':
LF_SET(DB_ARCH_REMOVE);
break;
case 'h':
home = optarg;
break;
case 'l':
LF_SET(DB_ARCH_LOG);
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, DB_STR_A("5119",
"%s: strdup: %s\n", "%s %s\n"),
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 's':
LF_SET(DB_ARCH_DATA);
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case 'v':
/*
* !!!
* The verbose flag no longer actually does anything,
* but it's left rather than adding it back at some
* future date.
*/
verbose = 1;
break;
case '?':
default:
return (db_archive_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (db_archive_usage());
/* Handle possible interruptions. */
__db_util_siginit();
/*
* Create an environment object and initialize it for error
* reporting.
*/
if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
goto err;
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
if (passwd != NULL && (ret = dbenv->set_encrypt(dbenv,
passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/*
* If attaching to a pre-existing environment fails, create a
* private one and try again.
*/
if ((ret = dbenv->open(dbenv, home, DB_USE_ENVIRON, 0)) != 0 &&
(ret == DB_VERSION_MISMATCH ||
(ret = dbenv->open(dbenv, home, DB_CREATE |
DB_INIT_LOG | DB_PRIVATE | DB_USE_ENVIRON, 0)) != 0)) {
dbenv->err(dbenv, ret, "DB_ENV->open");
goto err;
}
/* Get the list of names. */
if ((ret = dbenv->log_archive(dbenv, &list, flags)) != 0) {
dbenv->err(dbenv, ret, "DB_ENV->log_archive");
goto err;
}
/* Print the list of names. */
if (list != NULL) {
for (file = list; *file != NULL; ++file)
printf("%s\n", *file);
free(list);
}
if (0) {
err: exitval = 1;
}
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
int
db_archive_usage()
{
(void)fprintf(stderr,
"usage: %s [-adlsVv] [-h home] [-P password]\n", progname);
return (EXIT_FAILURE);
}
int
db_archive_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5120",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname, DB_VERSION_MAJOR,
DB_VERSION_MINOR, v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_archive20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_archive20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_archive20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_archive
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_archive22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_archive22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_archive22.out
<END>
<BEGIN> BUILD_RULE_db_archive22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_archive
<END>

View file

@ -0,0 +1,255 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
int db_checkpoint_main __P((int, char *[]));
int db_checkpoint_usage __P((void));
int db_checkpoint_version_check __P((void));
const char *progname;
int
db_checkpoint(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_checkpoint", args, &argc, &argv);
return (db_checkpoint_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_checkpoint_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
time_t now;
long argval;
u_int32_t flags, kbytes, minutes, seconds;
int ch, exitval, once, ret, verbose;
char *home, *logfile, *passwd, time_buf[CTIME_BUFLEN];
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_checkpoint_version_check()) != 0)
return (ret);
/*
* !!!
* Don't allow a fully unsigned 32-bit number, some compilers get
* upset and require it to be specified in hexadecimal and so on.
*/
#define MAX_UINT32_T 2147483647
dbenv = NULL;
kbytes = minutes = 0;
exitval = once = verbose = 0;
flags = 0;
home = logfile = passwd = NULL;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "1h:k:L:P:p:Vv")) != EOF)
switch (ch) {
case '1':
once = 1;
flags = DB_FORCE;
break;
case 'h':
home = optarg;
break;
case 'k':
if (__db_getlong(NULL, progname,
optarg, 1, (long)MAX_UINT32_T, &argval))
return (EXIT_FAILURE);
kbytes = (u_int32_t)argval;
break;
case 'L':
logfile = optarg;
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, DB_STR_A("5121",
"%s: strdup: %s\n", "%s %s"),
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 'p':
if (__db_getlong(NULL, progname,
optarg, 1, (long)MAX_UINT32_T, &argval))
return (EXIT_FAILURE);
minutes = (u_int32_t)argval;
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case 'v':
verbose = 1;
break;
case '?':
default:
return (db_checkpoint_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (db_checkpoint_usage());
if (once == 0 && kbytes == 0 && minutes == 0) {
(void)fprintf(stderr, DB_STR_A("5122",
"%s: at least one of -1, -k and -p must be specified\n",
"%s\n"), progname);
return (db_checkpoint_usage());
}
/* Handle possible interruptions. */
__db_util_siginit();
/* Log our process ID. */
if (logfile != NULL && __db_util_logset(progname, logfile))
goto err;
/*
* Create an environment object and initialize it for error
* reporting.
*/
if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
goto err;
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
if (passwd != NULL && (ret = dbenv->set_encrypt(dbenv,
passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/*
* If attaching to a pre-existing environment fails, create a
* private one and try again. Turn on DB_THREAD in case a repmgr
* application wants to do checkpointing using this utility: repmgr
* requires DB_THREAD for all env handles.
*/
#ifdef HAVE_REPLICATION_THREADS
#define ENV_FLAGS (DB_THREAD | DB_USE_ENVIRON)
#else
#define ENV_FLAGS DB_USE_ENVIRON
#endif
if ((ret = dbenv->open(dbenv, home, ENV_FLAGS, 0)) != 0 &&
(!once || ret == DB_VERSION_MISMATCH ||
(ret = dbenv->open(dbenv, home,
DB_CREATE | DB_INIT_TXN | DB_PRIVATE | DB_USE_ENVIRON, 0)) != 0)) {
dbenv->err(dbenv, ret, "DB_ENV->open");
goto err;
}
/*
* If we have only a time delay, then we'll sleep the right amount
* to wake up when a checkpoint is necessary. If we have a "kbytes"
* field set, then we'll check every 30 seconds.
*/
seconds = kbytes != 0 ? 30 : minutes * 60;
while (!__db_util_interrupted()) {
if (verbose) {
(void)time(&now);
dbenv->errx(dbenv, DB_STR_A("5123",
"checkpoint begin: %s", "%s"),
__os_ctime(&now, time_buf));
}
if ((ret = dbenv->txn_checkpoint(dbenv,
kbytes, minutes, flags)) != 0) {
dbenv->err(dbenv, ret, "txn_checkpoint");
goto err;
}
if (verbose) {
(void)time(&now);
dbenv->errx(dbenv, DB_STR_A("5124",
"checkpoint complete: %s", "%s"),
__os_ctime(&now, time_buf));
}
if (once)
break;
__os_yield(dbenv->env, seconds, 0);
}
if (0) {
err: exitval = 1;
}
/* Clean up the logfile. */
if (logfile != NULL)
(void)remove(logfile);
/* Clean up the environment. */
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
int
db_checkpoint_usage()
{
(void)fprintf(stderr, "usage: %s [-1Vv]\n\t%s\n", progname,
"[-h home] [-k kbytes] [-L file] [-P password] [-p min]");
return (EXIT_FAILURE);
}
int
db_checkpoint_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5125",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname, DB_VERSION_MAJOR,
DB_VERSION_MINOR, v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_checkpoint20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_checkpoint20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_checkpoint20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_checkpoint
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_checkpoint22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_checkpoint22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_checkpoint22.out
<END>
<BEGIN> BUILD_RULE_db_checkpoint22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_checkpoint
<END>

View file

@ -0,0 +1,252 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
int db_deadlock_main __P((int, char *[]));
int db_deadlock_usage __P((void));
int db_deadlock_version_check __P((void));
const char *progname;
int
db_deadlock(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_deadlock", args, &argc, &argv);
return (db_deadlock_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_deadlock_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
u_int32_t atype;
time_t now;
u_long secs, usecs;
int rejected, ch, exitval, ret, verbose;
char *home, *logfile, *passwd, *str, time_buf[CTIME_BUFLEN];
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_deadlock_version_check()) != 0)
return (ret);
dbenv = NULL;
atype = DB_LOCK_DEFAULT;
home = logfile = passwd = NULL;
secs = usecs = 0;
exitval = verbose = 0;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "a:h:L:P:t:Vv")) != EOF)
switch (ch) {
case 'a':
switch (optarg[0]) {
case 'e':
atype = DB_LOCK_EXPIRE;
break;
case 'm':
atype = DB_LOCK_MAXLOCKS;
break;
case 'n':
atype = DB_LOCK_MINLOCKS;
break;
case 'o':
atype = DB_LOCK_OLDEST;
break;
case 'W':
atype = DB_LOCK_MAXWRITE;
break;
case 'w':
atype = DB_LOCK_MINWRITE;
break;
case 'y':
atype = DB_LOCK_YOUNGEST;
break;
default:
return (db_deadlock_usage());
/* NOTREACHED */
}
if (optarg[1] != '\0')
return (db_deadlock_usage());
break;
case 'h':
home = optarg;
break;
case 'L':
logfile = optarg;
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, DB_STR_A("5100",
"%s: strdup: %s\n", "%s %s\n"),
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 't':
if ((str = strchr(optarg, '.')) != NULL) {
*str++ = '\0';
if (*str != '\0' && __db_getulong(
NULL, progname, str, 0, LONG_MAX, &usecs))
return (EXIT_FAILURE);
}
if (*optarg != '\0' && __db_getulong(
NULL, progname, optarg, 0, LONG_MAX, &secs))
return (EXIT_FAILURE);
if (secs == 0 && usecs == 0)
return (db_deadlock_usage());
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case 'v':
verbose = 1;
break;
case '?':
default:
return (db_deadlock_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (db_deadlock_usage());
/* Handle possible interruptions. */
__db_util_siginit();
/* Log our process ID. */
if (logfile != NULL && __db_util_logset(progname, logfile))
goto err;
/*
* Create an environment object and initialize it for error
* reporting.
*/
if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
goto err;
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
if (passwd != NULL && (ret = dbenv->set_encrypt(dbenv,
passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
if (verbose) {
(void)dbenv->set_verbose(dbenv, DB_VERB_DEADLOCK, 1);
(void)dbenv->set_verbose(dbenv, DB_VERB_WAITSFOR, 1);
}
/* An environment is required. */
if ((ret = dbenv->open(dbenv, home, DB_USE_ENVIRON, 0)) != 0) {
dbenv->err(dbenv, ret, DB_STR("5101", "open"));
goto err;
}
while (!__db_util_interrupted()) {
if (verbose) {
(void)time(&now);
dbenv->errx(dbenv, DB_STR_A("5102",
"running at %.24s", "%.24s"),
__os_ctime(&now, time_buf));
}
if ((ret =
dbenv->lock_detect(dbenv, 0, atype, &rejected)) != 0) {
dbenv->err(dbenv, ret, "DB_ENV->lock_detect");
goto err;
}
if (verbose)
dbenv->errx(dbenv, DB_STR_A("5103",
"rejected %d locks", "%d"), rejected);
/* Make a pass every "secs" secs and "usecs" usecs. */
if (secs == 0 && usecs == 0)
break;
__os_yield(dbenv->env, secs, usecs);
}
if (0) {
err: exitval = 1;
}
/* Clean up the logfile. */
if (logfile != NULL)
(void)remove(logfile);
/* Clean up the environment. */
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
int
db_deadlock_usage()
{
(void)fprintf(stderr,
"usage: %s [-Vv] [-a e | m | n | o | W | w | y]\n\t%s\n", progname,
"[-h home] [-L file] [-P password] [-t sec.usec]");
return (EXIT_FAILURE);
}
int
db_deadlock_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5104",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname, DB_VERSION_MAJOR,
DB_VERSION_MINOR, v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_deadlock20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_deadlock20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_deadlock20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_deadlock
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_deadlock22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_deadlock22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_deadlock22.out
<END>
<BEGIN> BUILD_RULE_db_deadlock22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_deadlock
<END>

View file

@ -0,0 +1,543 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#include "dbinc/db_page.h"
#include "dbinc/db_am.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
int db_dump_db_init __P((DB_ENV *, char *, int, u_int32_t, int *));
int db_dump_dump_sub __P((DB_ENV *, DB *, char *, int, int));
int db_dump_main __P((int, char *[]));
int db_dump_show_subs __P((DB *));
int db_dump_usage __P((void));
int db_dump_version_check __P((void));
const char *progname;
int
db_dump(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_dump", args, &argc, &argv);
return (db_dump_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_dump_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
DB *dbp;
db_pgno_t first, last;
u_int32_t cache;
int ch;
int exitval, keyflag, lflag, mflag, nflag, pflag, sflag, private;
int ret, Rflag, rflag, resize;
char *data_len, *dbname, *dopt, *filename, *home, *passwd;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_dump_version_check()) != 0)
return (ret);
dbenv = NULL;
dbp = NULL;
exitval = lflag = mflag = nflag = pflag = rflag = Rflag = sflag = 0;
first = last = PGNO_INVALID;
keyflag = 0;
cache = MEGABYTE;
private = 0;
data_len = dbname = dopt = filename = home = passwd = NULL;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "d:D:f:F:h:klL:m:NpP:rRs:V")) != EOF)
switch (ch) {
case 'd':
dopt = optarg;
break;
case 'D':
data_len = optarg;
break;
case 'f':
if (freopen(optarg, "w", stdout) == NULL) {
fprintf(stderr, DB_STR_A("5108",
"%s: %s: reopen: %s\n", "%s %s %s\n"),
progname, optarg, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 'F':
first = (db_pgno_t)strtoul(optarg, NULL, 10);
break;
case 'h':
home = optarg;
break;
case 'k':
keyflag = 1;
break;
case 'l':
lflag = 1;
break;
case 'L':
last = (db_pgno_t)strtoul(optarg, NULL, 10);
break;
case 'm':
mflag = 1;
dbname = optarg;
break;
case 'N':
nflag = 1;
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, DB_STR_A("5109",
"%s: strdup: %s\n", "%s %s\n"),
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 'p':
pflag = 1;
break;
case 's':
sflag = 1;
dbname = optarg;
break;
case 'R':
Rflag = 1;
/* DB_AGGRESSIVE requires DB_SALVAGE */
/* FALLTHROUGH */
case 'r':
rflag = 1;
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case '?':
default:
return (db_dump_usage());
}
argc -= optind;
argv += optind;
/*
* A file name must be specified, unless we're looking for an in-memory
* db, in which case it must not.
*/
if (argc == 0 && mflag)
filename = NULL;
else if (argc == 1 && !mflag)
filename = argv[0];
else
return (db_dump_usage());
if (dopt != NULL && pflag) {
fprintf(stderr, DB_STR_A("5110",
"%s: the -d and -p options may not both be specified\n",
"%s\n"), progname);
return (EXIT_FAILURE);
}
if (lflag && sflag) {
fprintf(stderr, DB_STR_A("5111",
"%s: the -l and -s options may not both be specified\n",
"%s\n"), progname);
return (EXIT_FAILURE);
}
if ((lflag || sflag) && mflag) {
fprintf(stderr, DB_STR_A("5112",
"%s: the -m option may not be specified with -l or -s\n",
"%s\n"), progname);
return (EXIT_FAILURE);
}
if (keyflag && rflag) {
fprintf(stderr, DB_STR_A("5113",
"%s: the -k and -r or -R options may not both be specified\n",
"%s\n"), progname);
return (EXIT_FAILURE);
}
if ((mflag || sflag) && rflag) {
fprintf(stderr, DB_STR_A("5114",
"%s: the -r or R options may not be specified with -m or -s\n",
"%s\n"), progname);
return (EXIT_FAILURE);
}
/* Handle possible interruptions. */
__db_util_siginit();
/*
* Create an environment object and initialize it for error
* reporting.
*/
retry: if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
goto err;
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
if (data_len != NULL)
(void)dbenv->set_data_len(dbenv, (u_int32_t)atol(data_len));
if (nflag) {
if ((ret = dbenv->set_flags(dbenv, DB_NOLOCKING, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOLOCKING");
goto err;
}
if ((ret = dbenv->set_flags(dbenv, DB_NOPANIC, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOPANIC");
goto err;
}
}
if (passwd != NULL && (ret = dbenv->set_encrypt(dbenv,
passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/* Initialize the environment. */
if (db_dump_db_init(dbenv, home, rflag, cache, &private) != 0)
goto err;
/* Create the DB object and open the file. */
if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
dbenv->err(dbenv, ret, "db_create");
goto err;
}
#if 0
Set application-specific btree compression functions here. For example:
if ((ret = dbp->set_bt_compress(
dbp, local_compress_func, local_decompress_func)) != 0) {
dbp->err(dbp, ret, "DB->set_bt_compress");
goto err;
}
#endif
/*
* If we're salvaging, don't do an open; it might not be safe.
* Dispatch now into the salvager.
*/
if (rflag) {
/* The verify method is a destructor. */
ret = dbp->verify(dbp, filename, NULL, stdout,
DB_SALVAGE |
(Rflag ? DB_AGGRESSIVE : 0) |
(pflag ? DB_PRINTABLE : 0));
dbp = NULL;
if (ret != 0)
goto err;
goto done;
}
if ((ret = dbp->open(dbp, NULL,
filename, dbname, DB_UNKNOWN, DB_RDWRMASTER|DB_RDONLY, 0)) != 0) {
dbp->err(dbp, ret, DB_STR_A("5115", "open: %s", "%s"),
filename == NULL ? dbname : filename);
goto err;
}
if (private != 0) {
if ((ret = __db_util_cache(dbp, &cache, &resize)) != 0)
goto err;
if (resize) {
(void)dbp->close(dbp, 0);
dbp = NULL;
(void)dbenv->close(dbenv, 0);
dbenv = NULL;
goto retry;
}
}
if (dopt != NULL) {
if ((ret =
__db_dumptree(dbp, NULL, dopt, NULL, first, last)) != 0) {
dbp->err(dbp, ret, "__db_dumptree: %s", filename);
goto err;
}
} else if (lflag) {
if (dbp->get_multiple(dbp)) {
if (db_dump_show_subs(dbp))
goto err;
} else {
dbp->errx(dbp, DB_STR_A("5116",
"%s: does not contain multiple databases", "%s"),
filename);
goto err;
}
} else {
if (dbname == NULL && dbp->get_multiple(dbp)) {
if (db_dump_dump_sub(dbenv, dbp, filename, pflag, keyflag))
goto err;
} else
if (dbp->dump(dbp, NULL,
__db_pr_callback, stdout, pflag, keyflag))
goto err;
}
if (0) {
err: exitval = 1;
}
done: if (dbp != NULL && (ret = dbp->close(dbp, 0)) != 0) {
exitval = 1;
dbenv->err(dbenv, ret, DB_STR("5117", "close"));
}
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
/*
* db_init --
* Initialize the environment.
*/
int
db_dump_db_init(dbenv, home, is_salvage, cache, is_privatep)
DB_ENV *dbenv;
char *home;
int is_salvage;
u_int32_t cache;
int *is_privatep;
{
int ret;
/*
* Try and use the underlying environment when opening a database.
* We wish to use the buffer pool so our information is as up-to-date
* as possible, even if the mpool cache hasn't been flushed.
*
* If we are not doing a salvage, we want to join the environment;
* if a locking system is present, this will let us use it and be
* safe to run concurrently with other threads of control. (We never
* need to use transactions explicitly, as we're read-only.) Note
* that in CDB, too, this will configure our environment
* appropriately, and our cursors will (correctly) do locking as CDB
* read cursors.
*
* If we are doing a salvage, the verification code will protest
* if we initialize transactions, logging, or locking; do an
* explicit DB_INIT_MPOOL to try to join any existing environment
* before we create our own.
*/
*is_privatep = 0;
if ((ret = dbenv->open(dbenv, home,
DB_USE_ENVIRON | (is_salvage ? DB_INIT_MPOOL : 0), 0)) == 0)
return (0);
if (ret == DB_VERSION_MISMATCH)
goto err;
/*
* An environment is required because we may be trying to look at
* databases in directories other than the current one. We could
* avoid using an environment iff the -h option wasn't specified,
* but that seems like more work than it's worth.
*
* No environment exists (or, at least no environment that includes
* an mpool region exists). Create one, but make it private so that
* no files are actually created.
*/
*is_privatep = 1;
if ((ret = dbenv->set_cachesize(dbenv, 0, cache, 1)) == 0 &&
(ret = dbenv->open(dbenv, home,
DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE | DB_USE_ENVIRON, 0)) == 0)
return (0);
/* An environment is required. */
err: dbenv->err(dbenv, ret, "DB_ENV->open");
return (1);
}
/*
* dump_sub --
* Dump out the records for a DB containing subdatabases.
*/
int
db_dump_dump_sub(dbenv, parent_dbp, parent_name, pflag, keyflag)
DB_ENV *dbenv;
DB *parent_dbp;
char *parent_name;
int pflag, keyflag;
{
DB *dbp;
DBC *dbcp;
DBT key, data;
int ret;
char *subdb;
/*
* Get a cursor and step through the database, dumping out each
* subdatabase.
*/
if ((ret = parent_dbp->cursor(parent_dbp, NULL, &dbcp, 0)) != 0) {
dbenv->err(dbenv, ret, "DB->cursor");
return (1);
}
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
while ((ret = dbcp->get(dbcp, &key, &data,
DB_IGNORE_LEASE | DB_NEXT)) == 0) {
/* Nul terminate the subdatabase name. */
if ((subdb = malloc(key.size + 1)) == NULL) {
dbenv->err(dbenv, ENOMEM, NULL);
return (1);
}
memcpy(subdb, key.data, key.size);
subdb[key.size] = '\0';
/* Create the DB object and open the file. */
if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
dbenv->err(dbenv, ret, "db_create");
free(subdb);
return (1);
}
#if 0
Set application-specific btree compression functions here.
For example:
if ((ret = dbp->set_bt_compress(
dbp, local_compress_func, local_decompress_func)) != 0) {
dbp->err(dbp, ret, "DB->set_bt_compress");
goto err;
}
#endif
if ((ret = dbp->open(dbp, NULL,
parent_name, subdb, DB_UNKNOWN, DB_RDONLY, 0)) != 0)
dbp->err(dbp, ret,
"DB->open: %s:%s", parent_name, subdb);
if (ret == 0 && dbp->dump(
dbp, subdb, __db_pr_callback, stdout, pflag, keyflag))
ret = 1;
(void)dbp->close(dbp, 0);
free(subdb);
if (ret != 0)
return (1);
}
if (ret != DB_NOTFOUND) {
parent_dbp->err(parent_dbp, ret, "DBcursor->get");
return (1);
}
if ((ret = dbcp->close(dbcp)) != 0) {
parent_dbp->err(parent_dbp, ret, "DBcursor->close");
return (1);
}
return (0);
}
/*
* show_subs --
* Display the subdatabases for a database.
*/
int
db_dump_show_subs(dbp)
DB *dbp;
{
DBC *dbcp;
DBT key, data;
int ret;
/*
* Get a cursor and step through the database, printing out the key
* of each key/data pair.
*/
if ((ret = dbp->cursor(dbp, NULL, &dbcp, 0)) != 0) {
dbp->err(dbp, ret, "DB->cursor");
return (1);
}
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));
while ((ret = dbcp->get(dbcp, &key, &data,
DB_IGNORE_LEASE | DB_NEXT)) == 0) {
if ((ret = dbp->dbenv->prdbt(
&key, 1, NULL, stdout, __db_pr_callback, 0, 0)) != 0) {
dbp->errx(dbp, NULL);
return (1);
}
}
if (ret != DB_NOTFOUND) {
dbp->err(dbp, ret, "DBcursor->get");
return (1);
}
if ((ret = dbcp->close(dbcp)) != 0) {
dbp->err(dbp, ret, "DBcursor->close");
return (1);
}
return (0);
}
/*
* usage --
* Display the usage message.
*/
int
db_dump_usage()
{
(void)fprintf(stderr, "usage: %s [-klNprRV]\n\t%s\n",
progname,
"[-d ahr] [-f output] [-h home] [-P password] [-s database] db_file");
(void)fprintf(stderr, "usage: %s [-kNpV] %s\n",
progname, "[-d ahr] [-f output] [-h home] -m database");
return (EXIT_FAILURE);
}
int
db_dump_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5118",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname,
DB_VERSION_MAJOR, DB_VERSION_MINOR,
v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}

142
build_vxworks/util/db_dump20.wpj Executable file
View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_dump20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_dump20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_dump20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_dump
<END>

176
build_vxworks/util/db_dump22.wpj Executable file
View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_dump22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_dump22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_dump22.out
<END>
<BEGIN> BUILD_RULE_db_dump22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_dump
<END>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_hotbackup20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_hotbackup20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_hotbackup20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_hotbackup
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_hotbackup22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_hotbackup22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_hotbackup22.out
<END>
<BEGIN> BUILD_RULE_db_hotbackup22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_hotbackup
<END>

1517
build_vxworks/util/db_load.c Normal file

File diff suppressed because it is too large Load diff

142
build_vxworks/util/db_load20.wpj Executable file
View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_load20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_load20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_load20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_load
<END>

176
build_vxworks/util/db_load22.wpj Executable file
View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_load22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_load22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_load22.out
<END>
<BEGIN> BUILD_RULE_db_load22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_load
<END>

View file

@ -0,0 +1,353 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id: db_log_verify.c,v 0f73af5ae3da 2010/05/10 05:38:40 alexander $
*/
#include "db_config.h"
#include "db_int.h"
#define MB 1024 * 1024
int db_log_verify_main __P((int, char *[]));
int db_log_verify_lsn_arg __P((char *, DB_LSN *));
int db_log_verify_usage __P((void));
int db_log_verify_version_check __P((void));
int db_log_verify_app_record __P((DB_ENV *, DBT *, DB_LSN *, db_recops));
const char *progname;
int
db_log_verify(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_log_verify", args, &argc, &argv);
return (db_log_verify_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_log_verify_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
DB_LSN start, stop;
int ch, cmb, exitval, nflag, rflag, ret, vsn_mismtch;
time_t starttime, endtime;
char *dbfile, *dbname, *home, *lvhome, *passwd;
DB_LOG_VERIFY_CONFIG lvconfig;
vsn_mismtch = 0;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_log_verify_version_check()) != 0)
return (ret);
dbenv = NULL;
dbfile = dbname = home = lvhome = passwd = NULL;
exitval = nflag = rflag = 0;
starttime = endtime = 0;
ZERO_LSN(start);
ZERO_LSN(stop);
memset(&lvconfig, 0, sizeof(lvconfig));
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "b:cC:d:D:e:h:H:NP:Vvs:z:")) != EOF)
switch (ch) {
case 'b':
/* Don't use getsubopt(3), not all systems have it. */
if (db_log_verify_lsn_arg(optarg, &start))
return (db_log_verify_usage());
break;
case 'c':
lvconfig.continue_after_fail = 1;
break;
case 'C':
cmb = atoi(optarg);
if (cmb <= 0)
return (db_log_verify_usage());
lvconfig.cachesize = cmb * MB;
break;
case 'd':
dbfile = optarg;
break;
case 'D':
dbname = optarg;
break;
case 'e':
/* Don't use getsubopt(3), not all systems have it. */
if (db_log_verify_lsn_arg(optarg, &stop))
return (db_log_verify_usage());
break;
case 'h':
home = optarg;
break;
case 'H':
lvhome = optarg;
break;
case 'N':
nflag = 1;
break;
case 'P':
if ((ret = __os_strdup(NULL, optarg, &passwd)) != 0) {
__db_err(NULL, ret, "__os_strdup: ");
return (EXIT_FAILURE);
}
memset(optarg, 0, strlen(optarg));
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case 'v':
lvconfig.verbose = 1;
break;
case 's':
starttime = atoi(optarg);
break;
case 'z':
endtime = atoi(optarg);
break;
case '?':
default:
return (db_log_verify_usage());
}
argc -= optind;
argv += optind;
if (argc > 0)
return (db_log_verify_usage());
lvconfig.temp_envhome = lvhome;
lvconfig.dbfile = dbfile;
lvconfig.dbname = dbname;
lvconfig.start_lsn = start;
lvconfig.end_lsn = stop;
lvconfig.start_time = starttime;
lvconfig.end_time = endtime;
create_again:
/*
* Create an environment object and initialize it for error
* reporting.
*/
if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
goto err;
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
if (nflag) {
if ((ret = dbenv->set_flags(dbenv, DB_NOLOCKING, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOLOCKING");
goto err;
}
if ((ret = dbenv->set_flags(dbenv, DB_NOPANIC, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOPANIC");
goto err;
}
}
if (passwd != NULL && (ret = dbenv->set_encrypt(dbenv,
passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/*
* Set up an app-specific dispatch function so that we can gracefully
* handle app-specific log records.
*/
if ((ret = dbenv->set_app_dispatch(
dbenv, db_log_verify_app_record)) != 0) {
dbenv->err(dbenv, ret, "app_dispatch");
goto err;
}
/*
* An environment is required, but as all we're doing is reading log
* files, we create one if it doesn't already exist. If we create
* it, create it private so it automatically goes away when we're done.
* If we are reading the replication database, do not open the env
* with logging, because we don't want to log the opens.
*/
if (!vsn_mismtch && (ret = dbenv->open(dbenv, home,
DB_USE_ENVIRON, 0)) != 0) {
if (dbenv->close(dbenv, 0) != 0) {
dbenv = NULL;
goto err;
}
vsn_mismtch = 1;
goto create_again;
}
if (vsn_mismtch && (ret = dbenv->open(dbenv, home, DB_CREATE |
DB_INIT_LOG | DB_PRIVATE | DB_USE_ENVIRON, 0)) != 0) {
dbenv->err(dbenv, ret, "DB_ENV->open");
goto err;
}
/* Handle possible interruptions. */
__db_util_siginit();
if ((ret = dbenv->log_verify(dbenv, &lvconfig)) != 0)
goto err;
if (0) {
err: exitval = 1;
}
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
/* Resend any caught signal. */
__db_util_sigresend();
if (passwd != NULL)
__os_free(NULL, passwd);
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
int
db_log_verify_usage()
{
fprintf(stderr, "\nusage: %s %s\n%s\n%s\n%s\n%s\n", progname,
"[-NcvV] [-h home] "
"[-H temporary environment home for internal use]",
"[-P password] [-C cache size in megabytes]",
"[-d db file name] [-D db name]",
"[-b file/offset] [-e file/offset]",
"[-s start time] [-z end time]");
return (EXIT_FAILURE);
}
int
db_log_verify_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5003",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname,
DB_VERSION_MAJOR, DB_VERSION_MINOR,
v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}
/*
* Print an unknown, application-specific log record as best we can, this is
* all we can do to such a log record during the verification. The counting
* is done in __db_dispatch because we can't pass the log verify handle into
* this function.
*/
int
db_log_verify_app_record(dbenv, dbt, lsnp, op)
DB_ENV *dbenv;
DBT *dbt;
DB_LSN *lsnp;
db_recops op;
{
u_int32_t i, len, len2, rectype;
int ret;
u_int8_t ch;
char *buf, *p;
DB_ASSERT(dbenv->env, op == DB_TXN_LOG_VERIFY);
COMPQUIET(op, DB_TXN_LOG_VERIFY);
ch = 0;
ret = 0;
i = len = len2 = rectype = 0;
buf = p = NULL;
/*
* Fetch the rectype, which always must be at the beginning of the
* record (if dispatching is to work at all).
*/
memcpy(&rectype, dbt->data, sizeof(rectype));
/*
* Applications may wish to customize the output here based on the
* rectype. We just print the entire log record in the generic
* mixed-hex-and-printable format we use for binary data.
*/
if ((ret = __os_malloc(dbenv->env,
len = 256 + 2 * dbt->size, &buf)) != 0)
goto err;
memset(buf, 0, len);
snprintf(buf, len, DB_STR_A("5004",
"[%lu][%lu] App-specific log record: %lu\n\tdata: ",
"%lu %lu %lu"), (u_long)lsnp->file, (u_long)lsnp->offset,
(u_long)rectype);
/*
* Each unprintable character takes up several bytes, so be aware of
* memory violation.
*/
for (i = 0; i < dbt->size && len2 < len; i++) {
ch = ((u_int8_t *)dbt->data)[i];
len2 = (u_int32_t)strlen(buf);
p = buf + len2;
snprintf(p, len - len2 - 1,
isprint(ch) || ch == 0x0a ? "%c" : "%#x ", ch);
}
len2 = (u_int32_t)strlen(buf);
p = buf + len2;
snprintf(p, len - len2 - 1, "\n\n");
__db_msg(dbenv->env, "%s", buf);
err: if (buf != NULL)
__os_free(dbenv->env, buf);
return (ret);
}
/*
* lsn_arg --
* Parse a LSN argument.
*/
int
db_log_verify_lsn_arg(arg, lsnp)
char *arg;
DB_LSN *lsnp;
{
u_long uval;
char *p;
/*
* Expected format is: lsn.file/lsn.offset.
*/
if ((p = strchr(arg, '/')) == NULL)
return (1);
*p = '\0';
if (__db_getulong(NULL, progname, arg, 0, UINT32_MAX, &uval))
return (1);
lsnp->file = uval;
if (__db_getulong(NULL, progname, p + 1, 0, UINT32_MAX, &uval))
return (1);
lsnp->offset = uval;
return (0);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_log_verify20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_log_verify20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_log_verify20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_log_verify
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_log_verify22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_log_verify22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_log_verify22.out
<END>
<BEGIN> BUILD_RULE_db_log_verify22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_log_verify
<END>

View file

@ -0,0 +1,693 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#include "dbinc/db_page.h"
#include "dbinc/btree.h"
#include "dbinc/fop.h"
#include "dbinc/hash.h"
#ifdef HAVE_HEAP
#include "dbinc/heap.h"
#endif
#include "dbinc/qam.h"
#include "dbinc/txn.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
int db_printlog_print_app_record __P((DB_ENV *, DBT *, DB_LSN *, db_recops));
int db_printlog_env_init_print __P((ENV *, u_int32_t, DB_DISTAB *));
int db_printlog_env_init_print_42 __P((ENV *, DB_DISTAB *));
int db_printlog_env_init_print_43 __P((ENV *, DB_DISTAB *));
int db_printlog_env_init_print_47 __P((ENV *, DB_DISTAB *));
int db_printlog_env_init_print_48 __P((ENV *, DB_DISTAB *));
int db_printlog_lsn_arg __P((char *, DB_LSN *));
int db_printlog_main __P((int, char *[]));
int db_printlog_open_rep_db __P((DB_ENV *, DB **, DBC **));
int db_printlog_usage __P((void));
int db_printlog_version_check __P((void));
const char *progname;
int
db_printlog(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_printlog", args, &argc, &argv);
return (db_printlog_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_printlog_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DBC *dbc;
DBT data, keydbt;
DB_DISTAB dtab;
DB_ENV *dbenv;
DB_LOG dblog;
DB_LOGC *logc;
DB_LSN key, start, stop, verslsn;
ENV *env;
u_int32_t logcflag, newversion, version;
int ch, cmp, exitval, i, nflag, rflag, ret, repflag;
char *data_len, *home, *passwd;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_printlog_version_check()) != 0)
return (ret);
dbp = NULL;
dbc = NULL;
dbenv = NULL;
env = NULL;
logc = NULL;
ZERO_LSN(start);
ZERO_LSN(stop);
exitval = nflag = rflag = repflag = 0;
data_len = home = passwd = NULL;
memset(&dtab, 0, sizeof(dtab));
memset(&dblog, 0, sizeof(dblog));
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "b:D:e:h:NP:rRV")) != EOF)
switch (ch) {
case 'b':
/* Don't use getsubopt(3), not all systems have it. */
if (db_printlog_lsn_arg(optarg, &start))
return (db_printlog_usage());
break;
case 'D':
data_len = optarg;
break;
case 'e':
/* Don't use getsubopt(3), not all systems have it. */
if (db_printlog_lsn_arg(optarg, &stop))
return (db_printlog_usage());
break;
case 'h':
home = optarg;
break;
case 'N':
nflag = 1;
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, DB_STR_A("5010",
"%s: strdup: %s\n", "%s %s\n"),
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 'r':
rflag = 1;
break;
case 'R': /* Undocumented */
repflag = 1;
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case '?':
default:
return (db_printlog_usage());
}
argc -= optind;
argv += optind;
if (argc > 0)
return (db_printlog_usage());
/* Handle possible interruptions. */
__db_util_siginit();
/*
* Create an environment object and initialize it for error
* reporting.
*/
if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
goto err;
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
dbenv->set_msgfile(dbenv, stdout);
if (data_len != NULL)
(void)dbenv->set_data_len(dbenv, (u_int32_t)atol(data_len));
if (nflag) {
if ((ret = dbenv->set_flags(dbenv, DB_NOLOCKING, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOLOCKING");
goto err;
}
if ((ret = dbenv->set_flags(dbenv, DB_NOPANIC, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOPANIC");
goto err;
}
}
if (passwd != NULL && (ret = dbenv->set_encrypt(dbenv,
passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/*
* Set up an app-specific dispatch function so that we can gracefully
* handle app-specific log records.
*/
if ((ret = dbenv->set_app_dispatch(
dbenv, db_printlog_print_app_record)) != 0) {
dbenv->err(dbenv, ret, "app_dispatch");
goto err;
}
/*
* An environment is required, but as all we're doing is reading log
* files, we create one if it doesn't already exist. If we create
* it, create it private so it automatically goes away when we're done.
* If we are reading the replication database, do not open the env
* with logging, because we don't want to log the opens.
*/
if (repflag) {
if ((ret = dbenv->open(dbenv, home,
DB_INIT_MPOOL | DB_USE_ENVIRON, 0)) != 0 &&
(ret == DB_VERSION_MISMATCH ||
(ret = dbenv->open(dbenv, home,
DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE | DB_USE_ENVIRON, 0))
!= 0)) {
dbenv->err(dbenv, ret, "DB_ENV->open");
goto err;
}
} else if ((ret = dbenv->open(dbenv, home, DB_USE_ENVIRON, 0)) != 0 &&
(ret == DB_VERSION_MISMATCH ||
(ret = dbenv->open(dbenv, home,
DB_CREATE | DB_INIT_LOG | DB_PRIVATE | DB_USE_ENVIRON, 0)) != 0)) {
dbenv->err(dbenv, ret, "DB_ENV->open");
goto err;
}
env = dbenv->env;
/* Allocate a log cursor. */
if (repflag) {
if ((ret = db_printlog_open_rep_db(dbenv, &dbp, &dbc)) != 0)
goto err;
} else if ((ret = dbenv->log_cursor(dbenv, &logc, 0)) != 0) {
dbenv->err(dbenv, ret, "DB_ENV->log_cursor");
goto err;
}
if (IS_ZERO_LSN(start)) {
memset(&keydbt, 0, sizeof(keydbt));
logcflag = rflag ? DB_PREV : DB_NEXT;
} else {
key = start;
logcflag = DB_SET;
}
memset(&data, 0, sizeof(data));
/*
* If we're using the repflag, we're immediately initializing
* the print table. Use the current version. If we're printing
* the log then initialize version to 0 so that we get the
* correct version right away.
*/
if (repflag)
version = DB_LOGVERSION;
else
version = 0;
ZERO_LSN(verslsn);
/* Initialize print callbacks if repflag. */
if (repflag &&
(ret = db_printlog_env_init_print(env, version, &dtab)) != 0) {
dbenv->err(dbenv, ret, DB_STR("5011",
"callback: initialization"));
goto err;
}
for (; !__db_util_interrupted(); logcflag = rflag ? DB_PREV : DB_NEXT) {
if (repflag) {
ret = dbc->get(dbc, &keydbt, &data, logcflag);
if (ret == 0)
key = ((__rep_control_args *)keydbt.data)->lsn;
} else
ret = logc->get(logc, &key, &data, logcflag);
if (ret != 0) {
if (ret == DB_NOTFOUND)
break;
dbenv->err(dbenv,
ret, repflag ? "DBC->get" : "DB_LOGC->get");
goto err;
}
/*
* We may have reached the end of the range we're displaying.
*/
if (!IS_ZERO_LSN(stop)) {
cmp = LOG_COMPARE(&key, &stop);
if ((rflag && cmp < 0) || (!rflag && cmp > 0))
break;
}
if (!repflag && key.file != verslsn.file) {
/*
* If our log file changed, we need to see if the
* version of the log file changed as well.
* If it changed, reset the print table.
*/
if ((ret = logc->version(logc, &newversion, 0)) != 0) {
dbenv->err(dbenv, ret, "DB_LOGC->version");
goto err;
}
if (version != newversion) {
version = newversion;
if ((ret = db_printlog_env_init_print(env, version,
&dtab)) != 0) {
dbenv->err(dbenv, ret, DB_STR("5012",
"callback: initialization"));
goto err;
}
}
}
ret = __db_dispatch(env,
&dtab, &data, &key, DB_TXN_PRINT, (void*)&dblog);
/*
* XXX
* Just in case the underlying routines don't flush.
*/
(void)fflush(stdout);
if (ret != 0) {
dbenv->err(dbenv, ret, DB_STR("5013",
"tx: dispatch"));
goto err;
}
}
if (0) {
err: exitval = 1;
}
/*
* Call __db_close to free the dummy DB handles that were used
* by the print routines.
*/
for (i = 0; i < dblog.dbentry_cnt; i++)
if (dblog.dbentry[i].dbp != NULL)
(void)__db_close(dblog.dbentry[i].dbp, NULL, DB_NOSYNC);
if (env != NULL && dblog.dbentry != NULL)
__os_free(env, dblog.dbentry);
if (logc != NULL && (ret = logc->close(logc, 0)) != 0)
exitval = 1;
if (dbc != NULL && (ret = dbc->close(dbc)) != 0)
exitval = 1;
if (dbp != NULL && (ret = dbp->close(dbp, 0)) != 0)
exitval = 1;
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
/*
* env_init_print --
*/
int
db_printlog_env_init_print(env, version, dtabp)
ENV *env;
u_int32_t version;
DB_DISTAB *dtabp;
{
int ret;
/*
* We need to prime the print table with the current print
* functions. Then we overwrite only specific entries based on
* each previous version we support.
*/
if ((ret = __bam_init_print(env, dtabp)) != 0)
goto err;
if ((ret = __crdel_init_print(env, dtabp)) != 0)
goto err;
if ((ret = __db_init_print(env, dtabp)) != 0)
goto err;
if ((ret = __dbreg_init_print(env, dtabp)) != 0)
goto err;
if ((ret = __fop_init_print(env, dtabp)) != 0)
goto err;
#ifdef HAVE_HASH
if ((ret = __ham_init_print(env, dtabp)) != 0)
goto err;
#endif
#ifdef HAVE_HEAP
if ((ret = __heap_init_print(env, dtabp)) != 0)
goto err;
#endif
#ifdef HAVE_QUEUE
if ((ret = __qam_init_print(env, dtabp)) != 0)
goto err;
#endif
#ifdef HAVE_REPLICATION_THREADS
if ((ret = __repmgr_init_print(env, dtabp)) != 0)
goto err;
#endif
if ((ret = __txn_init_print(env, dtabp)) != 0)
goto err;
/*
* There are no log differences between 5.0 and 5.2, but 5.2
* is a superset of 5.0. Patch 2 of 4.8 added __db_pg_trunc
* but didn't alter any log records so we want the same
* override as 4.8
*/
if (version > DB_LOGVERSION_48p2)
goto done;
if ((ret = db_printlog_env_init_print_48(env, dtabp)) != 0)
goto err;
if (version >= DB_LOGVERSION_48)
goto done;
if ((ret = db_printlog_env_init_print_47(env, dtabp)) != 0)
goto err;
if (version == DB_LOGVERSION_47)
goto done;
/*
* There are no log record/recovery differences between 4.4 and 4.5.
* The log version changed due to checksum. There are no log recovery
* differences between 4.5 and 4.6. The name of the rep_gen in
* txn_checkpoint changed (to spare, since we don't use it anymore).
*/
if (version >= DB_LOGVERSION_44)
goto done;
if ((ret = db_printlog_env_init_print_43(env, dtabp)) != 0)
goto err;
if (version == DB_LOGVERSION_43)
goto done;
if (version != DB_LOGVERSION_42) {
__db_errx(env, DB_STR_A("5014",
"Unknown version %lu", "%lu"), (u_long)version);
ret = EINVAL;
goto err;
}
ret = db_printlog_env_init_print_42(env, dtabp);
done:
err: return (ret);
}
int
db_printlog_env_init_print_42(env, dtabp)
ENV *env;
DB_DISTAB *dtabp;
{
int ret;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_relink_42_print, DB___db_relink_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_pg_alloc_42_print, DB___db_pg_alloc_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_pg_free_42_print, DB___db_pg_free_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_pg_freedata_42_print, DB___db_pg_freedata_42)) != 0)
goto err;
#if HAVE_HASH
if ((ret = __db_add_recovery_int(env, dtabp,
__ham_metagroup_42_print, DB___ham_metagroup_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__ham_groupalloc_42_print, DB___ham_groupalloc_42)) != 0)
goto err;
#endif
if ((ret = __db_add_recovery_int(env, dtabp,
__txn_ckp_42_print, DB___txn_ckp_42)) != 0)
goto err;
err:
return (ret);
}
int
db_printlog_env_init_print_43(env, dtabp)
ENV *env;
DB_DISTAB *dtabp;
{
int ret;
if ((ret = __db_add_recovery_int(env, dtabp,
__bam_relink_43_print, DB___bam_relink_43)) != 0)
goto err;
/*
* We want to use the 4.2-based txn_regop record.
*/
if ((ret = __db_add_recovery_int(env, dtabp,
__txn_regop_42_print, DB___txn_regop_42)) != 0)
goto err;
err:
return (ret);
}
/*
* env_init_print_47 --
*
*/
int
db_printlog_env_init_print_47(env, dtabp)
ENV *env;
DB_DISTAB *dtabp;
{
int ret;
if ((ret = __db_add_recovery_int(env, dtabp,
__bam_split_42_print, DB___bam_split_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_pg_sort_44_print, DB___db_pg_sort_44)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_pg_sort_44_print, DB___db_pg_sort_44)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__fop_create_42_print, DB___fop_create_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__fop_write_42_print, DB___fop_write_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__fop_rename_42_print, DB___fop_rename_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__fop_rename_42_print, DB___fop_rename_noundo_46)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__txn_xa_regop_42_print, DB___txn_xa_regop_42)) != 0)
goto err;
err:
return (ret);
}
int
db_printlog_env_init_print_48(env, dtabp)
ENV *env;
DB_DISTAB *dtabp;
{
int ret;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_pg_sort_44_print, DB___db_pg_sort_44)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_addrem_42_print, DB___db_addrem_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__db_big_42_print, DB___db_big_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__bam_split_48_print, DB___bam_split_48)) != 0)
goto err;
#ifdef HAVE_HASH
if ((ret = __db_add_recovery_int(env, dtabp,
__ham_insdel_42_print, DB___ham_insdel_42)) != 0)
goto err;
if ((ret = __db_add_recovery_int(env, dtabp,
__ham_replace_42_print, DB___ham_replace_42)) != 0)
goto err;
#endif
err:
return (ret);
}
int
db_printlog_usage()
{
fprintf(stderr, "usage: %s %s\n", progname,
"[-NrV] [-b file/offset] [-e file/offset] [-h home] [-P password]");
return (EXIT_FAILURE);
}
int
db_printlog_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5015",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname,
DB_VERSION_MAJOR, DB_VERSION_MINOR,
v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}
/* Print an unknown, application-specific log record as best we can. */
int
db_printlog_print_app_record(dbenv, dbt, lsnp, op)
DB_ENV *dbenv;
DBT *dbt;
DB_LSN *lsnp;
db_recops op;
{
u_int32_t i, rectype;
int ch;
DB_ASSERT(dbenv->env, op == DB_TXN_PRINT);
COMPQUIET(dbenv, NULL);
COMPQUIET(op, DB_TXN_PRINT);
/*
* Fetch the rectype, which always must be at the beginning of the
* record (if dispatching is to work at all).
*/
memcpy(&rectype, dbt->data, sizeof(rectype));
/*
* Applications may wish to customize the output here based on the
* rectype. We just print the entire log record in the generic
* mixed-hex-and-printable format we use for binary data.
*/
printf(DB_STR_A("5016",
"[%lu][%lu]application specific record: rec: %lu\n",
"%lu %lu %lu"), (u_long)lsnp->file, (u_long)lsnp->offset,
(u_long)rectype);
printf(DB_STR("5017", "\tdata: "));
for (i = 0; i < dbt->size; i++) {
ch = ((u_int8_t *)dbt->data)[i];
printf(isprint(ch) || ch == 0x0a ? "%c" : "%#x ", ch);
}
printf("\n\n");
return (0);
}
int
db_printlog_open_rep_db(dbenv, dbpp, dbcp)
DB_ENV *dbenv;
DB **dbpp;
DBC **dbcp;
{
int ret;
DB *dbp;
*dbpp = NULL;
*dbcp = NULL;
if ((ret = db_create(dbpp, dbenv, 0)) != 0) {
dbenv->err(dbenv, ret, "db_create");
return (ret);
}
dbp = *dbpp;
if ((ret =
dbp->open(dbp, NULL, REPDBNAME, NULL, DB_BTREE, 0, 0)) != 0) {
dbenv->err(dbenv, ret, "DB->open");
goto err;
}
if ((ret = dbp->cursor(dbp, NULL, dbcp, 0)) != 0) {
dbenv->err(dbenv, ret, "DB->cursor");
goto err;
}
return (0);
err: if (*dbpp != NULL)
(void)(*dbpp)->close(*dbpp, 0);
return (ret);
}
/*
* lsn_arg --
* Parse a LSN argument.
*/
int
db_printlog_lsn_arg(arg, lsnp)
char *arg;
DB_LSN *lsnp;
{
u_long uval;
char *p;
/*
* Expected format is: lsn.file/lsn.offset.
*/
if ((p = strchr(arg, '/')) == NULL)
return (1);
*p = '\0';
if (__db_getulong(NULL, progname, arg, 0, UINT32_MAX, &uval))
return (1);
lsnp->file = uval;
if (__db_getulong(NULL, progname, p + 1, 0, UINT32_MAX, &uval))
return (1);
lsnp->offset = uval;
return (0);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_printlog20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_printlog20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_printlog20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_printlog
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_printlog22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_printlog22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_printlog22.out
<END>
<BEGIN> BUILD_RULE_db_printlog22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_printlog
<END>

View file

@ -0,0 +1,331 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
void db_recover_feedback __P((DB_ENV *, int, int));
int db_recover_main __P((int, char *[]));
int db_recover_read_timestamp __P((char *, time_t *));
int db_recover_usage __P((void));
int db_recover_version_check __P((void));
const char *progname;
int newline_needed;
int
db_recover(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_recover", args, &argc, &argv);
return (db_recover_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_recover_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
time_t timestamp;
u_int32_t flags;
int ch, exitval, fatal_recover, ret, retain_env, set_feedback, verbose;
char *home, *passwd;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_recover_version_check()) != 0)
return (ret);
home = passwd = NULL;
timestamp = 0;
exitval = fatal_recover = retain_env = set_feedback = verbose = 0;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "cefh:P:t:Vv")) != EOF)
switch (ch) {
case 'c':
fatal_recover = 1;
break;
case 'e':
retain_env = 1;
break;
case 'f':
set_feedback = 1;
break;
case 'h':
home = optarg;
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, DB_STR_A("5021",
"%s: strdup: %s\n", "%s %s\n"),
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 't':
if ((ret = db_recover_read_timestamp(optarg, &timestamp)) != 0)
return (ret);
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case 'v':
verbose = 1;
break;
case '?':
default:
return (db_recover_usage());
}
argc -= optind;
argv += optind;
if (argc != 0)
return (db_recover_usage());
/* Handle possible interruptions. */
__db_util_siginit();
/*
* Create an environment object and initialize it for error
* reporting.
*/
if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
return (EXIT_FAILURE);
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
if (set_feedback)
(void)dbenv->set_feedback(dbenv, db_recover_feedback);
if (verbose)
(void)dbenv->set_verbose(dbenv, DB_VERB_RECOVERY, 1);
if (timestamp &&
(ret = dbenv->set_tx_timestamp(dbenv, &timestamp)) != 0) {
dbenv->err(dbenv, ret, "DB_ENV->set_timestamp");
goto err;
}
if (passwd != NULL && (ret = dbenv->set_encrypt(dbenv,
passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/*
* Initialize the environment -- we don't actually do anything
* else, that all that's needed to run recovery.
*
* Note that unless the caller specified the -e option, we use a
* private environment, as we're about to create a region, and we
* don't want to to leave it around. If we leave the region around,
* the application that should create it will simply join it instead,
* and will then be running with incorrectly sized (and probably
* terribly small) caches. Applications that use -e should almost
* certainly use DB_CONFIG files in the directory.
*/
flags = 0;
LF_SET(DB_CREATE | DB_INIT_LOG |
DB_INIT_MPOOL | DB_INIT_TXN | DB_USE_ENVIRON);
LF_SET(fatal_recover ? DB_RECOVER_FATAL : DB_RECOVER);
LF_SET(retain_env ? DB_INIT_LOCK : DB_PRIVATE);
if ((ret = dbenv->open(dbenv, home, flags, 0)) != 0) {
dbenv->err(dbenv, ret, "DB_ENV->open");
goto err;
}
if (0) {
err: exitval = 1;
}
/* Flush to the next line of the output device. */
if (newline_needed)
printf("\n");
/* Clean up the environment. */
if ((ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
/*
* db_recover_feedback --
* Provide feedback on recovery progress.
*/
void
db_recover_feedback(dbenv, opcode, percent)
DB_ENV *dbenv;
int opcode;
int percent;
{
COMPQUIET(dbenv, NULL);
if (opcode == DB_RECOVER) {
printf(DB_STR_A("5022", "\rrecovery %d%% complete", "%d"),
percent);
(void)fflush(stdout);
newline_needed = 1;
}
}
#define ATOI2(ar) ((ar)[0] - '0') * 10 + ((ar)[1] - '0'); (ar) += 2;
/*
* read_timestamp --
* Convert a time argument to Epoch seconds.
*
* Copyright (c) 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
int
db_recover_read_timestamp(arg, timep)
char *arg;
time_t *timep;
{
struct tm *t;
time_t now;
int yearset;
char *p;
/* Start with the current time. */
(void)time(&now);
if ((t = localtime(&now)) == NULL) {
fprintf(stderr, DB_STR_A("5023", "%s: localtime: %s\n",
"%s %s\n"), progname, strerror(errno));
return (EXIT_FAILURE);
}
/* [[CC]YY]MMDDhhmm[.SS] */
if ((p = strchr(arg, '.')) == NULL)
t->tm_sec = 0; /* Seconds defaults to 0. */
else {
if (strlen(p + 1) != 2)
goto terr;
*p++ = '\0';
t->tm_sec = ATOI2(p);
}
yearset = 0;
switch (strlen(arg)) {
case 12: /* CCYYMMDDhhmm */
t->tm_year = ATOI2(arg);
t->tm_year *= 100;
yearset = 1;
/* FALLTHROUGH */
case 10: /* YYMMDDhhmm */
if (yearset) {
yearset = ATOI2(arg);
t->tm_year += yearset;
} else {
yearset = ATOI2(arg);
if (yearset < 69)
t->tm_year = yearset + 2000;
else
t->tm_year = yearset + 1900;
}
t->tm_year -= 1900; /* Convert to UNIX time. */
/* FALLTHROUGH */
case 8: /* MMDDhhmm */
t->tm_mon = ATOI2(arg);
--t->tm_mon; /* Convert from 01-12 to 00-11 */
t->tm_mday = ATOI2(arg);
t->tm_hour = ATOI2(arg);
t->tm_min = ATOI2(arg);
break;
default:
goto terr;
}
t->tm_isdst = -1; /* Figure out DST. */
*timep = mktime(t);
if (*timep == -1) {
terr: fprintf(stderr, DB_STR_A("5024",
"%s: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]",
"%s"), progname);
return (EXIT_FAILURE);
}
return (0);
}
int
db_recover_usage()
{
(void)fprintf(stderr, "usage: %s %s\n", progname,
"[-cefVv] [-h home] [-P password] [-t [[CC]YY]MMDDhhmm[.SS]]");
return (EXIT_FAILURE);
}
int
db_recover_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5025",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname,
DB_VERSION_MAJOR, DB_VERSION_MINOR,
v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_recover20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_recover20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_recover20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_recover
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_recover22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_recover22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_recover22.out
<END>
<BEGIN> BUILD_RULE_db_recover22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_recover
<END>

View file

@ -0,0 +1,492 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
typedef enum { T_NOTSET, T_DB,
T_ENV, T_LOCK, T_LOG, T_MPOOL, T_MUTEX, T_REP, T_TXN } test_t;
int db_stat_db_init __P((DB_ENV *, char *, test_t, u_int32_t, int *));
int db_stat_main __P((int, char *[]));
int db_stat_usage __P((void));
int db_stat_version_check __P((void));
const char *progname;
int
db_stat(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_stat", args, &argc, &argv);
return (db_stat_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_stat_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB_ENV *dbenv;
DB *dbp;
test_t ttype;
u_int32_t cache, flags;
int ch, exitval;
int nflag, private, resize, ret;
char *db, *home, *p, *passwd, *subdb;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_stat_version_check()) != 0)
return (ret);
dbenv = NULL;
dbp = NULL;
ttype = T_NOTSET;
cache = MEGABYTE;
exitval = flags = nflag = private = 0;
db = home = passwd = subdb = NULL;
__db_getopt_reset = 1;
while ((ch = getopt(argc,
argv, "aC:cd:Eefgh:L:lM:mNP:R:rs:tVxX:Z")) != EOF)
switch (ch) {
case 'a':
LF_SET(DB_STAT_ALLOC);
break;
case 'C': case 'c':
if (ttype != T_NOTSET && ttype != T_LOCK)
goto argcombo;
ttype = T_LOCK;
if (ch != 'c')
for (p = optarg; *p; ++p)
switch (*p) {
case 'A':
LF_SET(DB_STAT_ALL);
break;
case 'c':
LF_SET(DB_STAT_LOCK_CONF);
break;
case 'l':
LF_SET(DB_STAT_LOCK_LOCKERS);
break;
case 'm': /* Backward compatible. */
break;
case 'o':
LF_SET(DB_STAT_LOCK_OBJECTS);
break;
case 'p':
LF_SET(DB_STAT_LOCK_PARAMS);
break;
default:
return (db_stat_usage());
}
break;
case 'd':
if (ttype != T_NOTSET && ttype != T_DB)
goto argcombo;
ttype = T_DB;
db = optarg;
break;
case 'E': case 'e':
if (ttype != T_NOTSET && ttype != T_ENV)
goto argcombo;
ttype = T_ENV;
LF_SET(DB_STAT_SUBSYSTEM);
if (ch == 'E')
LF_SET(DB_STAT_ALL);
break;
case 'f':
if (ttype != T_NOTSET && ttype != T_DB)
goto argcombo;
ttype = T_DB;
LF_SET(DB_FAST_STAT);
break;
case 'h':
home = optarg;
break;
case 'L': case 'l':
if (ttype != T_NOTSET && ttype != T_LOG)
goto argcombo;
ttype = T_LOG;
if (ch != 'l')
for (p = optarg; *p; ++p)
switch (*p) {
case 'A':
LF_SET(DB_STAT_ALL);
break;
default:
return (db_stat_usage());
}
break;
case 'M': case 'm':
if (ttype != T_NOTSET && ttype != T_MPOOL)
goto argcombo;
ttype = T_MPOOL;
if (ch != 'm')
for (p = optarg; *p; ++p)
switch (*p) {
case 'A':
LF_SET(DB_STAT_ALL);
break;
case 'h':
LF_SET(DB_STAT_MEMP_HASH);
break;
case 'm': /* Backward compatible. */
break;
default:
return (db_stat_usage());
}
break;
case 'N':
nflag = 1;
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, DB_STR_A("5005",
"%s: strdup: %s\n", "%s %s\n"),
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 'R': case 'r':
if (ttype != T_NOTSET && ttype != T_REP)
goto argcombo;
ttype = T_REP;
if (ch != 'r')
for (p = optarg; *p; ++p)
switch (*p) {
case 'A':
LF_SET(DB_STAT_ALL);
break;
default:
return (db_stat_usage());
}
break;
case 's':
if (ttype != T_NOTSET && ttype != T_DB)
goto argcombo;
ttype = T_DB;
subdb = optarg;
break;
case 't':
if (ttype != T_NOTSET) {
argcombo: fprintf(stderr, DB_STR_A("5006",
"%s: illegal option combination\n",
"%s\n"), progname);
return (db_stat_usage());
}
ttype = T_TXN;
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case 'X': case 'x':
if (ttype != T_NOTSET && ttype != T_MUTEX)
goto argcombo;
ttype = T_MUTEX;
if (ch != 'x')
for (p = optarg; *p; ++p)
switch (*p) {
case 'A':
LF_SET(DB_STAT_ALL);
break;
default:
return (db_stat_usage());
}
break;
case 'Z':
LF_SET(DB_STAT_CLEAR);
break;
case '?':
default:
return (db_stat_usage());
}
argc -= optind;
argv += optind;
switch (ttype) {
case T_DB:
if (db == NULL)
return (db_stat_usage());
break;
case T_ENV:
case T_LOCK:
case T_LOG:
case T_MPOOL:
case T_MUTEX:
case T_REP:
case T_TXN:
break;
case T_NOTSET:
return (db_stat_usage());
}
if (LF_ISSET(DB_STAT_ALL | DB_STAT_ALLOC) == DB_STAT_ALLOC)
return (db_stat_usage());
/* Handle possible interruptions. */
__db_util_siginit();
/*
* Create an environment object and initialize it for error
* reporting.
*/
retry: if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
goto err;
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
if (nflag) {
if ((ret = dbenv->set_flags(dbenv, DB_NOLOCKING, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOLOCKING");
goto err;
}
if ((ret = dbenv->set_flags(dbenv, DB_NOPANIC, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOPANIC");
goto err;
}
}
if (passwd != NULL &&
(ret = dbenv->set_encrypt(dbenv, passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/* Initialize the environment. */
if (db_stat_db_init(dbenv, home, ttype, cache, &private) != 0)
goto err;
switch (ttype) {
case T_DB:
/* Create the DB object and open the file. */
if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
dbenv->err(dbenv, ret, "db_create");
goto err;
}
/*
* We open the database for writing so we can update the cached
* statistics, but it's OK to fail, we can open read-only and
* proceed.
*
* Turn off error messages for now -- we can't open lots of
* databases read-write (for example, master databases and
* hash databases for which we don't know the hash function).
*/
dbenv->set_errfile(dbenv, NULL);
ret = dbp->open(dbp, NULL, db, subdb, DB_UNKNOWN, 0, 0);
dbenv->set_errfile(dbenv, stderr);
if (ret != 0) {
/* Handles cannot be reused after a failed DB->open. */
(void)dbp->close(dbp, 0);
if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
dbenv->err(dbenv, ret, "db_create");
goto err;
}
if ((ret = dbp->open(dbp,
NULL, db, subdb, DB_UNKNOWN, DB_RDONLY, 0)) != 0) {
dbenv->err(dbenv, ret, "DB->open: %s", db);
goto err;
}
}
/* Check if cache is too small for this DB's pagesize. */
if (private) {
if ((ret = __db_util_cache(dbp, &cache, &resize)) != 0)
goto err;
if (resize) {
(void)dbp->close(dbp, DB_NOSYNC);
dbp = NULL;
(void)dbenv->close(dbenv, 0);
dbenv = NULL;
goto retry;
}
}
if (dbp->stat_print(dbp, flags))
goto err;
break;
case T_ENV:
if (dbenv->stat_print(dbenv, flags))
goto err;
break;
case T_LOCK:
if (dbenv->lock_stat_print(dbenv, flags))
goto err;
break;
case T_LOG:
if (dbenv->log_stat_print(dbenv, flags))
goto err;
break;
case T_MPOOL:
if (dbenv->memp_stat_print(dbenv, flags))
goto err;
break;
case T_MUTEX:
if (dbenv->mutex_stat_print(dbenv, flags))
goto err;
break;
case T_REP:
#ifdef HAVE_REPLICATION_THREADS
if (dbenv->repmgr_stat_print(dbenv, flags))
goto err;
#endif
if (dbenv->rep_stat_print(dbenv, flags))
goto err;
break;
case T_TXN:
if (dbenv->txn_stat_print(dbenv, flags))
goto err;
break;
case T_NOTSET:
dbenv->errx(dbenv, DB_STR("5007",
"Unknown statistics flag"));
goto err;
}
if (0) {
err: exitval = 1;
}
if (dbp != NULL && (ret = dbp->close(dbp, DB_NOSYNC)) != 0) {
exitval = 1;
dbenv->err(dbenv, ret, DB_STR("5008", "close"));
}
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
/*
* db_init --
* Initialize the environment.
*/
int
db_stat_db_init(dbenv, home, ttype, cache, is_private)
DB_ENV *dbenv;
char *home;
test_t ttype;
u_int32_t cache;
int *is_private;
{
u_int32_t oflags;
int ret;
/*
* If our environment open fails, and we're trying to look at a
* shared region, it's a hard failure.
*
* We will probably just drop core if the environment we join does
* not include a memory pool. This is probably acceptable; trying
* to use an existing environment that does not contain a memory
* pool to look at a database can be safely construed as operator
* error, I think.
*/
*is_private = 0;
if ((ret = dbenv->open(dbenv, home, DB_USE_ENVIRON, 0)) == 0)
return (0);
if (ret == DB_VERSION_MISMATCH)
goto err;
if (ttype != T_DB && ttype != T_LOG) {
dbenv->err(dbenv, ret, "DB_ENV->open%s%s",
home == NULL ? "" : ": ", home == NULL ? "" : home);
return (1);
}
/*
* We're looking at a database or set of log files and no environment
* exists. Create one, but make it private so no files are actually
* created. Declare a reasonably large cache so that we don't fail
* when reporting statistics on large databases.
*
* An environment is required to look at databases because we may be
* trying to look at databases in directories other than the current
* one.
*/
if ((ret = dbenv->set_cachesize(dbenv, 0, cache, 1)) != 0) {
dbenv->err(dbenv, ret, "set_cachesize");
return (1);
}
*is_private = 1;
oflags = DB_CREATE | DB_PRIVATE | DB_USE_ENVIRON;
if (ttype == T_DB)
oflags |= DB_INIT_MPOOL;
if (ttype == T_LOG)
oflags |= DB_INIT_LOG;
if ((ret = dbenv->open(dbenv, home, oflags, 0)) == 0)
return (0);
/* An environment is required. */
err: dbenv->err(dbenv, ret, "DB_ENV->open");
return (1);
}
int
db_stat_usage()
{
fprintf(stderr, "usage: %s %s\n", progname,
"-d file [-fN] [-h home] [-P password] [-s database]");
fprintf(stderr, "usage: %s %s\n\t%s\n", progname,
"[-cEelmrtVx] [-C Aclop]",
"[-h home] [-L A] [-M A] [-P password] [-R A] [-X A] [-aNZ]");
return (EXIT_FAILURE);
}
int
db_stat_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5009",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname,
DB_VERSION_MAJOR, DB_VERSION_MINOR,
v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}

142
build_vxworks/util/db_stat20.wpj Executable file
View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_stat20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_stat20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_stat20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_stat
<END>

176
build_vxworks/util/db_stat22.wpj Executable file
View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_stat22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_stat22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_stat22.out
<END>
<BEGIN> BUILD_RULE_db_stat22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_stat
<END>

File diff suppressed because it is too large Load diff

142
build_vxworks/util/db_tuner20.wpj Executable file
View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_tuner20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_tuner20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_tuner20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_tuner
<END>

176
build_vxworks/util/db_tuner22.wpj Executable file
View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_tuner22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_tuner22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_tuner22.out
<END>
<BEGIN> BUILD_RULE_db_tuner22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_tuner
<END>

View file

@ -0,0 +1,214 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
int db_upgrade_main __P((int, char *[]));
int db_upgrade_usage __P((void));
int db_upgrade_version_check __P((void));
const char *progname;
int
db_upgrade(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_upgrade", args, &argc, &argv);
return (db_upgrade_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_upgrade_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp;
DB_ENV *dbenv;
u_int32_t flags;
int ch, exitval, nflag, ret, t_ret, verbose;
char *home, *passwd;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_upgrade_version_check()) != 0)
return (ret);
dbenv = NULL;
flags = nflag = verbose = 0;
exitval = 0;
home = passwd = NULL;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "h:NP:sVv")) != EOF)
switch (ch) {
case 'h':
home = optarg;
break;
case 'N':
nflag = 1;
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, DB_STR_A("5018",
"%s: strdup: %s\n", "%s %s\n"),
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 's':
LF_SET(DB_DUPSORT);
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case 'v':
verbose = 1;
break;
case '?':
default:
return (db_upgrade_usage());
}
argc -= optind;
argv += optind;
if (argc <= 0)
return (db_upgrade_usage());
/* Handle possible interruptions. */
__db_util_siginit();
/*
* Create an environment object and initialize it for error
* reporting.
*/
if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr, "%s: db_env_create: %s\n",
progname, db_strerror(ret));
goto err;
}
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
if (nflag) {
if ((ret = dbenv->set_flags(dbenv, DB_NOLOCKING, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOLOCKING");
goto err;
}
if ((ret = dbenv->set_flags(dbenv, DB_NOPANIC, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOPANIC");
goto err;
}
}
if (passwd != NULL && (ret = dbenv->set_encrypt(dbenv,
passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/*
* If attaching to a pre-existing environment fails, create a
* private one and try again.
*/
if ((ret = dbenv->open(dbenv, home, DB_USE_ENVIRON, 0)) != 0 &&
(ret == DB_VERSION_MISMATCH ||
(ret = dbenv->open(dbenv, home,
DB_CREATE | DB_INIT_MPOOL | DB_PRIVATE | DB_USE_ENVIRON,
0)) != 0)) {
dbenv->err(dbenv, ret, "DB_ENV->open");
goto err;
}
for (; !__db_util_interrupted() && argv[0] != NULL; ++argv) {
if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_create: %s\n", progname, db_strerror(ret));
goto err;
}
dbp->set_errfile(dbp, stderr);
dbp->set_errpfx(dbp, progname);
if ((ret = dbp->upgrade(dbp, argv[0], flags)) != 0)
dbp->err(dbp, ret, "DB->upgrade: %s", argv[0]);
if ((t_ret = dbp->close(dbp, 0)) != 0 && ret == 0) {
dbenv->err(dbenv, ret, "DB->close: %s", argv[0]);
ret = t_ret;
}
if (ret != 0)
goto err;
/*
* People get concerned if they don't see a success message.
* If verbose is set, give them one.
*/
if (verbose)
printf(DB_STR_A("5019",
"%s: %s upgraded successfully\n",
"%s %s\n"), progname, argv[0]);
}
if (0) {
err: exitval = 1;
}
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
int
db_upgrade_usage()
{
fprintf(stderr, "usage: %s %s\n", progname,
"[-NsVv] [-h home] [-P password] db_file ...");
return (EXIT_FAILURE);
}
int
db_upgrade_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5020",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname, DB_VERSION_MAJOR,
DB_VERSION_MINOR, v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_upgrade20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_upgrade20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_upgrade20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_upgrade
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_upgrade22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_upgrade22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_upgrade22.out
<END>
<BEGIN> BUILD_RULE_db_upgrade22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_upgrade
<END>

View file

@ -0,0 +1,287 @@
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
#include "db_config.h"
#include "db_int.h"
#ifndef lint
static const char copyright[] =
"Copyright (c) 1996, 2011 Oracle and/or its affiliates. All rights reserved.\n";
#endif
int db_verify_main __P((int, char *[]));
int db_verify_usage __P((void));
int db_verify_version_check __P((void));
const char *progname;
int
db_verify(args)
char *args;
{
int argc;
char **argv;
__db_util_arg("db_verify", args, &argc, &argv);
return (db_verify_main(argc, argv) ? EXIT_FAILURE : EXIT_SUCCESS);
}
#include <stdio.h>
#define ERROR_RETURN ERROR
int
db_verify_main(argc, argv)
int argc;
char *argv[];
{
extern char *optarg;
extern int optind, __db_getopt_reset;
DB *dbp, *dbp1;
DB_ENV *dbenv;
u_int32_t flags, cache;
int ch, exitval, nflag, private;
int quiet, resize, ret;
char *home, *passwd;
if ((progname = __db_rpath(argv[0])) == NULL)
progname = argv[0];
else
++progname;
if ((ret = db_verify_version_check()) != 0)
return (ret);
dbenv = NULL;
dbp = NULL;
cache = MEGABYTE;
exitval = nflag = quiet = 0;
flags = 0;
home = passwd = NULL;
__db_getopt_reset = 1;
while ((ch = getopt(argc, argv, "h:NoP:quV")) != EOF)
switch (ch) {
case 'h':
home = optarg;
break;
case 'N':
nflag = 1;
break;
case 'P':
passwd = strdup(optarg);
memset(optarg, 0, strlen(optarg));
if (passwd == NULL) {
fprintf(stderr, "%s: strdup: %s\n",
progname, strerror(errno));
return (EXIT_FAILURE);
}
break;
case 'o':
LF_SET(DB_NOORDERCHK);
break;
case 'q':
quiet = 1;
break;
case 'u': /* Undocumented. */
LF_SET(DB_UNREF);
break;
case 'V':
printf("%s\n", db_version(NULL, NULL, NULL));
return (EXIT_SUCCESS);
case '?':
default:
return (db_verify_usage());
}
argc -= optind;
argv += optind;
if (argc <= 0)
return (db_verify_usage());
/* Handle possible interruptions. */
__db_util_siginit();
/*
* Create an environment object and initialize it for error
* reporting.
*/
retry: if ((ret = db_env_create(&dbenv, 0)) != 0) {
fprintf(stderr,
"%s: db_env_create: %s\n", progname, db_strerror(ret));
goto err;
}
if (!quiet) {
dbenv->set_errfile(dbenv, stderr);
dbenv->set_errpfx(dbenv, progname);
}
if (nflag) {
if ((ret = dbenv->set_flags(dbenv, DB_NOLOCKING, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOLOCKING");
goto err;
}
if ((ret = dbenv->set_flags(dbenv, DB_NOPANIC, 1)) != 0) {
dbenv->err(dbenv, ret, "set_flags: DB_NOPANIC");
goto err;
}
}
if (passwd != NULL &&
(ret = dbenv->set_encrypt(dbenv, passwd, DB_ENCRYPT_AES)) != 0) {
dbenv->err(dbenv, ret, "set_passwd");
goto err;
}
/*
* Attach to an mpool if it exists, but if that fails, attach to a
* private region. In the latter case, declare a reasonably large
* cache so that we don't fail when verifying large databases.
*/
private = 0;
if ((ret =
dbenv->open(dbenv, home, DB_INIT_MPOOL | DB_USE_ENVIRON, 0)) != 0) {
if (ret != DB_VERSION_MISMATCH) {
if ((ret =
dbenv->set_cachesize(dbenv, 0, cache, 1)) != 0) {
dbenv->err(dbenv, ret, "set_cachesize");
goto err;
}
private = 1;
ret = dbenv->open(dbenv, home, DB_CREATE |
DB_INIT_MPOOL | DB_PRIVATE | DB_USE_ENVIRON, 0);
}
if (ret != 0) {
dbenv->err(dbenv, ret, "DB_ENV->open");
goto err;
}
}
/*
* Find out if we have a transactional environment so that we can
* make sure that we don't open the verify database with logging
* enabled.
*/
for (; !__db_util_interrupted() && argv[0] != NULL; ++argv) {
if ((ret = db_create(&dbp, dbenv, 0)) != 0) {
dbenv->err(dbenv, ret, "%s: db_create", progname);
goto err;
}
if (TXN_ON(dbenv->env) &&
(ret = dbp->set_flags(dbp, DB_TXN_NOT_DURABLE)) != 0) {
dbenv->err(
dbenv, ret, "%s: db_set_flags", progname);
goto err;
}
/*
* We create a 2nd dbp to this database to get its pagesize
* because the dbp we're using for verify cannot be opened.
*
* If the database is corrupted, we may not be able to open
* it, of course. In that case, just continue, using the
* cache size we have.
*/
if (private) {
if ((ret = db_create(&dbp1, dbenv, 0)) != 0) {
dbenv->err(
dbenv, ret, "%s: db_create", progname);
goto err;
}
if (TXN_ON(dbenv->env) && (ret =
dbp1->set_flags(dbp1, DB_TXN_NOT_DURABLE)) != 0) {
dbenv->err(
dbenv, ret, "%s: db_set_flags", progname);
goto err;
}
ret = dbp1->open(dbp1,
NULL, argv[0], NULL, DB_UNKNOWN, DB_RDONLY, 0);
/*
* If we get here, we can check the cache/page.
* !!!
* If we have to retry with an env with a larger
* cache, we jump out of this loop. However, we
* will still be working on the same argv when we
* get back into the for-loop.
*/
if (ret == 0) {
if (__db_util_cache(
dbp1, &cache, &resize) == 0 && resize) {
(void)dbp1->close(dbp1, 0);
(void)dbp->close(dbp, 0);
dbp = NULL;
(void)dbenv->close(dbenv, 0);
dbenv = NULL;
goto retry;
}
}
(void)dbp1->close(dbp1, 0);
}
/* The verify method is a destructor. */
ret = dbp->verify(dbp, argv[0], NULL, NULL, flags);
dbp = NULL;
if (ret != 0)
exitval = 1;
if (!quiet)
printf(DB_STR_A("5105", "Verification of %s %s.\n",
"%s %s\n"), argv[0], ret == 0 ?
DB_STR_P("succeeded") : DB_STR_P("failed"));
}
if (0) {
err: exitval = 1;
}
if (dbp != NULL && (ret = dbp->close(dbp, 0)) != 0) {
exitval = 1;
dbenv->err(dbenv, ret, DB_STR("5106", "close"));
}
if (dbenv != NULL && (ret = dbenv->close(dbenv, 0)) != 0) {
exitval = 1;
fprintf(stderr,
"%s: dbenv->close: %s\n", progname, db_strerror(ret));
}
if (passwd != NULL)
free(passwd);
/* Resend any caught signal. */
__db_util_sigresend();
return (exitval == 0 ? EXIT_SUCCESS : EXIT_FAILURE);
}
int
db_verify_usage()
{
fprintf(stderr, "usage: %s %s\n", progname,
"[-NoqV] [-h home] [-P password] db_file ...");
return (EXIT_FAILURE);
}
int
db_verify_version_check()
{
int v_major, v_minor, v_patch;
/* Make sure we're loaded with the right version of the DB library. */
(void)db_version(&v_major, &v_minor, &v_patch);
if (v_major != DB_VERSION_MAJOR || v_minor != DB_VERSION_MINOR) {
fprintf(stderr, DB_STR_A("5107",
"%s: version %d.%d doesn't match library version %d.%d\n",
"%s %d %d %d %d\n"), progname, DB_VERSION_MAJOR,
DB_VERSION_MINOR, v_major, v_minor);
return (EXIT_FAILURE);
}
return (0);
}

View file

@ -0,0 +1,142 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUMgnu_BUILDRULE
db_verify20.out
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AR
ar386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUMgnu/db_verify20.a
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_AS
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CC
cc386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS
-g \
-mpentium \
-ansi \
-nostdinc \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CFLAGS_AS
-g \
-mpentium \
-ansi \
-nostdinc \
-fvolatile \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-x \
assembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_CPP
cc386 -E -P -xc
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD
ld386
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDDEPS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_NM
nm386 -g
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUMgnu_MACRO_SIZE
size386
<END>
<BEGIN> BUILD_PENTIUMgnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUMgnu_TC
::tc_PENTIUMgnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_verify20.out
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUMgnu
<END>
<BEGIN> BUILD__LIST
PENTIUMgnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.0
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_verify
<END>

View file

@ -0,0 +1,176 @@
Document file - DO NOT EDIT
<BEGIN> BUILD_PENTIUM2gnu_BUILDRULE
db_verify22.out
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AR
arpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_ARCHIVE
$(PRJ_DIR)/PENTIUM2gnu/db_verify22.a
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_AS
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC
ccpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CC_ARCH_SPEC
-mcpu=pentiumpro -march=pentiumpro
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-DRW_MULTI_THREAD \
-D_REENTRANT \
-fvolatile \
-fno-builtin \
-fno-defer-pop \
-I$(PRJ_DIR)/.. \
-I$(PRJ_DIR)/../.. \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CFLAGS_AS
-g \
-mcpu=pentiumpro \
-march=pentiumpro \
-ansi \
-nostdlib \
-fno-builtin \
-fno-defer-pop \
-P \
-xassembler-with-cpp \
-I$(WIND_BASE)/target/h \
-DCPU=PENTIUM2 \
-DTOOL_FAMILY=gnu \
-DTOOL=gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_CPP
ccpentium -E -P
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_HEX_FLAGS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD
ldpentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LDFLAGS
-X -N
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL
ccpentium -r -nostdlib -Wl,-X
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_LD_PARTIAL_FLAGS
-X -r
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_NM
nmpentium -g
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEFINE_MACRO
-D
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_DEPEND
-M -w
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_GENERATE_DEPENDENCY_FILE
-MD
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_INCLUDE_DIR
-I
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_LANG_C
-xc
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_OPTION_UNDEFINE_MACRO
-U
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_POST_BUILD_RULE
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_PRJ_LIBS
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_SIZE
sizepentium
<END>
<BEGIN> BUILD_PENTIUM2gnu_MACRO_TOOL_FAMILY
gnu
<END>
<BEGIN> BUILD_PENTIUM2gnu_RO_DEPEND_PATH
{$(WIND_BASE)/target/h/} \
{$(WIND_BASE)/target/src/} \
{$(WIND_BASE)/target/config/}
<END>
<BEGIN> BUILD_PENTIUM2gnu_TC
::tc_PENTIUM2gnu
<END>
<BEGIN> BUILD_RULE_archive
<END>
<BEGIN> BUILD_RULE_db_verify22.out
<END>
<BEGIN> BUILD_RULE_db_verify22.pl
<END>
<BEGIN> BUILD_RULE_objects
<END>
<BEGIN> BUILD__CURRENT
PENTIUM2gnu
<END>
<BEGIN> BUILD__LIST
PENTIUM2gnu
<END>
<BEGIN> CORE_INFO_TYPE
::prj_vxApp
<END>
<BEGIN> CORE_INFO_VERSION
2.2
<END>
<BEGIN> PROJECT_FILES
<END>
<BEGIN> userComments
db_verify
<END>

224
build_wince/Berkeley_DB.sln Normal file
View file

@ -0,0 +1,224 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "db_sql", "db_sql.vcproj", "{ACE41B30-04BB-11DF-8A39-0800200C9A66}"
ProjectSection(ProjectDependencies) = postProject
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085} = {CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wce_sql", "wce_sql.vcproj", "{75DF98AA-25DF-4183-A022-024CF918480D}"
ProjectSection(ProjectDependencies) = postProject
{ACE41B30-04BB-11DF-8A39-0800200C9A66} = {ACE41B30-04BB-11DF-8A39-0800200C9A66}
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085} = {CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wce_tpcb", "wce_tpcb.vcproj", "{F2CE670A-ABAE-414A-9A17-8079AB58613F}"
ProjectSection(ProjectDependencies) = postProject
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085} = {CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "db", "db.vcproj", "{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "db_small", "db_small.vcproj", "{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Pocket PC 2003 (ARMV4) = Debug|Pocket PC 2003 (ARMV4)
Debug|Smartphone 2003 (ARMV4) = Debug|Smartphone 2003 (ARMV4)
Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
Release|Pocket PC 2003 (ARMV4) = Release|Pocket PC 2003 (ARMV4)
Release|Smartphone 2003 (ARMV4) = Release|Smartphone 2003 (ARMV4)
Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
Static Debug|Pocket PC 2003 (ARMV4) = Static Debug|Pocket PC 2003 (ARMV4)
Static Debug|Smartphone 2003 (ARMV4) = Static Debug|Smartphone 2003 (ARMV4)
Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
Static Release|Pocket PC 2003 (ARMV4) = Static Release|Pocket PC 2003 (ARMV4)
Static Release|Smartphone 2003 (ARMV4) = Static Release|Smartphone 2003 (ARMV4)
Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I) = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Static Debug|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Pocket PC 2003 (ARMV4).Build.0 = Static Debug|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Static Debug|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Smartphone 2003 (ARMV4).ActiveCfg = Static Debug|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Smartphone 2003 (ARMV4).Build.0 = Static Debug|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Smartphone 2003 (ARMV4).Deploy.0 = Static Debug|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Pocket PC 2003 (ARMV4).ActiveCfg = Static Release|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Pocket PC 2003 (ARMV4).Build.0 = Static Release|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Pocket PC 2003 (ARMV4).Deploy.0 = Static Release|Pocket PC 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Smartphone 2003 (ARMV4).ActiveCfg = Static Release|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Smartphone 2003 (ARMV4).Build.0 = Static Release|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Smartphone 2003 (ARMV4).Deploy.0 = Static Release|Smartphone 2003 (ARMV4)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{ACE41B30-04BB-11DF-8A39-0800200C9A66}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{75DF98AA-25DF-4183-A022-024CF918480D}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Debug|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Pocket PC 2003 (ARMV4).Build.0 = Debug|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Debug|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Smartphone 2003 (ARMV4).ActiveCfg = Debug|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Smartphone 2003 (ARMV4).Build.0 = Debug|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Smartphone 2003 (ARMV4).Deploy.0 = Debug|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Pocket PC 2003 (ARMV4).ActiveCfg = Release|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Pocket PC 2003 (ARMV4).Build.0 = Release|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Pocket PC 2003 (ARMV4).Deploy.0 = Release|Pocket PC 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Smartphone 2003 (ARMV4).ActiveCfg = Release|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Smartphone 2003 (ARMV4).Build.0 = Release|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Smartphone 2003 (ARMV4).Deploy.0 = Release|Smartphone 2003 (ARMV4)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F2CE670A-ABAE-414A-9A17-8079AB58613F}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Static Debug|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Static Debug|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Static Debug|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Static Debug|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Smartphone 2003 (ARMV4).Build.0 = Static Debug|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Static Debug|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Static Release|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Pocket PC 2003 (ARMV4).Build.0 = Static Release|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Static Release|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Static Release|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Smartphone 2003 (ARMV4).Build.0 = Static Release|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Static Release|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Static Debug|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Pocket PC 2003 (ARMV4).Build.0 = Static Debug|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Static Debug|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Smartphone 2003 (ARMV4).ActiveCfg = Static Debug|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Smartphone 2003 (ARMV4).Build.0 = Static Debug|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Smartphone 2003 (ARMV4).Deploy.0 = Static Debug|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Pocket PC 2003 (ARMV4).ActiveCfg = Static Release|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Pocket PC 2003 (ARMV4).Build.0 = Static Release|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Pocket PC 2003 (ARMV4).Deploy.0 = Static Release|Pocket PC 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Smartphone 2003 (ARMV4).ActiveCfg = Static Release|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Smartphone 2003 (ARMV4).Build.0 = Static Release|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Smartphone 2003 (ARMV4).Deploy.0 = Static Release|Smartphone 2003 (ARMV4)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Static Debug|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Pocket PC 2003 (ARMV4).Build.0 = Static Debug|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Static Debug|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Smartphone 2003 (ARMV4).ActiveCfg = Static Debug|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Smartphone 2003 (ARMV4).Build.0 = Static Debug|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Smartphone 2003 (ARMV4).Deploy.0 = Static Debug|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Pocket PC 2003 (ARMV4).ActiveCfg = Static Release|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Pocket PC 2003 (ARMV4).Build.0 = Static Release|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Pocket PC 2003 (ARMV4).Deploy.0 = Static Release|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Smartphone 2003 (ARMV4).ActiveCfg = Static Release|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Smartphone 2003 (ARMV4).Build.0 = Static Release|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Smartphone 2003 (ARMV4).Deploy.0 = Static Release|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Pocket PC 2003 (ARMV4).ActiveCfg = Static Debug|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Pocket PC 2003 (ARMV4).Build.0 = Static Debug|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Pocket PC 2003 (ARMV4).Deploy.0 = Static Debug|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Smartphone 2003 (ARMV4).ActiveCfg = Static Debug|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Smartphone 2003 (ARMV4).Build.0 = Static Debug|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Smartphone 2003 (ARMV4).Deploy.0 = Static Debug|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Pocket PC 2003 (ARMV4).ActiveCfg = Static Release|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Pocket PC 2003 (ARMV4).Build.0 = Static Release|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Pocket PC 2003 (ARMV4).Deploy.0 = Static Release|Pocket PC 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Smartphone 2003 (ARMV4).ActiveCfg = Static Release|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Smartphone 2003 (ARMV4).Build.0 = Static Release|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Smartphone 2003 (ARMV4).Deploy.0 = Static Release|Smartphone 2003 (ARMV4)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).ActiveCfg = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Build.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
{F016AF0B-CBFD-4083-B501-4A1D0A934A2D}.Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I).Deploy.0 = Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

279
build_wince/clib_port.h Normal file
View file

@ -0,0 +1,279 @@
/* DO NOT EDIT: automatically built from dist/clib_port.in. */
/*
* Minimum/maximum values for various types.
*/
#ifndef UINT16_MAX /* Maximum 16-bit unsigned. */
#define UINT16_MAX 65535
#endif
#ifndef UINT32_MAX /* Maximum 32-bit unsigned. */
#define UINT32_MAX 4294967295U
#endif
#ifndef INT_MAX
#if SIZEOF_INT == 4
#define INT_MAX 2147483647
#endif
#if SIZEOF_INT == 8
#define INT_MAX 9223372036854775807
#endif
#endif
#ifndef INT_MIN /* minimum (signed) int value */
#define INT_MIN (-INT_MAX-1)
#endif
#ifndef UINT_MAX /* maximum (signed) int value */
#if SIZEOF_INT == 4
#define UINT_MAX 4294967295U
#endif
#if SIZEOF_INT == 8
#define UINT_MAX 18446744073709551615U
#endif
#endif
#ifndef LONG_MAX /* maximum (signed) long value */
#if SIZEOF_LONG == 4
#define LONG_MAX 2147483647
#endif
#if SIZEOF_LONG == 8
#define LONG_MAX 9223372036854775807L
#endif
#endif
#ifndef LONG_MIN /* minimum (signed) long value */
#define LONG_MIN (-LONG_MAX-1)
#endif
#ifndef ULONG_MAX /* maximum (unsigned) long value */
#if SIZEOF_LONG == 4
#define ULONG_MAX 4294967295U
#endif
#if SIZEOF_LONG == 8
#define ULONG_MAX 18446744073709551615UL
#endif
#endif
#if defined(HAVE_64BIT_TYPES)
/*
* Override the system's 64-bit min/max constants. AIX's 32-bit compiler can
* handle 64-bit values, but the system's constants don't include the LL/ULL
* suffix, and so can't be compiled using the 32-bit compiler.
*/
#undef INT64_MAX
#undef INT64_MIN
#undef UINT64_MAX
#ifdef DB_WIN32
#define INT64_MAX _I64_MAX
#define INT64_MIN _I64_MIN
#define UINT64_MAX _UI64_MAX
#else
#define INT64_MAX 9223372036854775807LL
#define INT64_MIN (-INT64_MAX-1)
#define UINT64_MAX 18446744073709551615ULL
#endif /* DB_WIN32 */
#define INT64_FMT "%I64d"
#define UINT64_FMT "%I64u"
#endif /* HAVE_64BIT_TYPES */
/*
* Exit success/failure macros.
*/
#ifndef HAVE_EXIT_SUCCESS
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
#endif
/*
* File modes.
*/
#ifdef DB_WIN32
#ifndef S_IREAD /* WinCE doesn't have S_IREAD. */
#define S_IREAD 0
#endif
#ifndef S_IWRITE /* WinCE doesn't have S_IWRITE. */
#define S_IWRITE 0
#endif
#ifndef S_IRUSR
#define S_IRUSR S_IREAD /* R for owner */
#endif
#ifndef S_IWUSR
#define S_IWUSR S_IWRITE /* W for owner */
#endif
#ifndef S_IXUSR
#define S_IXUSR 0 /* X for owner */
#endif
#ifndef S_IRGRP
#define S_IRGRP 0 /* R for group */
#endif
#ifndef S_IWGRP
#define S_IWGRP 0 /* W for group */
#endif
#ifndef S_IXGRP
#define S_IXGRP 0 /* X for group */
#endif
#ifndef S_IROTH
#define S_IROTH 0 /* R for other */
#endif
#ifndef S_IWOTH
#define S_IWOTH 0 /* W for other */
#endif
#ifndef S_IXOTH
#define S_IXOTH 0 /* X for other */
#endif
#else /* !DB_WIN32 */
#ifndef S_IRUSR
#define S_IRUSR 0000400 /* R for owner */
#endif
#ifndef S_IWUSR
#define S_IWUSR 0000200 /* W for owner */
#endif
#ifndef S_IXUSR
#define S_IXUSR 0000100 /* X for owner */
#endif
#ifndef S_IRGRP
#define S_IRGRP 0000040 /* R for group */
#endif
#ifndef S_IWGRP
#define S_IWGRP 0000020 /* W for group */
#endif
#ifndef S_IXGRP
#define S_IXGRP 0000010 /* X for group */
#endif
#ifndef S_IROTH
#define S_IROTH 0000004 /* R for other */
#endif
#ifndef S_IWOTH
#define S_IWOTH 0000002 /* W for other */
#endif
#ifndef S_IXOTH
#define S_IXOTH 0000001 /* X for other */
#endif
#endif /* !DB_WIN32 */
/*
* Don't step on the namespace. Other libraries may have their own
* implementations of these functions, we don't want to use their
* implementations or force them to use ours based on the load order.
*/
#ifndef HAVE_ATOI
#define atoi __db_Catoi
#endif
#ifndef HAVE_ATOL
#define atol __db_Catol
#endif
#ifndef HAVE_BSEARCH
#define bsearch __db_Cbsearch
#endif
#ifndef HAVE_FCLOSE
#define fclose __db_Cfclose
#endif
#ifndef HAVE_FGETC
#define fgetc __db_Cfgetc
#endif
#ifndef HAVE_FGETS
#define fgets __db_Cfgets
#endif
#ifndef HAVE_FOPEN
#define fopen __db_Cfopen
#endif
#ifndef HAVE_FWRITE
#define fwrite __db_Cfwrite
#endif
#ifndef HAVE_GETADDRINFO
#define freeaddrinfo(a) __db_Cfreeaddrinfo(a)
#define getaddrinfo(a, b, c, d) __db_Cgetaddrinfo(a, b, c, d)
#endif
#ifndef HAVE_GETCWD
#define getcwd __db_Cgetcwd
#endif
#ifndef HAVE_GETOPT
#define getopt __db_Cgetopt
#define optarg __db_Coptarg
#define opterr __db_Copterr
#define optind __db_Coptind
#define optopt __db_Coptopt
#define optreset __db_Coptreset
#endif
#ifndef HAVE_ISALPHA
#define isalpha __db_Cisalpha
#endif
#ifndef HAVE_ISDIGIT
#define isdigit __db_Cisdigit
#endif
#ifndef HAVE_ISPRINT
#define isprint __db_Cisprint
#endif
#ifndef HAVE_ISSPACE
#define isspace __db_Cisspace
#endif
#ifndef HAVE_LOCALTIME
#define localtime __db_Clocaltime
#endif
#ifndef HAVE_MEMCMP
#define memcmp __db_Cmemcmp
#endif
#ifndef HAVE_MEMCPY
#define memcpy __db_Cmemcpy
#endif
#ifndef HAVE_MEMMOVE
#define memmove __db_Cmemmove
#endif
#ifndef HAVE_PRINTF
#define printf __db_Cprintf
#define fprintf __db_Cfprintf
#endif
#ifndef HAVE_QSORT
#define qsort __db_Cqsort
#endif
#ifndef HAVE_RAISE
#define raise __db_Craise
#endif
#ifndef HAVE_RAND
#define rand __db_Crand
#define srand __db_Csrand
#endif
#ifndef HAVE_SNPRINTF
#define snprintf __db_Csnprintf
#endif
#ifndef HAVE_STRCASECMP
#define strcasecmp __db_Cstrcasecmp
#define strncasecmp __db_Cstrncasecmp
#endif
#ifndef HAVE_STRCAT
#define strcat __db_Cstrcat
#endif
#ifndef HAVE_STRCHR
#define strchr __db_Cstrchr
#endif
#ifndef HAVE_STRDUP
#define strdup __db_Cstrdup
#endif
#ifndef HAVE_STRERROR
#define strerror __db_Cstrerror
#endif
#ifndef HAVE_STRNCAT
#define strncat __db_Cstrncat
#endif
#ifndef HAVE_STRNCMP
#define strncmp __db_Cstrncmp
#endif
#ifndef HAVE_STRRCHR
#define strrchr __db_Cstrrchr
#endif
#ifndef HAVE_STRSEP
#define strsep __db_Cstrsep
#endif
#ifndef HAVE_STRTOL
#define strtol __db_Cstrtol
#endif
#ifndef HAVE_STRTOUL
#define strtoul __db_Cstrtoul
#endif
#ifndef HAVE_TIME
#define time __db_Ctime
#endif
#ifndef HAVE_VSNPRINTF
#define vsnprintf __db_Cvsnprintf
#endif

3096
build_wince/db.h Normal file

File diff suppressed because it is too large Load diff

280
build_wince/db.vcproj Normal file
View file

@ -0,0 +1,280 @@
<VisualStudioProject ProjectType="Visual C++" Version="8.00" Name="db" ProjectGUID="{CDE1C264-5E6C-11DF-AC8B-D58FDFD72085}">
<Platforms>
<Platform Name="Pocket PC 2003 (ARMV4)"/>
<Platform Name="Smartphone 2003 (ARMV4)"/>
<Platform Name="Windows Mobile 6.5.3 Professional DTK (ARMV4I)"/>
</Platforms>
<Configurations>
<Configuration Name="Static Debug|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DIAGNOSTIC;;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db.pch" AssemblerListingLocation="$(OutDir)/db/" ObjectFile="$(OutDir)/db/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb52sd.lib"/></Configuration>
<Configuration Name="Static Release|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db.pch" AssemblerListingLocation="$(OutDir)/db/" ObjectFile="$(OutDir)/db/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb52s.lib"/></Configuration>
<Configuration Name="Static Debug|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DIAGNOSTIC;;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db.pch" AssemblerListingLocation="$(OutDir)/db/" ObjectFile="$(OutDir)/db/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb52sd.lib"/></Configuration>
<Configuration Name="Static Release|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db.pch" AssemblerListingLocation="$(OutDir)/db/" ObjectFile="$(OutDir)/db/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb52s.lib"/></Configuration>
<Configuration Name="Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DIAGNOSTIC;;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db.pch" AssemblerListingLocation="$(OutDir)/db/" ObjectFile="$(OutDir)/db/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb52sd.lib"/></Configuration>
<Configuration Name="Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db.pch" AssemblerListingLocation="$(OutDir)/db/" ObjectFile="$(OutDir)/db/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb52s.lib"/></Configuration>
</Configurations>
<References/>
<Files>
<File RelativePath="..\src\btree\bt_compact.c"/>
<File RelativePath="..\src\btree\bt_compare.c"/>
<File RelativePath="..\src\btree\bt_conv.c"/>
<File RelativePath="..\src\btree\bt_curadj.c"/>
<File RelativePath="..\src\btree\bt_cursor.c"/>
<File RelativePath="..\src\btree\bt_delete.c"/>
<File RelativePath="..\src\btree\bt_method.c"/>
<File RelativePath="..\src\btree\bt_open.c"/>
<File RelativePath="..\src\btree\bt_put.c"/>
<File RelativePath="..\src\btree\bt_rec.c"/>
<File RelativePath="..\src\btree\bt_reclaim.c"/>
<File RelativePath="..\src\btree\bt_recno.c"/>
<File RelativePath="..\src\btree\bt_rsearch.c"/>
<File RelativePath="..\src\btree\bt_search.c"/>
<File RelativePath="..\src\btree\bt_split.c"/>
<File RelativePath="..\src\btree\bt_stat.c"/>
<File RelativePath="..\src\btree\btree_auto.c"/>
<File RelativePath="..\src\btree\bt_verify.c"/>
<File RelativePath="..\src\clib\bsearch.c"/>
<File RelativePath="..\src\clib\strdup.c"/>
<File RelativePath="..\src\clib\strerror.c"/>
<File RelativePath="..\src\clib\strsep.c"/>
<File RelativePath="..\src\clib\time.c"/>
<File RelativePath="..\src\common\clock.c"/>
<File RelativePath="..\src\common\db_byteorder.c"/>
<File RelativePath="..\src\common\db_compint.c"/>
<File RelativePath="..\src\common\db_err.c"/>
<File RelativePath="..\src\common\db_getlong.c"/>
<File RelativePath="..\src\common\db_idspace.c"/>
<File RelativePath="..\src\common\db_log2.c"/>
<File RelativePath="..\src\common\db_shash.c"/>
<File RelativePath="..\src\common\dbt.c"/>
<File RelativePath="..\src\common\mkpath.c"/>
<File RelativePath="..\src\common\util_cache.c"/>
<File RelativePath="..\src\common\util_log.c"/>
<File RelativePath="..\src\common\zerofill.c"/>
<File RelativePath="..\src\crypto\aes_method.c"/>
<File RelativePath="..\src\crypto\crypto.c"/>
<File RelativePath="..\src\crypto\mersenne\mt19937db.c"/>
<File RelativePath="..\src\crypto\rijndael\rijndael-alg-fst.c"/>
<File RelativePath="..\src\crypto\rijndael\rijndael-api-fst.c"/>
<File RelativePath="..\src\db\crdel_auto.c"/>
<File RelativePath="..\src\db\crdel_rec.c"/>
<File RelativePath="..\src\db\db.c"/>
<File RelativePath="..\src\db\db_am.c"/>
<File RelativePath="..\src\db\db_auto.c"/>
<File RelativePath="..\src\db\db_cam.c"/>
<File RelativePath="..\src\db\db_cds.c"/>
<File RelativePath="..\src\db\db_compact.c"/>
<File RelativePath="..\src\db\db_conv.c"/>
<File RelativePath="..\src\db\db_copy.c"/>
<File RelativePath="..\src\db\db_dispatch.c"/>
<File RelativePath="..\src\db\db_dup.c"/>
<File RelativePath="..\src\db\db_iface.c"/>
<File RelativePath="..\src\db\db_join.c"/>
<File RelativePath="..\src\db\db_meta.c"/>
<File RelativePath="..\src\db\db_method.c"/>
<File RelativePath="..\src\db\db_open.c"/>
<File RelativePath="..\src\db\db_overflow.c"/>
<File RelativePath="..\src\db\db_ovfl_vrfy.c"/>
<File RelativePath="..\src\db\db_pr.c"/>
<File RelativePath="..\src\db\db_rec.c"/>
<File RelativePath="..\src\db\db_reclaim.c"/>
<File RelativePath="..\src\db\db_remove.c"/>
<File RelativePath="..\src\db\db_rename.c"/>
<File RelativePath="..\src\db\db_ret.c"/>
<File RelativePath="..\src\db\db_setid.c"/>
<File RelativePath="..\src\db\db_setlsn.c"/>
<File RelativePath="..\src\db\db_sort_multiple.c"/>
<File RelativePath="..\src\db\db_stati.c"/>
<File RelativePath="..\src\db\db_truncate.c"/>
<File RelativePath="..\src\db\db_upg.c"/>
<File RelativePath="..\src\db\db_vrfy.c"/>
<File RelativePath="..\src\db\db_vrfyutil.c"/>
<File RelativePath="..\src\db\partition.c"/>
<File RelativePath="..\src\dbreg\dbreg.c"/>
<File RelativePath="..\src\dbreg\dbreg_auto.c"/>
<File RelativePath="..\src\dbreg\dbreg_rec.c"/>
<File RelativePath="..\src\dbreg\dbreg_stat.c"/>
<File RelativePath="..\src\dbreg\dbreg_util.c"/>
<File RelativePath="..\src\env\env_alloc.c"/>
<File RelativePath="..\src\env\env_config.c"/>
<File RelativePath="..\src\env\env_failchk.c"/>
<File RelativePath="..\src\env\env_file.c"/>
<File RelativePath="..\src\env\env_globals.c"/>
<File RelativePath="..\src\env\env_method.c"/>
<File RelativePath="..\src\env\env_name.c"/>
<File RelativePath="..\src\env\env_open.c"/>
<File RelativePath="..\src\env\env_recover.c"/>
<File RelativePath="..\src\env\env_region.c"/>
<File RelativePath="..\src\env\env_register.c"/>
<File RelativePath="..\src\env\env_sig.c"/>
<File RelativePath="..\src\env\env_stat.c"/>
<File RelativePath="..\src\fileops\fileops_auto.c"/>
<File RelativePath="..\src\fileops\fop_basic.c"/>
<File RelativePath="..\src\fileops\fop_rec.c"/>
<File RelativePath="..\src\fileops\fop_util.c"/>
<File RelativePath="..\src\hash\hash.c"/>
<File RelativePath="..\src\hash\hash_auto.c"/>
<File RelativePath="..\src\hash\hash_compact.c"/>
<File RelativePath="..\src\hash\hash_conv.c"/>
<File RelativePath="..\src\hash\hash_dup.c"/>
<File RelativePath="..\src\hash\hash_func.c"/>
<File RelativePath="..\src\hash\hash_meta.c"/>
<File RelativePath="..\src\hash\hash_method.c"/>
<File RelativePath="..\src\hash\hash_open.c"/>
<File RelativePath="..\src\hash\hash_page.c"/>
<File RelativePath="..\src\hash\hash_rec.c"/>
<File RelativePath="..\src\hash\hash_reclaim.c"/>
<File RelativePath="..\src\hash\hash_stat.c"/>
<File RelativePath="..\src\hash\hash_verify.c"/>
<File RelativePath="..\src\heap\heap.c"/>
<File RelativePath="..\src\heap\heap_auto.c"/>
<File RelativePath="..\src\heap\heap_conv.c"/>
<File RelativePath="..\src\heap\heap_method.c"/>
<File RelativePath="..\src\heap\heap_open.c"/>
<File RelativePath="..\src\heap\heap_rec.c"/>
<File RelativePath="..\src\heap\heap_reclaim.c"/>
<File RelativePath="..\src\heap\heap_stat.c"/>
<File RelativePath="..\src\heap\heap_verify.c"/>
<File RelativePath="..\src\hmac\hmac.c"/>
<File RelativePath="..\src\hmac\sha1.c"/>
<File RelativePath="..\src\lock\lock.c"/>
<File RelativePath="..\src\lock\lock_deadlock.c"/>
<File RelativePath="..\src\lock\lock_failchk.c"/>
<File RelativePath="..\src\lock\lock_id.c"/>
<File RelativePath="..\src\lock\lock_list.c"/>
<File RelativePath="..\src\lock\lock_method.c"/>
<File RelativePath="..\src\lock\lock_region.c"/>
<File RelativePath="..\src\lock\lock_stat.c"/>
<File RelativePath="..\src\lock\lock_timer.c"/>
<File RelativePath="..\src\lock\lock_util.c"/>
<File RelativePath="..\src\log\log.c"/>
<File RelativePath="..\src\log\log_archive.c"/>
<File RelativePath="..\src\log\log_compare.c"/>
<File RelativePath="..\src\log\log_debug.c"/>
<File RelativePath="..\src\log\log_get.c"/>
<File RelativePath="..\src\log\log_method.c"/>
<File RelativePath="..\src\log\log_put.c"/>
<File RelativePath="..\src\log\log_stat.c"/>
<File RelativePath="..\src\log\log_verify.c"/>
<File RelativePath="..\src\log\log_verify_auto.c"/>
<File RelativePath="..\src\log\log_verify_int.c"/>
<File RelativePath="..\src\log\log_verify_util.c"/>
<File RelativePath="..\src\mp\mp_alloc.c"/>
<File RelativePath="..\src\mp\mp_bh.c"/>
<File RelativePath="..\src\mp\mp_fget.c"/>
<File RelativePath="..\src\mp\mp_fmethod.c"/>
<File RelativePath="..\src\mp\mp_fopen.c"/>
<File RelativePath="..\src\mp\mp_fput.c"/>
<File RelativePath="..\src\mp\mp_fset.c"/>
<File RelativePath="..\src\mp\mp_method.c"/>
<File RelativePath="..\src\mp\mp_mvcc.c"/>
<File RelativePath="..\src\mp\mp_region.c"/>
<File RelativePath="..\src\mp\mp_register.c"/>
<File RelativePath="..\src\mp\mp_resize.c"/>
<File RelativePath="..\src\mp\mp_stat.c"/>
<File RelativePath="..\src\mp\mp_sync.c"/>
<File RelativePath="..\src\mp\mp_trickle.c"/>
<File RelativePath="..\src\mutex\mut_alloc.c"/>
<File RelativePath="..\src\mutex\mut_failchk.c"/>
<File RelativePath="..\src\mutex\mut_method.c"/>
<File RelativePath="..\src\mutex\mut_region.c"/>
<File RelativePath="..\src\mutex\mut_stat.c"/>
<File RelativePath="..\src\mutex\mut_win32.c"/>
<File RelativePath="..\src\os\os_abort.c"/>
<File RelativePath="..\src\os\os_alloc.c"/>
<File RelativePath="..\src\os\os_pid.c"/>
<File RelativePath="..\src\os\os_root.c"/>
<File RelativePath="..\src\os\os_rpath.c"/>
<File RelativePath="..\src\os\os_stack.c"/>
<File RelativePath="..\src\os\os_tmpdir.c"/>
<File RelativePath="..\src\os\os_uid.c"/>
<File RelativePath="..\src\os_windows\ce_ctime.c"/>
<File RelativePath="..\src\os_windows\os_abs.c"/>
<File RelativePath="..\src\os_windows\os_clock.c"/>
<File RelativePath="..\src\os_windows\os_config.c"/>
<File RelativePath="..\src\os_windows\os_cpu.c"/>
<File RelativePath="..\src\os_windows\os_dir.c"/>
<File RelativePath="..\src\os_windows\os_errno.c"/>
<File RelativePath="..\src\os_windows\os_fid.c"/>
<File RelativePath="..\src\os_windows\os_flock.c"/>
<File RelativePath="..\src\os_windows\os_fsync.c"/>
<File RelativePath="..\src\os_windows\os_getenv.c"/>
<File RelativePath="..\src\os_windows\os_handle.c"/>
<File RelativePath="..\src\os_windows\os_map.c"/>
<File RelativePath="..\src\os_windows\os_mkdir.c"/>
<File RelativePath="..\src\os_windows\os_open.c"/>
<File RelativePath="..\src\os_windows\os_rename.c"/>
<File RelativePath="..\src\os_windows\os_rw.c"/>
<File RelativePath="..\src\os_windows\os_seek.c"/>
<File RelativePath="..\src\os_windows\os_stat.c"/>
<File RelativePath="..\src\os_windows\os_truncate.c"/>
<File RelativePath="..\src\os_windows\os_unlink.c"/>
<File RelativePath="..\src\os_windows\os_yield.c"/>
<File RelativePath="..\src\qam\qam.c"/>
<File RelativePath="..\src\qam\qam_auto.c"/>
<File RelativePath="..\src\qam\qam_conv.c"/>
<File RelativePath="..\src\qam\qam_files.c"/>
<File RelativePath="..\src\qam\qam_method.c"/>
<File RelativePath="..\src\qam\qam_open.c"/>
<File RelativePath="..\src\qam\qam_rec.c"/>
<File RelativePath="..\src\qam\qam_stat.c"/>
<File RelativePath="..\src\qam\qam_upgrade.c"/>
<File RelativePath="..\src\qam\qam_verify.c"/>
<File RelativePath="..\src\rep\rep_stub.c"/>
<File RelativePath="..\src\repmgr\repmgr_stub.c"/>
<File RelativePath="..\src\sequence\seq_stat.c"/>
<File RelativePath="..\src\sequence\sequence.c"/>
<File RelativePath="..\src\txn\txn.c"/>
<File RelativePath="..\src\txn\txn_auto.c"/>
<File RelativePath="..\src\txn\txn_chkpt.c"/>
<File RelativePath="..\src\txn\txn_failchk.c"/>
<File RelativePath="..\src\txn\txn_method.c"/>
<File RelativePath="..\src\txn\txn_rec.c"/>
<File RelativePath="..\src\txn\txn_recover.c"/>
<File RelativePath="..\src\txn\txn_region.c"/>
<File RelativePath="..\src\txn\txn_stat.c"/>
<File RelativePath="..\src\txn\txn_util.c"/>
</Files>
<Globals/>
</VisualStudioProject>

654
build_wince/db_config.h Normal file
View file

@ -0,0 +1,654 @@
/* DO NOT EDIT: automatically built by dist/s_windows. */
/* Define to 1 if you want to build a version for running the test suite. */
/* #undef CONFIG_TEST */
/* Defined to a size to limit the stack size of Berkeley DB threads. */
/* #undef DB_STACKSIZE */
/* We use DB_WIN32 much as one would use _WIN32 -- to specify that we're using
an operating system environment that supports Win32 calls and semantics. We
don't use _WIN32 because Cygwin/GCC also defines _WIN32, even though
Cygwin/GCC closely emulates the Unix environment. */
#define DB_WIN32 1
/* Define to 1 if you want a debugging version. */
#if defined(_DEBUG)
#if !defined(DEBUG)
#define DEBUG 1
#endif
#endif
/* Define to 1 if you want a version that logs read operations. */
/* #undef DEBUG_ROP */
/* Define to 1 if you want a version that logs write operations. */
/* #undef DEBUG_WOP */
/* Define to 1 if you want a version with run-time diagnostic checking. */
/* #undef DIAGNOSTIC */
/* Define to 1 if 64-bit types are available. */
#define HAVE_64BIT_TYPES 1
/* Define to 1 if you have the `abort' function. */
/* #undef HAVE_ABORT */
/* Define to 1 if you have the `atoi' function. */
#define HAVE_ATOI 1
/* Define to 1 if you have the `atol' function. */
#define HAVE_ATOL 1
/* Define to 1 to use Solaris library routes for atomic operations. */
/* #undef HAVE_ATOMIC_SOLARIS */
/* Define to 1 to use native atomic operations. */
#define HAVE_ATOMIC_SUPPORT 1
/* Define to 1 to use GCC and x86 or x86_64 assemlby language atomic
operations. */
/* #undef HAVE_ATOMIC_X86_GCC_ASSEMBLY */
/* Define to 1 if you have the `backtrace' function. */
/* #undef HAVE_BACKTRACE */
/* Define to 1 if you have the `backtrace_symbols' function. */
/* #undef HAVE_BACKTRACE_SYMBOLS */
/* Define to 1 if you have the `bsearch' function. */
/* #undef HAVE_BSEARCH */
/* Define to 1 if you have the `clock_gettime' function. */
/* #undef HAVE_CLOCK_GETTIME */
/* Define to 1 if clock_gettime supports CLOCK_MONOTONIC. */
/* #undef HAVE_CLOCK_MONOTONIC */
/* Define to 1 if building compression support. */
/* #undef HAVE_COMPRESSION */
/* Define to 1 if Berkeley DB release includes strong cryptography. */
#ifndef HAVE_SMALLBUILD
#define HAVE_CRYPTO 1
#endif
/* Define to 1 if using Intel IPP for cryptography. */
/* #undef HAVE_CRYPTO_IPP */
/* Define to 1 if you have the `ctime_r' function. */
/* #undef HAVE_CTIME_R */
/* Define to 1 if ctime_r takes a buffer length as a third argument. */
/* #undef HAVE_CTIME_R_3ARG */
/* Define to 1 if building the DBM API. */
/* #undef HAVE_DBM */
/* Define to 1 if you have the `directio' function. */
/* #undef HAVE_DIRECTIO */
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_DIRENT_H */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define to 1 to use dtrace for performance event tracing. */
/* #undef HAVE_DTRACE */
/* Define to 1 if you have the <execinfo.h> header file. */
/* #undef HAVE_EXECINFO_H */
/* Define to 1 if you have EXIT_SUCCESS/EXIT_FAILURE #defines. */
#define HAVE_EXIT_SUCCESS 1
/* Define to 1 if you have the `fchmod' function. */
/* #undef HAVE_FCHMOD */
/* Define to 1 if you have the `fclose' function. */
#define HAVE_FCLOSE 1
/* Define to 1 if you have the `fcntl' function. */
/* #undef HAVE_FCNTL */
/* Define to 1 if fcntl/F_SETFD denies child access to file descriptors. */
/* #undef HAVE_FCNTL_F_SETFD */
/* Define to 1 if you have the `fdatasync' function. */
/* #undef HAVE_FDATASYNC */
/* Define to 1 if you have the `fgetc' function. */
#define HAVE_FGETC 1
/* Define to 1 if you have the `fgets' function. */
#define HAVE_FGETS 1
/* Define to 1 if allocated filesystem blocks are not zeroed. */
#define HAVE_FILESYSTEM_NOTZERO 1
/* Define to 1 if you have the `fopen' function. */
#define HAVE_FOPEN 1
/* Define to 1 if you have the `ftruncate' function. */
#define HAVE_FTRUNCATE 1
/* Define to 1 if you have the `fwrite' function. */
#define HAVE_FWRITE 1
/* Define to 1 if you have the `getaddrinfo' function. */
/* #undef HAVE_GETADDRINFO */
/* Define to 1 if you have the `getcwd' function. */
/* #undef HAVE_GETCWD */
/* Define to 1 if you have the `getenv' function. */
/* #undef HAVE_GETENV */
/* Define to 1 if you have the `getgid' function. */
/* #undef HAVE_GETGID */
/* Define to 1 if you have the `getopt' function. */
/*
* Windows does not have the getopt function, but as Berkeley DB example
* programs require getopt, we handle it outside of this configuration.
*/
#define HAVE_GETOPT 1
/* Define to 1 if getopt supports the optreset variable. */
#define HAVE_GETOPT_OPTRESET 1
/* Define to 1 if you have the `getrusage' function. */
/* #undef HAVE_GETRUSAGE */
/* Define to 1 if you have the `gettimeofday' function. */
/* #undef HAVE_GETTIMEOFDAY */
/* Define to 1 if you have the `getuid' function. */
/* #undef HAVE_GETUID */
/* Define to 1 if building Hash access method. */
#ifndef HAVE_SMALLBUILD
#define HAVE_HASH 1
#endif
/* Define to 1 if building Heap access method. */
#ifndef HAVE_SMALLBUILD
#define HAVE_HEAP 1
#endif
/* Define to 1 if you have the `hstrerror' function. */
/* #undef HAVE_HSTRERROR */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Define to 1 if you have the `isalpha' function. */
#define HAVE_ISALPHA 1
/* Define to 1 if you have the `isdigit' function. */
#define HAVE_ISDIGIT 1
/* Define to 1 if you have the `isprint' function. */
#define HAVE_ISPRINT 1
/* Define to 1 if you have localization function to support globalization. */
/* #undef HAVE_LOCALIZATION */
/* Define to 1 if you have the `localtime' function. */
/* #undef HAVE_LOCALTIME */
/* Define to 1 if you have the `isspace' function. */
#define HAVE_ISSPACE 1
/* Define to 1 to enable log checksums. */
#define HAVE_LOG_CHECKSUM 1
/* Define to 1 if you have the `memcmp' function. */
#define HAVE_MEMCMP 1
/* Define to 1 if you have the `memcpy' function. */
#define HAVE_MEMCPY 1
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mlock' function. */
/* #undef HAVE_MLOCK */
/* Define to 1 if you have the `mmap' function. */
/* #undef HAVE_MMAP */
/* Define to 1 where mmap() incrementally extends the accessible mapping as
the underlying file grows. */
/* #undef HAVE_MMAP_EXTEND */
/* Define to 1 if you have the `mprotect' function. */
/* #undef HAVE_MPROTECT */
/* Define to 1 if you have the `munlock' function. */
/* #undef HAVE_MUNLOCK */
/* Define to 1 if you have the `munmap' function. */
/* #undef HAVE_MUNMAP */
/* Define to 1 to use the GCC compiler and 68K assembly language mutexes. */
/* #undef HAVE_MUTEX_68K_GCC_ASSEMBLY */
/* Define to 1 to use the AIX _check_lock mutexes. */
/* #undef HAVE_MUTEX_AIX_CHECK_LOCK */
/* Define to 1 to use the GCC compiler and Alpha assembly language mutexes. */
/* #undef HAVE_MUTEX_ALPHA_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and ARM assembly language mutexes. */
/* #undef HAVE_MUTEX_ARM_GCC_ASSEMBLY */
/* Define to 1 to use the Apple/Darwin _spin_lock_try mutexes. */
/* #undef HAVE_MUTEX_DARWIN_SPIN_LOCK_TRY */
/* Define to 1 to use the UNIX fcntl system call mutexes. */
/* #undef HAVE_MUTEX_FCNTL */
/* Define to 1 to use the GCC compiler and PaRisc assembly language mutexes.
*/
/* #undef HAVE_MUTEX_HPPA_GCC_ASSEMBLY */
/* Define to 1 to use the msem_XXX mutexes on HP-UX. */
/* #undef HAVE_MUTEX_HPPA_MSEM_INIT */
/* Define to 1 to use test-and-set mutexes with blocking mutexes. */
/* #undef HAVE_MUTEX_HYBRID */
/* Define to 1 to use the GCC compiler and IA64 assembly language mutexes. */
/* #undef HAVE_MUTEX_IA64_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and MIPS assembly language mutexes. */
/* #undef HAVE_MUTEX_MIPS_GCC_ASSEMBLY */
/* Define to 1 to use the msem_XXX mutexes on systems other than HP-UX. */
/* #undef HAVE_MUTEX_MSEM_INIT */
/* Define to 1 to use the GCC compiler and PowerPC assembly language mutexes.
*/
/* #undef HAVE_MUTEX_PPC_GCC_ASSEMBLY */
/* Define to 1 to use POSIX 1003.1 pthread_XXX mutexes. */
/* #undef HAVE_MUTEX_PTHREADS */
/* Define to 1 to use Reliant UNIX initspin mutexes. */
/* #undef HAVE_MUTEX_RELIANTUNIX_INITSPIN */
/* Define to 1 to use the IBM C compiler and S/390 assembly language mutexes.
*/
/* #undef HAVE_MUTEX_S390_CC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and S/390 assembly language mutexes. */
/* #undef HAVE_MUTEX_S390_GCC_ASSEMBLY */
/* Define to 1 to use the SCO compiler and x86 assembly language mutexes. */
/* #undef HAVE_MUTEX_SCO_X86_CC_ASSEMBLY */
/* Define to 1 to use the obsolete POSIX 1003.1 sema_XXX mutexes. */
/* #undef HAVE_MUTEX_SEMA_INIT */
/* Define to 1 to use the SGI XXX_lock mutexes. */
/* #undef HAVE_MUTEX_SGI_INIT_LOCK */
/* Define to 1 to use the Solaris _lock_XXX mutexes. */
/* #undef HAVE_MUTEX_SOLARIS_LOCK_TRY */
/* Define to 1 to use the Solaris lwp threads mutexes. */
/* #undef HAVE_MUTEX_SOLARIS_LWP */
/* Define to 1 to use the GCC compiler and Sparc assembly language mutexes. */
/* #undef HAVE_MUTEX_SPARC_GCC_ASSEMBLY */
/* Define to 1 if the Berkeley DB library should support mutexes. */
#define HAVE_MUTEX_SUPPORT 1
/* Define to 1 if mutexes hold system resources. */
/* #undef HAVE_MUTEX_SYSTEM_RESOURCES */
/* Define to 1 to configure mutexes intra-process only. */
/* #undef HAVE_MUTEX_THREAD_ONLY */
/* Define to 1 to use the CC compiler and Tru64 assembly language mutexes. */
/* #undef HAVE_MUTEX_TRU64_CC_ASSEMBLY */
/* Define to 1 to use the UNIX International mutexes. */
/* #undef HAVE_MUTEX_UI_THREADS */
/* Define to 1 to use the UTS compiler and assembly language mutexes. */
/* #undef HAVE_MUTEX_UTS_CC_ASSEMBLY */
/* Define to 1 to use VMS mutexes. */
/* #undef HAVE_MUTEX_VMS */
/* Define to 1 to use VxWorks mutexes. */
/* #undef HAVE_MUTEX_VXWORKS */
/* Define to 1 to use the MSVC compiler and Windows mutexes. */
#define HAVE_MUTEX_WIN32 1
/* Define to 1 to use the GCC compiler and Windows mutexes. */
/* #undef HAVE_MUTEX_WIN32_GCC */
/* Define to 1 to use the GCC compiler and 64-bit x86 assembly language
mutexes. */
/* #undef HAVE_MUTEX_X86_64_GCC_ASSEMBLY */
/* Define to 1 to use the GCC compiler and 32-bit x86 assembly language
mutexes. */
/* #undef HAVE_MUTEX_X86_GCC_ASSEMBLY */
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef HAVE_NDIR_H */
/* Define to 1 if you have the O_DIRECT flag. */
/* #undef HAVE_O_DIRECT */
/* Define to 1 if building partitioned database support. */
/* #undef HAVE_PARTITION */
/* Define to 1 to enable some kind of performance event monitoring. */
/* #undef HAVE_PERFMON */
/* Define to 1 to enable performance event monitoring of *_stat() statistics.
*/
/* #undef HAVE_PERFMON_STATISTICS */
/* Define to 1 if you have the `pread' function. */
/* #undef HAVE_PREAD */
/* Define to 1 if you have the `printf' function. */
#define HAVE_PRINTF 1
/* Define to 1 if you have the `pstat_getdynamic' function. */
/* #undef HAVE_PSTAT_GETDYNAMIC */
/* Define to 1 if it is OK to initialize an already initialized
pthread_cond_t. */
/* #undef HAVE_PTHREAD_COND_REINIT_OKAY */
/* Define to 1 if it is OK to initialize an already initialized
pthread_rwlock_t. */
/* #undef HAVE_PTHREAD_RWLOCK_REINIT_OKAY */
/* Define to 1 if you have the `pthread_self' function. */
/* #undef HAVE_PTHREAD_SELF */
/* Define to 1 if you have the `pthread_yield' function. */
/* #undef HAVE_PTHREAD_YIELD */
/* Define to 1 if you have the `pwrite' function. */
/* #undef HAVE_PWRITE */
/* Define to 1 if building on QNX. */
/* #undef HAVE_QNX */
/* Define to 1 if you have the `qsort' function. */
#define HAVE_QSORT 1
/* Define to 1 if building Queue access method. */
#ifndef HAVE_SMALLBUILD
#define HAVE_QUEUE 1
#endif
/* Define to 1 if you have the `raise' function. */
#define HAVE_RAISE 1
/* Define to 1 if you have the `rand' function. */
#define HAVE_RAND 1
/* Define to 1 if you have the `random' function. */
/* #undef HAVE_RANDOM */
/* Define to 1 if building replication support. */
/* #undef HAVE_REPLICATION */
/* Define to 1 if building the Berkeley DB replication framework. */
/* #undef HAVE_REPLICATION_THREADS */
/* Define to 1 if you have the `sched_yield' function. */
/* #undef HAVE_SCHED_YIELD */
/* Define to 1 if you have the `select' function. */
/* #undef HAVE_SELECT */
/* Define to 1 if you have the `setgid' function. */
/* #undef HAVE_SETGID */
/* Define to 1 if you have the `setuid' function. */
#define HAVE_SETUID 1
/* Define to 1 to configure Berkeley DB to use shared, read/write latches. */
#define HAVE_SHARED_LATCHES 1
/* Define to 1 if shmctl/SHM_LOCK locks down shared memory segments. */
/* #undef HAVE_SHMCTL_SHM_LOCK */
/* Define to 1 if you have the `shmget' function. */
/* #undef HAVE_SHMGET */
/* Define to 1 if you have the `sigaction' function. */
/* #undef HAVE_SIGACTION */
/* Define to 1 if thread identifier type db_threadid_t is integral. */
#define HAVE_SIMPLE_THREAD_TYPE 1
/* Define to 1 if you have the `snprintf' function. */
#define HAVE_SNPRINTF 1
/* Define to 1 if you have the `stat' function. */
#define HAVE_STAT 1
/* Define to 1 if building statistics support. */
#define HAVE_STATISTICS 1
/* 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. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the `strcasecmp' function. */
#define HAVE_STRCASECMP 1
/* Define to 1 if you have the `strcat' function. */
#define HAVE_STRCAT 1
/* Define to 1 if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define to 1 if you have the `strdup' function. */
/* #undef HAVE_STRDUP */
/* Define to 1 if you have the `strerror' function. */
/* #undef HAVE_STRERROR */
/* Define to 1 if you have the `strftime' function. */
/* #undef HAVE_STRFTIME */
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if building without output message content. */
#ifdef HAVE_SMALLBUILD
#define HAVE_STRIPPED_MESSAGES 1
#endif
/* Define to 1 if you have the `strncat' function. */
#define HAVE_STRNCAT 1
/* Define to 1 if you have the `strncmp' function. */
#define HAVE_STRNCMP 1
/* Define to 1 if you have the `strrchr' function. */
#define HAVE_STRRCHR 1
/* Define to 1 if you have the `strsep' function. */
/* #undef HAVE_STRSEP */
/* Define to 1 if you have the `strtol' function. */
#define HAVE_STRTOL 1
/* Define to 1 if you have the `strtoul' function. */
#define HAVE_STRTOUL 1
/* Define to 1 if `st_blksize' is member of `struct stat'. */
/* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */
/* Define to 1 if you have the `sysconf' function. */
/* #undef HAVE_SYSCONF */
/* Define to 1 if port includes files in the Berkeley DB source code. */
/* #undef HAVE_SYSTEM_INCLUDE_FILES */
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/sdt.h> header file. */
/* #undef HAVE_SYS_SDT_H */
/* Define to 1 if you have the <sys/select.h> header file. */
/* #undef HAVE_SYS_SELECT_H */
/* Define to 1 if you have the <sys/socket.h> header file. */
/* #undef HAVE_SYS_SOCKET_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
/* #undef HAVE_SYS_TIME_H */
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the `time' function. */
/* #undef HAVE_TIME */
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef HAVE_UNISTD_H */
/* Define to 1 if unlink of file with open file descriptors will fail. */
/* #undef HAVE_UNLINK_WITH_OPEN_FAILURE */
/* Define to 1 if port includes historic database upgrade support. */
/* #undef HAVE_UPGRADE_SUPPORT */
/* Define to 1 if building access method verification support. */
#ifndef HAVE_SMALLBUILD
#define HAVE_VERIFY 1
#endif
/* Define to 1 if you have the `vsnprintf' function. */
#define HAVE_VSNPRINTF 1
/* Define to 1 if building VxWorks. */
/* #undef HAVE_VXWORKS */
/* Define to 1 if you have the `yield' function. */
/* #undef HAVE_YIELD */
/* Define to 1 if you have the `_fstati64' function. */
#define HAVE__FSTATI64 1
/* Define to the sub-directory in which libtool stores uninstalled libraries. */
/* #undef LT_OBJDIR */
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "Oracle Technology Network Berkeley DB forum"
/* Define to the full name of this package. */
#define PACKAGE_NAME "Berkeley DB"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "Berkeley DB 5.2.28"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "db-5.2.28"
/* Define to the home page for this package. */
#define PACKAGE_URL "http://www.oracle.com/technology/software/products/berkeley-db/index.html"
/* Define to the version of this package. */
#define PACKAGE_VERSION "5.2.28"
/* The size of a `char', as computed by sizeof. */
/* #undef SIZEOF_CHAR */
/* The size of a `char *', as computed by sizeof. */
/* #undef SIZEOF_CHAR_P */
/* The size of a `int', as computed by sizeof. */
/* #undef SIZEOF_INT */
/* The size of a `long', as computed by sizeof. */
/* #undef SIZEOF_LONG */
/* The size of a `long long', as computed by sizeof. */
/* #undef SIZEOF_LONG_LONG */
/* The size of a `short', as computed by sizeof. */
/* #undef SIZEOF_SHORT */
/* The size of a `size_t', as computed by sizeof. */
/* #undef SIZEOF_SIZE_T */
/* The size of a `unsigned char', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_CHAR */
/* The size of a `unsigned int', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_INT */
/* The size of a `unsigned long', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_LONG */
/* The size of a `unsigned long long', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_LONG_LONG */
/* The size of a `unsigned short', as computed by sizeof. */
/* #undef SIZEOF_UNSIGNED_SHORT */
/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
/* #undef STAT_MACROS_BROKEN */
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
/* #undef TIME_WITH_SYS_TIME */
/* Define to 1 to mask harmless uninitialized memory read/writes. */
/* #undef UMRW */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#define inline __inline
#endif
/* type to use in place of socklen_t if not defined */
/* #undef socklen_t */

1139
build_wince/db_int.h Normal file

File diff suppressed because it is too large Load diff

241
build_wince/db_small.vcproj Normal file
View file

@ -0,0 +1,241 @@
<VisualStudioProject ProjectType="Visual C++" Version="8.00" Name="db_small" ProjectGUID="{XXX-NOT-USED-XXX}">
<Platforms>
<Platform Name="Pocket PC 2003 (ARMV4)"/>
<Platform Name="Smartphone 2003 (ARMV4)"/>
<Platform Name="Windows Mobile 6.5.3 Professional DTK (ARMV4I)"/>
</Platforms>
<Configurations>
<Configuration Name="Static Debug|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db_small" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;HAVE_SMALLBUILD;DIAGNOSTIC;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_small.pch" AssemblerListingLocation="$(OutDir)/db_small/" ObjectFile="$(OutDir)/db_small/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_small52sd.lib"/></Configuration>
<Configuration Name="Static Release|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db_small" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;HAVE_SMALLBUILD;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_small.pch" AssemblerListingLocation="$(OutDir)/db_small/" ObjectFile="$(OutDir)/db_small/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_small52s.lib"/></Configuration>
<Configuration Name="Static Debug|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db_small" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;HAVE_SMALLBUILD;DIAGNOSTIC;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_small.pch" AssemblerListingLocation="$(OutDir)/db_small/" ObjectFile="$(OutDir)/db_small/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_small52sd.lib"/></Configuration>
<Configuration Name="Static Release|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db_small" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;HAVE_SMALLBUILD;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_small.pch" AssemblerListingLocation="$(OutDir)/db_small/" ObjectFile="$(OutDir)/db_small/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_small52s.lib"/></Configuration>
<Configuration Name="Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db_small" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;HAVE_SMALLBUILD;DIAGNOSTIC;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_small.pch" AssemblerListingLocation="$(OutDir)/db_small/" ObjectFile="$(OutDir)/db_small/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_small52sd.lib"/></Configuration>
<Configuration Name="Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db_small" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;HAVE_SMALLBUILD;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_small.pch" AssemblerListingLocation="$(OutDir)/db_small/" ObjectFile="$(OutDir)/db_small/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_small52s.lib"/></Configuration>
</Configurations>
<References/>
<Files>
<File RelativePath="..\src\btree\bt_compact.c"/>
<File RelativePath="..\src\btree\bt_compare.c"/>
<File RelativePath="..\src\btree\bt_conv.c"/>
<File RelativePath="..\src\btree\bt_curadj.c"/>
<File RelativePath="..\src\btree\bt_cursor.c"/>
<File RelativePath="..\src\btree\bt_delete.c"/>
<File RelativePath="..\src\btree\bt_method.c"/>
<File RelativePath="..\src\btree\bt_open.c"/>
<File RelativePath="..\src\btree\bt_put.c"/>
<File RelativePath="..\src\btree\bt_rec.c"/>
<File RelativePath="..\src\btree\bt_reclaim.c"/>
<File RelativePath="..\src\btree\bt_recno.c"/>
<File RelativePath="..\src\btree\bt_rsearch.c"/>
<File RelativePath="..\src\btree\bt_search.c"/>
<File RelativePath="..\src\btree\bt_split.c"/>
<File RelativePath="..\src\btree\bt_stat.c"/>
<File RelativePath="..\src\btree\btree_auto.c"/>
<File RelativePath="..\src\clib\bsearch.c"/>
<File RelativePath="..\src\clib\strdup.c"/>
<File RelativePath="..\src\clib\strerror.c"/>
<File RelativePath="..\src\clib\strsep.c"/>
<File RelativePath="..\src\clib\time.c"/>
<File RelativePath="..\src\common\clock.c"/>
<File RelativePath="..\src\common\crypto_stub.c"/>
<File RelativePath="..\src\common\db_byteorder.c"/>
<File RelativePath="..\src\common\db_compint.c"/>
<File RelativePath="..\src\common\db_err.c"/>
<File RelativePath="..\src\common\db_getlong.c"/>
<File RelativePath="..\src\common\db_idspace.c"/>
<File RelativePath="..\src\common\db_log2.c"/>
<File RelativePath="..\src\common\db_shash.c"/>
<File RelativePath="..\src\common\dbt.c"/>
<File RelativePath="..\src\common\mkpath.c"/>
<File RelativePath="..\src\common\util_cache.c"/>
<File RelativePath="..\src\common\util_log.c"/>
<File RelativePath="..\src\common\zerofill.c"/>
<File RelativePath="..\src\db\crdel_auto.c"/>
<File RelativePath="..\src\db\crdel_rec.c"/>
<File RelativePath="..\src\db\db.c"/>
<File RelativePath="..\src\db\db_am.c"/>
<File RelativePath="..\src\db\db_auto.c"/>
<File RelativePath="..\src\db\db_cam.c"/>
<File RelativePath="..\src\db\db_cds.c"/>
<File RelativePath="..\src\db\db_compact.c"/>
<File RelativePath="..\src\db\db_conv.c"/>
<File RelativePath="..\src\db\db_copy.c"/>
<File RelativePath="..\src\db\db_dispatch.c"/>
<File RelativePath="..\src\db\db_dup.c"/>
<File RelativePath="..\src\db\db_iface.c"/>
<File RelativePath="..\src\db\db_join.c"/>
<File RelativePath="..\src\db\db_meta.c"/>
<File RelativePath="..\src\db\db_method.c"/>
<File RelativePath="..\src\db\db_open.c"/>
<File RelativePath="..\src\db\db_overflow.c"/>
<File RelativePath="..\src\db\db_pr.c"/>
<File RelativePath="..\src\db\db_rec.c"/>
<File RelativePath="..\src\db\db_reclaim.c"/>
<File RelativePath="..\src\db\db_remove.c"/>
<File RelativePath="..\src\db\db_rename.c"/>
<File RelativePath="..\src\db\db_ret.c"/>
<File RelativePath="..\src\db\db_setid.c"/>
<File RelativePath="..\src\db\db_setlsn.c"/>
<File RelativePath="..\src\db\db_sort_multiple.c"/>
<File RelativePath="..\src\db\db_stati.c"/>
<File RelativePath="..\src\db\db_truncate.c"/>
<File RelativePath="..\src\db\db_upg.c"/>
<File RelativePath="..\src\db\db_vrfy_stub.c"/>
<File RelativePath="..\src\db\partition.c"/>
<File RelativePath="..\src\dbreg\dbreg.c"/>
<File RelativePath="..\src\dbreg\dbreg_auto.c"/>
<File RelativePath="..\src\dbreg\dbreg_rec.c"/>
<File RelativePath="..\src\dbreg\dbreg_stat.c"/>
<File RelativePath="..\src\dbreg\dbreg_util.c"/>
<File RelativePath="..\src\env\env_alloc.c"/>
<File RelativePath="..\src\env\env_config.c"/>
<File RelativePath="..\src\env\env_failchk.c"/>
<File RelativePath="..\src\env\env_file.c"/>
<File RelativePath="..\src\env\env_globals.c"/>
<File RelativePath="..\src\env\env_method.c"/>
<File RelativePath="..\src\env\env_name.c"/>
<File RelativePath="..\src\env\env_open.c"/>
<File RelativePath="..\src\env\env_recover.c"/>
<File RelativePath="..\src\env\env_region.c"/>
<File RelativePath="..\src\env\env_register.c"/>
<File RelativePath="..\src\env\env_sig.c"/>
<File RelativePath="..\src\env\env_stat.c"/>
<File RelativePath="..\src\fileops\fileops_auto.c"/>
<File RelativePath="..\src\fileops\fop_basic.c"/>
<File RelativePath="..\src\fileops\fop_rec.c"/>
<File RelativePath="..\src\fileops\fop_util.c"/>
<File RelativePath="..\src\hash\hash_func.c"/>
<File RelativePath="..\src\hash\hash_stub.c"/>
<File RelativePath="..\src\heap\heap_stub.c"/>
<File RelativePath="..\src\hmac\hmac.c"/>
<File RelativePath="..\src\hmac\sha1.c"/>
<File RelativePath="..\src\lock\lock.c"/>
<File RelativePath="..\src\lock\lock_deadlock.c"/>
<File RelativePath="..\src\lock\lock_failchk.c"/>
<File RelativePath="..\src\lock\lock_id.c"/>
<File RelativePath="..\src\lock\lock_list.c"/>
<File RelativePath="..\src\lock\lock_method.c"/>
<File RelativePath="..\src\lock\lock_region.c"/>
<File RelativePath="..\src\lock\lock_stat.c"/>
<File RelativePath="..\src\lock\lock_timer.c"/>
<File RelativePath="..\src\lock\lock_util.c"/>
<File RelativePath="..\src\log\log.c"/>
<File RelativePath="..\src\log\log_archive.c"/>
<File RelativePath="..\src\log\log_compare.c"/>
<File RelativePath="..\src\log\log_debug.c"/>
<File RelativePath="..\src\log\log_get.c"/>
<File RelativePath="..\src\log\log_method.c"/>
<File RelativePath="..\src\log\log_put.c"/>
<File RelativePath="..\src\log\log_stat.c"/>
<File RelativePath="..\src\log\log_verify_stub.c"/>
<File RelativePath="..\src\mp\mp_alloc.c"/>
<File RelativePath="..\src\mp\mp_bh.c"/>
<File RelativePath="..\src\mp\mp_fget.c"/>
<File RelativePath="..\src\mp\mp_fmethod.c"/>
<File RelativePath="..\src\mp\mp_fopen.c"/>
<File RelativePath="..\src\mp\mp_fput.c"/>
<File RelativePath="..\src\mp\mp_fset.c"/>
<File RelativePath="..\src\mp\mp_method.c"/>
<File RelativePath="..\src\mp\mp_mvcc.c"/>
<File RelativePath="..\src\mp\mp_region.c"/>
<File RelativePath="..\src\mp\mp_register.c"/>
<File RelativePath="..\src\mp\mp_resize.c"/>
<File RelativePath="..\src\mp\mp_stat.c"/>
<File RelativePath="..\src\mp\mp_sync.c"/>
<File RelativePath="..\src\mp\mp_trickle.c"/>
<File RelativePath="..\src\mutex\mut_alloc.c"/>
<File RelativePath="..\src\mutex\mut_failchk.c"/>
<File RelativePath="..\src\mutex\mut_method.c"/>
<File RelativePath="..\src\mutex\mut_region.c"/>
<File RelativePath="..\src\mutex\mut_stat.c"/>
<File RelativePath="..\src\mutex\mut_win32.c"/>
<File RelativePath="..\src\os\os_abort.c"/>
<File RelativePath="..\src\os\os_alloc.c"/>
<File RelativePath="..\src\os\os_ctime.c"/>
<File RelativePath="..\src\os\os_pid.c"/>
<File RelativePath="..\src\os\os_root.c"/>
<File RelativePath="..\src\os\os_rpath.c"/>
<File RelativePath="..\src\os\os_stack.c"/>
<File RelativePath="..\src\os\os_tmpdir.c"/>
<File RelativePath="..\src\os\os_uid.c"/>
<File RelativePath="..\src\os_windows\os_abs.c"/>
<File RelativePath="..\src\os_windows\os_clock.c"/>
<File RelativePath="..\src\os_windows\os_config.c"/>
<File RelativePath="..\src\os_windows\os_cpu.c"/>
<File RelativePath="..\src\os_windows\os_dir.c"/>
<File RelativePath="..\src\os_windows\os_errno.c"/>
<File RelativePath="..\src\os_windows\os_fid.c"/>
<File RelativePath="..\src\os_windows\os_flock.c"/>
<File RelativePath="..\src\os_windows\os_fsync.c"/>
<File RelativePath="..\src\os_windows\os_getenv.c"/>
<File RelativePath="..\src\os_windows\os_handle.c"/>
<File RelativePath="..\src\os_windows\os_map.c"/>
<File RelativePath="..\src\os_windows\os_mkdir.c"/>
<File RelativePath="..\src\os_windows\os_open.c"/>
<File RelativePath="..\src\os_windows\os_rename.c"/>
<File RelativePath="..\src\os_windows\os_rw.c"/>
<File RelativePath="..\src\os_windows\os_seek.c"/>
<File RelativePath="..\src\os_windows\os_stat.c"/>
<File RelativePath="..\src\os_windows\os_truncate.c"/>
<File RelativePath="..\src\os_windows\os_unlink.c"/>
<File RelativePath="..\src\os_windows\os_yield.c"/>
<File RelativePath="..\src\qam\qam_stub.c"/>
<File RelativePath="..\src\rep\rep_stub.c"/>
<File RelativePath="..\src\repmgr\repmgr_stub.c"/>
<File RelativePath="..\src\sequence\seq_stat.c"/>
<File RelativePath="..\src\sequence\sequence.c"/>
<File RelativePath="..\src\txn\txn.c"/>
<File RelativePath="..\src\txn\txn_auto.c"/>
<File RelativePath="..\src\txn\txn_chkpt.c"/>
<File RelativePath="..\src\txn\txn_failchk.c"/>
<File RelativePath="..\src\txn\txn_method.c"/>
<File RelativePath="..\src\txn\txn_rec.c"/>
<File RelativePath="..\src\txn\txn_recover.c"/>
<File RelativePath="..\src\txn\txn_region.c"/>
<File RelativePath="..\src\txn\txn_stat.c"/>
<File RelativePath="..\src\txn\txn_util.c"/>
</Files>
<Globals/>
</VisualStudioProject>

203
build_wince/db_sql.vcproj Normal file
View file

@ -0,0 +1,203 @@
<VisualStudioProject ProjectType="Visual C++" Version="8.00" Name="db_sql" ProjectGUID="{ACE41B30-04BB-11DF-8A39-0800200C9A66}">
<Platforms>
<Platform Name="Pocket PC 2003 (ARMV4)"/>
<Platform Name="Smartphone 2003 (ARMV4)"/>
<Platform Name="Windows Mobile 6.5.3 Professional DTK (ARMV4I)"/>
</Platforms>
<Configurations>
<Configuration Name="Debug|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_API=__declspec(dllexport);SQLITE_TEST;SQLITE_DEBUG;SQLITE_MEMDEBUG;_USRDLL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/libdb_sql52d.dll" ProgramDatabaseFile="$(OutDir)/libdb_sql52d.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_sql52d.lib" TargetMachine="3"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_API=__declspec(dllexport);_USRDLL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/libdb_sql52.dll" ProgramDatabaseFile="$(OutDir)/libdb_sql52.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_sql52.lib" TargetMachine="3"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Static Debug|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_TEST;SQLITE_DEBUG;SQLITE_MEMDEBUG;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_sql52sd.lib"/></Configuration>
<Configuration Name="Static Release|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_sql52s.lib"/></Configuration>
<Configuration Name="Debug|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_API=__declspec(dllexport);SQLITE_TEST;SQLITE_DEBUG;SQLITE_MEMDEBUG;_USRDLL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/libdb_sql52d.dll" ProgramDatabaseFile="$(OutDir)/libdb_sql52d.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_sql52d.lib" TargetMachine="3"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_API=__declspec(dllexport);_USRDLL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/libdb_sql52.dll" ProgramDatabaseFile="$(OutDir)/libdb_sql52.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_sql52.lib" TargetMachine="3"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Static Debug|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_TEST;SQLITE_DEBUG;SQLITE_MEMDEBUG;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_sql52sd.lib"/></Configuration>
<Configuration Name="Static Release|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_sql52s.lib"/></Configuration>
<Configuration Name="Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_API=__declspec(dllexport);SQLITE_TEST;SQLITE_DEBUG;SQLITE_MEMDEBUG;_USRDLL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/libdb_sql52d.dll" ProgramDatabaseFile="$(OutDir)/libdb_sql52d.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_sql52d.lib" TargetMachine="0"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="2" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_API=__declspec(dllexport);_USRDLL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/libdb_sql52.dll" ProgramDatabaseFile="$(OutDir)/libdb_sql52.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" ImportLibrary="$(OutDir)/libdb_sql52.lib" TargetMachine="0"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Static Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Debug" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;SQLITE_TEST;SQLITE_DEBUG;SQLITE_MEMDEBUG;_LIB;" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_sql52sd.lib"/></Configuration>
<Configuration Name="Static Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Static_Release" IntermediateDirectory="./$(OutDir)/db_sql" ConfigurationType="4" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated,../lang/sql/adapter,../lang/sql/sqlite/src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;SQLITE_EXPORTS;SQLITE_CORE;SQLITE_THREADSAFE=1;BDBSQL_OMIT_SHARING;SQLITE_OMIT_WAL;SQLITE_HAS_CODEC;_LIB;" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/db_sql.pch" AssemblerListingLocation="$(OutDir)/db_sql/" ObjectFile="$(OutDir)/db_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLibrarianTool" OutputFile="$(OutDir)/libdb_sql52s.lib"/></Configuration>
</Configurations>
<References/>
<Files>
<File RelativePath="..\lang\sql\sqlite\src\alter.c"/>
<File RelativePath="..\lang\sql\sqlite\src\analyze.c"/>
<File RelativePath="..\lang\sql\sqlite\src\attach.c"/>
<File RelativePath="..\lang\sql\sqlite\src\auth.c"/>
<File RelativePath="..\lang\sql\adapter\backup.c"/>
<File RelativePath="..\lang\sql\sqlite\src\bitvec.c"/>
<File RelativePath="..\lang\sql\adapter\btmutex.c"/>
<File RelativePath="..\lang\sql\adapter\btree.c"/>
<File RelativePath="..\lang\sql\sqlite\src\build.c"/>
<File RelativePath="..\lang\sql\sqlite\src\callback.c"/>
<File RelativePath="..\lang\sql\sqlite\src\complete.c"/>
<File RelativePath="..\lang\sql\sqlite\src\ctime.c"/>
<File RelativePath="..\lang\sql\sqlite\src\date.c"/>
<File RelativePath="..\lang\sql\adapter\db_encrypt.c"/>
<File RelativePath="..\lang\sql\adapter\db_pragma.c"/>
<File RelativePath="..\lang\sql\adapter\db_shell.c"/>
<File RelativePath="..\lang\sql\adapter\db_sequence.c"/>
<File RelativePath="..\lang\sql\sqlite\src\delete.c"/>
<File RelativePath="..\lang\sql\sqlite\src\expr.c"/>
<File RelativePath="..\lang\sql\sqlite\src\fault.c"/>
<File RelativePath="..\lang\sql\sqlite\src\fkey.c"/>
<File RelativePath="..\lang\sql\sqlite\src\func.c"/>
<File RelativePath="..\lang\sql\sqlite\src\global.c"/>
<File RelativePath="..\lang\sql\sqlite\src\hash.c"/>
<File RelativePath="..\lang\sql\sqlite\src\insert.c"/>
<File RelativePath="..\lang\sql\sqlite\src\journal.c"/>
<File RelativePath="..\lang\sql\sqlite\src\legacy.c"/>
<File RelativePath="..\lang\sql\sqlite\src\loadext.c"/>
<File RelativePath="..\lang\sql\sqlite\src\main.c"/>
<File RelativePath="..\lang\sql\sqlite\src\malloc.c"/>
<File RelativePath="..\lang\sql\sqlite\src\mem0.c"/>
<File RelativePath="..\lang\sql\sqlite\src\mem1.c"/>
<File RelativePath="..\lang\sql\sqlite\src\mem2.c"/>
<File RelativePath="..\lang\sql\sqlite\src\memjournal.c"/>
<File RelativePath="..\lang\sql\sqlite\src\mutex.c"/>
<File RelativePath="..\lang\sql\sqlite\src\mutex_noop.c"/>
<File RelativePath="..\lang\sql\sqlite\src\mutex_w32.c"/>
<File RelativePath="..\lang\sql\sqlite\src\notify.c"/>
<File RelativePath="..\lang\sql\generated\opcodes.c"/>
<File RelativePath="..\lang\sql\sqlite\src\os.c"/>
<File RelativePath="..\lang\sql\sqlite\src\os_win.c"/>
<File RelativePath="..\lang\sql\adapter\pager.c"/>
<File RelativePath="..\lang\sql\generated\parse.c"/>
<File RelativePath="..\lang\sql\adapter\pcache.c"/>
<File RelativePath="..\lang\sql\adapter\pcache1.c"/>
<File RelativePath="..\lang\sql\sqlite\src\pragma.c"/>
<File RelativePath="..\lang\sql\sqlite\src\prepare.c"/>
<File RelativePath="..\lang\sql\sqlite\src\printf.c"/>
<File RelativePath="..\lang\sql\sqlite\src\random.c"/>
<File RelativePath="..\lang\sql\sqlite\src\resolve.c"/>
<File RelativePath="..\lang\sql\sqlite\src\rowset.c"/>
<File RelativePath="..\lang\sql\sqlite\src\select.c"/>
<File RelativePath="..\lang\sql\sqlite\src\status.c"/>
<File RelativePath="..\lang\sql\sqlite\src\table.c"/>
<File RelativePath="..\lang\sql\sqlite\src\tokenize.c"/>
<File RelativePath="..\lang\sql\sqlite\src\trigger.c"/>
<File RelativePath="..\lang\sql\sqlite\src\update.c"/>
<File RelativePath="..\lang\sql\sqlite\src\utf.c"/>
<File RelativePath="..\lang\sql\sqlite\src\util.c"/>
<File RelativePath="..\lang\sql\adapter\vacuum.c"/>
<File RelativePath="..\lang\sql\sqlite\src\vdbe.c"/>
<File RelativePath="..\lang\sql\sqlite\src\vdbeapi.c"/>
<File RelativePath="..\lang\sql\sqlite\src\vdbeaux.c"/>
<File RelativePath="..\lang\sql\sqlite\src\vdbeblob.c"/>
<File RelativePath="..\lang\sql\sqlite\src\vdbemem.c"/>
<File RelativePath="..\lang\sql\sqlite\src\vdbetrace.c"/>
<File RelativePath="..\lang\sql\sqlite\src\vtab.c"/>
<File RelativePath="..\lang\sql\adapter\wal.c"/>
<File RelativePath="..\lang\sql\sqlite\src\walker.c"/>
<File RelativePath="..\lang\sql\sqlite\src\where.c"/>
</Files>
<Globals/>
</VisualStudioProject>

186
build_wince/errno.h Normal file
View file

@ -0,0 +1,186 @@
/*-
* Copyright (c) 1982, 1986, 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
* All or some portions of this file are derived from material licensed
* to the University of California by American Telephone and Telegraph
* Co. or Unix System Laboratories, Inc. and are reproduced herein with
* the permission of UNIX System Laboratories, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* @(#)errno.h 8.5 (Berkeley) 1/21/94
* FreeBSD: /repoman/r/ncvs/src/sys/sys/errno.h,v 1.28 2005/04/02 12:33:28 das Exp $
*
* $Id$
*/
#ifndef _SYS_ERRNO_H_
#define _SYS_ERRNO_H_
#undef errno
#define errno DB_GLOBAL(db_errno)
#define EPERM 1 /* Operation not permitted */
#define ENOENT 2 /* No such file or directory */
#define ESRCH 3 /* No such process */
#define EINTR 4 /* Interrupted system call */
#define EIO 5 /* Input/output error */
#define ENXIO 6 /* Device not configured */
#define E2BIG 7 /* Argument list too long */
#define ENOEXEC 8 /* Exec format error */
#define EBADF 9 /* Bad file descriptor */
#define ECHILD 10 /* No child processes */
#define EDEADLK 11 /* Resource deadlock avoided */
/* 11 was EAGAIN */
#define ENOMEM 12 /* Cannot allocate memory */
#define EACCES 13 /* Permission denied */
#define EFAULT 14 /* Bad address */
#ifndef _POSIX_SOURCE
#define ENOTBLK 15 /* Block device required */
#endif
#define EBUSY 16 /* Device busy */
#define EEXIST 17 /* File exists */
#define EXDEV 18 /* Cross-device link */
#define ENODEV 19 /* Operation not supported by device */
#define ENOTDIR 20 /* Not a directory */
#define EISDIR 21 /* Is a directory */
#define EINVAL 22 /* Invalid argument */
#define ENFILE 23 /* Too many open files in system */
#define EMFILE 24 /* Too many open files */
#define ENOTTY 25 /* Inappropriate ioctl for device */
#ifndef _POSIX_SOURCE
#define ETXTBSY 26 /* Text file busy */
#endif
#define EFBIG 27 /* File too large */
#define ENOSPC 28 /* No space left on device */
#define ESPIPE 29 /* Illegal seek */
#define EROFS 30 /* Read-only filesystem */
#define EMLINK 31 /* Too many links */
#define EPIPE 32 /* Broken pipe */
/* math software */
#define EDOM 33 /* Numerical argument out of domain */
#define ERANGE 34 /* Result too large */
/* non-blocking and interrupt i/o */
#define EAGAIN 35 /* Resource temporarily unavailable */
#ifndef _POSIX_SOURCE
#define EWOULDBLOCK EAGAIN /* Operation would block */
#define EINPROGRESS 36 /* Operation now in progress */
#define EALREADY 37 /* Operation already in progress */
/* ipc/network software -- argument errors */
#define ENOTSOCK 38 /* Socket operation on non-socket */
#define EDESTADDRREQ 39 /* Destination address required */
#define EMSGSIZE 40 /* Message too long */
#define EPROTOTYPE 41 /* Protocol wrong type for socket */
#define ENOPROTOOPT 42 /* Protocol not available */
#define EPROTONOSUPPORT 43 /* Protocol not supported */
#define ESOCKTNOSUPPORT 44 /* Socket type not supported */
#define EOPNOTSUPP 45 /* Operation not supported */
#define ENOTSUP EOPNOTSUPP /* Operation not supported */
#define EPFNOSUPPORT 46 /* Protocol family not supported */
#define EAFNOSUPPORT 47 /* Address family not supported by protocol family */
#define EADDRINUSE 48 /* Address already in use */
#define EADDRNOTAVAIL 49 /* Can't assign requested address */
/* ipc/network software -- operational errors */
#define ENETDOWN 50 /* Network is down */
#define ENETUNREACH 51 /* Network is unreachable */
#define ENETRESET 52 /* Network dropped connection on reset */
#define ECONNABORTED 53 /* Software caused connection abort */
#define ECONNRESET 54 /* Connection reset by peer */
#define ENOBUFS 55 /* No buffer space available */
#define EISCONN 56 /* Socket is already connected */
#define ENOTCONN 57 /* Socket is not connected */
#define ESHUTDOWN 58 /* Can't send after socket shutdown */
#define ETOOMANYREFS 59 /* Too many references: can't splice */
#define ETIMEDOUT 60 /* Operation timed out */
#define ECONNREFUSED 61 /* Connection refused */
#define ELOOP 62 /* Too many levels of symbolic links */
#endif /* _POSIX_SOURCE */
#define ENAMETOOLONG 63 /* File name too long */
/* should be rearranged */
#ifndef _POSIX_SOURCE
#define EHOSTDOWN 64 /* Host is down */
#define EHOSTUNREACH 65 /* No route to host */
#endif /* _POSIX_SOURCE */
#define ENOTEMPTY 66 /* Directory not empty */
/* quotas & mush */
#ifndef _POSIX_SOURCE
#define EPROCLIM 67 /* Too many processes */
#define EUSERS 68 /* Too many users */
#define EDQUOT 69 /* Disc quota exceeded */
/* Network File System */
#define ESTALE 70 /* Stale NFS file handle */
#define EREMOTE 71 /* Too many levels of remote in path */
#define EBADRPC 72 /* RPC struct is bad */
#define ERPCMISMATCH 73 /* RPC version wrong */
#define EPROGUNAVAIL 74 /* RPC prog. not avail */
#define EPROGMISMATCH 75 /* Program version wrong */
#define EPROCUNAVAIL 76 /* Bad procedure for program */
#endif /* _POSIX_SOURCE */
#define ENOLCK 77 /* No locks available */
#define ENOSYS 78 /* Function not implemented */
#ifndef _POSIX_SOURCE
#define EFTYPE 79 /* Inappropriate file type or format */
#define EAUTH 80 /* Authentication error */
#define ENEEDAUTH 81 /* Need authenticator */
#define EIDRM 82 /* Identifier removed */
#define ENOMSG 83 /* No message of desired type */
#define EOVERFLOW 84 /* Value too large to be stored in data type */
#define ECANCELED 85 /* Operation canceled */
#define EILSEQ 86 /* Illegal byte sequence */
#define ENOATTR 87 /* Attribute not found */
#define EDOOFUS 88 /* Programming error */
#endif /* _POSIX_SOURCE */
#define EBADMSG 89 /* Bad message */
#define EMULTIHOP 90 /* Multihop attempted */
#define ENOLINK 91 /* Link has been severed */
#define EPROTO 92 /* Protocol error */
#ifndef _POSIX_SOURCE
#define ELAST 92 /* Must be equal largest errno */
#endif /* _POSIX_SOURCE */
#ifdef _KERNEL
/* pseudo-errors returned inside kernel to modify return to process */
#define ERESTART (-1) /* restart syscall */
#define EJUSTRETURN (-2) /* don't modify regs, just return */
#define ENOIOCTL (-3) /* ioctl not handled by this layer */
#define EDIRIOCTL (-4) /* do direct ioctl in GEOM */
#endif
#endif

View file

@ -0,0 +1,94 @@
<VisualStudioProject ProjectType="Visual C++" Version="8.00" Name="wce_sql" ProjectGUID="{75DF98AA-25DF-4183-A022-024CF918480D}">
<Platforms>
<Platform Name="Pocket PC 2003 (ARMV4)"/>
<Platform Name="Smartphone 2003 (ARMV4)"/>
<Platform Name="Windows Mobile 6.5.3 Professional DTK (ARMV4I)"/>
</Platforms>
<Configurations>
<Configuration Name="Debug|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/wce_sql" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_sql.pch" AssemblerListingLocation="$(OutDir)/wce_sql/" ObjectFile="$(OutDir)/wce_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_sql.exe" ProgramDatabaseFile="$(OutDir)/wce_sql.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="3" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/wce_sql" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_sql.pch" AssemblerListingLocation="$(OutDir)/wce_sql/" ObjectFile="$(OutDir)/wce_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_sql.exe" ProgramDatabaseFile="$(OutDir)/wce_sql.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="3" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Debug|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/wce_sql" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_sql.pch" AssemblerListingLocation="$(OutDir)/wce_sql/" ObjectFile="$(OutDir)/wce_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_sql.exe" ProgramDatabaseFile="$(OutDir)/wce_sql.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="3" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/wce_sql" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_sql.pch" AssemblerListingLocation="$(OutDir)/wce_sql/" ObjectFile="$(OutDir)/wce_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_sql.exe" ProgramDatabaseFile="$(OutDir)/wce_sql.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="3" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/wce_sql" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_sql.pch" AssemblerListingLocation="$(OutDir)/wce_sql/" ObjectFile="$(OutDir)/wce_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_sql.exe" ProgramDatabaseFile="$(OutDir)/wce_sql.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="0" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/wce_sql" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src,../lang/sql/generated" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_sql.pch" AssemblerListingLocation="$(OutDir)/wce_sql/" ObjectFile="$(OutDir)/wce_sql/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_sql.exe" ProgramDatabaseFile="$(OutDir)/wce_sql.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="0" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
</Configurations>
<References/>
<Files>
<File RelativePath="..\examples\sql\wce_sql\excxx_wce_sql.cpp"/>
<File RelativePath="..\examples\sql\wce_sql\excxx_wce_sqlDlg.cpp"/>
<File RelativePath="..\examples\sql\wce_sql\stdafx.cpp"/>
<File RelativePath="..\examples\sql\wce_sql\excxx_wce_sql.h"/>
<File RelativePath="..\examples\sql\wce_sql\excxx_wce_sqlDlg.h"/>
<File RelativePath="..\examples\sql\wce_sql\Resourceppc.h"/>
<File RelativePath="..\examples\sql\wce_sql\stdafx.h"/>
<File RelativePath="..\examples\sql\wce_sql\excxx_wce_sql.ico"/>
<File RelativePath="..\examples\sql\wce_sql\excxx_wce_sqlppc.rc"/>
</Files>
<Globals/>
</VisualStudioProject>

View file

@ -0,0 +1,88 @@
<VisualStudioProject ProjectType="Visual C++" Version="8.00" Name="wce_tpcb" ProjectGUID="{F2CE670A-ABAE-414A-9A17-8079AB58613F}">
<Platforms>
<Platform Name="Pocket PC 2003 (ARMV4)"/>
<Platform Name="Smartphone 2003 (ARMV4)"/>
<Platform Name="Windows Mobile 6.5.3 Professional DTK (ARMV4I)"/>
</Platforms>
<Configurations>
<Configuration Name="Debug|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/wce_tpcb" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_tpcb.pch" AssemblerListingLocation="$(OutDir)/wce_tpcb/" ObjectFile="$(OutDir)/wce_tpcb/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_tpcb.exe" ProgramDatabaseFile="$(OutDir)/wce_tpcb.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="3" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Pocket PC 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/wce_tpcb" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_tpcb.pch" AssemblerListingLocation="$(OutDir)/wce_tpcb/" ObjectFile="$(OutDir)/wce_tpcb/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_tpcb.exe" ProgramDatabaseFile="$(OutDir)/wce_tpcb.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="3" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Debug|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/wce_tpcb" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_tpcb.pch" AssemblerListingLocation="$(OutDir)/wce_tpcb/" ObjectFile="$(OutDir)/wce_tpcb/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_tpcb.exe" ProgramDatabaseFile="$(OutDir)/wce_tpcb.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="3" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Smartphone 2003 (ARMV4)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/wce_tpcb" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_tpcb.pch" AssemblerListingLocation="$(OutDir)/wce_tpcb/" ObjectFile="$(OutDir)/wce_tpcb/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_tpcb.exe" ProgramDatabaseFile="$(OutDir)/wce_tpcb.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="3" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Debug|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Debug" IntermediateDirectory="./$(OutDir)/wce_tpcb" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="0" MinimalRebuild="TRUE" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;DEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="1" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_tpcb.pch" AssemblerListingLocation="$(OutDir)/wce_tpcb/" ObjectFile="$(OutDir)/wce_tpcb/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" BasicRuntimeChecks="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_tpcb.exe" ProgramDatabaseFile="$(OutDir)/wce_tpcb.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="0" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
<Configuration Name="Release|Windows Mobile 6.5.3 Professional DTK (ARMV4I)" OutputDirectory="..\build_wince\$(PlatformName)\Release" IntermediateDirectory="./$(OutDir)/wce_tpcb" ConfigurationType="1" UseOfMFC="0" ATLMinimizesCRunTimeLibraryUsage="FALSE" CharacterSet="1">
<Tool Name="VCPreLinkEventTool"/>
<Tool Name="VCResourceCompilerTool" PreprocessorDefinitions="_WIN32_WCE=$(CEVER);$(CePlatform);ARM,_ARM_,ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;"/>
<Tool Name="VCXMLDataGeneratorTool"/>
<Tool Name="VCManagedWrapperGeneratorTool"/>
<Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
<Tool Name="VCCLCompilerTool" BufferSecurityCheck="FALSE" Optimization="2" MinimalRebuild="TRUE" InlineFunctionExpansion="1" AdditionalIncludeDirectories="../build_wince,../src" PreprocessorDefinitions="DB_WIN32;DB_WINCE;_WIN32_WCE=$(CEVER);$(CePlatform);ARM;_ARM_;ARMV4;UNDER_CE=$(CEVER);UNICODE;_UNICODE;__NO_SYSTEM_INCLUDES;NDEBUG;POCKETPC2003_UI_MODEL" StringPooling="TRUE" RuntimeLibrary="0" EnableFunctionLevelLinking="TRUE" UsePrecompiledHeader="0" PrecompiledHeaderFile="./$(OutDir)/wce_tpcb.pch" AssemblerListingLocation="$(OutDir)/wce_tpcb/" ObjectFile="$(OutDir)/wce_tpcb/" WarningLevel="3" SuppressStartupBanner="TRUE" DebugInformationFormat="3" CompileAs="0"/>
<Tool Name="VCLinkerTool" AdditionalDependencies="" AdditionalLibraryDirectories="../lib" OutputFile="$(OutDir)/wce_tpcb.exe" ProgramDatabaseFile="$(OutDir)/wce_tpcb.pdb" LinkIncremental="1" GenerateDebugInformation="TRUE" SuppressStartupBanner="TRUE" OptimizeReferences="2" TargetMachine="0" SubSystem="9" EntryPointSymbol="WinMainCRTStartup"/>
<Tool Name="VCPreBuildEventTool"/>
<Tool Name="VCPostBuildEventTool"/>
<Tool Name="VCCustomBuildTool"/>
<DeploymentTool/></Configuration>
</Configurations>
<References/>
<Files>
<File RelativePath="..\examples\cxx\wce_tpcb\TpcbExample.cpp"/>
<File RelativePath="..\examples\cxx\wce_tpcb\TpcbUI.cpp"/>
<File RelativePath="..\examples\cxx\wce_tpcb\wce_tpcb.rc"/>
</Files>
<Globals/>
</VisualStudioProject>

View file

@ -0,0 +1,173 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "db", "db.vcproj", "{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "db_csharp", "db_csharp.vcproj", "{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}"
ProjectSection(ProjectDependencies) = postProject
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "db_dotnet", "..\lang\csharp\src\db_dotnet.csproj", "{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}"
ProjectSection(ProjectDependencies) = postProject
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F} = {13DE550F-16FD-4AC2-9EC6-B1A18F41476F}
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "excs_access", "..\examples\csharp\excs_access\excs_access.csproj", "{B7250534-4FB1-450D-865C-59231820EAB5}"
ProjectSection(ProjectDependencies) = postProject
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F} = {13DE550F-16FD-4AC2-9EC6-B1A18F41476F}
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6} = {4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "excs_btrec", "..\examples\csharp\excs_btrec\excs_btrec.csproj", "{657FB9CC-16ED-4BAE-97AD-1A359D133F25}"
ProjectSection(ProjectDependencies) = postProject
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F} = {13DE550F-16FD-4AC2-9EC6-B1A18F41476F}
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6} = {4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "excs_bulk", "..\examples\csharp\excs_bulk\excs_bulk.csproj", "{90740BD6-C91B-4259-B6E9-C361A06791BA}"
ProjectSection(ProjectDependencies) = postProject
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F} = {13DE550F-16FD-4AC2-9EC6-B1A18F41476F}
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6} = {4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "excs_env", "..\examples\csharp\excs_env\excs_env.csproj", "{617FF132-0566-4F6D-932D-2A1BA3C6A93E}"
ProjectSection(ProjectDependencies) = postProject
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F} = {13DE550F-16FD-4AC2-9EC6-B1A18F41476F}
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6} = {4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "excs_getting_started", "..\examples\csharp\excs_getting_started\excs_getting_started.csproj", "{A8813939-DA91-4036-9BE4-B0FB44051A06}"
ProjectSection(ProjectDependencies) = postProject
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F} = {13DE550F-16FD-4AC2-9EC6-B1A18F41476F}
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6} = {4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "excs_sequence", "..\examples\csharp\excs_sequence\excs_sequence.csproj", "{DC306DCB-F42C-4038-91FA-B553FD37CB2E}"
ProjectSection(ProjectDependencies) = postProject
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F} = {13DE550F-16FD-4AC2-9EC6-B1A18F41476F}
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6} = {4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "excs_repquote", "..\examples\csharp\excs_repquote\excs_repquote.csproj", "{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetTest", "..\test\csharp\DotNetTest.csproj", "{08D940C7-AAF5-413A-95E3-58A46880DC4D}"
ProjectSection(ProjectDependencies) = postProject
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F} = {13DE550F-16FD-4AC2-9EC6-B1A18F41476F}
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7} = {FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "excs_txn", "..\examples\csharp\excs_txn\excs_txn.csproj", "{D3EEDB47-F622-4E8A-A218-076B49C269F1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}.Debug|Win32.ActiveCfg = Debug|Win32
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}.Debug|Win32.Build.0 = Debug|Win32
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}.Debug|x64.ActiveCfg = Debug|x64
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}.Debug|x64.Build.0 = Debug|x64
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}.Release|Win32.ActiveCfg = Release|Win32
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}.Release|Win32.Build.0 = Release|Win32
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}.Release|x64.ActiveCfg = Release|x64
{FD045D60-ABAD-4A6C-9794-9BFB085FC3E7}.Release|x64.Build.0 = Release|x64
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}.Debug|Win32.ActiveCfg = Debug|Win32
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}.Debug|Win32.Build.0 = Debug|Win32
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}.Debug|x64.ActiveCfg = Debug|x64
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}.Debug|x64.Build.0 = Debug|x64
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}.Release|Win32.ActiveCfg = Release|Win32
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}.Release|Win32.Build.0 = Release|Win32
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}.Release|x64.ActiveCfg = Release|x64
{13DE550F-16FD-4AC2-9EC6-B1A18F41476F}.Release|x64.Build.0 = Release|x64
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}.Debug|Win32.ActiveCfg = Debug|Any CPU
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}.Debug|Win32.Build.0 = Debug|Any CPU
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}.Debug|x64.ActiveCfg = Debug|Any CPU
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}.Debug|x64.Build.0 = Debug|Any CPU
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}.Release|Win32.ActiveCfg = Release|Any CPU
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}.Release|Win32.Build.0 = Release|Any CPU
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}.Release|x64.ActiveCfg = Release|Any CPU
{4696FB1E-1E5F-40B9-BD8C-A54D3BDA00F6}.Release|x64.Build.0 = Release|Any CPU
{B7250534-4FB1-450D-865C-59231820EAB5}.Debug|Win32.ActiveCfg = Debug|Any CPU
{B7250534-4FB1-450D-865C-59231820EAB5}.Debug|Win32.Build.0 = Debug|Any CPU
{B7250534-4FB1-450D-865C-59231820EAB5}.Debug|x64.ActiveCfg = Debug|Any CPU
{B7250534-4FB1-450D-865C-59231820EAB5}.Debug|x64.Build.0 = Debug|Any CPU
{B7250534-4FB1-450D-865C-59231820EAB5}.Release|Win32.ActiveCfg = Release|Any CPU
{B7250534-4FB1-450D-865C-59231820EAB5}.Release|Win32.Build.0 = Release|Any CPU
{B7250534-4FB1-450D-865C-59231820EAB5}.Release|x64.ActiveCfg = Release|Any CPU
{B7250534-4FB1-450D-865C-59231820EAB5}.Release|x64.Build.0 = Release|Any CPU
{657FB9CC-16ED-4BAE-97AD-1A359D133F25}.Debug|Win32.ActiveCfg = Debug|Any CPU
{657FB9CC-16ED-4BAE-97AD-1A359D133F25}.Debug|Win32.Build.0 = Debug|Any CPU
{657FB9CC-16ED-4BAE-97AD-1A359D133F25}.Debug|x64.ActiveCfg = Debug|Any CPU
{657FB9CC-16ED-4BAE-97AD-1A359D133F25}.Debug|x64.Build.0 = Debug|Any CPU
{657FB9CC-16ED-4BAE-97AD-1A359D133F25}.Release|Win32.ActiveCfg = Release|Any CPU
{657FB9CC-16ED-4BAE-97AD-1A359D133F25}.Release|Win32.Build.0 = Release|Any CPU
{657FB9CC-16ED-4BAE-97AD-1A359D133F25}.Release|x64.ActiveCfg = Release|Any CPU
{657FB9CC-16ED-4BAE-97AD-1A359D133F25}.Release|x64.Build.0 = Release|Any CPU
{90740BD6-C91B-4259-B6E9-C361A06791BA}.Debug|Win32.ActiveCfg = Debug|Any CPU
{90740BD6-C91B-4259-B6E9-C361A06791BA}.Debug|Win32.Build.0 = Debug|Any CPU
{90740BD6-C91B-4259-B6E9-C361A06791BA}.Debug|x64.ActiveCfg = Debug|Any CPU
{90740BD6-C91B-4259-B6E9-C361A06791BA}.Debug|x64.Build.0 = Debug|Any CPU
{90740BD6-C91B-4259-B6E9-C361A06791BA}.Release|Win32.ActiveCfg = Release|Any CPU
{90740BD6-C91B-4259-B6E9-C361A06791BA}.Release|Win32.Build.0 = Release|Any CPU
{90740BD6-C91B-4259-B6E9-C361A06791BA}.Release|x64.ActiveCfg = Release|Any CPU
{90740BD6-C91B-4259-B6E9-C361A06791BA}.Release|x64.Build.0 = Release|Any CPU
{617FF132-0566-4F6D-932D-2A1BA3C6A93E}.Debug|Win32.ActiveCfg = Debug|Any CPU
{617FF132-0566-4F6D-932D-2A1BA3C6A93E}.Debug|Win32.Build.0 = Debug|Any CPU
{617FF132-0566-4F6D-932D-2A1BA3C6A93E}.Debug|x64.ActiveCfg = Debug|Any CPU
{617FF132-0566-4F6D-932D-2A1BA3C6A93E}.Debug|x64.Build.0 = Debug|Any CPU
{617FF132-0566-4F6D-932D-2A1BA3C6A93E}.Release|Win32.ActiveCfg = Release|Any CPU
{617FF132-0566-4F6D-932D-2A1BA3C6A93E}.Release|Win32.Build.0 = Release|Any CPU
{617FF132-0566-4F6D-932D-2A1BA3C6A93E}.Release|x64.ActiveCfg = Release|Any CPU
{617FF132-0566-4F6D-932D-2A1BA3C6A93E}.Release|x64.Build.0 = Release|Any CPU
{A8813939-DA91-4036-9BE4-B0FB44051A06}.Debug|Win32.ActiveCfg = Debug|Any CPU
{A8813939-DA91-4036-9BE4-B0FB44051A06}.Debug|Win32.Build.0 = Debug|Any CPU
{A8813939-DA91-4036-9BE4-B0FB44051A06}.Debug|x64.ActiveCfg = Debug|Any CPU
{A8813939-DA91-4036-9BE4-B0FB44051A06}.Debug|x64.Build.0 = Debug|Any CPU
{A8813939-DA91-4036-9BE4-B0FB44051A06}.Release|Win32.ActiveCfg = Release|Any CPU
{A8813939-DA91-4036-9BE4-B0FB44051A06}.Release|Win32.Build.0 = Release|Any CPU
{A8813939-DA91-4036-9BE4-B0FB44051A06}.Release|x64.ActiveCfg = Release|Any CPU
{A8813939-DA91-4036-9BE4-B0FB44051A06}.Release|x64.Build.0 = Release|Any CPU
{DC306DCB-F42C-4038-91FA-B553FD37CB2E}.Debug|Win32.ActiveCfg = Debug|Any CPU
{DC306DCB-F42C-4038-91FA-B553FD37CB2E}.Debug|Win32.Build.0 = Debug|Any CPU
{DC306DCB-F42C-4038-91FA-B553FD37CB2E}.Debug|x64.ActiveCfg = Debug|Any CPU
{DC306DCB-F42C-4038-91FA-B553FD37CB2E}.Debug|x64.Build.0 = Debug|Any CPU
{DC306DCB-F42C-4038-91FA-B553FD37CB2E}.Release|Win32.ActiveCfg = Release|Any CPU
{DC306DCB-F42C-4038-91FA-B553FD37CB2E}.Release|Win32.Build.0 = Release|Any CPU
{DC306DCB-F42C-4038-91FA-B553FD37CB2E}.Release|x64.ActiveCfg = Release|Any CPU
{DC306DCB-F42C-4038-91FA-B553FD37CB2E}.Release|x64.Build.0 = Release|Any CPU
{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}.Debug|Win32.ActiveCfg = Debug|Any CPU
{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}.Debug|Win32.Build.0 = Debug|Any CPU
{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}.Debug|x64.ActiveCfg = Debug|Any CPU
{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}.Debug|x64.Build.0 = Debug|Any CPU
{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}.Release|Win32.ActiveCfg = Release|Any CPU
{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}.Release|Win32.Build.0 = Release|Any CPU
{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}.Release|x64.ActiveCfg = Release|Any CPU
{7BA3D41C-2B70-405E-BEDB-A5A72509D2ED}.Release|x64.Build.0 = Release|Any CPU
{08D940C7-AAF5-413A-95E3-58A46880DC4D}.Debug|Win32.ActiveCfg = Debug|Any CPU
{08D940C7-AAF5-413A-95E3-58A46880DC4D}.Debug|x64.ActiveCfg = Debug|Any CPU
{08D940C7-AAF5-413A-95E3-58A46880DC4D}.Release|Win32.ActiveCfg = Release|Any CPU
{08D940C7-AAF5-413A-95E3-58A46880DC4D}.Release|x64.ActiveCfg = Release|Any CPU
{D3EEDB47-F622-4E8A-A218-076B49C269F1}.Debug|Win32.ActiveCfg = Debug|Any CPU
{D3EEDB47-F622-4E8A-A218-076B49C269F1}.Debug|Win32.Build.0 = Debug|Any CPU
{D3EEDB47-F622-4E8A-A218-076B49C269F1}.Debug|x64.ActiveCfg = Debug|Any CPU
{D3EEDB47-F622-4E8A-A218-076B49C269F1}.Debug|x64.Build.0 = Debug|Any CPU
{D3EEDB47-F622-4E8A-A218-076B49C269F1}.Release|Win32.ActiveCfg = Release|Any CPU
{D3EEDB47-F622-4E8A-A218-076B49C269F1}.Release|Win32.Build.0 = Release|Any CPU
{D3EEDB47-F622-4E8A-A218-076B49C269F1}.Release|x64.ActiveCfg = Release|Any CPU
{D3EEDB47-F622-4E8A-A218-076B49C269F1}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Some files were not shown because too many files have changed in this diff Show more