summaryrefslogtreecommitdiff
path: root/db/test/scr012
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-10-16 01:31:54 +0000
committerjbj <devnull@localhost>2004-10-16 01:31:54 +0000
commitd03f220fde879509cab2ac1c73b71b7efb52b737 (patch)
tree1e34bfadac0a6618d0e9a7933bad90063a785acf /db/test/scr012
parent2dc699bfe049b9319ea3719f604d25940ff52004 (diff)
downloadlibrpm-tizen-d03f220fde879509cab2ac1c73b71b7efb52b737.tar.gz
librpm-tizen-d03f220fde879509cab2ac1c73b71b7efb52b737.tar.bz2
librpm-tizen-d03f220fde879509cab2ac1c73b71b7efb52b737.zip
... and in with the New ...
CVS patchset: 7471 CVS date: 2004/10/16 01:31:54
Diffstat (limited to 'db/test/scr012')
-rw-r--r--db/test/scr012/chk.vx_code19
1 files changed, 6 insertions, 13 deletions
diff --git a/db/test/scr012/chk.vx_code b/db/test/scr012/chk.vx_code
index 8d7ca608f..8b7916053 100644
--- a/db/test/scr012/chk.vx_code
+++ b/db/test/scr012/chk.vx_code
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: chk.vx_code,v 1.6 2002/03/27 20:20:25 bostic Exp $
+# $Id: chk.vx_code,v 1.7 2004/09/16 17:21:11 bostic Exp $
#
# Check to make sure the auto-generated utility code in the VxWorks build
# directory compiles.
@@ -18,6 +18,9 @@ d=../..
rm -f t.c t1.c t2.c
+F="$d/clib/getopt.c $d/common/util_arg.c $d/common/util_cache.c
+ $d/common/util_log.c $d/common/util_sig.c $d/*/*_autop.c"
+
header()
{
echo "int"
@@ -34,12 +37,7 @@ for i in db_archive db_checkpoint db_deadlock db_dump db_load \
db_printlog db_recover db_stat db_upgrade db_verify dbdemo; do
echo " compiling build_vxworks/$i"
(cat $d/build_vxworks/$i/$i.c; header $i) > t.c
- if cc -Wall -I.. -I$d t.c \
- $d/clib/getopt.c \
- $d/common/util_arg.c \
- $d/common/util_cache.c \
- $d/common/util_log.c \
- $d/common/util_sig.c ../libdb.a -o t; then
+ if cc -Wall -I.. -I$d t.c $F ../libdb.a -o t; then
:
else
echo "FAIL: unable to compile $i"
@@ -53,12 +51,7 @@ done
(cat t2.c t1.c; echo "return (0); }") > t.c
echo " compiling build_vxworks utility composite"
-if cc -Dlint -Wall -I.. -I$d t.c \
- $d/clib/getopt.c \
- $d/common/util_arg.c \
- $d/common/util_cache.c \
- $d/common/util_log.c \
- $d/common/util_sig.c ../libdb.a -o t; then
+if cc -Dlint -Wall -I.. -I$d t.c $F ../libdb.a -o t; then
:
else
echo "FAIL: unable to compile utility composite"