head	1.5;
access;
symbols
	rpm-4_4_8-release:1.3.2.2
	rpm-4_4_7-release:1.3.2.2
	db-4_5_20:1.5
	rpm-4_4_6-release:1.3.2.1
	rpm-4_4_5-release:1.3.2.1
	db-4_4_20:1.4
	rpm-4_4_4-release:1.3.2.1
	db-4_4_16:1.4
	rpm-4_4_3-release:1.3.2.1
	db-4_4_11:1.4
	db-4_3_29:1.3
	jbj_before_tklcpatches:1.3
	rpm-4_4_2-release:1.3
	pjones-sparse-experiment:1.4.0.2
	db-4_4_4:1.4
	rpm-4_4_1-release:1.3
	db-4_3_27:1.3
	rpm-4_4-release:1.3
	rpm-4_4:1.3.0.2
	db-4_3_21:1.3
	db-4_3_14:1.3
	db-4_2_52:1.2
	rpm-4_3_1-start:1.2
	rpm-4_3:1.2.0.2
	rpm-4_2_1-release:1.1.1.4
	rpm-4_1_1-release:1.1.1.4
	rpm-4_2-release:1.1.1.4
	rpm-4_2:1.1.1.4.0.2
	postmerge-db-4_1_24-release:1.1.1.4
	premerge-db-4_1_24-release:1.1.1.4
	db-4_1_24-release:1.1.1.4
	pre-db-4_1_24-release:1.1.1.4
	rpm-4_1-release:1.1.1.3
	postmerge-db-4_1_17:1.1.1.4
	premerge-db-4_1_17:1.1.1.4
	db-4_1_17:1.1.1.4
	pre-db-4_1_17:1.1.1.3
	rpm-4_1:1.1.1.3.0.2
	rpm-4_0_4-release:1.1.1.2.2.2
	jbj-before-beecrypt:1.1.1.2.2.2
	postmerge-db-4_0_14:1.1.1.3
	premerge-db-4_0_14:1.1.1.3
	db-4_0_14:1.1.1.3
	pre-db-4_0_14:1.1.1.3
	rpm-4_0_3-release:1.1.1.2.2.1
	postmerge-db-4_0_7:1.1.1.3
	premerge-db-4_0_7:1.1.1.3
	db-4_0_7:1.1.1.3
	pre-db-4_0_7:1.1.1.2
	jbj_b4_rollback:1.1.1.2.2.1
	postmerge-db-3_3_11-release:1.1.1.2
	premerge-db-3_3_11-release:1.1.1.2
	db-3_3_11-release:1.1.1.2
	pre-db-3_3_11-release:1.1.1.2
	rpm-4_0:1.1.1.2.0.2
	postmerge-db-3_3_4-release:1.1.1.2
	premerge-db-3_3_4-release:1.1.1.2
	db-3_3_4-release:1.1.1.2
	pre-db-3_3_4-release:1.1.1.1
	db-3_2_9-release:1.1.1.1
	db-3_2_9-vendor:1.1.1;
locks; strict;
comment	@# @;
expand	@o@;


1.5
date	2006.10.01.20.18.54;	author jbj;	state Exp;
branches;
next	1.4;

1.4
date	2005.02.21.15.53.58;	author jbj;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.16.01.31.55;	author jbj;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2003.12.15.21.42.41;	author jbj;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.21.18.33.38;	author jbj;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.03.21.18.33.38;	author jbj;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.05.13.19.58.27;	author jbj;	state Exp;
branches
	1.1.1.2.2.1;
next	1.1.1.3;

1.1.1.3
date	2001.10.15.03.47.23;	author jbj;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2002.08.14.16.31.56;	author jbj;	state Exp;
branches;
next	;

1.1.1.2.2.1
date	2001.07.23.20.31.15;	author jbj;	state Exp;
branches;
next	1.1.1.2.2.2;

1.1.1.2.2.2
date	2002.01.08.04.07.17;	author jbj;	state Exp;
branches;
next	;

1.3.2.1
date	2005.10.28.18.44.32;	author jbj;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2006.10.01.22.29.21;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Update to db-4.5.20.
@
text
@#!/bin/sh -
#	$Id: s_include,v 12.3 2006/04/27 13:40:36 mjc Exp $
#
# Build the automatically generated function prototype files.

msgc="/* DO NOT EDIT: automatically built by dist/s_include. */"

. ./RELEASE

head()
{
	defonly=0
	while :
		do case "$1" in
		space)
			echo ""; shift;;
		defonly)
			defonly=1; shift;;
		*)
			name="$1"; break;;
		esac
	done

	echo "$msgc"
	echo "#ifndef	$name"
	echo "#define	$name"
	echo ""
	if [ $defonly -eq 0 ]; then
		echo "#if defined(__cplusplus)"
		echo "extern \"C\" {"
		echo "#endif"
		echo ""
	fi
}

tail()
{
	defonly=0
	while :
		do case "$1" in
		defonly)
			defonly=1; shift;;
		*)
			name="$1"; break;;
		esac
	done

	echo ""
	if [ $defonly -eq 0 ]; then
		echo "#if defined(__cplusplus)"
		echo "}"
		echo "#endif"
	fi
	echo "#endif /* !$name */"
}

# We are building several files:
#	1 external #define file
#	1 external prototype file
#	1 internal #define file
#	N internal prototype files
e_dfile=/tmp/__db_c.$$
e_pfile=/tmp/__db_a.$$
i_dfile=/tmp/__db_d.$$
i_pfile=/tmp/__db_b.$$
trap 'rm -f $e_dfile $e_pfile $i_dfile $i_pfile; exit 0' 0 1 2 3 13 15

head defonly space _DB_EXT_DEF_IN_ > $e_dfile
head space _DB_EXT_PROT_IN_ > $e_pfile
head defonly _DB_INT_DEF_IN_ > $i_dfile

# Process the standard directories, creating per-directory prototype
# files and adding to the external prototype and #define files.
for i in db btree clib common crypto dbreg env fileops hash hmac \
    lock log mp mutex os qam rep repmgr rpc_client rpc_server \
    sequence tcl txn xa; do
	head "_${i}_ext_h_" > $i_pfile

	if [ $i = os ] ; then
		f=`ls ../$i/*.c ../os_windows/*.c`
	elif [ $i = rpc_server ] ; then
		f=`ls ../$i/c/*.c`
	elif [ $i = crypto ] ; then
		f=`ls ../$i/*.c ../$i/*/*.c`
	else
		f=`ls ../$i/*.c`
	fi
	awk -f gen_inc.awk \
	    -v db_version_unique_name=$DB_VERSION_UNIQUE_NAME \
	    -v e_dfile=$e_dfile \
	    -v e_pfile=$e_pfile \
	    -v i_dfile=$i_dfile \
	    -v i_pfile=$i_pfile $f

	tail "_${i}_ext_h_" >> $i_pfile

	f=../dbinc_auto/${i}_ext.h
	cmp $i_pfile $f > /dev/null 2>&1 ||
	    (echo "Building $f" && rm -f $f && cp $i_pfile $f && chmod 444 $f)
done

# Process directories which only add to the external prototype and #define
# files.
for i in dbm hsearch; do
	f=`ls ../$i/*.c`
	awk -f gen_inc.awk \
	    -v db_version_unique_name=$DB_VERSION_UNIQUE_NAME \
	    -v e_dfile=$e_dfile \
	    -v e_pfile=$e_pfile \
	    -v i_dfile="" \
	    -v i_pfile="" $f
done

# There are a few globals in DB -- add them to the external/internal
# #define files.
(echo "#define	__db_global_values __db_global_values@@DB_VERSION_UNIQUE_NAME@@";
    echo "#define	__db_jump __db_jump@@DB_VERSION_UNIQUE_NAME@@") >> $i_dfile
(echo "#define	db_xa_switch db_xa_switch@@DB_VERSION_UNIQUE_NAME@@") >> $e_dfile

# Wrap up the external #defines/prototypes, and internal #defines.
tail defonly _DB_EXT_DEF_IN_ >> $e_dfile
f=../dbinc_auto/ext_def.in
cmp $e_dfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e_dfile $f && chmod 444 $f)

tail _DB_EXT_PROT_IN_ >> $e_pfile
f=../dbinc_auto/ext_prot.in
cmp $e_pfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e_pfile $f && chmod 444 $f)

tail defonly _DB_INT_DEF_IN_ >> $i_dfile
f=../dbinc_auto/int_def.in
cmp $i_dfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $i_dfile $f && chmod 444 $f)

# DB185 compatibility support.
head space defonly _DB_EXT_185_DEF_IN_ > $e_dfile
head space _DB_EXT_185_PROT_IN_ > $e_pfile

f=`ls ../db185/*.c`
awk -f gen_inc.awk \
    -v db_version_unique_name=$DB_VERSION_UNIQUE_NAME \
    -v e_dfile=$e_dfile \
    -v e_pfile=$e_pfile \
    -v i_dfile="" \
    -v i_pfile="" $f

tail defonly _DB_EXT_185_DEF_IN_ >> $e_dfile
f=../dbinc_auto/ext_185_def.in
cmp $e_dfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e_dfile $f && chmod 444 $f)

tail _DB_EXT_185_PROT_IN_ >> $e_pfile
f=../dbinc_auto/ext_185_prot.in
cmp $e_pfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e_pfile $f && chmod 444 $f)
@


1.4
log
@Upgrade to db-4.4.4.
@
text
@d2 1
a2 1
#	$Id: s_include,v 12.0 2004/11/17 03:43:35 bostic Exp $
d75 2
a76 1
    lock log mp mutex os qam rep rpc_client rpc_server sequence tcl txn xa; do
d80 1
a80 1
		f=`ls ../$i/*.c ../os_win32/*.c`
d116 3
a118 3
(echo "#define __db_global_values __db_global_values@@DB_VERSION_UNIQUE_NAME@@";
    echo "#define __db_jump __db_jump@@DB_VERSION_UNIQUE_NAME@@") >> $i_dfile
(echo "#define db_xa_switch db_xa_switch@@DB_VERSION_UNIQUE_NAME@@") >> $e_dfile
@


1.3
log
@... and in with the New ...
@
text
@d2 1
a2 1
#	$Id: s_include,v 1.22 2004/04/19 18:27:17 mjc Exp $
@


1.3.2.1
log
@Update to db-4.4.11.
@
text
@d2 1
a2 1
#	$Id: s_include,v 12.0 2004/11/17 03:43:35 bostic Exp $
@


1.3.2.2
log
@Merge db-4.5.20 onto rpm-4_4 branch.
@
text
@d2 1
a2 1
#	$Id: s_include,v 12.3 2006/04/27 13:40:36 mjc Exp $
d75 1
a75 2
    lock log mp mutex os qam rep repmgr rpc_client rpc_server \
    sequence tcl txn xa; do
d79 1
a79 1
		f=`ls ../$i/*.c ../os_windows/*.c`
d115 3
a117 3
(echo "#define	__db_global_values __db_global_values@@DB_VERSION_UNIQUE_NAME@@";
    echo "#define	__db_jump __db_jump@@DB_VERSION_UNIQUE_NAME@@") >> $i_dfile
(echo "#define	db_xa_switch db_xa_switch@@DB_VERSION_UNIQUE_NAME@@") >> $e_dfile
@


1.2
log
@- upgrade to db-4.2.52.
@
text
@d2 1
a2 1
#	$Id: s_include,v 1.19 2002/03/27 04:31:50 bostic Exp $
d75 1
a75 1
    lock log mp mutex os qam rep rpc_client rpc_server tcl txn xa; do
d78 9
a86 4
	f="../$i/*.c"
	[ $i = os ] && f="$f ../os_win32/*.c"
	[ $i = rpc_server ] && f="../$i/c/*.c"
	[ $i = crypto ] && f="../$i/*.c ../$i/*/*.c"
d104 1
a104 1
	f="../$i/*.c"
a112 10
# RPC uses rpcgen to generate a header file; post-process it to add more
# interfaces to the internal #define file.
sed -e '/extern bool_t xdr___/{' \
    -e 's/.* //' \
    -e 's/();//' \
    -e 's/.*/#define & &@@DB_VERSION_UNIQUE_NAME@@/' \
    -e 'p' \
    -e '}' \
    -e d < ../dbinc_auto/db_server.h >> $i_dfile

d139 1
a139 1
f="../db185/*.c"
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
#	$Id: s_include,v 1.7 2000/07/13 18:38:46 bostic Exp $
d7 87
a93 26
cxx_if="#if defined(__cplusplus)"
cxx_head="extern \"C\" {"
cxx_foot="}"
cxx_endif="#endif"

tmp=/tmp/__db_inc.$$
trap 'rm -f $tmp ; exit 0' 0 1 2 3 13 15

for i in db btree clib common env hash \
    lock log mp mutex os qam rpc_client rpc_server tcl txn xa; do
	f=../include/${i}_ext.h
	(echo "$msgc" &&
	    echo "#ifndef	_${i}_ext_h_" &&
	    echo "#define	_${i}_ext_h_" &&
	    echo "$cxx_if" &&
	    echo "$cxx_head" &&
	    echo "$cxx_endif" &&
	    sed -n "s/^ \* PUBLIC:[	 ]\(.*\)/\1/p" ../$i/*.c;
	    [ $i = os ] &&
		sed -n "s/^ \* PUBLIC:[	 ]\(.*\)/\1/p" ../os_win32/*.c;
	    echo "$cxx_if" &&
	    echo "$cxx_foot" &&
	    echo "$cxx_endif" &&
	    echo "#endif /* _${i}_ext_h_ */") > $tmp
	cmp $tmp $f > /dev/null 2>&1 ||
	    (echo "Building $f" && rm -f $f && cp $tmp $f && chmod 444 $f)
d95 66
@


1.1.1.1
log
@db-3.2.9
@
text
@@


1.1.1.2
log
@track: auto import
@
text
@d2 1
a2 1
#	Id: s_include,v 1.10 2001/04/19 01:41:05 bostic Exp 
a6 3

. ./RELEASE

d12 2
a13 16
e1=/tmp/__db_e1.$$
e2=/tmp/__db_e2.$$
i1=/tmp/__db_i1.$$
i2=/tmp/__db_i2.$$
trap 'rm -f $e1 $e2 $i1 $i2; exit 0' 0 1 2 3 13 15

(echo "" &&
    echo "$msgc" &&
    echo "$cxx_if" &&
    echo "$cxx_head" &&
    echo "$cxx_endif") > $e1
(echo "" &&
    echo "$msgc" &&
    echo "$cxx_if" &&
    echo "$cxx_head" &&
    echo "$cxx_endif") > $e2
a14 1
# Extract externals and build include files.
d17 1
d23 4
a26 4
	    echo "$cxx_endif") > $i1
	(echo "$msgc" &&
	    echo "#ifndef	_${i}_ext_h_" &&
	    echo "#define	_${i}_ext_h_" &&
d28 5
a32 25
	    echo "$cxx_head" &&
	    echo "$cxx_endif") > $i2

	f="../$i/*.c"
	[ $i = os ] && f="$f ../os_win32/*.c"
	awk -f gen_inc.awk \
	    -v db_version_unique_name=$DB_VERSION_UNIQUE_NAME \
	    -v ext_file=$e1 -v uext_file=$e2 \
	    -v inc_file=$i1 -v uinc_file=$i2 $f

	(echo "$cxx_if" &&
	echo "$cxx_foot" &&
	echo "$cxx_endif" &&
	echo "#endif /* _${i}_ext_h_ */") >> $i1
	(echo "$cxx_if" &&
	echo "$cxx_foot" &&
	echo "$cxx_endif" &&
	echo "#endif /* _${i}_ext_h_ */") >> $i2

	f=../include_auto/${i}_ext.h
	cmp $i1 $f > /dev/null 2>&1 ||
	    (echo "Building $f" && rm -f $f && cp $i1 $f && chmod 444 $f)
	f=../include_auto/${i}_ext.in
	cmp $i2 $f > /dev/null 2>&1 ||
	    (echo "Building $f" && rm -f $f && cp $i2 $f && chmod 444 $f)
a33 73

# Extract externals (no include files to build).
for i in dbm hsearch; do
	awk -f gen_inc.awk \
	    -v db_version_unique_name=$DB_VERSION_UNIQUE_NAME \
	    -v ext_file=$e1 -v uext_file=$e2 ../$i/*.c
done

# There are a few globals in DB -- fix them up as well.
(echo "#define __db_global_values __db_global_values@@DB_VERSION_UNIQUE_NAME@@" &&
    echo "#define __db_jump __db_jump@@DB_VERSION_UNIQUE_NAME@@" &&
    echo "#define db_xa_switch db_xa_switch@@DB_VERSION_UNIQUE_NAME@@") >> $e2

(echo "$cxx_if" &&
    echo "$cxx_foot" &&
    echo "$cxx_endif" &&
    echo ""
    echo "#endif /* !_DB_H_ */") >> $e1
(echo "$cxx_if" &&
    echo "$cxx_foot" &&
    echo "$cxx_endif" &&
    echo ""
    echo "#endif /* !_DB_H_ */") >> $e2

f=../include_auto/global_ext.in
cmp $e1 $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e1 $f && chmod 444 $f)
f=../include_auto/global_uext.in
cmp $e2 $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e2 $f && chmod 444 $f)

# DB185 compatibility support.
(echo "$msgc" &&
    echo "$cxx_if" &&
    echo "$cxx_head" &&
    echo "$cxx_endif") > $e1
(echo "$msgc" &&
    echo "$cxx_if" &&
    echo "$cxx_head" &&
    echo "$cxx_endif") > $e2

awk -f gen_inc.awk \
    -v db_version_unique_name=$DB_VERSION_UNIQUE_NAME \
    -v ext_file=$e1 -v uext_file=$e2 ../db185/*.c

(echo "$cxx_if" &&
    echo "$cxx_foot" &&
    echo "$cxx_endif" &&
    echo ""
    echo "#endif /* !_DB_185_H_ */") >> $e1
(echo "$cxx_if" &&
    echo "$cxx_foot" &&
    echo "$cxx_endif" &&
    echo ""
    echo "#endif /* !_DB_185_H_ */") >> $e2

f=../include_auto/db185_ext.in
cmp $e1 $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e1 $f && chmod 444 $f)
f=../include_auto/db185_uext.in
cmp $e2 $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e2 $f && chmod 444 $f)

# RPC uses rpcgen to generate a header file; post-process it.
f=../include_auto/db_server.in
sed -e '/extern bool_t xdr___/{' \
    -e 's/.* //' \
    -e 's/();//' \
    -e 's/.*/#define & &@@DB_VERSION_UNIQUE_NAME@@\
extern bool_t &();/' \
    -e '}' < ../include_auto/db_server.h > $i1
cmp $i1 $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $i1 $f && chmod 444 $f)
@


1.1.1.3
log
@track: auto import
@
text
@d2 1
a2 1
#	Id: s_include,v 1.12 2001/07/30 22:31:07 bostic Exp 
d34 1
a34 1
    lock log mp mutex os qam rep rpc_client rpc_server tcl txn xa; do
d120 1
a120 1
    echo "#endif /* _DB_185_H_ or _DB185_INT_H_ */") >> $e1
d125 1
a125 1
    echo "#endif /* _DB_185_H_ or _DB185_INT_H_ */") >> $e2
@


1.1.1.4
log
@track: auto import
@
text
@d2 1
a2 1
#	Id: s_include,v 1.19 2002/03/27 04:31:50 bostic Exp 
d10 24
a33 65
head()
{
	defonly=0
	while :
		do case "$1" in
		space)
			echo ""; shift;;
		defonly)
			defonly=1; shift;;
		*)
			name="$1"; break;;
		esac
	done

	echo "$msgc"
	echo "#ifndef	$name"
	echo "#define	$name"
	echo ""
	if [ $defonly -eq 0 ]; then
		echo "#if defined(__cplusplus)"
		echo "extern \"C\" {"
		echo "#endif"
		echo ""
	fi
}

tail()
{
	defonly=0
	while :
		do case "$1" in
		defonly)
			defonly=1; shift;;
		*)
			name="$1"; break;;
		esac
	done

	echo ""
	if [ $defonly -eq 0 ]; then
		echo "#if defined(__cplusplus)"
		echo "}"
		echo "#endif"
	fi
	echo "#endif /* !$name */"
}

# We are building several files:
#	1 external #define file
#	1 external prototype file
#	1 internal #define file
#	N internal prototype files
e_dfile=/tmp/__db_c.$$
e_pfile=/tmp/__db_a.$$
i_dfile=/tmp/__db_d.$$
i_pfile=/tmp/__db_b.$$
trap 'rm -f $e_dfile $e_pfile $i_dfile $i_pfile; exit 0' 0 1 2 3 13 15

head defonly space _DB_EXT_DEF_IN_ > $e_dfile
head space _DB_EXT_PROT_IN_ > $e_pfile
head defonly _DB_INT_DEF_IN_ > $i_dfile

# Process the standard directories, creating per-directory prototype
# files and adding to the external prototype and #define files.
for i in db btree clib common crypto dbreg env fileops hash hmac \
d35 12
a46 1
	head "_${i}_ext_h_" > $i_pfile
a49 2
	[ $i = rpc_server ] && f="../$i/c/*.c"
	[ $i = crypto ] && f="../$i/*.c ../$i/*/*.c"
d52 18
a69 10
	    -v e_dfile=$e_dfile \
	    -v e_pfile=$e_pfile \
	    -v i_dfile=$i_dfile \
	    -v i_pfile=$i_pfile $f

	tail "_${i}_ext_h_" >> $i_pfile

	f=../dbinc_auto/${i}_ext.h
	cmp $i_pfile $f > /dev/null 2>&1 ||
	    (echo "Building $f" && rm -f $f && cp $i_pfile $f && chmod 444 $f)
d72 1
a72 2
# Process directories which only add to the external prototype and #define
# files.
a73 1
	f="../$i/*.c"
d76 1
a76 4
	    -v e_dfile=$e_dfile \
	    -v e_pfile=$e_pfile \
	    -v i_dfile="" \
	    -v i_pfile="" $f
d79 22
a100 31
# RPC uses rpcgen to generate a header file; post-process it to add more
# interfaces to the internal #define file.
sed -e '/extern bool_t xdr___/{' \
    -e 's/.* //' \
    -e 's/();//' \
    -e 's/.*/#define & &@@DB_VERSION_UNIQUE_NAME@@/' \
    -e 'p' \
    -e '}' \
    -e d < ../dbinc_auto/db_server.h >> $i_dfile

# There are a few globals in DB -- add them to the external/internal
# #define files.
(echo "#define __db_global_values __db_global_values@@DB_VERSION_UNIQUE_NAME@@";
    echo "#define __db_jump __db_jump@@DB_VERSION_UNIQUE_NAME@@") >> $i_dfile
(echo "#define db_xa_switch db_xa_switch@@DB_VERSION_UNIQUE_NAME@@") >> $e_dfile

# Wrap up the external #defines/prototypes, and internal #defines.
tail defonly _DB_EXT_DEF_IN_ >> $e_dfile
f=../dbinc_auto/ext_def.in
cmp $e_dfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e_dfile $f && chmod 444 $f)

tail _DB_EXT_PROT_IN_ >> $e_pfile
f=../dbinc_auto/ext_prot.in
cmp $e_pfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e_pfile $f && chmod 444 $f)

tail defonly _DB_INT_DEF_IN_ >> $i_dfile
f=../dbinc_auto/int_def.in
cmp $i_dfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $i_dfile $f && chmod 444 $f)
d103 8
a110 2
head space defonly _DB_EXT_185_DEF_IN_ > $e_dfile
head space _DB_EXT_185_PROT_IN_ > $e_pfile
a111 1
f="../db185/*.c"
d114 30
a143 14
    -v e_dfile=$e_dfile \
    -v e_pfile=$e_pfile \
    -v i_dfile="" \
    -v i_pfile="" $f

tail defonly _DB_EXT_185_DEF_IN_ >> $e_dfile
f=../dbinc_auto/ext_185_def.in
cmp $e_dfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e_dfile $f && chmod 444 $f)

tail _DB_EXT_185_PROT_IN_ >> $e_pfile
f=../dbinc_auto/ext_185_prot.in
cmp $e_pfile $f > /dev/null 2>&1 ||
    (echo "Building $f" && rm -f $f && cp $e_pfile $f && chmod 444 $f)
@


1.1.1.2.2.1
log
@Merge db-3.3.11 onto rpm-4_0 branch.
@
text
@d2 1
a2 1
#	$Id: s_include,v 1.10 2001/04/19 01:41:05 bostic Exp $
@


1.1.1.2.2.2
log
@Update to db-4.0.14.
@
text
@d2 1
a2 1
#	Id: s_include,v 1.12 2001/07/30 22:31:07 bostic Exp 
d34 1
a34 1
    lock log mp mutex os qam rep rpc_client rpc_server tcl txn xa; do
d120 1
a120 1
    echo "#endif /* _DB_185_H_ or _DB185_INT_H_ */") >> $e1
d125 1
a125 1
    echo "#endif /* _DB_185_H_ or _DB185_INT_H_ */") >> $e2
@


