mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
155e78f014
BitKeeper/deleted/.del-ex_access.wpj~3df6ae8c99bf7c5f: Delete: bdb/build_vxworks/ex_access/ex_access.wpj BitKeeper/deleted/.del-ex_btrec.wpj~a7622f1c6f432dc6: Delete: bdb/build_vxworks/ex_btrec/ex_btrec.wpj BitKeeper/deleted/.del-ex_dbclient.wpj~7345440f3b204cdd: Delete: bdb/build_vxworks/ex_dbclient/ex_dbclient.wpj BitKeeper/deleted/.del-ex_env.wpj~fbe1ab10b04e8b74: Delete: bdb/build_vxworks/ex_env/ex_env.wpj BitKeeper/deleted/.del-ex_mpool.wpj~4479cfd5c45f327d: Delete: bdb/build_vxworks/ex_mpool/ex_mpool.wpj BitKeeper/deleted/.del-ex_tpcb.wpj~f78093006e14bf41: Delete: bdb/build_vxworks/ex_tpcb/ex_tpcb.wpj BitKeeper/deleted/.del-db_buildall.dsp~bd749ff6da11682: Delete: bdb/build_win32/db_buildall.dsp BitKeeper/deleted/.del-cxx_app.cpp~ad8df8e0791011ed: Delete: bdb/cxx/cxx_app.cpp BitKeeper/deleted/.del-cxx_log.cpp~a50ff3118fe06952: Delete: bdb/cxx/cxx_log.cpp BitKeeper/deleted/.del-cxx_table.cpp~ecd751e79b055556: Delete: bdb/cxx/cxx_table.cpp BitKeeper/deleted/.del-namemap.txt~796a3acd3885d8fd: Delete: bdb/cxx/namemap.txt BitKeeper/deleted/.del-Design.fileop~3ca4da68f1727373: Delete: bdb/db/Design.fileop BitKeeper/deleted/.del-db185_int.h~61bee3736e7959ef: Delete: bdb/db185/db185_int.h BitKeeper/deleted/.del-acconfig.h~411e8854d67ad8b5: Delete: bdb/dist/acconfig.h BitKeeper/deleted/.del-mutex.m4~a13383cde18a64e1: Delete: bdb/dist/aclocal/mutex.m4 BitKeeper/deleted/.del-options.m4~b9d0ca637213750a: Delete: bdb/dist/aclocal/options.m4 BitKeeper/deleted/.del-programs.m4~3ce7890b47732b30: Delete: bdb/dist/aclocal/programs.m4 BitKeeper/deleted/.del-tcl.m4~f944e2db93c3b6db: Delete: bdb/dist/aclocal/tcl.m4 BitKeeper/deleted/.del-types.m4~59cae158c9a32cff: Delete: bdb/dist/aclocal/types.m4 BitKeeper/deleted/.del-script~d38f6d3a4f159cb4: Delete: bdb/dist/build/script BitKeeper/deleted/.del-configure.in~ac795a92c8fe049c: Delete: bdb/dist/configure.in BitKeeper/deleted/.del-ltconfig~66bbd007d8024af: Delete: bdb/dist/ltconfig BitKeeper/deleted/.del-rec_ctemp~a28554362534f00a: Delete: bdb/dist/rec_ctemp BitKeeper/deleted/.del-s_tcl~2ffe4326459fcd9f: Delete: bdb/dist/s_tcl BitKeeper/deleted/.del-.IGNORE_ME~d8148b08fa7d5d15: Delete: bdb/dist/template/.IGNORE_ME BitKeeper/deleted/.del-btree.h~179f2aefec1753d: Delete: bdb/include/btree.h BitKeeper/deleted/.del-cxx_int.h~6b649c04766508f8: Delete: bdb/include/cxx_int.h BitKeeper/deleted/.del-db.src~6b433ae615b16a8d: Delete: bdb/include/db.src BitKeeper/deleted/.del-db_185.h~ad8b373d9391d35c: Delete: bdb/include/db_185.h BitKeeper/deleted/.del-db_am.h~a714912b6b75932f: Delete: bdb/include/db_am.h BitKeeper/deleted/.del-db_cxx.h~fcafadf45f5d19e9: Delete: bdb/include/db_cxx.h BitKeeper/deleted/.del-db_dispatch.h~6844f20f7eb46904: Delete: bdb/include/db_dispatch.h BitKeeper/deleted/.del-db_int.src~419a3f48b6a01da7: Delete: bdb/include/db_int.src BitKeeper/deleted/.del-db_join.h~76f9747a42c3399a: Delete: bdb/include/db_join.h BitKeeper/deleted/.del-db_page.h~e302ca3a4db3abdc: Delete: bdb/include/db_page.h BitKeeper/deleted/.del-db_server_int.h~e1d20b6ba3bca1ab: Delete: bdb/include/db_server_int.h BitKeeper/deleted/.del-db_shash.h~5fbf2d696fac90f3: Delete: bdb/include/db_shash.h BitKeeper/deleted/.del-db_swap.h~1e60887550864a59: Delete: bdb/include/db_swap.h BitKeeper/deleted/.del-db_upgrade.h~c644eee73701fc8d: Delete: bdb/include/db_upgrade.h BitKeeper/deleted/.del-db_verify.h~b8d6c297c61f342e: Delete: bdb/include/db_verify.h BitKeeper/deleted/.del-debug.h~dc2b4f2cf27ccebc: Delete: bdb/include/debug.h BitKeeper/deleted/.del-hash.h~2aaa548b28882dfb: Delete: bdb/include/hash.h BitKeeper/deleted/.del-lock.h~a761c1b7de57b77f: Delete: bdb/include/lock.h BitKeeper/deleted/.del-log.h~ff20184238e35e4d: Delete: bdb/include/log.h BitKeeper/deleted/.del-mp.h~7e317597622f3411: Delete: bdb/include/mp.h BitKeeper/deleted/.del-mutex.h~d3ae7a2977a68137: Delete: bdb/include/mutex.h BitKeeper/deleted/.del-os.h~91867cc8757cd0e3: Delete: bdb/include/os.h BitKeeper/deleted/.del-os_jump.h~e1b939fa5151d4be: Delete: bdb/include/os_jump.h BitKeeper/deleted/.del-qam.h~6fad0c1b5723d597: Delete: bdb/include/qam.h BitKeeper/deleted/.del-queue.h~4c72c0826c123d5: Delete: bdb/include/queue.h BitKeeper/deleted/.del-region.h~513fe04d977ca0fc: Delete: bdb/include/region.h BitKeeper/deleted/.del-shqueue.h~525fc3e6c2025c36: Delete: bdb/include/shqueue.h BitKeeper/deleted/.del-tcl_db.h~c536fd61a844f23f: Delete: bdb/include/tcl_db.h BitKeeper/deleted/.del-txn.h~c8d94b221ec147e4: Delete: bdb/include/txn.h BitKeeper/deleted/.del-xa.h~ecc466493aae9d9a: Delete: bdb/include/xa.h BitKeeper/deleted/.del-DbRecoveryInit.java~756b52601a0b9023: Delete: bdb/java/src/com/sleepycat/db/DbRecoveryInit.java BitKeeper/deleted/.del-DbTxnRecover.java~74607cba7ab89d6d: Delete: bdb/java/src/com/sleepycat/db/DbTxnRecover.java BitKeeper/deleted/.del-lock_conflict.c~fc5e0f14cf597a2b: Delete: bdb/lock/lock_conflict.c BitKeeper/deleted/.del-log.src~53ac9e7b5cb023f2: Delete: bdb/log/log.src BitKeeper/deleted/.del-log_findckp.c~24287f008916e81f: Delete: bdb/log/log_findckp.c BitKeeper/deleted/.del-log_rec.c~d51711f2cac09297: Delete: bdb/log/log_rec.c BitKeeper/deleted/.del-log_register.c~b40bb4efac75ca15: Delete: bdb/log/log_register.c BitKeeper/deleted/.del-Design~b3d0f179f2767b: Delete: bdb/mp/Design BitKeeper/deleted/.del-os_finit.c~95dbefc6fe79b26c: Delete: bdb/os/os_finit.c BitKeeper/deleted/.del-os_abs.c~df95d1e7db81924: Delete: bdb/os_vxworks/os_abs.c BitKeeper/deleted/.del-os_finit.c~803b484bdb9d0122: Delete: bdb/os_vxworks/os_finit.c BitKeeper/deleted/.del-os_map.c~3a6d7926398b76d3: Delete: bdb/os_vxworks/os_map.c BitKeeper/deleted/.del-os_finit.c~19a227c6d3c78ad: Delete: bdb/os_win32/os_finit.c BitKeeper/deleted/.del-log-corruption.patch~1cf2ecc7c6408d5d: Delete: bdb/patches/log-corruption.patch BitKeeper/deleted/.del-Btree.pm~af6d0c5eaed4a98e: Delete: bdb/perl.BerkeleyDB/BerkeleyDB/Btree.pm BitKeeper/deleted/.del-BerkeleyDB.pm~7244036d4482643: Delete: bdb/perl.BerkeleyDB/BerkeleyDB.pm BitKeeper/deleted/.del-BerkeleyDB.pod~e7b18fd6132448e3: Delete: bdb/perl.BerkeleyDB/BerkeleyDB.pod BitKeeper/deleted/.del-Hash.pm~10292a26c06a5c95: Delete: bdb/perl.BerkeleyDB/BerkeleyDB/Hash.pm BitKeeper/deleted/.del-BerkeleyDB.pod.P~79f76a1495eda203: Delete: bdb/perl.BerkeleyDB/BerkeleyDB.pod.P BitKeeper/deleted/.del-BerkeleyDB.xs~80c99afbd98e392c: Delete: bdb/perl.BerkeleyDB/BerkeleyDB.xs BitKeeper/deleted/.del-Changes~729c1891efa60de9: Delete: bdb/perl.BerkeleyDB/Changes BitKeeper/deleted/.del-MANIFEST~63a1e34aecf157a0: Delete: bdb/perl.BerkeleyDB/MANIFEST BitKeeper/deleted/.del-Makefile.PL~c68797707d8df87a: Delete: bdb/perl.BerkeleyDB/Makefile.PL BitKeeper/deleted/.del-README~5f2f579b1a241407: Delete: bdb/perl.BerkeleyDB/README BitKeeper/deleted/.del-Todo~dca3c66c193adda9: Delete: bdb/perl.BerkeleyDB/Todo BitKeeper/deleted/.del-config.in~ae81681e450e0999: Delete: bdb/perl.BerkeleyDB/config.in BitKeeper/deleted/.del-dbinfo~28ad67d83be4f68e: Delete: bdb/perl.BerkeleyDB/dbinfo BitKeeper/deleted/.del-mkconsts~543ab60669c7a04e: Delete: bdb/perl.BerkeleyDB/mkconsts BitKeeper/deleted/.del-mkpod~182c0ca54e439afb: Delete: bdb/perl.BerkeleyDB/mkpod BitKeeper/deleted/.del-5.004~e008cb5a48805543: Delete: bdb/perl.BerkeleyDB/patches/5.004 BitKeeper/deleted/.del-irix_6_5.pl~61662bb08afcdec8: Delete: bdb/perl.BerkeleyDB/hints/irix_6_5.pl BitKeeper/deleted/.del-solaris.pl~6771e7182394e152: Delete: bdb/perl.BerkeleyDB/hints/solaris.pl BitKeeper/deleted/.del-typemap~783b8f5295b05f3d: Delete: bdb/perl.BerkeleyDB/typemap BitKeeper/deleted/.del-5.004_01~6081ce2fff7b0bc: Delete: bdb/perl.BerkeleyDB/patches/5.004_01 BitKeeper/deleted/.del-5.004_02~87214eac35ad9e6: Delete: bdb/perl.BerkeleyDB/patches/5.004_02 BitKeeper/deleted/.del-5.004_03~9a672becec7cb40f: Delete: bdb/perl.BerkeleyDB/patches/5.004_03 BitKeeper/deleted/.del-5.004_04~e326cb51af09d154: Delete: bdb/perl.BerkeleyDB/patches/5.004_04 BitKeeper/deleted/.del-5.004_05~7ab457a1e41a92fe: Delete: bdb/perl.BerkeleyDB/patches/5.004_05 BitKeeper/deleted/.del-5.005~f9e2d59b5964cd4b: Delete: bdb/perl.BerkeleyDB/patches/5.005 BitKeeper/deleted/.del-5.005_01~3eb9fb7b5842ea8e: Delete: bdb/perl.BerkeleyDB/patches/5.005_01 BitKeeper/deleted/.del-5.005_02~67477ce0bef717cb: Delete: bdb/perl.BerkeleyDB/patches/5.005_02 BitKeeper/deleted/.del-5.005_03~c4c29a1fb21e290a: Delete: bdb/perl.BerkeleyDB/patches/5.005_03 BitKeeper/deleted/.del-5.6.0~e1fb9897d124ee22: Delete: bdb/perl.BerkeleyDB/patches/5.6.0 BitKeeper/deleted/.del-btree.t~e4a1a3c675ddc406: Delete: bdb/perl.BerkeleyDB/t/btree.t BitKeeper/deleted/.del-db-3.0.t~d2c60991d84558f2: Delete: bdb/perl.BerkeleyDB/t/db-3.0.t BitKeeper/deleted/.del-db-3.1.t~6ee88cd13f55e018: Delete: bdb/perl.BerkeleyDB/t/db-3.1.t BitKeeper/deleted/.del-db-3.2.t~f73b6461f98fd1cf: Delete: bdb/perl.BerkeleyDB/t/db-3.2.t BitKeeper/deleted/.del-destroy.t~cc6a2ae1980a2ecd: Delete: bdb/perl.BerkeleyDB/t/destroy.t BitKeeper/deleted/.del-env.t~a8604a4499c4bd07: Delete: bdb/perl.BerkeleyDB/t/env.t BitKeeper/deleted/.del-examples.t~2571b77c3cc75574: Delete: bdb/perl.BerkeleyDB/t/examples.t BitKeeper/deleted/.del-examples.t.T~8228bdd75ac78b88: Delete: bdb/perl.BerkeleyDB/t/examples.t.T BitKeeper/deleted/.del-examples3.t.T~66a186897a87026d: Delete: bdb/perl.BerkeleyDB/t/examples3.t.T BitKeeper/deleted/.del-examples3.t~fe3822ba2f2d7f83: Delete: bdb/perl.BerkeleyDB/t/examples3.t BitKeeper/deleted/.del-filter.t~f87b045c1b708637: Delete: bdb/perl.BerkeleyDB/t/filter.t BitKeeper/deleted/.del-hash.t~616bfb4d644de3a3: Delete: bdb/perl.BerkeleyDB/t/hash.t BitKeeper/deleted/.del-join.t~29fc39f74a83ca22: Delete: bdb/perl.BerkeleyDB/t/join.t BitKeeper/deleted/.del-mldbm.t~31f5015341eea040: Delete: bdb/perl.BerkeleyDB/t/mldbm.t BitKeeper/deleted/.del-queue.t~8f338034ce44a641: Delete: bdb/perl.BerkeleyDB/t/queue.t BitKeeper/deleted/.del-recno.t~d4ddbd3743add63e: Delete: bdb/perl.BerkeleyDB/t/recno.t BitKeeper/deleted/.del-strict.t~6885cdd2ea71ca2d: Delete: bdb/perl.BerkeleyDB/t/strict.t BitKeeper/deleted/.del-subdb.t~aab62a5d5864c603: Delete: bdb/perl.BerkeleyDB/t/subdb.t BitKeeper/deleted/.del-txn.t~65033b8558ae1216: Delete: bdb/perl.BerkeleyDB/t/txn.t BitKeeper/deleted/.del-unknown.t~f3710458682665e1: Delete: bdb/perl.BerkeleyDB/t/unknown.t BitKeeper/deleted/.del-Changes~436f74a5c414c65b: Delete: bdb/perl.DB_File/Changes BitKeeper/deleted/.del-DB_File.pm~ae0951c6c7665a82: Delete: bdb/perl.DB_File/DB_File.pm BitKeeper/deleted/.del-DB_File.xs~89e49a0b5556f1d8: Delete: bdb/perl.DB_File/DB_File.xs BitKeeper/deleted/.del-DB_File_BS~290fad5dbbb87069: Delete: bdb/perl.DB_File/DB_File_BS BitKeeper/deleted/.del-MANIFEST~90ee581572bdd4ac: Delete: bdb/perl.DB_File/MANIFEST BitKeeper/deleted/.del-Makefile.PL~ac0567bb5a377e38: Delete: bdb/perl.DB_File/Makefile.PL BitKeeper/deleted/.del-README~77e924a5a9bae6b3: Delete: bdb/perl.DB_File/README BitKeeper/deleted/.del-config.in~ab4c2792b86a810b: Delete: bdb/perl.DB_File/config.in BitKeeper/deleted/.del-dbinfo~461c43b30fab2cb: Delete: bdb/perl.DB_File/dbinfo BitKeeper/deleted/.del-dynixptx.pl~50dcddfae25d17e9: Delete: bdb/perl.DB_File/hints/dynixptx.pl BitKeeper/deleted/.del-typemap~55cffb3288a9e587: Delete: bdb/perl.DB_File/typemap BitKeeper/deleted/.del-version.c~a4df0e646f8b3975: Delete: bdb/perl.DB_File/version.c BitKeeper/deleted/.del-5.004_01~d6830d0082702af7: Delete: bdb/perl.DB_File/patches/5.004_01 BitKeeper/deleted/.del-5.004_02~78b082dc80c91031: Delete: bdb/perl.DB_File/patches/5.004_02 BitKeeper/deleted/.del-5.004~4411ec2e3c9e008b: Delete: bdb/perl.DB_File/patches/5.004 BitKeeper/deleted/.del-sco.pl~1e795fe14fe4dcfe: Delete: bdb/perl.DB_File/hints/sco.pl BitKeeper/deleted/.del-5.004_03~33f274648b160d95: Delete: bdb/perl.DB_File/patches/5.004_03 BitKeeper/deleted/.del-5.004_04~8f3d1b3cf18bb20a: Delete: bdb/perl.DB_File/patches/5.004_04 BitKeeper/deleted/.del-5.004_05~9c0f02e7331e142: Delete: bdb/perl.DB_File/patches/5.004_05 BitKeeper/deleted/.del-5.005~c2108cb2e3c8d951: Delete: bdb/perl.DB_File/patches/5.005 BitKeeper/deleted/.del-5.005_01~3b45e9673afc4cfa: Delete: bdb/perl.DB_File/patches/5.005_01 BitKeeper/deleted/.del-5.005_02~9fe5766bb02a4522: Delete: bdb/perl.DB_File/patches/5.005_02 BitKeeper/deleted/.del-5.005_03~ffa1c38c19ae72ea: Delete: bdb/perl.DB_File/patches/5.005_03 BitKeeper/deleted/.del-5.6.0~373be3a5ce47be85: Delete: bdb/perl.DB_File/patches/5.6.0 BitKeeper/deleted/.del-db-btree.t~3231595a1c241eb3: Delete: bdb/perl.DB_File/t/db-btree.t BitKeeper/deleted/.del-db-hash.t~7c4ad0c795c7fad2: Delete: bdb/perl.DB_File/t/db-hash.t BitKeeper/deleted/.del-db-recno.t~6c2d3d80b9ba4a50: Delete: bdb/perl.DB_File/t/db-recno.t BitKeeper/deleted/.del-db_server.sed~cdb00ebcd48a64e2: Delete: bdb/rpc_server/db_server.sed BitKeeper/deleted/.del-db_server_proc.c~d46c8f409c3747f4: Delete: bdb/rpc_server/db_server_proc.c BitKeeper/deleted/.del-db_server_svc.sed~3f5e59f334fa4607: Delete: bdb/rpc_server/db_server_svc.sed BitKeeper/deleted/.del-db_server_util.c~a809f3a4629acda: Delete: bdb/rpc_server/db_server_util.c BitKeeper/deleted/.del-log.tcl~ff1b41f1355b97d7: Delete: bdb/test/log.tcl BitKeeper/deleted/.del-mpool.tcl~b0df4dc1b04db26c: Delete: bdb/test/mpool.tcl BitKeeper/deleted/.del-mutex.tcl~52fd5c73a150565: Delete: bdb/test/mutex.tcl BitKeeper/deleted/.del-txn.tcl~c4ff071550b5446e: Delete: bdb/test/txn.tcl BitKeeper/deleted/.del-README~e800a12a5392010a: Delete: bdb/test/upgrade/README BitKeeper/deleted/.del-pack-2.6.6.pl~89d5076d758d3e98: Delete: bdb/test/upgrade/generate-2.X/pack-2.6.6.pl BitKeeper/deleted/.del-test-2.6.patch~4a52dc83d447547b: Delete: bdb/test/upgrade/generate-2.X/test-2.6.patch
1397 lines
47 KiB
Makefile
1397 lines
47 KiB
Makefile
# $Id: Makefile.in,v 11.175 2002/08/29 14:22:20 margo Exp $
|
|
|
|
srcdir= @srcdir@/..
|
|
builddir=.
|
|
|
|
##################################################
|
|
# Installation directories and permissions.
|
|
##################################################
|
|
prefix= @prefix@
|
|
exec_prefix=@exec_prefix@
|
|
bindir= @bindir@
|
|
includedir=@includedir@
|
|
libdir= @libdir@
|
|
docdir= $(prefix)/docs
|
|
|
|
dmode= 755
|
|
emode= 555
|
|
fmode= 444
|
|
|
|
transform=@program_transform_name@
|
|
|
|
##################################################
|
|
# Paths for standard user-level commands.
|
|
##################################################
|
|
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@
|
|
rpm= @db_cv_path_rpm@
|
|
strip= @db_cv_path_strip@
|
|
|
|
##################################################
|
|
# General library information.
|
|
##################################################
|
|
DEF_LIB= @DEFAULT_LIB@
|
|
DEF_LIB_CXX= @DEFAULT_LIB_CXX@
|
|
INSTALLER= @INSTALLER@
|
|
LIBTOOL= @LIBTOOL@
|
|
|
|
POSTLINK= @POSTLINK@
|
|
SOLINK= @MAKEFILE_SOLINK@
|
|
SOFLAGS= @SOFLAGS@
|
|
SOMAJOR= @DB_VERSION_MAJOR@
|
|
SOVERSION= @DB_VERSION_MAJOR@.@DB_VERSION_MINOR@
|
|
|
|
##################################################
|
|
# C API.
|
|
##################################################
|
|
CPPFLAGS= -I$(builddir) -I$(srcdir) -I$(srcdir)/dbinc @CPPFLAGS@
|
|
CFLAGS= -c $(CPPFLAGS) @CFLAGS@
|
|
CC= @MAKEFILE_CC@
|
|
CCLINK= @MAKEFILE_CCLINK@
|
|
|
|
LDFLAGS= @LDFLAGS@
|
|
LIBS= @LIBS@
|
|
LIBSO_LIBS= @LIBSO_LIBS@
|
|
|
|
libdb= libdb.a
|
|
libso_base= libdb
|
|
libso= $(libso_base)-$(SOVERSION).@SOSUFFIX@
|
|
libso_static= $(libso_base)-$(SOVERSION).a
|
|
libso_target= $(libso_base)-$(SOVERSION).la
|
|
libso_default= $(libso_base).@SOSUFFIX@
|
|
libso_major= $(libso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
|
|
##################################################
|
|
# C++ API.
|
|
#
|
|
# C++ support is optional, and can be built with static or shared libraries.
|
|
##################################################
|
|
CXXFLAGS= -c $(CPPFLAGS) @CXXFLAGS@
|
|
CXX= @MAKEFILE_CXX@
|
|
CXXLINK= @MAKEFILE_CXXLINK@
|
|
XSOLINK= @MAKEFILE_XSOLINK@
|
|
LIBXSO_LIBS= @LIBXSO_LIBS@
|
|
|
|
libcxx= libdb_cxx.a
|
|
libxso_base= libdb_cxx
|
|
libxso= $(libxso_base)-$(SOVERSION).@SOSUFFIX@
|
|
libxso_static= $(libxso_base)-$(SOVERSION).a
|
|
libxso_target= $(libxso_base)-$(SOVERSION).la
|
|
libxso_default= $(libxso_base).@SOSUFFIX@
|
|
libxso_major= $(libxso_base)-$(SOMAJOR).@SOSUFFIX@
|
|
|
|
##################################################
|
|
# Java API.
|
|
#
|
|
# Java support is optional and requires shared librarires.
|
|
##################################################
|
|
CLASSPATH= $(JAVA_CLASSTOP)
|
|
LIBJSO_LIBS= @LIBJSO_LIBS@
|
|
|
|
JAR= @JAR@
|
|
JAVAC= env CLASSPATH="$(CLASSPATH)" @JAVAC@
|
|
JAVACFLAGS= @JAVACFLAGS@
|
|
JAVA_CLASSTOP= ./classes
|
|
JAVA_RPCCLASSES=./classes.rpc
|
|
JAVA_SRCDIR= $(srcdir)/java/src
|
|
JAVA_DBREL= com/sleepycat/db
|
|
JAVA_EXREL= com/sleepycat/examples
|
|
JAVA_RPCREL= com/sleepycat/db/rpcserver
|
|
JAVA_DBDIR= $(JAVA_SRCDIR)/$(JAVA_DBREL)
|
|
JAVA_EXDIR= $(JAVA_SRCDIR)/$(JAVA_EXREL)
|
|
JAVA_RPCDIR= $(srcdir)/rpc_server/java
|
|
|
|
libj_jarfile= db.jar
|
|
libj_exjarfile= dbexamples.jar
|
|
rpc_jarfile= dbsvc.jar
|
|
libjso_base= libdb_java
|
|
libjso= $(libjso_base)-$(SOVERSION).@JMODSUFFIX@
|
|
libjso_static= $(libjso_base)-$(SOVERSION).a
|
|
libjso_target= $(libjso_base)-$(SOVERSION).la
|
|
libjso_default= $(libjso_base).@JMODSUFFIX@
|
|
libjso_major= $(libjso_base)-$(SOMAJOR).@JMODSUFFIX@
|
|
libjso_g= $(libjso_base)-$(SOVERSION)_g.@JMODSUFFIX@
|
|
|
|
##################################################
|
|
# TCL API.
|
|
#
|
|
# Tcl support is optional and requires shared libraries.
|
|
##################################################
|
|
TCFLAGS= @TCFLAGS@
|
|
LIBTSO_LIBS= @LIBTSO_LIBS@
|
|
libtso_base= libdb_tcl
|
|
libtso= $(libtso_base)-$(SOVERSION).@MODSUFFIX@
|
|
libtso_static= $(libtso_base)-$(SOVERSION).a
|
|
libtso_target= $(libtso_base)-$(SOVERSION).la
|
|
libtso_default= $(libtso_base).@MODSUFFIX@
|
|
libtso_major= $(libtso_base)-$(SOMAJOR).@MODSUFFIX@
|
|
|
|
##################################################
|
|
# db_dump185 UTILITY
|
|
#
|
|
# The db_dump185 application should be compiled using the system's db.h file
|
|
# (which should be a DB 1.85/1.86 include file), and the system's 1.85/1.86
|
|
# object library. To include the right db.h, don't include -I$(builddir) on
|
|
# the compile line. You may also need to add a local include directory and
|
|
# local libraries, for example. Do that by adding -I options to the DB185INC
|
|
# line, and -l options to the DB185LIB line.
|
|
##################################################
|
|
DB185INC= -c @CFLAGS@ -I$(srcdir) @CPPFLAGS@
|
|
DB185LIB=
|
|
|
|
##################################################
|
|
# NOTHING BELOW THIS LINE SHOULD EVER NEED TO BE MODIFIED.
|
|
##################################################
|
|
|
|
##################################################
|
|
# Object and utility lists.
|
|
##################################################
|
|
C_OBJS= @ADDITIONAL_OBJS@ @LTLIBOBJS@ @RPC_CLIENT_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@ bt_verify@o@ btree_auto@o@ 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_shash@o@ db_truncate@o@ db_upg@o@ db_upg_opd@o@ db_vrfy@o@ \
|
|
db_vrfyutil@o@ dbm@o@ dbreg@o@ dbreg_auto@o@ dbreg_rec@o@ \
|
|
dbreg_util@o@ env_file@o@ env_method@o@ env_open@o@ env_recover@o@ \
|
|
env_region@o@ fileops_auto@o@ fop_basic@o@ fop_rec@o@ \
|
|
fop_util@o@ hash@o@ hash_auto@o@ hash_conv@o@ hash_dup@o@ \
|
|
hash_func@o@ hash_meta@o@ hash_method@o@ hash_open@o@ \
|
|
hash_page@o@ hash_rec@o@ hash_reclaim@o@ hash_stat@o@ \
|
|
hash_upgrade@o@ hash_verify@o@ hmac@o@ hsearch@o@ lock@o@ \
|
|
lock_deadlock@o@ lock_method@o@ lock_region@o@ lock_stat@o@ \
|
|
lock_util@o@ log@o@ log_archive@o@ log_compare@o@ log_get@o@ \
|
|
log_method@o@ log_put@o@ mp_alloc@o@ mp_bh@o@ mp_fget@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_unlink@o@ \
|
|
qam@o@ qam_auto@o@ qam_conv@o@ qam_files@o@ qam_method@o@ \
|
|
qam_open@o@ qam_rec@o@ qam_stat@o@ qam_upgrade@o@ qam_verify@o@ \
|
|
rep_method@o@ rep_record@o@ rep_region@o@ rep_util@o@ sha1@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@
|
|
|
|
CXX_OBJS=\
|
|
cxx_db@o@ cxx_dbc@o@ cxx_dbt@o@ cxx_env@o@ cxx_except@o@ \
|
|
cxx_lock@o@ cxx_logc@o@ cxx_mpool@o@ cxx_txn@o@
|
|
|
|
JAVA_OBJS=\
|
|
java_Db@o@ java_DbEnv@o@ java_DbLock@o@ java_DbLogc@o@ \
|
|
java_DbLsn@o@ java_DbTxn@o@ java_DbUtil@o@ java_Dbc@o@ \
|
|
java_Dbt@o@ \
|
|
java_info@o@ java_locked@o@ java_util@o@ java_stat_auto@o@
|
|
|
|
JAVA_DBSRCS=\
|
|
$(JAVA_DBDIR)/Db.java $(JAVA_DBDIR)/DbAppendRecno.java \
|
|
$(JAVA_DBDIR)/DbAppDispatch.java \
|
|
$(JAVA_DBDIR)/DbBtreeCompare.java $(JAVA_DBDIR)/DbBtreePrefix.java \
|
|
$(JAVA_DBDIR)/DbBtreeStat.java $(JAVA_DBDIR)/DbClient.java \
|
|
$(JAVA_DBDIR)/DbConstants.java $(JAVA_DBDIR)/DbDeadlockException.java \
|
|
$(JAVA_DBDIR)/DbDupCompare.java $(JAVA_DBDIR)/DbEnv.java \
|
|
$(JAVA_DBDIR)/DbEnvFeedback.java $(JAVA_DBDIR)/DbErrcall.java \
|
|
$(JAVA_DBDIR)/DbException.java $(JAVA_DBDIR)/DbFeedback.java \
|
|
$(JAVA_DBDIR)/DbHash.java $(JAVA_DBDIR)/DbHashStat.java \
|
|
$(JAVA_DBDIR)/DbKeyRange.java $(JAVA_DBDIR)/DbLock.java \
|
|
$(JAVA_DBDIR)/DbLockNotGrantedException.java \
|
|
$(JAVA_DBDIR)/DbLockRequest.java $(JAVA_DBDIR)/DbLockStat.java \
|
|
$(JAVA_DBDIR)/DbLogc.java $(JAVA_DBDIR)/DbLogStat.java \
|
|
$(JAVA_DBDIR)/DbLsn.java $(JAVA_DBDIR)/DbMemoryException.java \
|
|
$(JAVA_DBDIR)/DbMpoolFStat.java $(JAVA_DBDIR)/DbMpoolStat.java \
|
|
$(JAVA_DBDIR)/DbMultipleDataIterator.java \
|
|
$(JAVA_DBDIR)/DbMultipleIterator.java \
|
|
$(JAVA_DBDIR)/DbMultipleKeyDataIterator.java \
|
|
$(JAVA_DBDIR)/DbMultipleRecnoDataIterator.java \
|
|
$(JAVA_DBDIR)/DbOutputStreamErrcall.java \
|
|
$(JAVA_DBDIR)/DbPreplist.java $(JAVA_DBDIR)/DbQueueStat.java \
|
|
$(JAVA_DBDIR)/DbRepStat.java $(JAVA_DBDIR)/DbRepTransport.java \
|
|
$(JAVA_DBDIR)/DbRunRecoveryException.java \
|
|
$(JAVA_DBDIR)/DbSecondaryKeyCreate.java $(JAVA_DBDIR)/DbTxn.java \
|
|
$(JAVA_DBDIR)/DbTxnStat.java \
|
|
$(JAVA_DBDIR)/DbUtil.java $(JAVA_DBDIR)/Dbc.java $(JAVA_DBDIR)/Dbt.java
|
|
|
|
JAVA_EXSRCS=\
|
|
$(JAVA_EXDIR)/AccessExample.java \
|
|
$(JAVA_EXDIR)/BtRecExample.java \
|
|
$(JAVA_EXDIR)/BulkAccessExample.java \
|
|
$(JAVA_EXDIR)/EnvExample.java \
|
|
$(JAVA_EXDIR)/LockExample.java \
|
|
$(JAVA_EXDIR)/TpcbExample.java
|
|
|
|
TCL_OBJS=\
|
|
tcl_compat@o@ tcl_db@o@ tcl_db_pkg@o@ tcl_dbcursor@o@ tcl_env@o@ \
|
|
tcl_internal@o@ tcl_lock@o@ tcl_log@o@ tcl_mp@o@ tcl_rep@o@ \
|
|
tcl_txn@o@ tcl_util@o@
|
|
|
|
RPC_CLIENT_OBJS=\
|
|
client@o@ db_server_clnt@o@ db_server_xdr@o@ gen_client@o@ \
|
|
gen_client_ret@o@
|
|
|
|
RPC_SRV_OBJS=\
|
|
db_server_proc@o@ db_server_svc@o@ db_server_util@o@ \
|
|
gen_db_server@o@
|
|
|
|
RPC_CXXSRV_OBJS=\
|
|
db_server_cxxproc@o@ db_server_cxxutil@o@ db_server_svc@o@ \
|
|
gen_db_server@o@
|
|
|
|
RPC_JAVASRV_SRCS=\
|
|
$(JAVA_RPCDIR)/DbDispatcher.java \
|
|
$(JAVA_RPCDIR)/DbServer.java \
|
|
$(JAVA_RPCDIR)/FreeList.java \
|
|
$(JAVA_RPCDIR)/LocalIterator.java \
|
|
$(JAVA_RPCDIR)/RpcDb.java \
|
|
$(JAVA_RPCDIR)/RpcDbEnv.java \
|
|
$(JAVA_RPCDIR)/RpcDbTxn.java \
|
|
$(JAVA_RPCDIR)/RpcDbc.java \
|
|
$(JAVA_RPCDIR)/Timer.java \
|
|
$(JAVA_RPCDIR)/gen/DbServerStub.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_msg.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_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
|
|
|
|
##################################################
|
|
# List of files installed into the library directory.
|
|
##################################################
|
|
LIB_INSTALL_FILE_LIST=\
|
|
$(libdb) \
|
|
$(libso) \
|
|
$(libso_default) \
|
|
$(libso_major) \
|
|
$(libso_static) \
|
|
$(libso_target) \
|
|
$(libcxx) \
|
|
$(libxso) \
|
|
$(libxso_default) \
|
|
$(libxso_major) \
|
|
$(libxso_static) \
|
|
$(libxso_target) \
|
|
$(libtso) \
|
|
$(libtso_default) \
|
|
$(libtso_major) \
|
|
$(libtso_static) \
|
|
$(libtso_target) \
|
|
$(libjso) \
|
|
$(libjso_default) \
|
|
$(libjso_g) \
|
|
$(libjso_major) \
|
|
$(libjso_static) \
|
|
$(libjso_target) \
|
|
$(libj_exjarfile) \
|
|
$(libj_jarfile)
|
|
|
|
##################################################
|
|
# We're building a standard library or a RPM file hierarchy, potentially
|
|
# for Embedix. Note: "all" must be the first target in the Makefile.
|
|
##################################################
|
|
all: @BUILD_TARGET@ libdb.a
|
|
|
|
install-strip install: all @INSTALL_TARGET@
|
|
|
|
##################################################
|
|
# Library and standard utilities build.
|
|
##################################################
|
|
library_build: @INSTALL_LIBS@ @ADDITIONAL_LANG@ $(UTIL_PROGS)
|
|
|
|
$(libdb): $(C_OBJS)
|
|
$(ar) cr $@ $(C_OBJS)
|
|
test ! -f $(ranlib) || $(ranlib) $@
|
|
|
|
$(libcxx): $(CXX_OBJS) $(C_OBJS)
|
|
$(ar) cr $@ $(CXX_OBJS) $(C_OBJS)
|
|
test ! -f $(ranlib) || $(ranlib) $@
|
|
|
|
$(libso_target): $(C_OBJS)
|
|
$(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) $(LIBSO_LIBS)
|
|
|
|
$(libjso_target): $(JAVA_OBJS) $(C_OBJS)
|
|
$(SOLINK) -jnimodule $(SOFLAGS) $(LDFLAGS) \
|
|
-o $@ $(JAVA_OBJS) $(C_OBJS) $(LIBJSO_LIBS)
|
|
|
|
$(libtso_target): $(TCL_OBJS) $(C_OBJS)
|
|
$(SOLINK) -module $(SOFLAGS) $(LDFLAGS) \
|
|
-o $@ $(TCL_OBJS) $(C_OBJS) $(LIBTSO_LIBS)
|
|
|
|
$(libxso_target): $(CXX_OBJS) $(C_OBJS)
|
|
$(XSOLINK) $(SOFLAGS) $(LDFLAGS) \
|
|
-o $@ $(CXX_OBJS) $(C_OBJS) $(LIBXSO_LIBS)
|
|
|
|
##################################################
|
|
# Creating individual dependencies and actions for building class
|
|
# files is possible, but it is very messy and error prone.
|
|
##################################################
|
|
java: $(libj_jarfile) $(libj_exjarfile)
|
|
|
|
$(libj_jarfile): $(JAVA_DBSRCS)
|
|
@test -d $(JAVA_CLASSTOP) || \
|
|
($(mkdir) -p $(JAVA_CLASSTOP) && $(chmod) $(dmode) $(JAVA_CLASSTOP))
|
|
$(JAVAC) -d $(JAVA_CLASSTOP) $(JAVACFLAGS) $(JAVA_DBSRCS)
|
|
cd $(JAVA_CLASSTOP) && $(JAR) cf ../$(libj_jarfile) $(JAVA_DBREL)
|
|
|
|
$(libj_exjarfile): $(libj_jarfile) $(JAVA_EXSRCS)
|
|
@test -d $(JAVA_CLASSTOP) || \
|
|
($(mkdir) -p $(JAVA_CLASSTOP) && $(chmod) $(dmode) $(JAVA_CLASSTOP))
|
|
$(JAVAC) -d $(JAVA_CLASSTOP) $(JAVACFLAGS) $(JAVA_EXSRCS)
|
|
cd $(JAVA_CLASSTOP) && $(JAR) cf ../$(libj_exjarfile) $(JAVA_EXREL)
|
|
|
|
$(rpc_jarfile): $(libj_jarfile) $(RPC_JAVASRV_SRCS)
|
|
@test -d $(JAVA_RPCCLASSES) || \
|
|
($(mkdir) -p $(JAVA_RPCCLASSES) && \
|
|
$(chmod) $(dmode) $(JAVA_RPCCLASSES))
|
|
env CLASSPATH=$(CLASSPATH):$(JAVA_RPCDIR)/oncrpc.jar \
|
|
@JAVAC@ -d $(JAVA_RPCCLASSES) $(JAVACFLAGS) $(RPC_JAVASRV_SRCS)
|
|
cd $(JAVA_RPCCLASSES) && $(JAR) cf ../$(rpc_jarfile) $(JAVA_RPCREL)
|
|
|
|
|
|
##################################################
|
|
# Utilities
|
|
##################################################
|
|
berkeley_db_svc: $(RPC_SRV_OBJS) util_log@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
$(RPC_SRV_OBJS) util_log@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
berkeley_db_cxxsvc: $(RPC_CXXSRV_OBJS) util_log@o@ $(DEF_LIB_CXX)
|
|
$(CXXLINK) -o $@ $(LDFLAGS) \
|
|
$(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.DbServer \$$@
|
|
chmod +x $@
|
|
|
|
db_archive: db_archive@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
db_archive@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_checkpoint: db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
db_checkpoint@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_deadlock: db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
db_deadlock@o@ util_log@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_dump: db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) db_dump@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_dump185: db_dump185@o@ @LTLIBOBJS@
|
|
$(CCLINK) -o $@ $(LDFLAGS) db_dump185@o@ @LTLIBOBJS@ $(DB185LIB)
|
|
$(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)
|
|
$(POSTLINK) $@
|
|
|
|
db_printlog: db_printlog@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
db_printlog@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_recover: db_recover@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
db_recover@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_stat: db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) db_stat@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_upgrade: db_upgrade@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
db_upgrade@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_verify: db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) \
|
|
db_verify@o@ util_cache@o@ util_sig@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
##################################################
|
|
# Library and standard utilities install.
|
|
##################################################
|
|
library_install: install_setup
|
|
library_install: install_include install_lib install_utilities install_docs
|
|
|
|
uninstall: uninstall_include uninstall_lib uninstall_utilities uninstall_docs
|
|
|
|
install_setup:
|
|
@test -d $(prefix) || \
|
|
($(mkdir) -p $(prefix) && $(chmod) $(dmode) $(prefix))
|
|
|
|
INCDOT= db.h db_cxx.h @ADDITIONAL_INCS@
|
|
INCINC= cxx_common.h cxx_except.h
|
|
install_include:
|
|
@echo "Installing DB include files: $(includedir) ..."
|
|
@test -d $(includedir) || \
|
|
($(mkdir) -p $(includedir) && $(chmod) $(dmode) $(includedir))
|
|
@cd $(includedir) && $(rm) -f $(INCDOT) $(INCINC)
|
|
@$(cp) -p $(INCDOT) $(includedir)
|
|
@cd $(srcdir)/dbinc/ && $(cp) -p $(INCINC) $(includedir)
|
|
@cd $(includedir) && $(chmod) $(fmode) $(INCDOT) $(INCINC)
|
|
|
|
uninstall_include:
|
|
@cd $(includedir) && $(rm) -f $(INCDOT) $(INCINC)
|
|
|
|
install_lib:
|
|
@echo "Installing DB library: $(libdir) ..."
|
|
@test -d $(libdir) || \
|
|
($(mkdir) -p $(libdir) && $(chmod) $(dmode) $(libdir))
|
|
@cd $(libdir) && $(rm) -f $(LIB_INSTALL_FILE_LIST)
|
|
@$(INSTALLER) @INSTALL_LIBS@ $(libdir)
|
|
@(cd $(libdir) && \
|
|
test -f $(libso) && $(ln) -s $(libso) $(libso_default); \
|
|
test -f $(libso) && $(ln) -s $(libso) $(libso_major); \
|
|
test -f $(libso_static) && $(ln) -s $(libso_static) $(libdb); \
|
|
test -f $(libxso) && $(ln) -s $(libxso) $(libxso_default); \
|
|
test -f $(libxso) && $(ln) -s $(libxso) $(libxso_major); \
|
|
test -f $(libxso_static) && $(ln) -s $(libxso_static) $(libcxx); \
|
|
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 $(libj_jarfile) && \
|
|
$(cp) $(libj_jarfile) $(libdir) && \
|
|
$(chmod) $(fmode) $(libdir)/$(libj_jarfile)) || true
|
|
|
|
uninstall_lib:
|
|
@cd $(libdir) && $(rm) -f $(LIB_INSTALL_FILE_LIST)
|
|
|
|
install_utilities:
|
|
echo "Installing DB utilities: $(bindir) ..."
|
|
@test -d $(bindir) || \
|
|
($(mkdir) -p $(bindir) && $(chmod) $(dmode) $(bindir))
|
|
@for i in $(UTIL_PROGS); do \
|
|
$(rm) -f $(bindir)/$$i $(bindir)/$$i.exe; \
|
|
test -f $$i.exe && i=$$i.exe || true; \
|
|
$(INSTALLER) $$i $(bindir)/$$i; \
|
|
test -f $(strip) && $(strip) $(bindir)/$$i || true; \
|
|
$(chmod) $(emode) $(bindir)/$$i; \
|
|
done
|
|
|
|
uninstall_utilities:
|
|
@(cd $(bindir); for i in $(UTIL_PROGS); do \
|
|
$(rm) -f $$i $$i.exe; \
|
|
done)
|
|
|
|
DOCLIST=\
|
|
api_c api_cxx api_java api_tcl images index.html ref reftoc.html \
|
|
sleepycat utility
|
|
install_docs:
|
|
@echo "Installing documentation: $(docdir) ..."
|
|
@test -d $(docdir) || \
|
|
($(mkdir) -p $(docdir) && $(chmod) $(dmode) $(docdir))
|
|
@cd $(docdir) && $(rm) -rf $(DOCLIST)
|
|
@cd $(srcdir)/docs && $(cp) -pr $(DOCLIST) $(docdir)/
|
|
|
|
uninstall_docs:
|
|
@cd $(docdir) && $(rm) -rf $(DOCLIST)
|
|
|
|
##################################################
|
|
# RPM, Embedix build and install.
|
|
##################################################
|
|
RPM_ARCHIVE=db-@DB_VERSION_MAJOR@.@DB_VERSION_MINOR@.@DB_VERSION_PATCH@.tar.gz
|
|
rpm_build:
|
|
@$(rm) -rf BUILD RPMS SOURCES SPECS SRPMS RPM_INSTALL
|
|
@$(mkdir) -p BUILD && $(chmod) $(dmode) BUILD
|
|
@$(mkdir) -p RPMS/i386 && $(chmod) $(dmode) RPMS RPMS/i386
|
|
@$(mkdir) -p SOURCES && $(chmod) $(dmode) SOURCES
|
|
@$(mkdir) -p SPECS && $(chmod) $(dmode) SPECS
|
|
@$(mkdir) -p SRPMS && $(chmod) $(dmode) SRPMS
|
|
$(cp) @db_cv_path_rpm_archive@/$(RPM_ARCHIVE) SOURCES/
|
|
$(cp) db.spec SPECS/db.spec
|
|
$(rpm) --rcfile @CONFIGURATION_PATH@/rpmrc -ba SPECS/db.spec
|
|
|
|
rpm_install:
|
|
|
|
RPM_SRPMS=db-@DB_VERSION_MAJOR@.@DB_VERSION_MINOR@.@DB_VERSION_PATCH@-1.src.rpm
|
|
embedix_install:
|
|
$(cp) db.ecd @db_cv_path_embedix_install@/config-data/ecds/db.ecd
|
|
$(chmod) $(fmode) @db_cv_path_embedix_install@/config-data/ecds/db.ecd
|
|
$(cp) SRPMS/$(RPM_SRPMS) \
|
|
@db_cv_path_embedix_install@/Packages/SRPMS/$(RPM_SRPMS)
|
|
$(chmod) $(fmode) \
|
|
@db_cv_path_embedix_install@/Packages/SRPMS/$(RPM_SRPMS)
|
|
|
|
##################################################
|
|
# Remaining standard Makefile targets.
|
|
##################################################
|
|
CLEAN_LIST=\
|
|
berkeley_db_svc berkeley_db_cxxsvc berkeley_db_javasvc \
|
|
db_dump185 db_perf dbs bench_001 \
|
|
ex_access ex_apprec ex_btrec ex_dbclient ex_env ex_lock ex_mpool \
|
|
ex_repquote ex_thread ex_tpcb excxx_access excxx_btrec excxx_env \
|
|
excxx_lock excxx_mpool excxx_tpcb rpmrc
|
|
|
|
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_RPCCLASSES) $(rpc_jarfile)
|
|
$(rm) -rf tags *@o@ *.o *.o.lock *.lo core *.core
|
|
$(rm) -rf ALL.OUT.* BUILD PARALLEL_TESTDIR.* RPMS RPM_INSTALL
|
|
$(rm) -rf RUN_LOG RUNQUEUE SOURCES SPECS SRPMS TESTDIR TESTDIR.A
|
|
$(rm) -rf logtrack_seen.db tm .libs $(LIB_INSTALL_FILE_LIST)
|
|
|
|
REALCLEAN_LIST=\
|
|
Makefile confdefs.h config.cache config.log config.status db.h \
|
|
db.spec db185_int.h db_185.h db_config.h db_cxx.h db_int.h \
|
|
db_int_def.h include.tcl
|
|
|
|
distclean maintainer-clean realclean: clean
|
|
$(rm) -rf $(REALCLEAN_LIST)
|
|
$(rm) -rf libtool
|
|
|
|
check depend dvi info obj TAGS:
|
|
@echo "$@: make target not supported" && true
|
|
|
|
dist:
|
|
@echo "$@: make target not supported" && false
|
|
|
|
##################################################
|
|
# Multi-threaded testers, benchmarks.
|
|
##################################################
|
|
dbs@o@: $(srcdir)/test_server/dbs.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_am@o@: $(srcdir)/test_server/dbs_am.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_checkpoint@o@: $(srcdir)/test_server/dbs_checkpoint.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_debug@o@: $(srcdir)/test_server/dbs_debug.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_handles@o@: $(srcdir)/test_server/dbs_handles.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_log@o@: $(srcdir)/test_server/dbs_log.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_qam@o@: $(srcdir)/test_server/dbs_qam.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_spawn@o@: $(srcdir)/test_server/dbs_spawn.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_trickle@o@: $(srcdir)/test_server/dbs_trickle.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_util@o@: $(srcdir)/test_server/dbs_util.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbs_yield@o@: $(srcdir)/test_server/dbs_yield.c
|
|
$(CC) $(CFLAGS) $?
|
|
DBS_OBJS=\
|
|
dbs@o@ dbs_am@o@ dbs_checkpoint@o@ dbs_debug@o@ dbs_handles@o@ \
|
|
dbs_log@o@ dbs_qam@o@ dbs_spawn@o@ dbs_trickle@o@ dbs_util@o@ \
|
|
dbs_yield@o@
|
|
dbs: $(DBS_OBJS) $(DEF_LIB)
|
|
$(CCLINK) -o $@ \
|
|
$(LDFLAGS) $(DBS_OBJS) $(DEF_LIB) @LOAD_LIBS@ $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
db_perf@o@: $(srcdir)/test_perf/db_perf.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_cache_check@o@: $(srcdir)/test_perf/perf_cache_check.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_checkpoint@o@: $(srcdir)/test_perf/perf_checkpoint.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_config@o@: $(srcdir)/test_perf/perf_config.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_dbs@o@: $(srcdir)/test_perf/perf_dbs.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_debug@o@: $(srcdir)/test_perf/perf_debug.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_file@o@: $(srcdir)/test_perf/perf_file.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_key@o@: $(srcdir)/test_perf/perf_key.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_log@o@: $(srcdir)/test_perf/perf_log.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_misc@o@: $(srcdir)/test_perf/perf_misc.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_op@o@: $(srcdir)/test_perf/perf_op.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_parse@o@: $(srcdir)/test_perf/perf_parse.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_rand@o@: $(srcdir)/test_perf/perf_rand.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_spawn@o@: $(srcdir)/test_perf/perf_spawn.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_thread@o@: $(srcdir)/test_perf/perf_thread.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_trickle@o@: $(srcdir)/test_perf/perf_trickle.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_txn@o@: $(srcdir)/test_perf/perf_txn.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_util@o@: $(srcdir)/test_perf/perf_util.c
|
|
$(CC) $(CFLAGS) $?
|
|
perf_vx@o@: $(srcdir)/test_perf/perf_vx.c
|
|
$(CC) $(CFLAGS) $?
|
|
DBPERF_OBJS=\
|
|
db_perf@o@ perf_cache_check@o@ perf_checkpoint@o@ perf_config@o@ \
|
|
perf_dbs@o@ perf_debug@o@ perf_file@o@ perf_key@o@ perf_log@o@ \
|
|
perf_misc@o@ perf_op@o@ perf_parse@o@ perf_rand@o@ \
|
|
perf_spawn@o@ perf_thread@o@ perf_trickle@o@ perf_txn@o@ \
|
|
perf_util@o@ perf_vx@o@
|
|
db_perf: $(DBPERF_OBJS) $(DEF_LIB)
|
|
$(CCLINK) -o $@ \
|
|
$(LDFLAGS) $(DBPERF_OBJS) $(DEF_LIB) @LOAD_LIBS@ $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
tm@o@: $(srcdir)/mutex/tm.c
|
|
$(CC) $(CFLAGS) $?
|
|
tm: tm@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) tm@o@ $(DEF_LIB) @LOAD_LIBS@ $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
##################################################
|
|
# Example programs for C.
|
|
##################################################
|
|
bench_001@o@: $(srcdir)/examples_c/bench_001.c
|
|
$(CC) $(CFLAGS) $?
|
|
bench_001: bench_001@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) bench_001@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
ex_access@o@: $(srcdir)/examples_c/ex_access.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_access: ex_access@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) ex_access@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
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_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: $(EX_APPREC_OBJS) $(DEF_LIB)
|
|
$(CCLINK) -o $@ \
|
|
$(LDFLAGS) $(EX_APPREC_OBJS) $(DEF_LIB) @LOAD_LIBS@ $(LIBS)
|
|
|
|
ex_btrec@o@: $(srcdir)/examples_c/ex_btrec.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_btrec: ex_btrec@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) ex_btrec@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
ex_dbclient@o@: $(srcdir)/examples_c/ex_dbclient.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_dbclient: ex_dbclient@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) ex_dbclient@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
ex_env@o@: $(srcdir)/examples_c/ex_env.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_env: ex_env@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) ex_env@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
ex_lock@o@: $(srcdir)/examples_c/ex_lock.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_lock: ex_lock@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) ex_lock@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
ex_mpool@o@: $(srcdir)/examples_c/ex_mpool.c
|
|
$(CC) $(CFLAGS) $?
|
|
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
|
|
$(CC) $(CFLAGS) $?
|
|
ex_rq_main@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_main.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_rq_master@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_master.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_rq_net@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_net.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_rq_util@o@: $(srcdir)/examples_c/ex_repquote/ex_rq_util.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)
|
|
$(CCLINK) -o $@ \
|
|
$(LDFLAGS) $(EX_RQ_OBJS) $(DEF_LIB) @LOAD_LIBS@ $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
ex_thread@o@: $(srcdir)/examples_c/ex_thread.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_thread: ex_thread@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ \
|
|
$(LDFLAGS) ex_thread@o@ $(DEF_LIB) @LOAD_LIBS@ $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
ex_tpcb@o@: $(srcdir)/examples_c/ex_tpcb.c
|
|
$(CC) $(CFLAGS) $?
|
|
ex_tpcb: ex_tpcb@o@ $(DEF_LIB)
|
|
$(CCLINK) -o $@ $(LDFLAGS) ex_tpcb@o@ $(DEF_LIB) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
##################################################
|
|
# Example programs for C++.
|
|
##################################################
|
|
AccessExample@o@: $(srcdir)/examples_cxx/AccessExample.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
excxx_access: AccessExample@o@ $(DEF_LIB_CXX)
|
|
$(CXXLINK) -o $@ $(LDFLAGS) AccessExample@o@ $(DEF_LIB_CXX) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
BtRecExample@o@: $(srcdir)/examples_cxx/BtRecExample.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
excxx_btrec: BtRecExample@o@ $(DEF_LIB_CXX)
|
|
$(CXXLINK) -o $@ $(LDFLAGS) BtRecExample@o@ $(DEF_LIB_CXX) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
EnvExample@o@: $(srcdir)/examples_cxx/EnvExample.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
excxx_env: EnvExample@o@ $(DEF_LIB_CXX)
|
|
$(CXXLINK) -o $@ $(LDFLAGS) EnvExample@o@ $(DEF_LIB_CXX) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
LockExample@o@: $(srcdir)/examples_cxx/LockExample.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
excxx_lock: LockExample@o@ $(DEF_LIB_CXX)
|
|
$(CXXLINK) -o $@ $(LDFLAGS) LockExample@o@ $(DEF_LIB_CXX) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
MpoolExample@o@: $(srcdir)/examples_cxx/MpoolExample.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
excxx_mpool: MpoolExample@o@ $(DEF_LIB_CXX)
|
|
$(CXXLINK) -o $@ $(LDFLAGS) MpoolExample@o@ $(DEF_LIB_CXX) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
TpcbExample@o@: $(srcdir)/examples_cxx/TpcbExample.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
excxx_tpcb: TpcbExample@o@ $(DEF_LIB_CXX)
|
|
$(CXXLINK) -o $@ $(LDFLAGS) TpcbExample@o@ $(DEF_LIB_CXX) $(LIBS)
|
|
$(POSTLINK) $@
|
|
|
|
##################################################
|
|
# C API build rules.
|
|
##################################################
|
|
aes_method@o@: $(srcdir)/crypto/aes_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_compare@o@: $(srcdir)/btree/bt_compare.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_conv@o@: $(srcdir)/btree/bt_conv.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_curadj@o@: $(srcdir)/btree/bt_curadj.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_cursor@o@: $(srcdir)/btree/bt_cursor.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_delete@o@: $(srcdir)/btree/bt_delete.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_method@o@: $(srcdir)/btree/bt_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_open@o@: $(srcdir)/btree/bt_open.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_put@o@: $(srcdir)/btree/bt_put.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_rec@o@: $(srcdir)/btree/bt_rec.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_reclaim@o@: $(srcdir)/btree/bt_reclaim.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_recno@o@: $(srcdir)/btree/bt_recno.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_rsearch@o@: $(srcdir)/btree/bt_rsearch.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_search@o@: $(srcdir)/btree/bt_search.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_split@o@: $(srcdir)/btree/bt_split.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_stack@o@: $(srcdir)/btree/bt_stack.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_stat@o@: $(srcdir)/btree/bt_stat.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_upgrade@o@: $(srcdir)/btree/bt_upgrade.c
|
|
$(CC) $(CFLAGS) $?
|
|
bt_verify@o@: $(srcdir)/btree/bt_verify.c
|
|
$(CC) $(CFLAGS) $?
|
|
btree_auto@o@: $(srcdir)/btree/btree_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
crdel_auto@o@: $(srcdir)/db/crdel_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
crdel_rec@o@: $(srcdir)/db/crdel_rec.c
|
|
$(CC) $(CFLAGS) $?
|
|
crypto@o@: $(srcdir)/crypto/crypto.c
|
|
$(CC) $(CFLAGS) $?
|
|
db185@o@: $(srcdir)/db185/db185.c
|
|
$(CC) $(CFLAGS) $?
|
|
db@o@: $(srcdir)/db/db.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_am@o@: $(srcdir)/db/db_am.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_auto@o@: $(srcdir)/db/db_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_byteorder@o@: $(srcdir)/common/db_byteorder.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_cam@o@: $(srcdir)/db/db_cam.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_conv@o@: $(srcdir)/db/db_conv.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_dispatch@o@: $(srcdir)/db/db_dispatch.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_dup@o@: $(srcdir)/db/db_dup.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_err@o@: $(srcdir)/common/db_err.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_getlong@o@: $(srcdir)/common/db_getlong.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_idspace@o@: $(srcdir)/common/db_idspace.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_iface@o@: $(srcdir)/db/db_iface.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_join@o@: $(srcdir)/db/db_join.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_log2@o@: $(srcdir)/common/db_log2.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_meta@o@: $(srcdir)/db/db_meta.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_method@o@: $(srcdir)/db/db_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_open@o@: $(srcdir)/db/db_open.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_overflow@o@: $(srcdir)/db/db_overflow.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_pr@o@: $(srcdir)/db/db_pr.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_rec@o@: $(srcdir)/db/db_rec.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_reclaim@o@: $(srcdir)/db/db_reclaim.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_rename@o@: $(srcdir)/db/db_rename.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_remove@o@: $(srcdir)/db/db_remove.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_ret@o@: $(srcdir)/db/db_ret.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_salloc@o@: $(srcdir)/env/db_salloc.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_shash@o@: $(srcdir)/env/db_shash.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_truncate@o@: $(srcdir)/db/db_truncate.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_upg@o@: $(srcdir)/db/db_upg.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_upg_opd@o@: $(srcdir)/db/db_upg_opd.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_vrfy@o@: $(srcdir)/db/db_vrfy.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_vrfyutil@o@: $(srcdir)/db/db_vrfyutil.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbm@o@: $(srcdir)/dbm/dbm.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbreg@o@: $(srcdir)/dbreg/dbreg.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbreg_auto@o@: $(srcdir)/dbreg/dbreg_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbreg_rec@o@: $(srcdir)/dbreg/dbreg_rec.c
|
|
$(CC) $(CFLAGS) $?
|
|
dbreg_util@o@: $(srcdir)/dbreg/dbreg_util.c
|
|
$(CC) $(CFLAGS) $?
|
|
env_file@o@: $(srcdir)/env/env_file.c
|
|
$(CC) $(CFLAGS) $?
|
|
env_method@o@: $(srcdir)/env/env_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
env_open@o@: $(srcdir)/env/env_open.c
|
|
$(CC) $(CFLAGS) $?
|
|
env_recover@o@: $(srcdir)/env/env_recover.c
|
|
$(CC) $(CFLAGS) $?
|
|
env_region@o@: $(srcdir)/env/env_region.c
|
|
$(CC) $(CFLAGS) $?
|
|
fileops_auto@o@: $(srcdir)/fileops/fileops_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
fop_basic@o@: $(srcdir)/fileops/fop_basic.c
|
|
$(CC) $(CFLAGS) $?
|
|
fop_rec@o@: $(srcdir)/fileops/fop_rec.c
|
|
$(CC) $(CFLAGS) $?
|
|
fop_util@o@: $(srcdir)/fileops/fop_util.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash@o@: $(srcdir)/hash/hash.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_auto@o@: $(srcdir)/hash/hash_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_conv@o@: $(srcdir)/hash/hash_conv.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_dup@o@: $(srcdir)/hash/hash_dup.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_func@o@: $(srcdir)/hash/hash_func.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_meta@o@: $(srcdir)/hash/hash_meta.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_method@o@: $(srcdir)/hash/hash_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_open@o@: $(srcdir)/hash/hash_open.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_page@o@: $(srcdir)/hash/hash_page.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_rec@o@: $(srcdir)/hash/hash_rec.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_reclaim@o@: $(srcdir)/hash/hash_reclaim.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_stat@o@: $(srcdir)/hash/hash_stat.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_upgrade@o@: $(srcdir)/hash/hash_upgrade.c
|
|
$(CC) $(CFLAGS) $?
|
|
hash_verify@o@: $(srcdir)/hash/hash_verify.c
|
|
$(CC) $(CFLAGS) $?
|
|
hmac@o@: $(srcdir)/hmac/hmac.c
|
|
$(CC) $(CFLAGS) $?
|
|
hsearch@o@: $(srcdir)/hsearch/hsearch.c
|
|
$(CC) $(CFLAGS) $?
|
|
lock@o@: $(srcdir)/lock/lock.c
|
|
$(CC) $(CFLAGS) $?
|
|
lock_deadlock@o@:$(srcdir)/lock/lock_deadlock.c
|
|
$(CC) $(CFLAGS) $?
|
|
lock_method@o@:$(srcdir)/lock/lock_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
lock_region@o@:$(srcdir)/lock/lock_region.c
|
|
$(CC) $(CFLAGS) $?
|
|
lock_stat@o@:$(srcdir)/lock/lock_stat.c
|
|
$(CC) $(CFLAGS) $?
|
|
lock_util@o@:$(srcdir)/lock/lock_util.c
|
|
$(CC) $(CFLAGS) $?
|
|
log@o@: $(srcdir)/log/log.c
|
|
$(CC) $(CFLAGS) $?
|
|
log_archive@o@: $(srcdir)/log/log_archive.c
|
|
$(CC) $(CFLAGS) $?
|
|
log_compare@o@: $(srcdir)/log/log_compare.c
|
|
$(CC) $(CFLAGS) $?
|
|
log_get@o@: $(srcdir)/log/log_get.c
|
|
$(CC) $(CFLAGS) $?
|
|
log_method@o@: $(srcdir)/log/log_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
log_put@o@: $(srcdir)/log/log_put.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_alloc@o@: $(srcdir)/mp/mp_alloc.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_bh@o@: $(srcdir)/mp/mp_bh.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_fget@o@: $(srcdir)/mp/mp_fget.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_fopen@o@: $(srcdir)/mp/mp_fopen.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_fput@o@: $(srcdir)/mp/mp_fput.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_fset@o@: $(srcdir)/mp/mp_fset.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_method@o@: $(srcdir)/mp/mp_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_region@o@: $(srcdir)/mp/mp_region.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_register@o@: $(srcdir)/mp/mp_register.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_stat@o@: $(srcdir)/mp/mp_stat.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_sync@o@: $(srcdir)/mp/mp_sync.c
|
|
$(CC) $(CFLAGS) $?
|
|
mp_trickle@o@: $(srcdir)/mp/mp_trickle.c
|
|
$(CC) $(CFLAGS) $?
|
|
mt19937db@o@: $(srcdir)/crypto/mersenne/mt19937db.c
|
|
$(CC) $(CFLAGS) $?
|
|
mut_fcntl@o@: $(srcdir)/mutex/mut_fcntl.c
|
|
$(CC) $(CFLAGS) $?
|
|
mut_pthread@o@: $(srcdir)/mutex/mut_pthread.c
|
|
$(CC) $(CFLAGS) $?
|
|
mut_tas@o@: $(srcdir)/mutex/mut_tas.c
|
|
$(CC) $(CFLAGS) $?
|
|
mutex@o@: $(srcdir)/mutex/mutex.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_abs@o@: $(srcdir)/os/os_abs.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_alloc@o@: $(srcdir)/os/os_alloc.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_clock@o@: $(srcdir)/os/os_clock.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_config@o@: $(srcdir)/os/os_config.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_dir@o@: $(srcdir)/os/os_dir.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_errno@o@: $(srcdir)/os/os_errno.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_fid@o@: $(srcdir)/os/os_fid.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_fsync@o@: $(srcdir)/os/os_fsync.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_id@o@: $(srcdir)/os/os_id.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_handle@o@: $(srcdir)/os/os_handle.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_map@o@: $(srcdir)/os/os_map.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_method@o@: $(srcdir)/os/os_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_oflags@o@: $(srcdir)/os/os_oflags.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_open@o@: $(srcdir)/os/os_open.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_region@o@: $(srcdir)/os/os_region.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_rename@o@: $(srcdir)/os/os_rename.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_root@o@: $(srcdir)/os/os_root.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_rpath@o@: $(srcdir)/os/os_rpath.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_rw@o@: $(srcdir)/os/os_rw.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_seek@o@: $(srcdir)/os/os_seek.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_sleep@o@: $(srcdir)/os/os_sleep.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_spin@o@: $(srcdir)/os/os_spin.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_stat@o@: $(srcdir)/os/os_stat.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_tmpdir@o@: $(srcdir)/os/os_tmpdir.c
|
|
$(CC) $(CFLAGS) $?
|
|
os_unlink@o@: $(srcdir)/os/os_unlink.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam@o@: $(srcdir)/qam/qam.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_auto@o@: $(srcdir)/qam/qam_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_conv@o@: $(srcdir)/qam/qam_conv.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_files@o@: $(srcdir)/qam/qam_files.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_method@o@: $(srcdir)/qam/qam_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_open@o@: $(srcdir)/qam/qam_open.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_rec@o@: $(srcdir)/qam/qam_rec.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_stat@o@: $(srcdir)/qam/qam_stat.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_upgrade@o@: $(srcdir)/qam/qam_upgrade.c
|
|
$(CC) $(CFLAGS) $?
|
|
qam_verify@o@: $(srcdir)/qam/qam_verify.c
|
|
$(CC) $(CFLAGS) $?
|
|
rep_method@o@: $(srcdir)/rep/rep_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
rep_record@o@: $(srcdir)/rep/rep_record.c
|
|
$(CC) $(CFLAGS) $?
|
|
rep_region@o@: $(srcdir)/rep/rep_region.c
|
|
$(CC) $(CFLAGS) $?
|
|
rep_util@o@: $(srcdir)/rep/rep_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
|
|
$(CC) $(CFLAGS) $?
|
|
sha1@o@: $(srcdir)/hmac/sha1.c
|
|
$(CC) $(CFLAGS) $?
|
|
txn@o@: $(srcdir)/txn/txn.c
|
|
$(CC) $(CFLAGS) $?
|
|
txn_auto@o@: $(srcdir)/txn/txn_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
txn_method@o@: $(srcdir)/txn/txn_method.c
|
|
$(CC) $(CFLAGS) $?
|
|
txn_rec@o@: $(srcdir)/txn/txn_rec.c
|
|
$(CC) $(CFLAGS) $?
|
|
txn_recover@o@: $(srcdir)/txn/txn_recover.c
|
|
$(CC) $(CFLAGS) $?
|
|
txn_region@o@: $(srcdir)/txn/txn_region.c
|
|
$(CC) $(CFLAGS) $?
|
|
txn_stat@o@: $(srcdir)/txn/txn_stat.c
|
|
$(CC) $(CFLAGS) $?
|
|
txn_util@o@: $(srcdir)/txn/txn_util.c
|
|
$(CC) $(CFLAGS) $?
|
|
util_cache@o@: $(srcdir)/common/util_cache.c
|
|
$(CC) $(CFLAGS) $?
|
|
util_log@o@: $(srcdir)/common/util_log.c
|
|
$(CC) $(CFLAGS) $?
|
|
util_sig@o@: $(srcdir)/common/util_sig.c
|
|
$(CC) $(CFLAGS) $?
|
|
uts4_cc@o@: $(srcdir)/mutex/uts4_cc.s
|
|
$(AS) $(ASFLAGS) -o $@ $?
|
|
xa@o@: $(srcdir)/xa/xa.c
|
|
$(CC) $(CFLAGS) $?
|
|
xa_db@o@: $(srcdir)/xa/xa_db.c
|
|
$(CC) $(CFLAGS) $?
|
|
xa_map@o@: $(srcdir)/xa/xa_map.c
|
|
$(CC) $(CFLAGS) $?
|
|
|
|
##################################################
|
|
# C++ API build rules.
|
|
##################################################
|
|
cxx_db@o@: $(srcdir)/cxx/cxx_db.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
cxx_dbc@o@: $(srcdir)/cxx/cxx_dbc.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
cxx_dbt@o@: $(srcdir)/cxx/cxx_dbt.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
cxx_env@o@: $(srcdir)/cxx/cxx_env.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
cxx_except@o@: $(srcdir)/cxx/cxx_except.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
cxx_lock@o@: $(srcdir)/cxx/cxx_lock.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
cxx_logc@o@: $(srcdir)/cxx/cxx_logc.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
cxx_mpool@o@: $(srcdir)/cxx/cxx_mpool.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
cxx_txn@o@: $(srcdir)/cxx/cxx_txn.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
|
|
##################################################
|
|
# Java API build rules.
|
|
##################################################
|
|
java_Db@o@::$(srcdir)/libdb_java/java_Db.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_DbEnv@o@: $(srcdir)/libdb_java/java_DbEnv.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_DbLock@o@: $(srcdir)/libdb_java/java_DbLock.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_DbLogc@o@: $(srcdir)/libdb_java/java_DbLogc.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_DbLsn@o@: $(srcdir)/libdb_java/java_DbLsn.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_DbTxn@o@: $(srcdir)/libdb_java/java_DbTxn.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_DbUtil@o@: $(srcdir)/libdb_java/java_DbUtil.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_Dbc@o@: $(srcdir)/libdb_java/java_Dbc.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_Dbt@o@: $(srcdir)/libdb_java/java_Dbt.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_info@o@: $(srcdir)/libdb_java/java_info.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_locked@o@: $(srcdir)/libdb_java/java_locked.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_util@o@: $(srcdir)/libdb_java/java_util.c
|
|
$(CC) $(CFLAGS) $?
|
|
java_stat_auto@o@: $(srcdir)/libdb_java/java_stat_auto.c
|
|
$(CC) $(CFLAGS) $?
|
|
|
|
##################################################
|
|
# Tcl API build rules.
|
|
##################################################
|
|
tcl_compat@o@: $(srcdir)/tcl/tcl_compat.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_db@o@: $(srcdir)/tcl/tcl_db.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_db_pkg@o@: $(srcdir)/tcl/tcl_db_pkg.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_dbcursor@o@: $(srcdir)/tcl/tcl_dbcursor.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_env@o@: $(srcdir)/tcl/tcl_env.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_internal@o@: $(srcdir)/tcl/tcl_internal.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_lock@o@: $(srcdir)/tcl/tcl_lock.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_log@o@: $(srcdir)/tcl/tcl_log.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_mp@o@: $(srcdir)/tcl/tcl_mp.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_rep@o@: $(srcdir)/tcl/tcl_rep.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_txn@o@: $(srcdir)/tcl/tcl_txn.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
tcl_util@o@: $(srcdir)/tcl/tcl_util.c
|
|
$(CC) $(CFLAGS) $(TCFLAGS) $?
|
|
|
|
##################################################
|
|
# RPC build rules.
|
|
##################################################
|
|
# RPC client files
|
|
client@o@: $(srcdir)/rpc_client/client.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_server_clnt@o@: $(srcdir)/rpc_client/db_server_clnt.c
|
|
$(CC) $(CFLAGS) $?
|
|
gen_client@o@: $(srcdir)/rpc_client/gen_client.c
|
|
$(CC) $(CFLAGS) $?
|
|
gen_client_ret@o@: $(srcdir)/rpc_client/gen_client_ret.c
|
|
$(CC) $(CFLAGS) $?
|
|
|
|
# RPC server files
|
|
db_server_proc@o@: $(srcdir)/rpc_server/c/db_server_proc.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_server_svc@o@: $(srcdir)/rpc_server/c/db_server_svc.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_server_util@o@: $(srcdir)/rpc_server/c/db_server_util.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_server_xdr@o@: $(srcdir)/rpc_server/c/db_server_xdr.c
|
|
$(CC) $(CFLAGS) $?
|
|
gen_db_server@o@: $(srcdir)/rpc_server/c/gen_db_server.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_server_cxxproc@o@: $(srcdir)/rpc_server/cxx/db_server_cxxproc.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
db_server_cxxutil@o@: $(srcdir)/rpc_server/cxx/db_server_cxxutil.cpp
|
|
$(CXX) $(CXXFLAGS) $?
|
|
|
|
##################################################
|
|
# Utility build rules.
|
|
##################################################
|
|
db_archive@o@: $(srcdir)/db_archive/db_archive.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_checkpoint@o@: $(srcdir)/db_checkpoint/db_checkpoint.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_deadlock@o@: $(srcdir)/db_deadlock/db_deadlock.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_dump@o@: $(srcdir)/db_dump/db_dump.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_dump185@o@: $(srcdir)/db_dump185/db_dump185.c
|
|
$(CC) $(DB185INC) $?
|
|
db_load@o@: $(srcdir)/db_load/db_load.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_printlog@o@: $(srcdir)/db_printlog/db_printlog.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_recover@o@: $(srcdir)/db_recover/db_recover.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_stat@o@: $(srcdir)/db_stat/db_stat.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_upgrade@o@: $(srcdir)/db_upgrade/db_upgrade.c
|
|
$(CC) $(CFLAGS) $?
|
|
db_verify@o@: $(srcdir)/db_verify/db_verify.c
|
|
$(CC) $(CFLAGS) $?
|
|
|
|
##################################################
|
|
# C library replacement files.
|
|
##################################################
|
|
getcwd@o@: $(srcdir)/clib/getcwd.c
|
|
$(CC) $(CFLAGS) $?
|
|
getopt@o@: $(srcdir)/clib/getopt.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) $?
|
|
raise@o@: $(srcdir)/clib/raise.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) $?
|
|
strerror@o@: $(srcdir)/clib/strerror.c
|
|
$(CC) $(CFLAGS) $?
|
|
vsnprintf@o@: $(srcdir)/clib/vsnprintf.c
|
|
$(CC) $(CFLAGS) $?
|