diff options
Diffstat (limited to 'db/dist/Makefile.in')
-rw-r--r-- | db/dist/Makefile.in | 739 |
1 files changed, 411 insertions, 328 deletions
diff --git a/db/dist/Makefile.in b/db/dist/Makefile.in index cf484b6bf..190103e6b 100644 --- a/db/dist/Makefile.in +++ b/db/dist/Makefile.in @@ -1,4 +1,4 @@ -# $Id: Makefile.in,v 11.264 2004/11/01 21:55:33 mark Exp $ +# $Id: Makefile.in,v 12.79 2006/09/13 14:53:38 mjc Exp $ srcdir= @srcdir@/.. builddir=. @@ -22,15 +22,15 @@ transform=@program_transform_name@ ################################################## # Paths for standard user-level commands. ################################################## +AR= @AR@ +CHMOD= @CHMOD@ +CP= @CP@ +LN= @LN@ +MKDIR= @MKDIR@ +RANLIB= @RANLIB@ +RM= @RM@ SHELL= @db_cv_path_sh@ -ar= @db_cv_path_ar@ -chmod= @db_cv_path_chmod@ -cp= @db_cv_path_cp@ -ln= @db_cv_path_ln@ -mkdir= @db_cv_path_mkdir@ -ranlib= @db_cv_path_ranlib@ -rm= @db_cv_path_rm@ -strip= @db_cv_path_strip@ +STRIP= @STRIP@ ################################################## # General library information. @@ -51,14 +51,14 @@ CPPFLAGS= -I$(builddir) -I$(srcdir) @CPPFLAGS@ ################################################## # C API. ################################################## -CFLAGS= -c $(CPPFLAGS) @CFLAGS@ +CFLAGS= -c $(CPPFLAGS) @CFLAGS@ CC= @MAKEFILE_CC@ CCLINK= @MAKEFILE_CCLINK@ @CFLAGS@ LDFLAGS= @LDFLAGS@ -LIBS= @LIBS@ +LIBS= @LIBSO_LIBS@ TEST_LIBS= @TEST_LIBS@ -LIBSO_LIBS= @LIBSO_LIBS@ +LIBCSO_LIBS= @LIBCSO_LIBS@ @LIBSO_LIBS@ libdb_base= libdb libdb= $(libdb_base).a @@ -77,7 +77,7 @@ CXXFLAGS= -c $(CPPFLAGS) @CXXFLAGS@ CXX= @MAKEFILE_CXX@ CXXLINK= @MAKEFILE_CXXLINK@ @CXXFLAGS@ XSOLINK= @MAKEFILE_XSOLINK@ @CXXFLAGS@ -LIBXSO_LIBS= @LIBXSO_LIBS@ +LIBXSO_LIBS= @LIBXSO_LIBS@ @LIBSO_LIBS@ libcxx_base= libdb_cxx libcxx= $(libcxx_base).a @@ -93,25 +93,20 @@ libxso_major= $(libcxx_base)-$(LIBMAJOR)@SOSUFFIX@ # Java support is optional and requires shared librarires. ################################################## CLASSPATH= $(JAVA_CLASSTOP) -LIBJSO_LIBS= @LIBJSO_LIBS@ +LIBJSO_LIBS= @LIBJSO_LIBS@ @LIBSO_LIBS@ +SWIGCFLAGS= @SWIGCFLAGS@ JAR= @JAR@ JAVAC= env CLASSPATH="$(CLASSPATH)" @JAVAC@ JAVACFLAGS= @JAVACFLAGS@ JAVA_CLASSTOP= ./classes -JAVA_RPCCLASSTOP=./classes.rpc JAVA_EXCLASSTOP=./classes.ex -JAVA_DBREL= com/sleepycat/db -JAVA_EXREL= com/sleepycat/examples -JAVA_RPCREL= com/sleepycat/db/rpcserver JAVA_SRCDIR= $(srcdir)/java/src -JAVA_EXDIR= $(srcdir)/examples_java/src/com/sleepycat/examples -JAVA_RPCDIR= $(srcdir)/rpc_server/java +JAVA_EXDIR= $(srcdir)/examples_java/src JAVA_SLEEPYCAT= $(srcdir)/java/src/com/sleepycat libj_jarfile= db.jar libj_exjarfile= dbexamples.jar -rpc_jarfile= dbsvc.jar libjso_base= libdb_java libjso= $(libjso_base)-$(LIBVERSION)@JMODSUFFIX@ libjso_static= $(libjso_base)-$(LIBVERSION).a @@ -125,8 +120,8 @@ libjso_g= $(libjso_base)-$(LIBVERSION)_g@JMODSUFFIX@ # # Tcl support is optional and requires shared libraries. ################################################## -TCFLAGS= @TCFLAGS@ -LIBTSO_LIBS= @LIBTSO_LIBS@ +TCL_INCLUDE_SPEC= @TCL_INCLUDE_SPEC@ +LIBTSO_LIBS= @LIBTSO_LIBS@ @LIBSO_LIBS@ libtso_base= libdb_tcl libtso= $(libtso_base)-$(LIBVERSION)@MODSUFFIX@ libtso_static= $(libtso_base)-$(LIBVERSION).a @@ -158,7 +153,7 @@ BTREE_OBJS=\ bt_compare@o@ bt_conv@o@ bt_curadj@o@ bt_cursor@o@ bt_delete@o@ \ bt_method@o@ bt_open@o@ bt_put@o@ bt_rec@o@ bt_reclaim@o@ \ bt_recno@o@ bt_rsearch@o@ bt_search@o@ bt_split@o@ bt_stat@o@ \ - bt_upgrade@o@ btree_auto@o@ + bt_compact@o@ bt_upgrade@o@ btree_auto@o@ BTREE_VRFY_OBJS=\ db_ovfl_vrfy@o@ db_vrfy@o@ db_vrfyutil@o@ bt_verify@o@ HASH_OBJS=\ @@ -173,40 +168,49 @@ QUEUE_OBJS=\ QUEUE_VRFY_OBJS=\ qam_verify@o@ REP_OBJS=\ - rep_auto@o@ rep_backup@o@ rep_method@o@ rep_record@o@ rep_region@o@ \ - rep_stat@o@ rep_util@o@ + rep_auto@o@ rep_backup@o@ rep_elect@o@ rep_log@o@ rep_method@o@ \ + rep_record@o@ rep_region@o@ rep_stat@o@ rep_util@o@ rep_verify@o@ +REPMGR_OBJS=\ + getaddrinfo@o@\ + repmgr_elect@o@ repmgr_method@o@ repmgr_msg@o@ repmgr_net@o@ \ + repmgr_posix@o@ repmgr_queue@o@ repmgr_sel@o@ repmgr_stat@o@ \ + repmgr_util@o@ PRINT_OBJS=\ btree_autop@o@ crdel_autop@o@ db_autop@o@ dbreg_autop@o@ \ fileops_autop@o@ hash_autop@o@ qam_autop@o@ rep_autop@o@ \ txn_autop@o@ C_OBJS= @ADDITIONAL_OBJS@ @REPLACEMENT_OBJS@ @CRYPTO_OBJS@ @RPC_CLIENT_OBJS@ \ - crdel_auto@o@ crdel_rec@o@ db@o@ db_am@o@ db_auto@o@ \ - db_byteorder@o@ db_cam@o@ db_conv@o@ db_dispatch@o@ db_dup@o@ \ - db_err@o@ db_getlong@o@ db_idspace@o@ db_iface@o@ db_join@o@ \ - db_log2@o@ db_meta@o@ db_method@o@ db_open@o@ db_overflow@o@ \ - db_pr@o@ db_rec@o@ db_reclaim@o@ db_rename@o@ db_remove@o@ \ - db_ret@o@ db_salloc@o@ db_setid@o@ db_setlsn@o@ db_shash@o@ \ - db_stati@o@ db_truncate@o@ db_upg@o@ db_upg_opd@o@ dbm@o@ \ - dbreg@o@ dbreg_auto@o@ dbreg_rec@o@ dbreg_stat@o@ dbreg_util@o@ \ - env_file@o@ env_method@o@ env_open@o@ env_recover@o@ \ - env_region@o@ env_stat@o@ fileops_auto@o@ fop_basic@o@ \ + crdel_auto@o@ crdel_rec@o@ ctime@o@ db@o@ db_am@o@ db_auto@o@ \ + db_byteorder@o@ db_cam@o@ db_cds@o@ db_clock@o@ db_conv@o@ \ + db_dispatch@o@ db_dup@o@ db_err@o@ db_getlong@o@ db_idspace@o@ \ + db_iface@o@ db_join@o@ db_log2@o@ db_meta@o@ db_method@o@ db_open@o@ \ + db_overflow@o@ db_pr@o@ db_rec@o@ db_reclaim@o@ db_remove@o@ \ + db_rename@o@ db_ret@o@ db_salloc@o@ db_setid@o@ db_setlsn@o@ \ + db_shash@o@ db_stati@o@ db_truncate@o@ db_upg@o@ db_upg_opd@o@ \ + dbm@o@ dbreg@o@ dbreg_auto@o@ dbreg_rec@o@ dbreg_stat@o@ \ + dbreg_util@o@ env_config@o@ env_failchk@o@ env_file@o@ \ + env_method@o@ env_open@o@ env_recover@o@ env_region@o@ \ + env_register@o@ env_stat@o@ fileops_auto@o@ fop_basic@o@ \ fop_rec@o@ fop_util@o@ hash_func@o@ hmac@o@ hsearch@o@ lock@o@ \ - lock_deadlock@o@ lock_id@o@ lock_list@o@ lock_method@o@ \ - lock_region@o@ lock_stat@o@ lock_timer@o@ lock_util@o@ log@o@ \ - log_archive@o@ log_compare@o@ log_get@o@ log_method@o@ \ - log_put@o@ log_stat@o@ mp_alloc@o@ mp_bh@o@ mp_fget@o@ \ - mp_fmethod@o@ mp_fopen@o@ mp_fput@o@ mp_fset@o@ mp_method@o@ \ - mp_region@o@ mp_register@o@ mp_stat@o@ mp_sync@o@ mp_trickle@o@ \ - mutex@o@ os_abs@o@ os_alloc@o@ os_clock@o@ os_config@o@ \ - os_dir@o@ os_errno@o@ os_fid@o@ os_fsync@o@ os_handle@o@ \ - os_id@o@ os_map@o@ os_method@o@ os_oflags@o@ os_open@o@ \ - os_region@o@ os_rename@o@ os_root@o@ os_rpath@o@ os_rw@o@ \ - os_seek@o@ os_sleep@o@ os_spin@o@ os_stat@o@ os_tmpdir@o@ \ - os_truncate@o@ os_unlink@o@ sha1@o@ seq_stat@o@ sequence@o@ \ - snprintf@o@ txn@o@ txn_auto@o@ txn_method@o@ txn_rec@o@ \ - txn_recover@o@ txn_region@o@ txn_stat@o@ txn_util@o@ xa@o@ \ - xa_db@o@ xa_map@o@ + lock_deadlock@o@ lock_failchk@o@ lock_id@o@ lock_list@o@ \ + lock_method@o@ lock_region@o@ lock_stat@o@ lock_timer@o@ \ + lock_util@o@ log@o@ log_archive@o@ log_compare@o@ log_debug@o@ \ + log_get@o@ log_method@o@ log_put@o@ log_stat@o@ mkpath@o@ \ + mp_alloc@o@ mp_bh@o@ mp_fget@o@ mp_fmethod@o@ mp_fopen@o@ \ + mp_fput@o@ mp_fset@o@ mp_method@o@ mp_mvcc@o@ mp_region@o@ \ + mp_register@o@ mp_stat@o@ mp_sync@o@ mp_trickle@o@ mut_alloc@o@ \ + mut_failchk@o@ mut_method@o@ mut_region@o@ mut_stat@o@ os_abs@o@ \ + os_alloc@o@ os_clock@o@ os_config@o@ os_dir@o@ os_errno@o@ \ + os_fid@o@ os_flock@o@ os_fsync@o@ os_fzero@o@ os_getenv@o@ \ + os_handle@o@ os_map@o@ os_method@o@ os_mkdir@o@ os_oflags@o@ \ + os_open@o@ os_pid@o@ os_region@o@ os_rename@o@ os_root@o@ \ + os_rpath@o@ os_rw@o@ os_seek@o@ os_sleep@o@ os_spin@o@ \ + os_stat@o@ os_tmpdir@o@ os_truncate@o@ os_uid@o@ os_unlink@o@ \ + os_yield@o@ seq_stat@o@ sequence@o@ sha1@o@ snprintf@o@ txn@o@ \ + txn_auto@o@ txn_chkpt@o@ txn_failchk@o@ txn_method@o@ \ + txn_rec@o@ txn_recover@o@ txn_region@o@ txn_stat@o@ \ + txn_util@o@ xa@o@ xa_db@o@ xa_map@o@ CXX_OBJS=\ cxx_db@o@ cxx_dbc@o@ cxx_dbt@o@ cxx_env@o@ cxx_except@o@ cxx_lock@o@ \ @@ -225,6 +229,7 @@ JAVA_DBSRCS=\ $(JAVA_SLEEPYCAT)/bind/EntryBinding.java \ $(JAVA_SLEEPYCAT)/bind/RecordNumberBinding.java \ $(JAVA_SLEEPYCAT)/bind/serial/ClassCatalog.java \ + $(JAVA_SLEEPYCAT)/bind/serial/SerialBase.java \ $(JAVA_SLEEPYCAT)/bind/serial/SerialBinding.java \ $(JAVA_SLEEPYCAT)/bind/serial/SerialInput.java \ $(JAVA_SLEEPYCAT)/bind/serial/SerialOutput.java \ @@ -245,7 +250,10 @@ JAVA_DBSRCS=\ $(JAVA_SLEEPYCAT)/bind/tuple/MarshalledTupleEntry.java \ $(JAVA_SLEEPYCAT)/bind/tuple/MarshalledTupleKeyEntity.java \ $(JAVA_SLEEPYCAT)/bind/tuple/ShortBinding.java \ + $(JAVA_SLEEPYCAT)/bind/tuple/SortedDoubleBinding.java \ + $(JAVA_SLEEPYCAT)/bind/tuple/SortedFloatBinding.java \ $(JAVA_SLEEPYCAT)/bind/tuple/StringBinding.java \ + $(JAVA_SLEEPYCAT)/bind/tuple/TupleBase.java \ $(JAVA_SLEEPYCAT)/bind/tuple/TupleBinding.java \ $(JAVA_SLEEPYCAT)/bind/tuple/TupleInput.java \ $(JAVA_SLEEPYCAT)/bind/tuple/TupleInputBinding.java \ @@ -255,14 +263,14 @@ JAVA_DBSRCS=\ $(JAVA_SLEEPYCAT)/bind/tuple/TupleTupleKeyCreator.java \ $(JAVA_SLEEPYCAT)/bind/tuple/TupleTupleMarshalledBinding.java \ $(JAVA_SLEEPYCAT)/bind/tuple/TupleTupleMarshalledKeyCreator.java \ + $(JAVA_SLEEPYCAT)/collections/BaseIterator.java \ + $(JAVA_SLEEPYCAT)/collections/BlockIterator.java \ $(JAVA_SLEEPYCAT)/collections/CurrentTransaction.java \ $(JAVA_SLEEPYCAT)/collections/DataCursor.java \ $(JAVA_SLEEPYCAT)/collections/DataView.java \ - $(JAVA_SLEEPYCAT)/collections/KeyRange.java \ - $(JAVA_SLEEPYCAT)/collections/KeyRangeException.java \ $(JAVA_SLEEPYCAT)/collections/MapEntryParameter.java \ + $(JAVA_SLEEPYCAT)/collections/MyRangeCursor.java \ $(JAVA_SLEEPYCAT)/collections/PrimaryKeyAssigner.java \ - $(JAVA_SLEEPYCAT)/collections/RangeCursor.java \ $(JAVA_SLEEPYCAT)/collections/StoredCollection.java \ $(JAVA_SLEEPYCAT)/collections/StoredCollections.java \ $(JAVA_SLEEPYCAT)/collections/StoredContainer.java \ @@ -288,6 +296,8 @@ JAVA_DBSRCS=\ $(JAVA_SLEEPYCAT)/db/CacheFileStats.java \ $(JAVA_SLEEPYCAT)/db/CacheStats.java \ $(JAVA_SLEEPYCAT)/db/CheckpointConfig.java \ + $(JAVA_SLEEPYCAT)/db/CompactConfig.java \ + $(JAVA_SLEEPYCAT)/db/CompactStats.java \ $(JAVA_SLEEPYCAT)/db/Cursor.java \ $(JAVA_SLEEPYCAT)/db/CursorConfig.java \ $(JAVA_SLEEPYCAT)/db/Database.java \ @@ -300,6 +310,8 @@ JAVA_DBSRCS=\ $(JAVA_SLEEPYCAT)/db/Environment.java \ $(JAVA_SLEEPYCAT)/db/EnvironmentConfig.java \ $(JAVA_SLEEPYCAT)/db/ErrorHandler.java \ + $(JAVA_SLEEPYCAT)/db/EventHandler.java \ + $(JAVA_SLEEPYCAT)/db/EventType.java \ $(JAVA_SLEEPYCAT)/db/FeedbackHandler.java \ $(JAVA_SLEEPYCAT)/db/HashStats.java \ $(JAVA_SLEEPYCAT)/db/Hasher.java \ @@ -320,19 +332,33 @@ JAVA_DBSRCS=\ $(JAVA_SLEEPYCAT)/db/LogStats.java \ $(JAVA_SLEEPYCAT)/db/MemoryException.java \ $(JAVA_SLEEPYCAT)/db/MessageHandler.java \ + $(JAVA_SLEEPYCAT)/db/MultipleNIODataEntry.java \ + $(JAVA_SLEEPYCAT)/db/MultipleKeyNIODataEntry.java \ + $(JAVA_SLEEPYCAT)/db/MultipleRecnoNIODataEntry.java \ $(JAVA_SLEEPYCAT)/db/MultipleDataEntry.java \ $(JAVA_SLEEPYCAT)/db/MultipleEntry.java \ $(JAVA_SLEEPYCAT)/db/MultipleKeyDataEntry.java \ $(JAVA_SLEEPYCAT)/db/MultipleRecnoDataEntry.java \ + $(JAVA_SLEEPYCAT)/db/MutexStats.java \ $(JAVA_SLEEPYCAT)/db/OperationStatus.java \ $(JAVA_SLEEPYCAT)/db/PanicHandler.java \ $(JAVA_SLEEPYCAT)/db/PreparedTransaction.java \ $(JAVA_SLEEPYCAT)/db/QueueStats.java \ $(JAVA_SLEEPYCAT)/db/RecordNumberAppender.java \ $(JAVA_SLEEPYCAT)/db/RecoveryOperation.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationConfig.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationDuplicateMasterException.java \ $(JAVA_SLEEPYCAT)/db/ReplicationHandleDeadException.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationHoldElectionException.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationHostAddress.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationJoinFailureException.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationLockoutException.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationManagerAckPolicy.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationManagerStartPolicy.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationSiteUnavailableException.java \ $(JAVA_SLEEPYCAT)/db/ReplicationStats.java \ $(JAVA_SLEEPYCAT)/db/ReplicationStatus.java \ + $(JAVA_SLEEPYCAT)/db/ReplicationTimeoutType.java \ $(JAVA_SLEEPYCAT)/db/ReplicationTransport.java \ $(JAVA_SLEEPYCAT)/db/RunRecoveryException.java \ $(JAVA_SLEEPYCAT)/db/SecondaryConfig.java \ @@ -347,8 +373,8 @@ JAVA_DBSRCS=\ $(JAVA_SLEEPYCAT)/db/TransactionConfig.java \ $(JAVA_SLEEPYCAT)/db/TransactionStats.java \ $(JAVA_SLEEPYCAT)/db/VerifyConfig.java \ + $(JAVA_SLEEPYCAT)/db/VersionMismatchException.java \ $(JAVA_SLEEPYCAT)/db/internal/Db.java \ - $(JAVA_SLEEPYCAT)/db/internal/DbClient.java \ $(JAVA_SLEEPYCAT)/db/internal/DbConstants.java \ $(JAVA_SLEEPYCAT)/db/internal/DbEnv.java \ $(JAVA_SLEEPYCAT)/db/internal/DbLock.java \ @@ -365,8 +391,12 @@ JAVA_DBSRCS=\ $(JAVA_SLEEPYCAT)/util/FastInputStream.java \ $(JAVA_SLEEPYCAT)/util/FastOutputStream.java \ $(JAVA_SLEEPYCAT)/util/IOExceptionWrapper.java \ + $(JAVA_SLEEPYCAT)/util/PackedInteger.java \ $(JAVA_SLEEPYCAT)/util/RuntimeExceptionWrapper.java \ - $(JAVA_SLEEPYCAT)/util/UtfOps.java + $(JAVA_SLEEPYCAT)/util/UtfOps.java \ + $(JAVA_SLEEPYCAT)/util/keyrange/KeyRange.java \ + $(JAVA_SLEEPYCAT)/util/keyrange/KeyRangeException.java \ + $(JAVA_SLEEPYCAT)/util/keyrange/RangeCursor.java JAVA_EXSRCS=\ $(JAVA_EXDIR)/collections/access/AccessExample.java \ @@ -452,6 +482,7 @@ JAVA_EXSRCS=\ $(JAVA_EXDIR)/db/AccessExample.java \ $(JAVA_EXDIR)/db/BtRecExample.java \ $(JAVA_EXDIR)/db/BulkAccessExample.java \ + $(JAVA_EXDIR)/db/BulkAccessNIOExample.java \ $(JAVA_EXDIR)/db/EnvExample.java \ $(JAVA_EXDIR)/db/GettingStarted/ExampleDatabaseLoad.java \ $(JAVA_EXDIR)/db/GettingStarted/ExampleDatabaseRead.java \ @@ -463,7 +494,14 @@ JAVA_EXSRCS=\ $(JAVA_EXDIR)/db/LockExample.java \ $(JAVA_EXDIR)/db/RPCExample.java \ $(JAVA_EXDIR)/db/SequenceExample.java \ - $(JAVA_EXDIR)/db/TpcbExample.java + $(JAVA_EXDIR)/db/TpcbExample.java \ + $(JAVA_EXDIR)/db/repquote/RepConfig.java \ + $(JAVA_EXDIR)/db/repquote/RepQuoteEnvironment.java \ + $(JAVA_EXDIR)/db/repquote/RepQuoteExample.java \ + $(JAVA_EXDIR)/db/txn/DBWriter.java \ + $(JAVA_EXDIR)/db/txn/PayloadData.java \ + $(JAVA_EXDIR)/db/txn/TxnGuide.java \ + $(JAVA_EXDIR)/db/txn/TxnGuideInMemory.java TCL_OBJS=\ tcl_compat@o@ tcl_db@o@ tcl_db_pkg@o@ tcl_dbcursor@o@ tcl_env@o@ \ @@ -482,162 +520,10 @@ RPC_CXXSRV_OBJS=\ db_server_cxxproc@o@ db_server_cxxutil@o@ db_server_svc@o@ \ gen_db_server@o@ -RPC_JAVASRV_SRCS=\ - $(JAVA_RPCDIR)/AssociateCallbacks.java \ - $(JAVA_RPCDIR)/Dispatcher.java \ - $(JAVA_RPCDIR)/FreeList.java \ - $(JAVA_RPCDIR)/JoinCursorAdapter.java \ - $(JAVA_RPCDIR)/LocalIterator.java \ - $(JAVA_RPCDIR)/RpcDb.java \ - $(JAVA_RPCDIR)/RpcDbEnv.java \ - $(JAVA_RPCDIR)/RpcDbTxn.java \ - $(JAVA_RPCDIR)/RpcDbc.java \ - $(JAVA_RPCDIR)/Server.java \ - $(JAVA_RPCDIR)/Timer.java \ - $(JAVA_RPCDIR)/Util.java \ - $(JAVA_RPCDIR)/gen/ServerStubs.java \ - $(JAVA_RPCDIR)/gen/__db_associate_msg.java \ - $(JAVA_RPCDIR)/gen/__db_associate_reply.java \ - $(JAVA_RPCDIR)/gen/__db_bt_maxkey_msg.java \ - $(JAVA_RPCDIR)/gen/__db_bt_maxkey_reply.java \ - $(JAVA_RPCDIR)/gen/__db_bt_minkey_msg.java \ - $(JAVA_RPCDIR)/gen/__db_bt_minkey_reply.java \ - $(JAVA_RPCDIR)/gen/__db_close_msg.java \ - $(JAVA_RPCDIR)/gen/__db_close_reply.java \ - $(JAVA_RPCDIR)/gen/__db_create_msg.java \ - $(JAVA_RPCDIR)/gen/__db_create_reply.java \ - $(JAVA_RPCDIR)/gen/__db_cursor_msg.java \ - $(JAVA_RPCDIR)/gen/__db_cursor_reply.java \ - $(JAVA_RPCDIR)/gen/__db_del_msg.java \ - $(JAVA_RPCDIR)/gen/__db_del_reply.java \ - $(JAVA_RPCDIR)/gen/__db_encrypt_msg.java \ - $(JAVA_RPCDIR)/gen/__db_encrypt_reply.java \ - $(JAVA_RPCDIR)/gen/__db_extentsize_msg.java \ - $(JAVA_RPCDIR)/gen/__db_extentsize_reply.java \ - $(JAVA_RPCDIR)/gen/__db_flags_msg.java \ - $(JAVA_RPCDIR)/gen/__db_flags_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_bt_minkey_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_bt_minkey_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_encrypt_flags_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_encrypt_flags_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_extentsize_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_extentsize_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_flags_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_flags_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_h_ffactor_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_h_ffactor_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_h_nelem_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_h_nelem_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_lorder_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_lorder_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_name_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_name_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_open_flags_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_open_flags_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_pagesize_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_pagesize_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_re_delim_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_re_delim_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_re_len_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_re_len_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_re_pad_msg.java \ - $(JAVA_RPCDIR)/gen/__db_get_re_pad_reply.java \ - $(JAVA_RPCDIR)/gen/__db_get_reply.java \ - $(JAVA_RPCDIR)/gen/__db_h_ffactor_msg.java \ - $(JAVA_RPCDIR)/gen/__db_h_ffactor_reply.java \ - $(JAVA_RPCDIR)/gen/__db_h_nelem_msg.java \ - $(JAVA_RPCDIR)/gen/__db_h_nelem_reply.java \ - $(JAVA_RPCDIR)/gen/__db_join_msg.java \ - $(JAVA_RPCDIR)/gen/__db_join_reply.java \ - $(JAVA_RPCDIR)/gen/__db_key_range_msg.java \ - $(JAVA_RPCDIR)/gen/__db_key_range_reply.java \ - $(JAVA_RPCDIR)/gen/__db_lorder_msg.java \ - $(JAVA_RPCDIR)/gen/__db_lorder_reply.java \ - $(JAVA_RPCDIR)/gen/__db_open_msg.java \ - $(JAVA_RPCDIR)/gen/__db_open_reply.java \ - $(JAVA_RPCDIR)/gen/__db_pagesize_msg.java \ - $(JAVA_RPCDIR)/gen/__db_pagesize_reply.java \ - $(JAVA_RPCDIR)/gen/__db_pget_msg.java \ - $(JAVA_RPCDIR)/gen/__db_pget_reply.java \ - $(JAVA_RPCDIR)/gen/__db_put_msg.java \ - $(JAVA_RPCDIR)/gen/__db_put_reply.java \ - $(JAVA_RPCDIR)/gen/__db_re_delim_msg.java \ - $(JAVA_RPCDIR)/gen/__db_re_delim_reply.java \ - $(JAVA_RPCDIR)/gen/__db_re_len_msg.java \ - $(JAVA_RPCDIR)/gen/__db_re_len_reply.java \ - $(JAVA_RPCDIR)/gen/__db_re_pad_msg.java \ - $(JAVA_RPCDIR)/gen/__db_re_pad_reply.java \ - $(JAVA_RPCDIR)/gen/__db_remove_msg.java \ - $(JAVA_RPCDIR)/gen/__db_remove_reply.java \ - $(JAVA_RPCDIR)/gen/__db_rename_msg.java \ - $(JAVA_RPCDIR)/gen/__db_rename_reply.java \ - $(JAVA_RPCDIR)/gen/__db_stat_msg.java \ - $(JAVA_RPCDIR)/gen/__db_stat_reply.java \ - $(JAVA_RPCDIR)/gen/__db_sync_msg.java \ - $(JAVA_RPCDIR)/gen/__db_sync_reply.java \ - $(JAVA_RPCDIR)/gen/__db_truncate_msg.java \ - $(JAVA_RPCDIR)/gen/__db_truncate_reply.java \ - $(JAVA_RPCDIR)/gen/__dbc_close_msg.java \ - $(JAVA_RPCDIR)/gen/__dbc_close_reply.java \ - $(JAVA_RPCDIR)/gen/__dbc_count_msg.java \ - $(JAVA_RPCDIR)/gen/__dbc_count_reply.java \ - $(JAVA_RPCDIR)/gen/__dbc_del_msg.java \ - $(JAVA_RPCDIR)/gen/__dbc_del_reply.java \ - $(JAVA_RPCDIR)/gen/__dbc_dup_msg.java \ - $(JAVA_RPCDIR)/gen/__dbc_dup_reply.java \ - $(JAVA_RPCDIR)/gen/__dbc_get_msg.java \ - $(JAVA_RPCDIR)/gen/__dbc_get_reply.java \ - $(JAVA_RPCDIR)/gen/__dbc_pget_msg.java \ - $(JAVA_RPCDIR)/gen/__dbc_pget_reply.java \ - $(JAVA_RPCDIR)/gen/__dbc_put_msg.java \ - $(JAVA_RPCDIR)/gen/__dbc_put_reply.java \ - $(JAVA_RPCDIR)/gen/__env_cachesize_msg.java \ - $(JAVA_RPCDIR)/gen/__env_cachesize_reply.java \ - $(JAVA_RPCDIR)/gen/__env_close_msg.java \ - $(JAVA_RPCDIR)/gen/__env_close_reply.java \ - $(JAVA_RPCDIR)/gen/__env_create_msg.java \ - $(JAVA_RPCDIR)/gen/__env_create_reply.java \ - $(JAVA_RPCDIR)/gen/__env_dbremove_msg.java \ - $(JAVA_RPCDIR)/gen/__env_dbremove_reply.java \ - $(JAVA_RPCDIR)/gen/__env_dbrename_msg.java \ - $(JAVA_RPCDIR)/gen/__env_dbrename_reply.java \ - $(JAVA_RPCDIR)/gen/__env_encrypt_msg.java \ - $(JAVA_RPCDIR)/gen/__env_encrypt_reply.java \ - $(JAVA_RPCDIR)/gen/__env_flags_msg.java \ - $(JAVA_RPCDIR)/gen/__env_flags_reply.java \ - $(JAVA_RPCDIR)/gen/__env_get_cachesize_msg.java \ - $(JAVA_RPCDIR)/gen/__env_get_cachesize_reply.java \ - $(JAVA_RPCDIR)/gen/__env_get_encrypt_flags_msg.java \ - $(JAVA_RPCDIR)/gen/__env_get_encrypt_flags_reply.java \ - $(JAVA_RPCDIR)/gen/__env_get_flags_msg.java \ - $(JAVA_RPCDIR)/gen/__env_get_flags_reply.java \ - $(JAVA_RPCDIR)/gen/__env_get_home_msg.java \ - $(JAVA_RPCDIR)/gen/__env_get_home_reply.java \ - $(JAVA_RPCDIR)/gen/__env_get_open_flags_msg.java \ - $(JAVA_RPCDIR)/gen/__env_get_open_flags_reply.java \ - $(JAVA_RPCDIR)/gen/__env_open_msg.java \ - $(JAVA_RPCDIR)/gen/__env_open_reply.java \ - $(JAVA_RPCDIR)/gen/__env_remove_msg.java \ - $(JAVA_RPCDIR)/gen/__env_remove_reply.java \ - $(JAVA_RPCDIR)/gen/__txn_abort_msg.java \ - $(JAVA_RPCDIR)/gen/__txn_abort_reply.java \ - $(JAVA_RPCDIR)/gen/__txn_begin_msg.java \ - $(JAVA_RPCDIR)/gen/__txn_begin_reply.java \ - $(JAVA_RPCDIR)/gen/__txn_commit_msg.java \ - $(JAVA_RPCDIR)/gen/__txn_commit_reply.java \ - $(JAVA_RPCDIR)/gen/__txn_discard_msg.java \ - $(JAVA_RPCDIR)/gen/__txn_discard_reply.java \ - $(JAVA_RPCDIR)/gen/__txn_prepare_msg.java \ - $(JAVA_RPCDIR)/gen/__txn_prepare_reply.java \ - $(JAVA_RPCDIR)/gen/__txn_recover_msg.java \ - $(JAVA_RPCDIR)/gen/__txn_recover_reply.java \ - $(JAVA_RPCDIR)/gen/db_server.java - UTIL_PROGS=\ @ADDITIONAL_PROGS@ \ - db_archive db_checkpoint db_deadlock db_dump db_load db_printlog \ - db_recover db_stat db_upgrade db_verify + db_archive db_checkpoint db_deadlock db_dump db_hotbackup \ + db_load db_printlog db_recover db_stat db_upgrade db_verify ################################################## # List of files installed into the library directory. @@ -674,7 +560,7 @@ LIB_INSTALL_FILE_LIST=\ ################################################## all: @BUILD_TARGET@ -install-strip install: all @INSTALL_TARGET@ +install: all @INSTALL_TARGET@ ################################################## # Library and standard utilities build. @@ -686,33 +572,33 @@ $(libdb): $(DEF_LIB) # Real static C library. $(libdb_version): $(C_OBJS) - $(ar) cr $@ $(C_OBJS) - test ! -f $(ranlib) || $(ranlib) $@ - $(rm) -f $(libdb) - $(ln) -s $(libdb_version) $(libdb) + $(AR) cr $@ $(C_OBJS) + test "$(RANLIB)" = "none" || $(RANLIB) $@ + $(RM) -f $(libdb) + $(LN) -s $(libdb_version) $(libdb) # Shared C library. $(libso_target): $(C_OBJS) - $(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) $(LIBSO_LIBS) - $(rm) -f $(libdb) - $(ln) -s .libs/$(libdb_version) $(libdb) + $(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) $(LIBCSO_LIBS) + $(RM) -f $(libdb) + $(LN) -s .libs/$(libdb_version) $(libdb) # Static C++ library named libdb_cxx.a. $(libcxx): $(DEF_LIB_CXX) # Real static C++ library. $(libcxx_version): $(CXX_OBJS) $(C_OBJS) - $(ar) cr $@ $(CXX_OBJS) $(C_OBJS) - test ! -f $(ranlib) || $(ranlib) $@ - $(rm) -f $(libcxx) - $(ln) -s $(libcxx_version) $(libcxx) + $(AR) cr $@ $(CXX_OBJS) $(C_OBJS) + test "$(RANLIB)" = "none" || $(RANLIB) $@ + $(RM) -f $(libcxx) + $(LN) -s $(libcxx_version) $(libcxx) # Shared C++ library. $(libxso_target): $(CXX_OBJS) $(C_OBJS) $(XSOLINK) $(SOFLAGS) $(LDFLAGS) \ -o $@ $(CXX_OBJS) $(C_OBJS) $(LIBXSO_LIBS) - $(rm) -f $(libcxx) - $(ln) -s .libs/$(libcxx_version) $(libcxx) + $(RM) -f $(libcxx) + $(LN) -s .libs/$(libcxx_version) $(libcxx) # Shared Java library. $(libjso_target): $(JAVA_OBJS) $(C_OBJS) @@ -732,26 +618,19 @@ java: $(libj_jarfile) $(libj_exjarfile) $(libj_jarfile): $(JAVA_DBSRCS) @test -d $(JAVA_CLASSTOP) || \ - ($(mkdir) -p $(JAVA_CLASSTOP) && $(chmod) $(dmode) $(JAVA_CLASSTOP)) + ($(MKDIR) -p $(JAVA_CLASSTOP) && \ + $(CHMOD) $(dmode) $(JAVA_CLASSTOP)) $(JAVAC) -d $(JAVA_CLASSTOP) $(JAVACFLAGS) $(JAVA_DBSRCS) cd $(JAVA_CLASSTOP) && $(JAR) cf ../$(libj_jarfile) ./com/sleepycat $(libj_exjarfile): $(libj_jarfile) $(JAVA_EXSRCS) @test -d $(JAVA_EXCLASSTOP) || \ - ($(mkdir) -p $(JAVA_EXCLASSTOP) && \ - $(chmod) $(dmode) $(JAVA_EXCLASSTOP)) + ($(MKDIR) -p $(JAVA_EXCLASSTOP) && \ + $(CHMOD) $(dmode) $(JAVA_EXCLASSTOP)) $(JAVAC) -classpath $(libj_jarfile) -d $(JAVA_EXCLASSTOP) \ $(JAVACFLAGS) $(JAVA_EXSRCS) cd $(JAVA_EXCLASSTOP) && $(JAR) cf ../$(libj_exjarfile) . -$(rpc_jarfile): $(libj_jarfile) $(RPC_JAVASRV_SRCS) - @test -d $(JAVA_RPCCLASSTOP) || \ - ($(mkdir) -p $(JAVA_RPCCLASSTOP) && \ - $(chmod) $(dmode) $(JAVA_RPCCLASSTOP)) - env CLASSPATH=$(CLASSPATH):$(JAVA_RPCDIR)/oncrpc.jar \ - @JAVAC@ -d $(JAVA_RPCCLASSTOP) $(JAVACFLAGS) $(RPC_JAVASRV_SRCS) - cd $(JAVA_RPCCLASSTOP) && $(JAR) cf ../$(rpc_jarfile) $(JAVA_RPCREL) - ################################################## # Utilities ################################################## @@ -765,14 +644,6 @@ berkeley_db_cxxsvc: $(RPC_CXXSRV_OBJS) util_log@o@ $(DEF_LIB_CXX) $(RPC_CXXSRV_OBJS) util_log@o@ $(DEF_LIB_CXX) $(LIBS) $(POSTLINK) $@ -berkeley_db_javasvc: $(rpc_jarfile) - echo "#!/bin/sh" > $@ - echo CLASSPATH="$(CLASSPATH):$(rpc_jarfile):$(JAVA_RPCDIR)/oncrpc.jar" >> $@ - echo LD_LIBRARY_PATH=.libs >> $@ - echo export CLASSPATH LD_LIBRARY_PATH >> $@ - echo exec java com.sleepycat.db.rpcserver.Server \$$@ >> $@ - chmod +x $@ - db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB) $(CCLINK) -o $@ $(LDFLAGS) \ db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS) @@ -797,6 +668,11 @@ db_dump185: db_dump185@o@ @REPLACEMENT_OBJS@ $(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @REPLACEMENT_OBJS@ $(DB185LIB) $(POSTLINK) $@ +db_hotbackup: db_hotbackup@o@ util_sig@o@ $(DEF_LIB) + $(CCLINK) -o $@ $(LDFLAGS) \ + db_hotbackup@o@ util_sig@o@ $(DEF_LIB) $(LIBS) + $(POSTLINK) $@ + db_load: db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(CCLINK) -o $@ $(LDFLAGS) \ db_load@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS) @@ -837,118 +713,119 @@ uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs install_setup: @test -d $(DESTDIR)$(prefix) || \ - ($(mkdir) -p $(DESTDIR)$(prefix) && \ - $(chmod) $(dmode) $(DESTDIR)$(prefix)) + ($(MKDIR) -p $(DESTDIR)$(prefix) && \ + $(CHMOD) $(dmode) $(DESTDIR)$(prefix)) INCDOT= db.h db_cxx.h @ADDITIONAL_INCS@ install_include: @echo "Installing DB include files: $(DESTDIR)$(includedir) ..." @test -d $(DESTDIR)$(includedir) || \ - ($(mkdir) -p $(DESTDIR)$(includedir) && \ - $(chmod) $(dmode) $(DESTDIR)$(includedir)) - @cd $(DESTDIR)$(includedir) && $(rm) -f $(INCDOT) - @$(cp) -p $(INCDOT) $(DESTDIR)$(includedir) - @cd $(DESTDIR)$(includedir) && $(chmod) $(fmode) $(INCDOT) + ($(MKDIR) -p $(DESTDIR)$(includedir) && \ + $(CHMOD) $(dmode) $(DESTDIR)$(includedir)) + @cd $(DESTDIR)$(includedir) && $(RM) -f $(INCDOT) + @$(CP) -p $(INCDOT) $(DESTDIR)$(includedir) + @cd $(DESTDIR)$(includedir) && $(CHMOD) $(fmode) $(INCDOT) uninstall_include: - @cd $(DESTDIR)$(includedir) && $(rm) -f $(INCDOT) + @cd $(DESTDIR)$(includedir) && $(RM) -f $(INCDOT) install_lib: @echo "Installing DB library: $(DESTDIR)$(libdir) ..." @test -d $(DESTDIR)$(libdir) || \ - ($(mkdir) -p $(DESTDIR)$(libdir) && \ - $(chmod) $(dmode) $(DESTDIR)$(libdir)) - @cd $(DESTDIR)$(libdir) && $(rm) -f $(LIB_INSTALL_FILE_LIST) + ($(MKDIR) -p $(DESTDIR)$(libdir) && \ + $(CHMOD) $(dmode) $(DESTDIR)$(libdir)) + @cd $(DESTDIR)$(libdir) && $(RM) -f $(LIB_INSTALL_FILE_LIST) @$(INSTALLER) @INSTALL_LIBS@ $(DESTDIR)$(libdir) @(cd $(DESTDIR)$(libdir) && \ - test -f $(libso) && $(ln) -s $(libso) $(libso_default); \ - test -f $(libso) && $(ln) -s $(libso) $(libso_major); \ - test -f $(libxso) && $(ln) -s $(libxso) $(libxso_default); \ - test -f $(libxso) && $(ln) -s $(libxso) $(libxso_major); \ - test -f $(libtso) && $(ln) -s $(libtso) $(libtso_default); \ - test -f $(libtso) && $(ln) -s $(libtso) $(libtso_major); \ - test -f $(libjso) && $(ln) -s $(libjso) $(libjso_default); \ - test -f $(libjso) && $(ln) -s $(libjso) $(libjso_major); \ - test -f $(libjso) && $(ln) -s $(libjso) $(libjso_g)) || true + test -f $(libso) && $(LN) -s $(libso) $(libso_default); \ + test -f $(libso) && $(LN) -s $(libso) $(libso_major); \ + test -f $(libxso) && $(LN) -s $(libxso) $(libxso_default); \ + test -f $(libxso) && $(LN) -s $(libxso) $(libxso_major); \ + test -f $(libtso) && $(LN) -s $(libtso) $(libtso_default); \ + test -f $(libtso) && $(LN) -s $(libtso) $(libtso_major); \ + test -f $(libjso) && $(LN) -s $(libjso) $(libjso_default); \ + test -f $(libjso) && $(LN) -s $(libjso) $(libjso_major); \ + test -f $(libjso) && $(LN) -s $(libjso) $(libjso_g)) || exit 0 @(test -f $(libj_jarfile) && \ - $(cp) $(libj_jarfile) $(DESTDIR)$(libdir) && \ - $(chmod) $(fmode) $(DESTDIR)$(libdir)/$(libj_jarfile)) || true + $(CP) $(libj_jarfile) $(DESTDIR)$(libdir) && \ + $(CHMOD) $(fmode) $(DESTDIR)$(libdir)/$(libj_jarfile)) || exit 0 uninstall_lib: - @cd $(DESTDIR)$(libdir) && $(rm) -f $(LIB_INSTALL_FILE_LIST) + @cd $(DESTDIR)$(libdir) && $(RM) -f $(LIB_INSTALL_FILE_LIST) install_utilities: @echo "Installing DB utilities: $(DESTDIR)$(bindir) ..." @test -d $(DESTDIR)$(bindir) || \ - ($(mkdir) -p $(DESTDIR)$(bindir) && \ - $(chmod) $(dmode) $(DESTDIR)$(bindir)) + ($(MKDIR) -p $(DESTDIR)$(bindir) && \ + $(CHMOD) $(dmode) $(DESTDIR)$(bindir)) @for i in $(UTIL_PROGS); do \ - $(rm) -f $(DESTDIR)$(bindir)/$$i $(DESTDIR)$(bindir)/$$i.exe; \ - test -f $$i.exe && i=$$i.exe || true; \ + test -f $$i.exe && i=$$i.exe || i=$$i; \ + $(RM) -f $(DESTDIR)$(bindir)/$$i; \ $(INSTALLER) $$i $(DESTDIR)$(bindir)/$$i; \ - test -f $(strip) && $(strip) $(DESTDIR)$(bindir)/$$i || true; \ - $(chmod) $(emode) $(DESTDIR)$(bindir)/$$i; \ + test "$(STRIP)" = "none" || $(STRIP) $(DESTDIR)$(bindir)/$$i; \ + $(CHMOD) $(emode) $(DESTDIR)$(bindir)/$$i; \ done uninstall_utilities: @(cd $(DESTDIR)$(bindir); for i in $(UTIL_PROGS); do \ - $(rm) -f $$i $$i.exe; \ + $(RM) -f $$i $$i.exe; \ done) -DOCLIST=api_c api_cxx api_tcl collections gsg images index.html java ref \ - sleepycat utility +DOCLIST=api_c api_cxx api_tcl collections gsg gsg_db_rep gsg_txn images \ + index.html java license ref utility install_docs: @echo "Installing documentation: $(DESTDIR)$(docdir) ..." @test -d $(DESTDIR)$(docdir) || \ - ($(mkdir) -p $(DESTDIR)$(docdir) && \ - $(chmod) $(dmode) $(DESTDIR)$(docdir)) - @cd $(DESTDIR)$(docdir) && $(rm) -rf $(DOCLIST) - @cd $(srcdir)/docs && $(cp) -pr $(DOCLIST) $(DESTDIR)$(docdir)/ + ($(MKDIR) -p $(DESTDIR)$(docdir) && \ + $(CHMOD) $(dmode) $(DESTDIR)$(docdir)) + @cd $(DESTDIR)$(docdir) && $(RM) -rf $(DOCLIST) + @cd $(srcdir)/docs && $(CP) -pr $(DOCLIST) $(DESTDIR)$(docdir)/ uninstall_docs: - @cd $(docdir) && $(rm) -rf $(DESTDIR)$(DOCLIST) + @cd $(DESTDIR)$(docdir) && $(RM) -rf $(DOCLIST) ################################################## # Remaining standard Makefile targets. ################################################## CLEAN_LIST=\ - bench_001 berkeley_db_cxxsvc berkeley_db_javasvc berkeley_db_svc \ - db_dump185 db_perf dbs ex_access ex_apprec ex_btrec ex_dbclient \ - ex_env ex_lock ex_mpool ex_repquote ex_sequence ex_thread \ - ex_tpcb example_database_load example_database_read excxx_access \ + TxnGuide TxnGuideInMemory bench_001 berkeley_db_cxxsvc \ + berkeley_db_svc db_dump185 db_perf db_reptest dbs ex_access \ + ex_apprec ex_btrec ex_dbclient ex_env ex_lock ex_mpool \ + ex_rep_base ex_rep_mgr ex_sequence ex_thread ex_tpcb \ + example_database_load example_database_read excxx_access \ excxx_btrec excxx_env excxx_example_database_load \ excxx_example_database_read excxx_lock excxx_mpool \ - excxx_sequence excxx_tpcb + excxx_repquote excxx_sequence excxx_tpcb txn_guide \ + txn_guide_inmemory mostly-clean clean: - $(rm) -rf $(C_OBJS) - $(rm) -rf $(CXX_OBJS) $(JAVA_OBJS) $(TCL_OBJS) - $(rm) -rf $(RPC_CLIENT_OBJS) $(RPC_SRV_OBJS) $(RPC_CXXSRV_OBJS) - $(rm) -rf $(UTIL_PROGS) *.exe $(CLEAN_LIST) - $(rm) -rf $(JAVA_CLASSTOP) $(JAVA_EXCLASSTOP) - $(rm) -rf $(JAVA_RPCCLASSES) $(rpc_jarfile) - $(rm) -rf tags *@o@ *.o *.o.lock *.lo core *.core - $(rm) -rf ALL.OUT.* PARALLEL_TESTDIR.* - $(rm) -rf RUN_LOG RUNQUEUE TESTDIR TESTDIR.A - $(rm) -rf TEST.LIST logtrack_seen.db tm .libs $(LIB_INSTALL_FILE_LIST) + $(RM) -rf $(C_OBJS) + $(RM) -rf $(CXX_OBJS) $(JAVA_OBJS) $(TCL_OBJS) + $(RM) -rf $(RPC_CLIENT_OBJS) $(RPC_SRV_OBJS) $(RPC_CXXSRV_OBJS) + $(RM) -rf $(UTIL_PROGS) *.exe $(CLEAN_LIST) + $(RM) -rf $(JAVA_CLASSTOP) $(JAVA_EXCLASSTOP) + $(RM) -rf tags *@o@ *.o *.o.lock *.lo core *.core + $(RM) -rf ALL.OUT.* PARALLEL_TESTDIR.* + $(RM) -rf RUN_LOG RUNQUEUE TESTDIR TESTDIR.A TEST.LIST + $(RM) -rf logtrack_seen.db tm .libs $(LIB_INSTALL_FILE_LIST) REALCLEAN_LIST=\ - Makefile confdefs.h config.cache config.log config.status \ + Makefile clib_port.h confdefs.h config.cache config.log config.status \ configure.lineno db.h db185_int.h db_185.h db_config.h \ db_cxx.h db_int.h db_int_def.h include.tcl \ db_server.h db_server_clnt.c db_server_svc.c db_server_xdr.c \ gen_db_server.c win_db.h distclean maintainer-clean realclean: clean - $(rm) -rf $(REALCLEAN_LIST) - $(rm) -rf libtool + $(RM) -rf $(REALCLEAN_LIST) + $(RM) -rf libtool check depend dvi info obj TAGS: - @echo "$@: make target not supported" && true + @echo "make: $@ target not available" dist rpm rpmbuild: - @echo "$@: make target not supported" && false + @echo "make: $@ target not available" && exit 1 ################################################## # Multi-threaded testers, benchmarks. @@ -1038,6 +915,67 @@ db_perf: $(DBPERF_OBJS) $(DEF_LIB) $(LDFLAGS) $(DBPERF_OBJS) $(DEF_LIB) $(TEST_LIBS) $(LIBS) $(POSTLINK) $@ +db_reptest@o@: $(srcdir)/test_rep/db_reptest.c + $(CC) $(CFLAGS) $? +reptest_accept@o@: $(srcdir)/test_rep/reptest_accept.c + $(CC) $(CFLAGS) $? +reptest_client@o@: $(srcdir)/test_rep/reptest_client.c + $(CC) $(CFLAGS) $? +reptest_config@o@: $(srcdir)/test_rep/reptest_config.c + $(CC) $(CFLAGS) $? +reptest_dbs@o@: $(srcdir)/test_rep/reptest_dbs.c + $(CC) $(CFLAGS) $? +reptest_debug@o@: $(srcdir)/test_rep/reptest_debug.c + $(CC) $(CFLAGS) $? +reptest_elect@o@: $(srcdir)/test_rep/reptest_elect.c + $(CC) $(CFLAGS) $? +reptest_env@o@: $(srcdir)/test_rep/reptest_env.c + $(CC) $(CFLAGS) $? +reptest_exec@o@: $(srcdir)/test_rep/reptest_exec.c + $(CC) $(CFLAGS) $? +reptest_file@o@: $(srcdir)/test_rep/reptest_file.c + $(CC) $(CFLAGS) $? +reptest_key@o@: $(srcdir)/test_rep/reptest_key.c + $(CC) $(CFLAGS) $? +reptest_master@o@: $(srcdir)/test_rep/reptest_master.c + $(CC) $(CFLAGS) $? +reptest_misc@o@: $(srcdir)/test_rep/reptest_misc.c + $(CC) $(CFLAGS) $? +reptest_msg_thread@o@: $(srcdir)/test_rep/reptest_msg_thread.c + $(CC) $(CFLAGS) $? +reptest_op@o@: $(srcdir)/test_rep/reptest_op.c + $(CC) $(CFLAGS) $? +reptest_parse@o@: $(srcdir)/test_rep/reptest_parse.c + $(CC) $(CFLAGS) $? +reptest_send@o@: $(srcdir)/test_rep/reptest_send.c + $(CC) $(CFLAGS) $? +reptest_site@o@: $(srcdir)/test_rep/reptest_site.c + $(CC) $(CFLAGS) $? +reptest_socket@o@: $(srcdir)/test_rep/reptest_socket.c + $(CC) $(CFLAGS) $? +reptest_spawn@o@: $(srcdir)/test_rep/reptest_spawn.c + $(CC) $(CFLAGS) $? +reptest_thread@o@: $(srcdir)/test_rep/reptest_thread.c + $(CC) $(CFLAGS) $? +reptest_txn@o@: $(srcdir)/test_rep/reptest_txn.c + $(CC) $(CFLAGS) $? +reptest_util@o@: $(srcdir)/test_rep/reptest_util.c + $(CC) $(CFLAGS) $? +DBREPTEST_OBJS=\ + db_reptest@o@ perf_rand@o@ reptest_accept@o@ reptest_client@o@ \ + reptest_config@o@ reptest_dbs@o@ reptest_debug@o@ \ + reptest_elect@o@ reptest_env@o@ reptest_exec@o@ reptest_file@o@ \ + reptest_key@o@ reptest_master@o@ reptest_misc@o@ \ + reptest_msg_thread@o@ reptest_op@o@ reptest_parse@o@ \ + reptest_send@o@ reptest_site@o@ reptest_socket@o@ \ + reptest_spawn@o@ reptest_thread@o@ reptest_txn@o@ \ + reptest_util@o@ + +db_reptest: $(DBREPTEST_OBJS) $(DEF_LIB) + $(CCLINK) -o $@ \ + $(LDFLAGS) $(DBREPTEST_OBJS) $(DEF_LIB) $(TEST_LIBS) $(LIBS) + $(POSTLINK) $@ + tm@o@: $(srcdir)/mutex/tm.c $(CC) $(CFLAGS) $? tm: tm@o@ $(DEF_LIB) @@ -1063,9 +1001,12 @@ ex_apprec@o@: $(srcdir)/examples_c/ex_apprec/ex_apprec.c $(CC) $(CFLAGS) $? ex_apprec_auto@o@: $(srcdir)/examples_c/ex_apprec/ex_apprec_auto.c $(CC) $(CFLAGS) $? +ex_apprec_autop@o@: $(srcdir)/examples_c/ex_apprec/ex_apprec_autop.c + $(CC) $(CFLAGS) $? ex_apprec_rec@o@: $(srcdir)/examples_c/ex_apprec/ex_apprec_rec.c $(CC) $(CFLAGS) $? -EX_APPREC_OBJS=ex_apprec@o@ ex_apprec_auto@o@ ex_apprec_rec@o@ +EX_APPREC_OBJS=\ + ex_apprec@o@ ex_apprec_auto@o@ ex_apprec_autop@o@ ex_apprec_rec@o@ ex_apprec: $(EX_APPREC_OBJS) $(DEF_LIB) $(CCLINK) -o $@ \ $(LDFLAGS) $(EX_APPREC_OBJS) $(DEF_LIB) $(TEST_LIBS) $(LIBS) @@ -1100,21 +1041,28 @@ ex_mpool: ex_mpool@o@ $(DEF_LIB) $(CCLINK) -o $@ $(LDFLAGS) ex_mpool@o@ $(DEF_LIB) $(LIBS) $(POSTLINK) $@ -ex_rq_client@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_client.c +rep_base@o@: $(srcdir)/examples_c/ex_rep/base/rep_base.c $(CC) $(CFLAGS) $? -ex_rq_main@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_main.c +rep_common@o@: $(srcdir)/examples_c/ex_rep/common/rep_common.c $(CC) $(CFLAGS) $? -ex_rq_master@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_master.c +rep_msg@o@: $(srcdir)/examples_c/ex_rep/base/rep_msg.c $(CC) $(CFLAGS) $? -ex_rq_net@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_net.c +rep_net@o@: $(srcdir)/examples_c/ex_rep/base/rep_net.c $(CC) $(CFLAGS) $? -ex_rq_util@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_util.c +EX_REP_BASE_OBJS=\ + rep_base@o@ rep_common@o@ rep_msg@o@ rep_net@o@ +ex_rep_base: $(EX_REP_BASE_OBJS) $(DEF_LIB) + $(CCLINK) -o $@ \ + $(LDFLAGS) $(EX_REP_BASE_OBJS) $(DEF_LIB) $(TEST_LIBS) $(LIBS) + $(POSTLINK) $@ + +rep_mgr@o@: $(srcdir)/examples_c/ex_rep/mgr/rep_mgr.c $(CC) $(CFLAGS) $? -EX_RQ_OBJS=\ - ex_rq_client@o@ ex_rq_main@o@ ex_rq_master@o@ ex_rq_net@o@ ex_rq_util@o@ -ex_repquote: $(EX_RQ_OBJS) $(DEF_LIB) +EX_REP_MGR_OBJS=\ + rep_common@o@ rep_mgr@o@ +ex_rep_mgr: $(EX_REP_MGR_OBJS) $(DEF_LIB) $(CCLINK) -o $@ \ - $(LDFLAGS) $(EX_RQ_OBJS) $(DEF_LIB) $(TEST_LIBS) $(LIBS) + $(LDFLAGS) $(EX_REP_MGR_OBJS) $(DEF_LIB) $(TEST_LIBS) $(LIBS) $(POSTLINK) $@ ex_sequence@o@: $(srcdir)/examples_c/ex_sequence.c @@ -1156,6 +1104,18 @@ example_database_read: example_database_read@o@ gettingstarted_common@o@ \ example_database_read@o@ gettingstarted_common@o@ $(DEF_LIB) $(LIBS) $(POSTLINK) $@ +txn_guide_inmemory@o@: $(srcdir)/examples_c/txn_guide/txn_guide_inmemory.c + $(CC) $(CFLAGS) $? +txn_guide_inmemory: txn_guide_inmemory@o@ $(DEF_LIB) + $(CCLINK) -o $@ $(LDFLAGS) txn_guide_inmemory@o@ $(DEF_LIB) $(LIBS) + $(POSTLINK) $@ + +txn_guide@o@: $(srcdir)/examples_c/txn_guide/txn_guide.c + $(CC) $(CFLAGS) $? +txn_guide: txn_guide@o@ $(DEF_LIB) + $(CCLINK) -o $@ $(LDFLAGS) txn_guide@o@ $(DEF_LIB) $(LIBS) + $(POSTLINK) $@ + ################################################## # Example programs for C++. ################################################## @@ -1189,6 +1149,15 @@ excxx_mpool: MpoolExample@o@ $(DEF_LIB_CXX) $(CXXLINK) -o $@ $(LDFLAGS) MpoolExample@o@ $(DEF_LIB_CXX) $(LIBS) $(POSTLINK) $@ +RepQuoteExample@o@: $(srcdir)/examples_cxx/excxx_repquote/RepQuoteExample.cpp + $(CXX) -I$(srcdir)/examples_cxx/excxx_repquote $(CXXFLAGS) $? +RepConfigInfo@o@: $(srcdir)/examples_cxx/excxx_repquote/RepConfigInfo.cpp + $(CXX) -I$(srcdir)/examples_cxx/excxx_repquote $(CXXFLAGS) $? +excxx_repquote: RepQuoteExample@o@ RepConfigInfo@o@ $(DEF_LIB_CXX) + $(CXXLINK) -o $@ $(LDFLAGS) \ + RepQuoteExample@o@ RepConfigInfo@o@ $(DEF_LIB_CXX) $(LIBS) + $(POSTLINK) $@ + SequenceExample@o@: $(srcdir)/examples_cxx/SequenceExample.cpp $(CXX) $(CXXFLAGS) $? excxx_sequence: SequenceExample@o@ $(DEF_LIB_CXX) @@ -1220,6 +1189,18 @@ excxx_example_database_read: \ excxx_example_database_read@o@ MyDb@o@ $(DEF_LIB_CXX) $(LIBS) $(POSTLINK) $@ +TxnGuideInMemory@o@: $(srcdir)/examples_cxx/txn_guide/TxnGuideInMemory.cpp + $(CXX) $(CXXFLAGS) $? +TxnGuideInMemory: TxnGuideInMemory@o@ $(DEF_LIB_CXX) + $(CXXLINK) -o $@ $(LDFLAGS) TxnGuideInMemory@o@ $(DEF_LIB_CXX) $(LIBS) + $(POSTLINK) $@ + +TxnGuide@o@: $(srcdir)/examples_cxx/txn_guide/TxnGuide.cpp + $(CXX) $(CXXFLAGS) $? +TxnGuide: TxnGuide@o@ $(DEF_LIB_CXX) + $(CXXLINK) -o $@ $(LDFLAGS) TxnGuide@o@ $(DEF_LIB_CXX) $(LIBS) + $(POSTLINK) $@ + ################################################## # C API build rules. ################################################## @@ -1255,6 +1236,8 @@ bt_split@o@: $(srcdir)/btree/bt_split.c $(CC) $(CFLAGS) $? bt_stat@o@: $(srcdir)/btree/bt_stat.c $(CC) $(CFLAGS) $? +bt_compact@o@: $(srcdir)/btree/bt_compact.c + $(CC) $(CFLAGS) $? bt_upgrade@o@: $(srcdir)/btree/bt_upgrade.c $(CC) $(CFLAGS) $? bt_verify@o@: $(srcdir)/btree/bt_verify.c @@ -1287,6 +1270,10 @@ db_byteorder@o@: $(srcdir)/common/db_byteorder.c $(CC) $(CFLAGS) $? db_cam@o@: $(srcdir)/db/db_cam.c $(CC) $(CFLAGS) $? +db_cds@o@: $(srcdir)/db/db_cds.c + $(CC) $(CFLAGS) $? +db_clock@o@: $(srcdir)/common/db_clock.c + $(CC) $(CFLAGS) $? db_conv@o@: $(srcdir)/db/db_conv.c $(CC) $(CFLAGS) $? db_dispatch@o@: $(srcdir)/db/db_dispatch.c @@ -1363,6 +1350,10 @@ dbreg_stat@o@: $(srcdir)/dbreg/dbreg_stat.c $(CC) $(CFLAGS) $? dbreg_util@o@: $(srcdir)/dbreg/dbreg_util.c $(CC) $(CFLAGS) $? +env_config@o@: $(srcdir)/env/env_config.c + $(CC) $(CFLAGS) $? +env_failchk@o@: $(srcdir)/env/env_failchk.c + $(CC) $(CFLAGS) $? env_file@o@: $(srcdir)/env/env_file.c $(CC) $(CFLAGS) $? env_method@o@: $(srcdir)/env/env_method.c @@ -1373,6 +1364,8 @@ env_recover@o@: $(srcdir)/env/env_recover.c $(CC) $(CFLAGS) $? env_region@o@: $(srcdir)/env/env_region.c $(CC) $(CFLAGS) $? +env_register@o@: $(srcdir)/env/env_register.c + $(CC) $(CFLAGS) $? env_stat@o@: $(srcdir)/env/env_stat.c $(CC) $(CFLAGS) $? fileops_auto@o@: $(srcdir)/fileops/fileops_auto.c @@ -1425,6 +1418,8 @@ lock@o@: $(srcdir)/lock/lock.c $(CC) $(CFLAGS) $? lock_deadlock@o@:$(srcdir)/lock/lock_deadlock.c $(CC) $(CFLAGS) $? +lock_failchk@o@:$(srcdir)/lock/lock_failchk.c + $(CC) $(CFLAGS) $? lock_id@o@:$(srcdir)/lock/lock_id.c $(CC) $(CFLAGS) $? lock_list@o@:$(srcdir)/lock/lock_list.c @@ -1445,6 +1440,8 @@ log_archive@o@: $(srcdir)/log/log_archive.c $(CC) $(CFLAGS) $? log_compare@o@: $(srcdir)/log/log_compare.c $(CC) $(CFLAGS) $? +log_debug@o@: $(srcdir)/log/log_debug.c + $(CC) $(CFLAGS) $? log_get@o@: $(srcdir)/log/log_get.c $(CC) $(CFLAGS) $? log_method@o@: $(srcdir)/log/log_method.c @@ -1453,6 +1450,8 @@ log_put@o@: $(srcdir)/log/log_put.c $(CC) $(CFLAGS) $? log_stat@o@: $(srcdir)/log/log_stat.c $(CC) $(CFLAGS) $? +mkpath@o@: $(srcdir)/common/mkpath.c + $(CC) $(CFLAGS) $? mp_alloc@o@: $(srcdir)/mp/mp_alloc.c $(CC) $(CFLAGS) $? mp_bh@o@: $(srcdir)/mp/mp_bh.c @@ -1469,6 +1468,8 @@ mp_fset@o@: $(srcdir)/mp/mp_fset.c $(CC) $(CFLAGS) $? mp_method@o@: $(srcdir)/mp/mp_method.c $(CC) $(CFLAGS) $? +mp_mvcc@o@: $(srcdir)/mp/mp_mvcc.c + $(CC) $(CFLAGS) $? mp_region@o@: $(srcdir)/mp/mp_region.c $(CC) $(CFLAGS) $? mp_register@o@: $(srcdir)/mp/mp_register.c @@ -1481,16 +1482,24 @@ mp_trickle@o@: $(srcdir)/mp/mp_trickle.c $(CC) $(CFLAGS) $? mt19937db@o@: $(srcdir)/crypto/mersenne/mt19937db.c $(CC) $(CFLAGS) $? +mut_alloc@o@: $(srcdir)/mutex/mut_alloc.c + $(CC) $(CFLAGS) $? +mut_failchk@o@: $(srcdir)/mutex/mut_failchk.c + $(CC) $(CFLAGS) $? mut_fcntl@o@: $(srcdir)/mutex/mut_fcntl.c $(CC) $(CFLAGS) $? +mut_method@o@: $(srcdir)/mutex/mut_method.c + $(CC) $(CFLAGS) $? mut_pthread@o@: $(srcdir)/mutex/mut_pthread.c $(CC) $(CFLAGS) $? +mut_region@o@: $(srcdir)/mutex/mut_region.c + $(CC) $(CFLAGS) $? +mut_stat@o@: $(srcdir)/mutex/mut_stat.c + $(CC) $(CFLAGS) $? mut_tas@o@: $(srcdir)/mutex/mut_tas.c $(CC) $(CFLAGS) $? mut_win32@o@: $(srcdir)/mutex/mut_win32.c $(CC) $(CFLAGS) $? -mutex@o@: $(srcdir)/mutex/mutex.c - $(CC) $(CFLAGS) $? os_abs@o@: $(srcdir)/@OSDIR@/os_abs.c $(CC) $(CFLAGS) $? os_alloc@o@: $(srcdir)/os/os_alloc.c @@ -1505,9 +1514,13 @@ os_errno@o@: $(srcdir)/@OSDIR@/os_errno.c $(CC) $(CFLAGS) $? os_fid@o@: $(srcdir)/@OSDIR@/os_fid.c $(CC) $(CFLAGS) $? +os_flock@o@: $(srcdir)/@OSDIR@/os_flock.c + $(CC) $(CFLAGS) $? os_fsync@o@: $(srcdir)/@OSDIR@/os_fsync.c $(CC) $(CFLAGS) $? -os_id@o@: $(srcdir)/os/os_id.c +os_fzero@o@: $(srcdir)/os/os_fzero.c + $(CC) $(CFLAGS) $? +os_getenv@o@: $(srcdir)/@OSDIR@/os_getenv.c $(CC) $(CFLAGS) $? os_handle@o@: $(srcdir)/@OSDIR@/os_handle.c $(CC) $(CFLAGS) $? @@ -1515,10 +1528,14 @@ os_map@o@: $(srcdir)/@OSDIR@/os_map.c $(CC) $(CFLAGS) $? os_method@o@: $(srcdir)/os/os_method.c $(CC) $(CFLAGS) $? +os_mkdir@o@: $(srcdir)/os/os_mkdir.c + $(CC) $(CFLAGS) $? os_oflags@o@: $(srcdir)/os/os_oflags.c $(CC) $(CFLAGS) $? os_open@o@: $(srcdir)/@OSDIR@/os_open.c $(CC) $(CFLAGS) $? +os_pid@o@: $(srcdir)/os/os_pid.c + $(CC) $(CFLAGS) $? os_region@o@: $(srcdir)/os/os_region.c $(CC) $(CFLAGS) $? os_rename@o@: $(srcdir)/@OSDIR@/os_rename.c @@ -1541,8 +1558,12 @@ os_tmpdir@o@: $(srcdir)/os/os_tmpdir.c $(CC) $(CFLAGS) $? os_truncate@o@: $(srcdir)/@OSDIR@/os_truncate.c $(CC) $(CFLAGS) $? +os_uid@o@: $(srcdir)/os/os_uid.c + $(CC) $(CFLAGS) $? os_unlink@o@: $(srcdir)/os/os_unlink.c $(CC) $(CFLAGS) $? +os_yield@o@: $(srcdir)/os/os_yield.c + $(CC) $(CFLAGS) $? qam@o@: $(srcdir)/qam/qam.c $(CC) $(CFLAGS) $? qam_auto@o@: $(srcdir)/qam/qam_auto.c @@ -1573,6 +1594,10 @@ rep_autop@o@: $(srcdir)/rep/rep_autop.c $(CC) $(CFLAGS) $? rep_backup@o@: $(srcdir)/rep/rep_backup.c $(CC) $(CFLAGS) $? +rep_elect@o@: $(srcdir)/rep/rep_elect.c + $(CC) $(CFLAGS) $? +rep_log@o@: $(srcdir)/rep/rep_log.c + $(CC) $(CFLAGS) $? rep_method@o@: $(srcdir)/rep/rep_method.c $(CC) $(CFLAGS) $? rep_record@o@: $(srcdir)/rep/rep_record.c @@ -1585,6 +1610,26 @@ rep_stat@o@: $(srcdir)/rep/rep_stat.c $(CC) $(CFLAGS) $? rep_util@o@: $(srcdir)/rep/rep_util.c $(CC) $(CFLAGS) $? +rep_verify@o@: $(srcdir)/rep/rep_verify.c + $(CC) $(CFLAGS) $? +repmgr_elect@o@: $(srcdir)/repmgr/repmgr_elect.c + $(CC) $(CFLAGS) $? +repmgr_method@o@: $(srcdir)/repmgr/repmgr_method.c + $(CC) $(CFLAGS) $? +repmgr_msg@o@: $(srcdir)/repmgr/repmgr_msg.c + $(CC) $(CFLAGS) $? +repmgr_net@o@: $(srcdir)/repmgr/repmgr_net.c + $(CC) $(CFLAGS) $? +repmgr_posix@o@: $(srcdir)/repmgr/repmgr_posix.c + $(CC) $(CFLAGS) $? +repmgr_queue@o@: $(srcdir)/repmgr/repmgr_queue.c + $(CC) $(CFLAGS) $? +repmgr_sel@o@: $(srcdir)/repmgr/repmgr_sel.c + $(CC) $(CFLAGS) $? +repmgr_stat@o@: $(srcdir)/repmgr/repmgr_stat.c + $(CC) $(CFLAGS) $? +repmgr_util@o@: $(srcdir)/repmgr/repmgr_util.c + $(CC) $(CFLAGS) $? rijndael-alg-fst@o@: $(srcdir)/crypto/rijndael/rijndael-alg-fst.c $(CC) $(CFLAGS) $? rijndael-api-fst@o@: $(srcdir)/crypto/rijndael/rijndael-api-fst.c @@ -1603,6 +1648,10 @@ txn_auto@o@: $(srcdir)/txn/txn_auto.c $(CC) $(CFLAGS) $? txn_autop@o@: $(srcdir)/txn/txn_autop.c $(CC) $(CFLAGS) $? +txn_chkpt@o@: $(srcdir)/txn/txn_chkpt.c + $(CC) $(CFLAGS) $? +txn_failchk@o@: $(srcdir)/txn/txn_failchk.c + $(CC) $(CFLAGS) $? txn_method@o@: $(srcdir)/txn/txn_method.c $(CC) $(CFLAGS) $? txn_rec@o@: $(srcdir)/txn/txn_rec.c @@ -1660,37 +1709,37 @@ cxx_txn@o@: $(srcdir)/cxx/cxx_txn.cpp # Java API build rules. ################################################## db_java_wrap@o@: $(srcdir)/libdb_java/db_java_wrap.c - $(CC) $(CFLAGS) $? + $(CC) $(CFLAGS) $(SWIGCFLAGS) $? ################################################## # Tcl API build rules. ################################################## tcl_compat@o@: $(srcdir)/tcl/tcl_compat.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_db@o@: $(srcdir)/tcl/tcl_db.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_db_pkg@o@: $(srcdir)/tcl/tcl_db_pkg.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_dbcursor@o@: $(srcdir)/tcl/tcl_dbcursor.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_env@o@: $(srcdir)/tcl/tcl_env.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_internal@o@: $(srcdir)/tcl/tcl_internal.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_lock@o@: $(srcdir)/tcl/tcl_lock.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_log@o@: $(srcdir)/tcl/tcl_log.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_mp@o@: $(srcdir)/tcl/tcl_mp.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_rep@o@: $(srcdir)/tcl/tcl_rep.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_seq@o@: $(srcdir)/tcl/tcl_seq.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_txn@o@: $(srcdir)/tcl/tcl_txn.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? tcl_util@o@: $(srcdir)/tcl/tcl_util.c - $(CC) $(CFLAGS) $(TCFLAGS) $? + $(CC) $(CFLAGS) $(TCL_INCLUDE_SPEC) $? ################################################## # RPC build rules. @@ -1734,6 +1783,8 @@ db_dump@o@: $(srcdir)/db_dump/db_dump.c $(CC) $(CFLAGS) $? db_dump185@o@: $(srcdir)/db_dump185/db_dump185.c $(CC) $(DB185INC) $? +db_hotbackup@o@: $(srcdir)/db_hotbackup/db_hotbackup.c + $(CC) $(CFLAGS) $? db_load@o@: $(srcdir)/db_load/db_load.c $(CC) $(CFLAGS) $? db_printlog@o@: $(srcdir)/db_printlog/db_printlog.c @@ -1750,26 +1801,58 @@ db_verify@o@: $(srcdir)/db_verify/db_verify.c ################################################## # C library replacement files. ################################################## +atoi@o@: $(srcdir)/clib/atoi.c + $(CC) $(CFLAGS) $? +atol@o@: $(srcdir)/clib/atol.c + $(CC) $(CFLAGS) $? +ctime@o@: $(srcdir)/clib/ctime.c + $(CC) $(CFLAGS) $? +getaddrinfo@o@: $(srcdir)/clib/getaddrinfo.c + $(CC) $(CFLAGS) $? getcwd@o@: $(srcdir)/clib/getcwd.c $(CC) $(CFLAGS) $? getopt@o@: $(srcdir)/clib/getopt.c $(CC) $(CFLAGS) $? +isalpha@o@: $(srcdir)/clib/isalpha.c + $(CC) $(CFLAGS) $? +isdigit@o@: $(srcdir)/clib/isdigit.c + $(CC) $(CFLAGS) $? +isprint@o@: $(srcdir)/clib/isprint.c + $(CC) $(CFLAGS) $? +isspace@o@: $(srcdir)/clib/isspace.c + $(CC) $(CFLAGS) $? memcmp@o@: $(srcdir)/clib/memcmp.c $(CC) $(CFLAGS) $? memcpy@o@: $(srcdir)/clib/memmove.c $(CC) -DMEMCOPY $(CFLAGS) $? -o $@ memmove@o@: $(srcdir)/clib/memmove.c $(CC) -DMEMMOVE $(CFLAGS) $? +printf@o@: $(srcdir)/clib/printf.c + $(CC) $(CFLAGS) $? raise@o@: $(srcdir)/clib/raise.c $(CC) $(CFLAGS) $? +rand@o@: $(srcdir)/clib/rand.c + $(CC) $(CFLAGS) $? strcasecmp@o@: $(srcdir)/clib/strcasecmp.c $(CC) $(CFLAGS) $? strdup@o@: $(srcdir)/clib/strdup.c $(CC) $(CFLAGS) $? snprintf@o@: $(srcdir)/clib/snprintf.c $(CC) $(CFLAGS) $? +strcat@o@: $(srcdir)/clib/strcat.c + $(CC) $(CFLAGS) $? +strchr@o@: $(srcdir)/clib/strchr.c + $(CC) $(CFLAGS) $? strerror@o@: $(srcdir)/clib/strerror.c $(CC) $(CFLAGS) $? +strncat@o@: $(srcdir)/clib/strncat.c + $(CC) $(CFLAGS) $? +strncmp@o@: $(srcdir)/clib/strncmp.c + $(CC) $(CFLAGS) $? +strrchr@o@: $(srcdir)/clib/strrchr.c + $(CC) $(CFLAGS) $? +strsep@o@: $(srcdir)/clib/strsep.c + $(CC) $(CFLAGS) $? strtol@o@: $(srcdir)/clib/strtol.c $(CC) $(CFLAGS) $? strtoul@o@: $(srcdir)/clib/strtoul.c |