diff --git a/Makefile b/Makefile
index 6f38b865b0c37b965ff217dfad11f929c4347114..1378b90c09594f22ac9e7db0e2fb2fcfff15c60a 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ clean:
rm -rf /tmp/swcd build
# build the full stack
-all: clean setup cernlib dstana ddb des examples docs openphigs delgra idea simana export
+all: clean setup cernlib ddb dstana des examples docs openphigs delgra idea simana export
swcd:
./GetCodeFromGitlab.sh $(DELPHI_SWCD)
diff --git a/make_ddb b/make_ddb
index 16ac50516c64c177b68c8d9740feae4c0dfdeee6..fd19bf9a676f1f1135896f5ccfdb357fb933193a 100755
--- a/make_ddb
+++ b/make_ddb
@@ -36,8 +36,12 @@ if [ $rc -eq 0 ]; then
if [ $rc -eq 0 ]; then
echo "All database executables created"
cd $DELPHI_BIN
+ mv ../ddb/bin/Linux/* ../ddb/bin
+ rmdir ../ddb/bin/Linux
+ mkdir ../ddb/lib
+ mv ../ddb/src/lib/Linux/* ../ddb/lib
for x in dedit dlist dplot dtobcd dtobin; do
- ln -s ../ddb/bin/Linux/$x
+ ln -s ../ddb/bin/$x
done
exit 0
else
diff --git a/make_dstana b/make_dstana
index dddb1fa635fc99bc8488ee2b62149074baf6dcd1..9d8e65a6cc951dde6d32fb819428a55626b9fb10 100755
--- a/make_dstana
+++ b/make_dstana
@@ -71,8 +71,10 @@ make_dellib -p dstana -v $VERS -o compile -batch
rc=$?
if [ $rc -eq 0 ]; then
echo "Build succeeded"
+ # link database
+ cd $DELPHI_LIB; ln -s ../../../ddb/lib/libddappxx.a
else
echo "Build FAILED"
-
fi
+
exit $rc
diff --git a/scripts/dellib b/scripts/dellib
index ab03d1a20b4a107945b798b4014c209a569b0404..60cf8681c136b0d005fd1e7078d7fac908fece15 100755
--- a/scripts/dellib
+++ b/scripts/dellib
@@ -44,7 +44,7 @@ if (defined $ENV{DELPHI_LIB}){
#
my ($skelana,$bsaurus,$dstana,$vdclap,$vfclap,$phdst,$pxtag);
-my ($trigger,$ufield,$uhlib,$herlib,$ux,$pxdst,$tanagra);
+my ($trigger,$ufield,$uhlib,$herlib,$ux,$pxdst,$tanagra,$ddapp);
while ($_ = shift @ARGV){
if ( /^skelana(?:xx){0,1}$/ ){
@@ -76,10 +76,12 @@ while ($_ = shift @ARGV){
$phdst = 1;
}elsif ( /^herlib(?:xx){0,1}$/ ){
$herlib = 1;
+ }elsif ( /^ddapp(?:xx){0,1}$/ ){
+ $ddapp = 1;
}else{
print STDERR "USAGE:\n";
print STDERR " dellib [skelana bsaurus dstana vdclap vfclap phdst pxtag \n";
- print STDERR " trigger ufield uhlib herlib ux pxdst tanagra ]\n\n";
+ print STDERR " trigger ufield uhlib herlib ux pxdst tanagra ddapp ]\n\n";
exit 1;
}
}
@@ -107,6 +109,7 @@ push(@liblist,"uhlibxx") if defined $uhlib;
push(@liblist,"herlibxx") if defined $herlib;
push(@liblist,"uxxx") if defined $ux;
push(@liblist,"tanagraxx") if defined $tanagra;
+push(@liblist,"ddappxx") if defined $ddapp;
map {$_ = "-l$_"} @liblist; # prepend each library with "-l"
diff --git a/tests/check_install.sh b/tests/check_install.sh
index 7872c7f7a27fbb6f4a32cdad6bc2426f824ca8ed..f4a308c2d12c9d00dca5ea9771adfae9c8155779 100755
--- a/tests/check_install.sh
+++ b/tests/check_install.sh
@@ -21,7 +21,7 @@ if [[ ! -z "${GROUP_DIR}" ]]; then
rc=2
fi
# count testing libraries
- elibs=597
+ elibs=600
flibs=`find . -name \*.a | wc -l`
if [ "x$elibs" = "x$flibs" ]; then
echo "All expected $elibs libraries have been created"