Commit 7658c8e8 authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Ajout programme de lecture de shpaefile, rdshp.cc , Reza 9/5/2022

parent 8a7bc7f3
include ../../SophyaLib/BuildMgr/sophyamake.inc
PROGS = $(SOPHYAEXEP)runcxx $(SOPHYAEXEP)scanppf $(SOPHYAEXEP)scanfits $(SOPHYAEXEP)tluc $(SOPHYAEXEP)scanh5
PROGS = $(SOPHYAEXEP)runcxx $(SOPHYAEXEP)scanppf $(SOPHYAEXEP)scanfits $(SOPHYAEXEP)tluc $(SOPHYAEXEP)scanh5 $(SOPHYAEXEP)rdshp
all: $(PROGS)
clean:
rm -f $(PROGS)
rm -f $(SOPHYAOBJP)scanh5.o $(SOPHYAOBJP)tluc.o $(SOPHYAOBJP)scanfits.o $(SOPHYAOBJP)scanppf.o $(SOPHYAOBJP)runcxx.o
rm -f $(SOPHYAOBJP)rdshp.o $(SOPHYAOBJP)scanh5.o $(SOPHYAOBJP)tluc.o $(SOPHYAOBJP)scanfits.o $(SOPHYAOBJP)scanppf.o $(SOPHYAOBJP)runcxx.o
runcxx: $(SOPHYAEXEP)runcxx
echo $@ " done"
......@@ -38,9 +38,56 @@ scanh5: $(SOPHYAEXEP)scanh5
$(SOPHYAEXEP)scanh5: $(SOPHYAOBJP)scanh5.o
$(CXXLINK) $(CXXTEMPFLG) -o $@ $(SOPHYAOBJP)scanh5.o $(SOPHYAEXTSLBLIST)
rdshp: $(SOPHYAEXEP)rdshp
echo $@ " done"
$(SOPHYAEXEP)rdshp: $(SOPHYAOBJP)rdshp.o
$(CXXLINK) $(CXXTEMPFLG) -o $@ $(SOPHYAOBJP)rdshp.o $(SOPHYAEXTSLBLIST)
$(SOPHYAOBJP)rdshp.o: rdshp.cc $(SOPHYAINCP)geoshape.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)longlat.h \
$(SOPHYAINCP)angle.h \
$(SOPHYAINCP)sunitpcst.h \
$(SOPHYAINCP)pqnumber.h \
$(SOPHYAINCP)pexceptions.h \
$(SOPHYAINCP)ppersist.h \
$(SOPHYAINCP)gnumd5.h \
$(SOPHYAINCP)ppfbinstream.h \
$(SOPHYAINCP)rawstream.h \
$(SOPHYAINCP)ppfnametag.h \
$(SOPHYAINCP)objfio.h \
$(SOPHYAINCP)anydataobj.h \
$(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)timestamp.h \
$(SOPHYAINCP)sopshapelintf.h \
$(SOPHYAINCP)shapefil.h \
$(SOPHYAINCP)datatable.h \
$(SOPHYAINCP)basedtable.h \
$(SOPHYAINCP)ntupintf.h \
$(SOPHYAINCP)segdatablock.h \
$(SOPHYAINCP)ppftpointerio.h \
$(SOPHYAINCP)thsafeop.h \
$(SOPHYAINCP)tvector.h \
$(SOPHYAINCP)tmatrix.h \
$(SOPHYAINCP)tarray.h \
$(SOPHYAINCP)basarr.h \
$(SOPHYAINCP)ndatablock.h \
$(SOPHYAINCP)utilarr.h \
$(SOPHYAINCP)randinterf.h \
$(SOPHYAINCP)tmatrix_tsnl.h \
$(SOPHYAINCP)tvector_tsnl.h \
$(SOPHYAINCP)fmlstr.h \
$(SOPHYAINCP)flagvector.h \
$(SOPHYAINCP)dtcellrowcont.h \
$(SOPHYAINCP)progbar.h \
$(SOPHYAINCP)ctimer.h \
$(SOPHYAINCP)projsph.h
$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ rdshp.cc
$(SOPHYAOBJP)runcxx.o: runcxx.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h \
$(SOPHYAINCP)tarrinit.h \
$(SOPHYAINCP)sophyainit.h \
$(SOPHYAINCP)array.h \
......@@ -55,36 +102,41 @@ $(SOPHYAOBJP)runcxx.o: runcxx.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)ppfbinstream.h \
$(SOPHYAINCP)rawstream.h \
$(SOPHYAINCP)ppfnametag.h \
$(SOPHYAINCP)objfio.h $(SOPHYAINCP)tarray.h \
$(SOPHYAINCP)basarr.h $(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)objfio.h \
$(SOPHYAINCP)tarray.h \
$(SOPHYAINCP)basarr.h \
$(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)timestamp.h \
$(SOPHYAINCP)dvlist.h $(SOPHYAINCP)utilarr.h \
$(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)utilarr.h \
$(SOPHYAINCP)randinterf.h \
$(SOPHYAINCP)tmatrix.h \
$(SOPHYAINCP)tmatrix_tsnl.h \
$(SOPHYAINCP)tvector.h \
$(SOPHYAINCP)tvector_tsnl.h \
$(SOPHYAINCP)matharr.h $(SOPHYAINCP)fioarr.h \
$(SOPHYAINCP)matharr.h \
$(SOPHYAINCP)fioarr.h \
$(SOPHYAINCP)sopemtx.h \
$(SOPHYAINCP)arrctcast.h \
$(SOPHYAINCP)spesqmtx.h \
$(SOPHYAINCP)diagmtx.h \
$(SOPHYAINCP)spesqmtx_tsnl.h \
$(SOPHYAINCP)trngmtx.h $(SOPHYAINCP)symmtx.h \
$(SOPHYAINCP)trngmtx.h \
$(SOPHYAINCP)symmtx.h \
$(SOPHYAINCP)sopmxprod.h \
$(SOPHYAINCP)sambainit.h \
$(SOPHYAINCP)skymapinit.h \
$(SOPHYAINCP)ntoolsinit.h \
$(SOPHYAINCP)skyinit.h \
$(SOPHYAINCP)cxxcmplnk.h \
$(SOPHYAINCP)pdlmgr.h $(SOPHYAINCP)timing.h
$(SOPHYAINCP)pdlmgr.h \
$(SOPHYAINCP)timing.h
$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ runcxx.cc
$(SOPHYAOBJP)scanfits.o: scanfits.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)fitsfile.h \
$(SOPHYAINCP)ndatablock.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h \
$(SOPHYAINCP)anydataobj.h \
$(SOPHYAINCP)sunitpcst.h \
$(SOPHYAINCP)pqnumber.h \
......@@ -94,7 +146,8 @@ $(SOPHYAOBJP)scanfits.o: scanfits.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)ppfbinstream.h \
$(SOPHYAINCP)rawstream.h \
$(SOPHYAINCP)ppfnametag.h \
$(SOPHYAINCP)objfio.h $(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)objfio.h \
$(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)timestamp.h \
$(SOPHYAINCP)fitsinoutfile.h \
......@@ -108,7 +161,6 @@ $(SOPHYAOBJP)scanfits.o: scanfits.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAINCP)shdf5utils.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h \
$(SOPHYAINCP)HDF5/hdf5.h \
$(SOPHYAINCP)pexceptions.h \
$(SOPHYAINCP)thsafeop.h \
......@@ -122,11 +174,13 @@ $(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAINCP)rawstream.h \
$(SOPHYAINCP)ppfnametag.h \
$(SOPHYAINCP)hdf5inoutfile.h \
$(SOPHYAINCP)dvlist.h $(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)hdf5nametag.h \
$(SOPHYAINCP)hdf5handler.h \
$(SOPHYAINCP)hdf5arrhand.h \
$(SOPHYAINCP)tarray.h $(SOPHYAINCP)basarr.h \
$(SOPHYAINCP)tarray.h \
$(SOPHYAINCP)basarr.h \
$(SOPHYAINCP)ndatablock.h \
$(SOPHYAINCP)sunitpcst.h \
$(SOPHYAINCP)pqnumber.h \
......@@ -136,6 +190,15 @@ $(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAINCP)tmatrix.h \
$(SOPHYAINCP)tmatrix_tsnl.h \
$(SOPHYAINCP)tvector_tsnl.h \
$(SOPHYAINCP)cimage.h \
$(SOPHYAINCP)imgcoordtr.h \
$(SOPHYAINCP)wcsdef.h \
$(SOPHYAINCP)longlat.h \
$(SOPHYAINCP)angle.h \
$(SOPHYAINCP)rotation3d.h \
$(SOPHYAINCP)vector3d.h \
$(SOPHYAINCP)imgsensresp.h \
$(SOPHYAINCP)imgphotband.h \
$(SOPHYAINCP)datatype.h \
$(SOPHYAINCP)hdf5ntuphand.h \
$(SOPHYAINCP)ntuple.h \
......@@ -148,7 +211,8 @@ $(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAINCP)basedtable.h \
$(SOPHYAINCP)flagvector.h \
$(SOPHYAINCP)dtcellrowcont.h \
$(SOPHYAINCP)progbar.h $(SOPHYAINCP)ctimer.h \
$(SOPHYAINCP)progbar.h \
$(SOPHYAINCP)ctimer.h \
$(SOPHYAINCP)hdf5manager.h \
$(SOPHYAINCP)hdf5init.h \
$(SOPHYAINCP)sophyainit.h \
......@@ -160,7 +224,6 @@ $(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAOBJP)scanppf.o: scanppf.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)ppersist.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h \
$(SOPHYAINCP)pexceptions.h \
$(SOPHYAINCP)gnumd5.h \
$(SOPHYAINCP)ppfbinstream.h \
......@@ -176,7 +239,7 @@ $(SOPHYAOBJP)scanppf.o: scanppf.cc $(SOPHYAINCP)sopnamsp.h \
$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ scanppf.cc
$(SOPHYAOBJP)tluc.o: tluc.cc $(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h $(SOPHYAINCP)luc.h \
$(SOPHYAINCP)luc.h \
$(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)pexceptions.h
$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ tluc.cc
......
......@@ -3,3 +3,4 @@ scanppf scanppf.o
scanfits scanfits.o
tluc tluc.o
scanh5 scanh5.o
rdshp rdshp.o
/*--- This code is part of the SOPHYA library ---
(C) Univ. Paris-Saclay (C) IJCLab-CNRS/IN2P3 (C) IRFU-CEA
R. Ansari (U.Paris-Saclay/IJCLab) , 2022
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <iostream>
#include "geoshape.h"
#include "sopshapelintf.h"
#include "skymapinit.h"
/*!
\ingroup PrgUtil
\file rdshp.cc
\brief \b rdshp: Read content of shapefile (geographic objects) and create GeoShapeCollection object
Scan HDF5 files and prints information on each Datast in file.
Uses the HDF5IOServer module.
\verbatim
sh> rdshp -h
\endverbatim
*/
using namespace std;
using namespace SOPHYA;
//------------------------------------------------------------------
//----- main program: reading of shapefiles (.shp)
//------------------------------------------------------------------
int main(int narg, char *arg[])
{
if ((narg < 2) || (strcmp(arg[1],"-h") == 0) ) {
cout << " Usage: rdshp [flags] inPath outPPFName [attname1 attname2 ...] \n"
<< " flags = -dbf -prt=lev -dt -nm=nameatt -id=idatt \n"<<endl;
return(0);
}
//-- decoding arguments
bool fgdbf=false;
bool fgdt=false;
int prtlev=0;
string inpath;
string outppf;
int aoff=0;
string nameatt, idatt;
for (int k=1; k<narg; k++) {
string aopt = arg[k];
if (aopt=="-dbf") {
fgdbf=true; aoff++;
}
else if (aopt=="-dt") {
fgdt=true; aoff++;
}
else if (aopt.substr(0,5)=="-prt=") {
prtlev=atoi(aopt.c_str()+5); aoff++;
}
else if (aopt.substr(0,4)=="-nm=") {
nameatt=aopt.c_str()+4; aoff++;
}
else if (aopt.substr(0,4)=="-id=") {
idatt=aopt.c_str()+4; aoff++;
}
else break;
}
if (narg<3+aoff) {
cout << " rdshp.cc / ERROR : Missing arguments - rdshp -h to get usage \n"<<endl;
return 2;
}
inpath=arg[1+aoff];
outppf=arg[2+aoff];
vector<string> attlist;
for (int k=3+aoff; k<narg; k++) attlist.push_back(arg[k]);
try {
SophyaInit();
cout << " ====== rdshp: InPath= " << inpath << " OutPPF="<<outppf
<<(fgdbf?" Read also attribute file (.dbf)":" No Atttribute file")<<" ==== " << endl;
SHPReader shprd(inpath, fgdbf);
shprd.SetPrintLevel(prtlev);
if ((nameatt.length()>0)||(idatt.length()>0))
shprd.setNameIdAtt(nameatt, idatt);
if (attlist.size()>0) shprd.setAttributeList(attlist);
DataTable dt;
GeoShapeCollection gsc;
POutPersist po(outppf);
if (fgdt) {
MollweideProjection mollproj(Angle(0.));
cout << " --- Creating DataTable from shapefile..."<<endl;
dt=shprd.FillDT(&mollproj);
po<<dt;
cout<<dt;
}
else {
cout << " --- Filling GeoShapeCollection from shapefile..."<<endl;
shprd.Fill(gsc);
gsc.print(cout,prtlev);
po<<gsc;
}
}
catch (PThrowable & exc) {
cerr << "rdshp: Catched Exception " << (string)typeid(exc).name()
<< "\n .... Msg= " << exc.Msg() << endl;
}
catch (...) {
cerr << " some other exception was caught ! " << endl;
}
}
include $(SOPHYABASE)/include/sophyamake.inc
PROGS = $(SOPHYAEXEP)runcxx $(SOPHYAEXEP)scanppf $(SOPHYAEXEP)scanfits $(SOPHYAEXEP)tluc $(SOPHYAEXEP)scanh5
PROGS = $(SOPHYAEXEP)runcxx $(SOPHYAEXEP)scanppf $(SOPHYAEXEP)scanfits $(SOPHYAEXEP)tluc $(SOPHYAEXEP)scanh5 $(SOPHYAEXEP)rdshp
all: $(PROGS)
clean:
rm -f $(PROGS)
rm -f $(SOPHYAOBJP)scanh5.o $(SOPHYAOBJP)tluc.o $(SOPHYAOBJP)scanfits.o $(SOPHYAOBJP)scanppf.o $(SOPHYAOBJP)runcxx.o
rm -f $(SOPHYAOBJP)rdshp.o $(SOPHYAOBJP)scanh5.o $(SOPHYAOBJP)tluc.o $(SOPHYAOBJP)scanfits.o $(SOPHYAOBJP)scanppf.o $(SOPHYAOBJP)runcxx.o
runcxx: $(SOPHYAEXEP)runcxx
echo $@ " done"
......@@ -38,9 +38,56 @@ scanh5: $(SOPHYAEXEP)scanh5
$(SOPHYAEXEP)scanh5: $(SOPHYAOBJP)scanh5.o
$(CXXLINK) $(CXXTEMPFLG) -o $@ $(SOPHYAOBJP)scanh5.o $(SOPHYAEXTSLBLIST)
rdshp: $(SOPHYAEXEP)rdshp
echo $@ " done"
$(SOPHYAEXEP)rdshp: $(SOPHYAOBJP)rdshp.o
$(CXXLINK) $(CXXTEMPFLG) -o $@ $(SOPHYAOBJP)rdshp.o $(SOPHYAEXTSLBLIST)
$(SOPHYAOBJP)rdshp.o: rdshp.cc $(SOPHYAINCP)geoshape.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)longlat.h \
$(SOPHYAINCP)angle.h \
$(SOPHYAINCP)sunitpcst.h \
$(SOPHYAINCP)pqnumber.h \
$(SOPHYAINCP)pexceptions.h \
$(SOPHYAINCP)ppersist.h \
$(SOPHYAINCP)gnumd5.h \
$(SOPHYAINCP)ppfbinstream.h \
$(SOPHYAINCP)rawstream.h \
$(SOPHYAINCP)ppfnametag.h \
$(SOPHYAINCP)objfio.h \
$(SOPHYAINCP)anydataobj.h \
$(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)timestamp.h \
$(SOPHYAINCP)sopshapelintf.h \
$(SOPHYAINCP)shapefil.h \
$(SOPHYAINCP)datatable.h \
$(SOPHYAINCP)basedtable.h \
$(SOPHYAINCP)ntupintf.h \
$(SOPHYAINCP)segdatablock.h \
$(SOPHYAINCP)ppftpointerio.h \
$(SOPHYAINCP)thsafeop.h \
$(SOPHYAINCP)tvector.h \
$(SOPHYAINCP)tmatrix.h \
$(SOPHYAINCP)tarray.h \
$(SOPHYAINCP)basarr.h \
$(SOPHYAINCP)ndatablock.h \
$(SOPHYAINCP)utilarr.h \
$(SOPHYAINCP)randinterf.h \
$(SOPHYAINCP)tmatrix_tsnl.h \
$(SOPHYAINCP)tvector_tsnl.h \
$(SOPHYAINCP)fmlstr.h \
$(SOPHYAINCP)flagvector.h \
$(SOPHYAINCP)dtcellrowcont.h \
$(SOPHYAINCP)progbar.h \
$(SOPHYAINCP)ctimer.h \
$(SOPHYAINCP)projsph.h
$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ rdshp.cc
$(SOPHYAOBJP)runcxx.o: runcxx.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h \
$(SOPHYAINCP)tarrinit.h \
$(SOPHYAINCP)sophyainit.h \
$(SOPHYAINCP)array.h \
......@@ -55,36 +102,41 @@ $(SOPHYAOBJP)runcxx.o: runcxx.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)ppfbinstream.h \
$(SOPHYAINCP)rawstream.h \
$(SOPHYAINCP)ppfnametag.h \
$(SOPHYAINCP)objfio.h $(SOPHYAINCP)tarray.h \
$(SOPHYAINCP)basarr.h $(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)objfio.h \
$(SOPHYAINCP)tarray.h \
$(SOPHYAINCP)basarr.h \
$(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)timestamp.h \
$(SOPHYAINCP)dvlist.h $(SOPHYAINCP)utilarr.h \
$(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)utilarr.h \
$(SOPHYAINCP)randinterf.h \
$(SOPHYAINCP)tmatrix.h \
$(SOPHYAINCP)tmatrix_tsnl.h \
$(SOPHYAINCP)tvector.h \
$(SOPHYAINCP)tvector_tsnl.h \
$(SOPHYAINCP)matharr.h $(SOPHYAINCP)fioarr.h \
$(SOPHYAINCP)matharr.h \
$(SOPHYAINCP)fioarr.h \
$(SOPHYAINCP)sopemtx.h \
$(SOPHYAINCP)arrctcast.h \
$(SOPHYAINCP)spesqmtx.h \
$(SOPHYAINCP)diagmtx.h \
$(SOPHYAINCP)spesqmtx_tsnl.h \
$(SOPHYAINCP)trngmtx.h $(SOPHYAINCP)symmtx.h \
$(SOPHYAINCP)trngmtx.h \
$(SOPHYAINCP)symmtx.h \
$(SOPHYAINCP)sopmxprod.h \
$(SOPHYAINCP)sambainit.h \
$(SOPHYAINCP)skymapinit.h \
$(SOPHYAINCP)ntoolsinit.h \
$(SOPHYAINCP)skyinit.h \
$(SOPHYAINCP)cxxcmplnk.h \
$(SOPHYAINCP)pdlmgr.h $(SOPHYAINCP)timing.h
$(SOPHYAINCP)pdlmgr.h \
$(SOPHYAINCP)timing.h
$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ runcxx.cc
$(SOPHYAOBJP)scanfits.o: scanfits.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)fitsfile.h \
$(SOPHYAINCP)ndatablock.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h \
$(SOPHYAINCP)anydataobj.h \
$(SOPHYAINCP)sunitpcst.h \
$(SOPHYAINCP)pqnumber.h \
......@@ -94,7 +146,8 @@ $(SOPHYAOBJP)scanfits.o: scanfits.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)ppfbinstream.h \
$(SOPHYAINCP)rawstream.h \
$(SOPHYAINCP)ppfnametag.h \
$(SOPHYAINCP)objfio.h $(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)objfio.h \
$(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)timestamp.h \
$(SOPHYAINCP)fitsinoutfile.h \
......@@ -108,7 +161,6 @@ $(SOPHYAOBJP)scanfits.o: scanfits.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAINCP)shdf5utils.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h \
$(SOPHYAINCP)HDF5/hdf5.h \
$(SOPHYAINCP)pexceptions.h \
$(SOPHYAINCP)thsafeop.h \
......@@ -122,11 +174,13 @@ $(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAINCP)rawstream.h \
$(SOPHYAINCP)ppfnametag.h \
$(SOPHYAINCP)hdf5inoutfile.h \
$(SOPHYAINCP)dvlist.h $(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)dvlist.h \
$(SOPHYAINCP)mutyv.h \
$(SOPHYAINCP)hdf5nametag.h \
$(SOPHYAINCP)hdf5handler.h \
$(SOPHYAINCP)hdf5arrhand.h \
$(SOPHYAINCP)tarray.h $(SOPHYAINCP)basarr.h \
$(SOPHYAINCP)tarray.h \
$(SOPHYAINCP)basarr.h \
$(SOPHYAINCP)ndatablock.h \
$(SOPHYAINCP)sunitpcst.h \
$(SOPHYAINCP)pqnumber.h \
......@@ -136,6 +190,15 @@ $(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAINCP)tmatrix.h \
$(SOPHYAINCP)tmatrix_tsnl.h \
$(SOPHYAINCP)tvector_tsnl.h \
$(SOPHYAINCP)cimage.h \
$(SOPHYAINCP)imgcoordtr.h \
$(SOPHYAINCP)wcsdef.h \
$(SOPHYAINCP)longlat.h \
$(SOPHYAINCP)angle.h \
$(SOPHYAINCP)rotation3d.h \
$(SOPHYAINCP)vector3d.h \
$(SOPHYAINCP)imgsensresp.h \
$(SOPHYAINCP)imgphotband.h \
$(SOPHYAINCP)datatype.h \
$(SOPHYAINCP)hdf5ntuphand.h \
$(SOPHYAINCP)ntuple.h \
......@@ -148,7 +211,8 @@ $(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAINCP)basedtable.h \
$(SOPHYAINCP)flagvector.h \
$(SOPHYAINCP)dtcellrowcont.h \
$(SOPHYAINCP)progbar.h $(SOPHYAINCP)ctimer.h \
$(SOPHYAINCP)progbar.h \
$(SOPHYAINCP)ctimer.h \
$(SOPHYAINCP)hdf5manager.h \
$(SOPHYAINCP)hdf5init.h \
$(SOPHYAINCP)sophyainit.h \
......@@ -160,7 +224,6 @@ $(SOPHYAOBJP)scanh5.o: scanh5.cc $(SOPHYAINCP)hdf5ioserver.h \
$(SOPHYAOBJP)scanppf.o: scanppf.cc $(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)ppersist.h \
$(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h \
$(SOPHYAINCP)pexceptions.h \
$(SOPHYAINCP)gnumd5.h \
$(SOPHYAINCP)ppfbinstream.h \
......@@ -176,7 +239,7 @@ $(SOPHYAOBJP)scanppf.o: scanppf.cc $(SOPHYAINCP)sopnamsp.h \
$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ scanppf.cc
$(SOPHYAOBJP)tluc.o: tluc.cc $(SOPHYAINCP)machdefs.h \
$(SOPHYAINCP)osx_values.h $(SOPHYAINCP)luc.h \
$(SOPHYAINCP)luc.h \
$(SOPHYAINCP)sopnamsp.h \
$(SOPHYAINCP)pexceptions.h
$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ tluc.cc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment