include ../BuildMgr/sophyamake.inc
 
all: $(SOPHYALIBP)libFitsIOServer.a
 
clean:
	 rm -f $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fitsautoreader.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)fitsxntuple.o
	rm -f $(SOPHYALIBP)libFitsIOServer.a
 
$(SOPHYALIBP)libFitsIOServer.a : $(SOPHYAOBJP)datacirclefits.o $(SOPHYAOBJP)fabtcolread.o $(SOPHYAOBJP)fabtwriter.o $(SOPHYAOBJP)fboloread.o $(SOPHYAOBJP)fbtntintf.o $(SOPHYAOBJP)fitsautoreader.o $(SOPHYAOBJP)fitsbntbllineRW.o $(SOPHYAOBJP)fitsfile.o $(SOPHYAOBJP)fitslocalmap.o $(SOPHYAOBJP)fitsntuple.o $(SOPHYAOBJP)fitsspherehealpix.o $(SOPHYAOBJP)fitsspherethetaphi.o $(SOPHYAOBJP)fitstarray.o $(SOPHYAOBJP)fitsxntuple.o
	$(AR) $(ARFLAGS) $@ $? 
	touch $(SOPHYAINCP)/SophyaConfInfo/libextsophya.objlist
 
$(SOPHYAOBJP)datacirclefits.o: datacirclefits.cc \
  $(SOPHYAINCP)sopnamsp.h datacirclefits.h \
  $(SOPHYAINCP)datacirclebase.h \
  $(SOPHYAINCP)circle.h \
  $(SOPHYAINCP)vector3d.h \
  $(SOPHYAINCP)longlat.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)utilgeom.h \
  $(SOPHYAINCP)unitvector.h \
  $(SOPHYAINCP)geometry.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  datacirclefits.cc
 
$(SOPHYAOBJP)fabtcolread.o: fabtcolread.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h fabtcolread.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)tvector.h \
  $(SOPHYAINCP)tmatrix.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)utilarr.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fabtcolread.cc
 
$(SOPHYAOBJP)fabtwriter.o: fabtwriter.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h fabtwriter.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)tvector.h \
  $(SOPHYAINCP)tmatrix.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)utilarr.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fabtwriter.cc
 
$(SOPHYAOBJP)fboloread.o: fboloread.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h fboloread.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)tvector.h \
  $(SOPHYAINCP)tmatrix.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)utilarr.h fabtcolread.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fboloread.cc
 
$(SOPHYAOBJP)fbtntintf.o: fbtntintf.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h fbtntintf.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)ntupintf.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fbtntintf.cc
 
$(SOPHYAOBJP)fitsautoreader.o: fitsautoreader.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)machdefs.h fitsautoreader.h \
  $(SOPHYAINCP)anydataobj.h fitsfile.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h fitstarray.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)utilarr.h fitsspherehealpix.h \
  $(SOPHYAINCP)spherehealpix.h \
  $(SOPHYAINCP)sphericalmap.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)pixelmap.h \
  $(SOPHYAINCP)spherepos.h \
  $(SOPHYAINCP)unitvector.h \
  $(SOPHYAINCP)vector3d.h \
  $(SOPHYAINCP)longlat.h \
  $(SOPHYAINCP)utilgeom.h \
  $(SOPHYAINCP)tvector.h \
  $(SOPHYAINCP)tmatrix.h \
  $(SOPHYAINCP)HEALPixUtils.h fitsntuple.h \
  $(SOPHYAINCP)ntuple.h \
  $(SOPHYAINCP)ntupintf.h fitsxntuple.h \
  $(SOPHYAINCP)xntuple.h fitslocalmap.h \
  $(SOPHYAINCP)localmap.h fbtntintf.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsautoreader.cc
 
$(SOPHYAOBJP)fitsbntbllineRW.o: fitsbntbllineRW.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)machdefs.h fitsbntbllineRW.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)mutyv.h fitsfile.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h \
  $(SOPHYAINCP)utils.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsbntbllineRW.cc
 
$(SOPHYAOBJP)fitsfile.o: fitsfile.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h fitsfile.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h \
  $(SOPHYAINCP)strutil.h fitsspherehealpix.h \
  $(SOPHYAINCP)spherehealpix.h \
  $(SOPHYAINCP)sphericalmap.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)pixelmap.h \
  $(SOPHYAINCP)spherepos.h \
  $(SOPHYAINCP)unitvector.h \
  $(SOPHYAINCP)vector3d.h \
  $(SOPHYAINCP)longlat.h \
  $(SOPHYAINCP)utilgeom.h \
  $(SOPHYAINCP)tvector.h \
  $(SOPHYAINCP)tmatrix.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)utilarr.h \
  $(SOPHYAINCP)HEALPixUtils.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsfile.cc
 
$(SOPHYAOBJP)fitslocalmap.o: fitslocalmap.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h fitslocalmap.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)localmap.h \
  $(SOPHYAINCP)pixelmap.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)spherepos.h \
  $(SOPHYAINCP)unitvector.h \
  $(SOPHYAINCP)vector3d.h \
  $(SOPHYAINCP)longlat.h \
  $(SOPHYAINCP)utilgeom.h \
  $(SOPHYAINCP)sphericalmap.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)tvector.h \
  $(SOPHYAINCP)tmatrix.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)utilarr.h fitsfile.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitslocalmap.cc
 
$(SOPHYAOBJP)fitsntuple.o: fitsntuple.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)machdefs.h fitsntuple.h \
  $(SOPHYAINCP)ntuple.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)ntupintf.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)mutyv.h fitsfile.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsntuple.cc
 
$(SOPHYAOBJP)fitsspherehealpix.o: fitsspherehealpix.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)machdefs.h fitsspherehealpix.h \
  $(SOPHYAINCP)spherehealpix.h \
  $(SOPHYAINCP)sphericalmap.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)pixelmap.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)spherepos.h \
  $(SOPHYAINCP)unitvector.h \
  $(SOPHYAINCP)vector3d.h \
  $(SOPHYAINCP)longlat.h \
  $(SOPHYAINCP)utilgeom.h \
  $(SOPHYAINCP)tvector.h \
  $(SOPHYAINCP)tmatrix.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)utilarr.h \
  $(SOPHYAINCP)HEALPixUtils.h fitsfile.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h fitstarray.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsspherehealpix.cc
 
$(SOPHYAOBJP)fitsspherethetaphi.o: fitsspherethetaphi.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)machdefs.h \
  fitsspherethetaphi.h \
  $(SOPHYAINCP)spherethetaphi.h \
  $(SOPHYAINCP)sphericalmap.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)pixelmap.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)spherepos.h \
  $(SOPHYAINCP)unitvector.h \
  $(SOPHYAINCP)vector3d.h \
  $(SOPHYAINCP)longlat.h \
  $(SOPHYAINCP)utilgeom.h \
  $(SOPHYAINCP)tvector.h \
  $(SOPHYAINCP)tmatrix.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)utilarr.h fitsfile.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h fitstarray.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsspherethetaphi.cc
 
$(SOPHYAOBJP)fitstarray.o: fitstarray.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pexceptions.h fitstarray.h \
  $(SOPHYAINCP)tarray.h \
  $(SOPHYAINCP)basarr.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)mutyv.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)utilarr.h fitsfile.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitstarray.cc
 
$(SOPHYAOBJP)fitsxntuple.o: fitsxntuple.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)pexceptions.h \
  $(SOPHYAINCP)machdefs.h fitsxntuple.h \
  $(SOPHYAINCP)xntuple.h \
  $(SOPHYAINCP)ntupintf.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)dvlist.h \
  $(SOPHYAINCP)objfio.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)mutyv.h fitsfile.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)FitsIO/fitsio.h \
  $(SOPHYAINCP)FitsIO/longnam.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  fitsxntuple.cc
 
