--- Dependency check [begin] ---


--- Dependency check [end] ---



--- Distribution check [begin] ---

Version 3.25.1 - 2024-04-26 (IT)
Information: this ChangeLog entry matches the version number:
 Version 3.25.1 - 2024-04-26 (IT)

Error: srcmatch - Unexpected file ./Make.depends
Error: srcmatch - Unexpected file ./build_log_second
Error: srcmatch - Unexpected file ./test/Make.depends
Error: srcmatch - Unexpected file ./src/Make.depends
Error: srcmatch - Unexpected binary file: ./src/libsrcmatch.so
Error: srcmatch - Unexpected file ./src/srcmatch_mod.mod
Error: srcmatch - Unexpected file ./src/srcmatch_def.mod
Error: srcmatch - Unexpected file ./src/libsrcmatch.a
Error: srcmatch - Unexpected file ./src/srcmatch_io.mod
Error: srcmatch - Unexpected file ./src/libsrcmatch.so.3.25
Error: srcmatch - Unexpected binary file: ./src/srcmatch
Error: srcmatch - Unexpected file ./doc/Make.depends
Warning: srcmatch - Unexpected file ./doc/srcmatch.ps.gz
Error: srcmatch - Unexpected symbolic link: ./doc/srcmatch/ChangeLog
Warning: srcmatch - Unexpected file ./doc/srcmatch/images.ps
Error: srcmatch - Unexpected file ./doc/srcmatch/images.aux
Error: srcmatch - Unexpected file ./config/Make.depends
Information: ./config/srcmatch.par is an XML parameter file, I cannot yet validate it. Skipped.
Now checking git repository...


--- Distribution check [end] ---

result=0 ;\
for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \
  if [ ! -d $d ] ; then\
    echo WARNING $d does not exist. ;\
    result=1 ;\
  fi ;\
done ;\
if [ $result -ne 0 ] ; then \
  echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\
  exit 1 ;\
fi 
/usr/bin/echo "# Make.depends" > Make.depends
if [ -n "" ]; then \
  ARGS="  " ;\
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 ${n}_BDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 ${n}_CLDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 ${n}_TCDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 ${n}_TPDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 ${n}_TPYDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 ${n}_TFDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 ${n}_LDEPEND || exit; done; \
fi
if [ -n "" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include  -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \
fi
if [ -n "" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include  -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \
fi
if [ -n "" ]; then \
   gcc  -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include  -I.  -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \
fi
if [ -n "" ]; then \
   g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include  -I.  -Wall -DGFORTRAN -std=gnu++14 -g  *.cc >> Make.depends; \
fi
if [ -n "src doc test config" ]; then \
  ARGS="src doc test config"; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 -C $n depend || exit; done; \
fi
/workspaces/xmm_sas/packages/sas/bin/sastaskhdr_gfortran  srcmatch 3.25.1 srcmatch 22.0.0-ec4db76b0-20241104 > srcmatch.h
/workspaces/xmm_sas/packages/sas/bin/sastaskhimp srcmatch 3.25.1 srcmatch 22.0.0-ec4db76b0-20241104 > srcmatch_h_imp.cc
T=srcmatch ;\
sed "s/taskname/$T/g" /workspaces/xmm_sas/packages/taskmain/src/task_c.cc | sed "s/taskproc/$T_mod_MP_$T/g" > srcmatch_c.cc
result=0 ;\
for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \
  if [ ! -d $d ] ; then\
    echo WARNING $d does not exist. ;\
    result=1 ;\
  fi ;\
done ;\
if [ $result -ne 0 ] ; then \
  echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\
  exit 1 ;\
fi 
(cd  /workspaces/xmm_sas/bin; test -h srcmatch || ln -s ../packages/srcmatch/src/srcmatch .)
(cd /workspaces/xmm_sas/lib; test -h libsrcmatch.a || ln -s ../packages/srcmatch/src/libsrcmatch.a .)
cd /workspaces/xmm_sas/lib && \
  (test -h libsrcmatch.so.3.25 || ln -s ../packages/srcmatch/src/libsrcmatch.so.3.25 libsrcmatch.so.3.25)  
(cd  /workspaces/xmm_sas/include; test -h srcmatch || ln -s ../packages/srcmatch/src srcmatch)
cd /workspaces/xmm_sas/lib && \
  (test -h libsrcmatch.so || ln -s libsrcmatch.so.3.25 libsrcmatch.so)
/usr/bin/echo "# Make.depends" > Make.depends
if [ -n "" ]; then \
  ARGS="  " ;\
  for n in $ARGS; do make ${n}_BDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \
fi
if [ -n "srcmatch" ]; then \
  ARGS="srcmatch"; \
  for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \
fi
echo Dependencies for srcmatch
if [ -z "srcmatch_mod srcmatch_io srcmatch_def" ]; then /usr/bin/echo Missing srcmatch_OBJS for Fortran task srcmatch; exit 1; fi
/usr/bin/echo "srcmatch: srcmatch_main.o -lsrcmatch" >> Make.depends
/usr/bin/echo "srcmatch_c.o: srcmatch_c.cc srcmatch.h" >> Make.depends
/usr/bin/echo "srcmatch_h_imp.o: srcmatch_h_imp.cc srcmatch.h" >> Make.depends
/usr/bin/echo "libsrcmatch.a libsrcmatch.so.3.25: srcmatch_h_imp.o srcmatch_c.o srcmatch_mod.o srcmatch_io.o srcmatch_def.o" >> Make.depends
/usr/bin/echo "libsrcmatch.a libsrcmatch.so.3.25:  " >> Make.depends
/usr/bin/echo "srcmatch: -lmetatask -ldal -lparam -lselector -lcaloalutils -ldal -lslatec -lerror -lutils -lsla -lmetatask" >> Make.depends
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_LDEPEND || exit; done; \
fi
if [ -n "srcmatch_def.f90 srcmatch_io.f90 srcmatch_mod.f90" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC -cpp  *.f90 >> Make.depends; \
fi
if [ -n "" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC -cpp  *.f95 >> Make.depends; \
fi
if [ -n "" ]; then \
   gcc  -M -DUSE_DAL -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils -I/sasbuild/tools/qt-x11-free/include -I.  -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \
fi
if [ -n "srcmatch_h_imp.cc" ]; then \
   g++ -M -DUSE_DAL -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils -I/sasbuild/tools/qt-x11-free/include -I.  -Wall -DGFORTRAN -std=gnu++14 -g  *.cc >> Make.depends; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n depend || exit; done; \
fi
result=0 ;\
for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \
  if [ ! -d $d ] ; then\
    echo WARNING $d does not exist. ;\
    result=1 ;\
  fi ;\
done ;\
if [ $result -ne 0 ] ; then \
  echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\
  exit 1 ;\
fi 
(cd /workspaces/xmm_sas/doc; test -h srcmatch || ln -s ../packages/srcmatch/doc/srcmatch .)
(cd /workspaces/xmm_sas/doc; test -h srcmatch.ps.gz || ln -s ../packages/srcmatch/doc/srcmatch.ps.gz .)
(cd /workspaces/xmm_sas/doc; test -h srcmatch.pdf || ln -s ../packages/srcmatch/doc/srcmatch.pdf .)
(cd /workspaces/xmm_sas/doc; test -h srcmatch/srcmatch.html  || test ! -r ../packages/srcmatch/doc/srcmatch/srcmatch.html || ln -s ../packages/srcmatch/doc/srcmatch/srcmatch.html .)
/usr/bin/echo "# Make.depends" > Make.depends
if [ -n "" ]; then \
  ARGS="  " ;\
  for n in $ARGS; do make ${n}_BDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_LDEPEND || exit; done; \
fi
if [ -n "" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include  -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \
fi
if [ -n "" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include  -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \
fi
if [ -n "" ]; then \
   gcc  -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include  -I.  -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \
fi
if [ -n "" ]; then \
   g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include  -I.  -Wall -DGFORTRAN -std=gnu++14 -g  *.cc >> Make.depends; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n depend || exit; done; \
fi
result=0 ;\
for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \
  if [ ! -d $d ] ; then\
    echo WARNING $d does not exist. ;\
    result=1 ;\
  fi ;\
done ;\
if [ $result -ne 0 ] ; then \
  echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\
  exit 1 ;\
fi 
/usr/bin/echo "# Make.depends" > Make.depends
if [ -n "checkoutput" ]; then \
  ARGS=" checkoutput " ;\
  for n in $ARGS; do make ${n}_BDEPEND || exit; done; \
fi
echo Dependencies for checkoutput
if [ -z "checkoutput" -a -z "" ]; then /usr/bin/echo Missing checkoutput_OBJS or checkoutput_QOBJS for binary checkoutput; exit 1; fi
/usr/bin/echo "checkoutput: checkoutput.o" >> Make.depends
/usr/bin/echo "checkoutput:  " >> Make.depends
/usr/bin/echo "checkoutput: -ldal -lparam -lselector -lcaloalutils -ldal -lslatec -lerror -lutils" >> Make.depends
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_LDEPEND || exit; done; \
fi
if [ -n "checkoutput.f90" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \
fi
if [ -n "" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/utils -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \
fi
if [ -n "" ]; then \
   gcc  -M -DUSE_DAL -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/utils -I/sasbuild/tools/qt-x11-free/include -I.  -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \
fi
if [ -n "" ]; then \
   g++ -M -DUSE_DAL -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/utils -I/sasbuild/tools/qt-x11-free/include -I.  -Wall -DGFORTRAN -std=gnu++14 -g  *.cc >> Make.depends; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n depend || exit; done; \
fi
result=0 ;\
for d in /workspaces/xmm_sas/lib /workspaces/xmm_sas/lib/perl5 /workspaces/xmm_sas/lib/python /workspaces/xmm_sas/lib/python/dists /workspaces/xmm_sas/lib/python/pysas /workspaces/xmm_sas/include /workspaces/xmm_sas/bin /workspaces/xmm_sas/bin/devel /workspaces/xmm_sas/config /workspaces/xmm_sas/doc /workspaces/xmm_sas/lib/data /workspaces/xmm_sas/lib/data/tmp /workspaces/xmm_sas/lib/testodf ; do \
  if [ ! -d $d ] ; then\
    echo WARNING $d does not exist. ;\
    result=1 ;\
  fi ;\
done ;\
if [ $result -ne 0 ] ; then \
  echo ERROR: One of more required directories could not be found. This may prevent some of the symbolic links from being created correctly. This may also mean that you are in a directory that has nothing to do with the SAS, or that SAS_PATH is incorrectly configured. If you are in the right directory, you can create the missing directories by hand. Or type 'make required_dirs'. ;\
  exit 1 ;\
fi 
(cd /workspaces/xmm_sas/config; test -h srcmatch.par || ln -s ../packages/srcmatch/config/srcmatch.par .)
(cd /workspaces/xmm_sas/config; test -h srcmatch.info || ln -s ../packages/srcmatch/config/srcmatch.info .)
/usr/bin/echo "# Make.depends" > Make.depends
if [ -n "" ]; then \
  ARGS="  " ;\
  for n in $ARGS; do make ${n}_BDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_CLDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TCDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TPDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TPYDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_TFDEPEND || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make ${n}_LDEPEND || exit; done; \
fi
if [ -n "" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include  -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f90 >> Make.depends; \
fi
if [ -n "" ]; then \
   LANG=C /workspaces/xmm_sas/packages/sas/bin/f90depend -I/workspaces/xmm_sas/include  -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC *.f95 >> Make.depends; \
fi
if [ -n "" ]; then \
   gcc  -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include  -I.  -Wall -std=gnu++14 -g -fPIC *.c >> Make.depends; \
fi
if [ -n "" ]; then \
   g++ -M -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include  -I.  -Wall -DGFORTRAN -std=gnu++14 -g  *.cc >> Make.depends; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n depend || exit; done; \
fi
if [ -n "" ]; then make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 VPATH= ; fi
if [ -n "" ]; then make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 ; fi
if [ -n "src doc test config" ]; then \
  ARGS="src doc test config"; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 -C $n bin || exit; done; \
fi
if [ -n "libsrcmatch.a libsrcmatch.so.3.25" ]; then make VPATH= libsrcmatch.a libsrcmatch.so.3.25; fi
/workspaces/xmm_sas/packages/sas/bin/sastaskhdr_gfortran  srcmatch 3.25.1 srcmatch 22.0.0-ec4db76b0-20241104 > srcmatch.h
/workspaces/xmm_sas/packages/sas/bin/sastaskhimp srcmatch 3.25.1 srcmatch 22.0.0-ec4db76b0-20241104 > srcmatch_h_imp.cc
g++ -c -Wall -DGFORTRAN -std=gnu++14 -g  -fPIC -DUSE_DAL -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils -I/sasbuild/tools/qt-x11-free/include -I.  srcmatch_h_imp.cc
T=srcmatch ;\
sed "s/taskname/$T/g" /workspaces/xmm_sas/packages/taskmain/src/task_c.cc | sed "s/taskproc/$T_mod_MP_$T/g" > srcmatch_c.cc
g++ -c -Wall -DGFORTRAN -std=gnu++14 -g  -fPIC -DUSE_DAL -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils -I/sasbuild/tools/qt-x11-free/include -I.  srcmatch_c.cc
(cd  /workspaces/xmm_sas/include; \
test -h param.mod || ln -s ../packages/srcmatch/src/param.mod . )
(cd  /workspaces/xmm_sas/include; \
test -h sla.mod || ln -s ../packages/srcmatch/src/sla.mod . )
(cd  /workspaces/xmm_sas/include; \
test -h dal.mod || ln -s ../packages/srcmatch/src/dal.mod . )
gfortran -c -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC -cpp  -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils srcmatch_def.f90
gfortran -c -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC -cpp  -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils srcmatch_io.f90
(cd  /workspaces/xmm_sas/include; \
test -h errorhandling.mod || ln -s ../packages/srcmatch/src/errorhandling.mod . )
gfortran -c -fimplicit-none -fno-range-check -DGFORTRAN -fallow-argument-mismatch -g -fPIC -cpp  -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils srcmatch_mod.f90
/usr/bin/ar cur libsrcmatch.a srcmatch_h_imp.o srcmatch_c.o srcmatch_mod.o srcmatch_io.o srcmatch_def.o
ranlib libsrcmatch.a
g++ -shared -Wl,-h,libsrcmatch.so.3.25 -Wl,-rpath,\$ORIGIN -Wl,-rpath,\$ORIGIN/../libextra -o libsrcmatch.so.3.25 srcmatch_h_imp.o srcmatch_c.o srcmatch_mod.o srcmatch_io.o srcmatch_def.o -lmetatask -ldal -lparam -lselector -lcaloalutils -ldal -lslatec -lerror -lutils -lsla -lmetatask -L/sasbuild/tools/qt-x11-free/lib -lqt  -lgfortran -lcfitsio -ldl -lm -L. 
test libsrcmatch.so.3.25 = libsrcmatch.so || ( test -h libsrcmatch.so || ln -s libsrcmatch.so.3.25 libsrcmatch.so )
if [ -n "" ]; then make ; fi
T=srcmatch ;\
sed "s/taskname/$T/g" /workspaces/xmm_sas/packages/taskmain/src/main.cc | sed "s/VERSION/3.25.1/g; s/RELEASE/22.0.0-ec4db76b0-20241104/g; s/PACKAGE/srcmatch/g" > srcmatch_main.cc
g++ -c -Wall -DGFORTRAN -std=gnu++14 -g  -DUSE_DAL -DUSE_POPUP -include /workspaces/xmm_sas/include/config-std.h -imacros /workspaces/xmm_sas/config.h -I/workspaces/xmm_sas/include -I/workspaces/xmm_sas/include/dal -I/workspaces/xmm_sas/include/sla -I/workspaces/xmm_sas/include/utils -I/sasbuild/tools/qt-x11-free/include -I.  srcmatch_main.cc
g++ -Wl,-rpath,\$ORIGIN/../lib -Wl,-rpath,\$ORIGIN/../libextra -L/workspaces/xmm_sas/lib -o srcmatch srcmatch_main.o -lsrcmatch -lmetatask -ldal -lparam -lselector -lcaloalutils -ldal -lslatec -lerror -lutils -lsla -lmetatask -L/sasbuild/tools/qt-x11-free/lib -lqt  -lgfortran -lcfitsio -ldl -lm -L. 
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n bin || exit; done; \
fi
if [ -n "" ]; then make VPATH= ; fi
if [ -n "" ]; then make ; fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n bin || exit; done; \
fi
if [ -n "" ]; then make VPATH= ; fi
if [ -n "" ]; then make ; fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n bin || exit; done; \
fi
if [ -n "" ]; then make VPATH= ; fi
if [ -n "" ]; then make ; fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n bin || exit; done; \
fi
if [ -n "src doc test config" ]; then \
  ARGS="src doc test config"; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 -C $n doc || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n doc || exit; done; \
fi
sed -e "s/DOC/srcmatch/" -e "s/TYPE/user/" < \
/workspaces/xmm_sas/packages/sas/doc/lib/package.tex | /workspaces/xmm_sas/packages/sas/bin/texcombine | \
/workspaces/xmm_sas/packages/sas/bin/fixdoc -type=user srcmatch 3.25.1 srcmatch 22.0.0-ec4db76b0-20241104 > srcmatch.tex
latex srcmatch < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 )
bibtex srcmatch < /dev/null > makedoc.log
latex srcmatch < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 )
latex srcmatch < /dev/null > makedoc.log || ( cat makedoc.log ; exit 1 )
dvips -o srcmatch.ps srcmatch > makedoc.log 2>&1 || ( cat makedoc.log ; exit 1 )
dvipdf srcmatch > makedoc.log 2>&1 || ( cat makedoc.log ; continue ) 
gzip -f srcmatch.ps
SASRELDIR=../../.. ;\
export SASRELDIR ;\
latex2html -nouse_pdftex -init_file /workspaces/xmm_sas/packages/sas/doc/lib/latex2html.init srcmatch > /dev/null
/usr/bin/echo ""
mkpkgidx -t . > /dev/null || (rm -f srcmatch/index.pl ; exit 1)
pointer=srcmatch/ChangeLog ; \
target=../../../packages/srcmatch/ChangeLog ; \
if [ -f $target -a \( ! -h $pointer \) ] ; then \
  ln -s ../$target $pointer ; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n doc || exit; done; \
fi
rm srcmatch.tex
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n doc || exit; done; \
fi
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n doc || exit; done; \
fi
rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result ._.DS_Store .DS_Store
rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__
if [ -n "src doc test config" ]; then \
  ARGS="src doc test config"; \
  for n in $ARGS; do make PKGDIR=/workspaces/xmm_sas/packages/srcmatch VERSION=3.25.1 PACKAGE=srcmatch SO_VERSION=3.25 -C $n clean || exit; done; \
fi
rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result srcmatch_c.cc srcmatch_main.cc ._.DS_Store .DS_Store
rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n clean || exit; done; \
fi
rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result srcmatch.tex ._.DS_Store .DS_Store
rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n clean || exit; done; \
fi
rm -f test.fits test.html lockman_srcs.fits lockman_srcs.html *.ref sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out checkoutput m_*.cc test.result ._.DS_Store .DS_Store
rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n clean || exit; done; \
fi
rm -f sasdoc_version.tex *.g90 gmon.out dataconv.out *.o *.M *% *~ .#* *.idx *.dvi *.aux *.log *.bbl makedoc.log *.blg *.toc core core.* a.out m_*.cc test.result ._.DS_Store .DS_Store
rm -f -r Templates.DB autom4te.cache __combidir__* __pychache__
if [ -n "" ]; then \
  ARGS=""; \
  for n in $ARGS; do make -C $n clean || exit; done; \
fi