Index: trunk/SophyaPI/PIext/Makefile
===================================================================
--- trunk/SophyaPI/PIext/Makefile	(revision 1335)
+++ trunk/SophyaPI/PIext/Makefile	(revision 1374)
@@ -301,4 +301,26 @@
  $(INC)piperiodx.h \
  $(INC)periodic.h \
+ $(INC)fitsautoreader.h \
+ $(INC)fitsfile.h \
+ $(EXTINCPATH)FitsIO/fitsio.h \
+ $(EXTINCPATH)FitsIO/longnam.h \
+ $(INC)fitstarray.h \
+ $(INC)fitsspherehealpix.h \
+ $(INC)spherehealpix.h \
+ $(INC)sphericalmap.h \
+ $(INC)smathconst.h \
+ $(INC)pixelmap.h \
+ $(INC)spherepos.h \
+ $(INC)unitvector.h \
+ $(INC)vector3d.h \
+ $(INC)longlat.h \
+ $(INC)utilgeom.h \
+ $(INC)HEALPixUtils.h \
+ $(INC)fitsntuple.h \
+ $(INC)ntuple.h \
+ $(INC)fitsxntuple.h \
+ $(INC)xntuple.h \
+ $(INC)fitslocalmap.h \
+ $(INC)localmap.h \
  $(INC)pisurfdr.h pipodrw.h \
  $(INC)histos2.h \
@@ -460,5 +482,10 @@
  $(INC)objfitter.h \
  $(INC)cimage.h \
- $(INC)fioarr.h
+ $(INC)fioarr.h \
+ $(INC)fitsntuple.h \
+ $(INC)fitsfile.h \
+ $(EXTINCPATH)FitsIO/fitsio.h \
+ $(EXTINCPATH)FitsIO/longnam.h \
+ $(INC)fitsxntuple.h
 $(OBJ)nomimagadapter.o: nomimagadapter.cc \
  $(INC)machdefs.h \
@@ -509,5 +536,9 @@
  $(INC)histos.h \
  $(INC)histos2.h \
- $(INC)hisprof.h
+ $(INC)hisprof.h \
+ $(INC)fitstarray.h \
+ $(INC)fitsfile.h \
+ $(EXTINCPATH)FitsIO/fitsio.h \
+ $(EXTINCPATH)FitsIO/longnam.h
 $(OBJ)nomskymapadapter.o: nomskymapadapter.cc \
  $(INC)machdefs.h \
@@ -569,5 +600,10 @@
  $(INC)fiospherehealpix.h \
  $(INC)fiolocalmap.h pitvmaad.h \
- $(INC)complexios.h
+ $(INC)complexios.h \
+ $(INC)fitsspherehealpix.h \
+ $(INC)fitsfile.h \
+ $(EXTINCPATH)FitsIO/fitsio.h \
+ $(EXTINCPATH)FitsIO/longnam.h \
+ $(INC)fitslocalmap.h
 $(OBJ)nomspecrespadapter.o: nomspecrespadapter.cc \
  $(INC)machdefs.h nomspecrespadapter.h \
@@ -657,55 +693,5 @@
  $(INC)utils.h \
  $(INC)perrors.h \
- $(INC)fmath.h \
- $(INC)fioarr.h
-$(OBJ)nomtmatvecadapter.o: nomtmatvecadapter.cc \
- $(INC)machdefs.h \
- $(INC)datatype.h \
- $(INC)tvector.h \
- $(INC)tmatrix.h \
- $(INC)tarray.h \
- $(INC)basarr.h \
- $(INC)anydataobj.h \
- $(INC)mutyv.h \
- $(INC)dvlist.h \
- $(INC)objfio.h \
- $(INC)ppersist.h \
- $(INC)pexceptions.h \
- $(INC)gnumd5.h \
- $(INC)ndatablock.h \
- $(INC)utilarr.h \
- $(INC)objfitter.h \
- $(INC)cimage.h \
- $(INC)fioarr.h \
- $(INC)histos.h \
- $(INC)peida.h \
- $(INC)utils.h \
- $(INC)perrors.h \
- $(INC)fmath.h \
- $(INC)histos2.h \
- $(INC)hisprof.h \
- $(INC)generalfit.h \
- $(INC)generaldata.h \
- $(INC)ntupintf.h \
- $(INC)poly.h nomtmatvecadapter.h \
- nomgadapter.h $(INC)pidrawer.h \
- $(INC)pibwdggen.h \
- $(INC)pisysdep.h \
- $(INC)piwdgx.h \
- $(INC)piwdggen.h \
- $(INC)pimsghandler.h \
- $(INC)picolist.h \
- $(INC)picmap.h \
- $(INC)picmapx.h \
- $(INC)picmapgen.h \
- $(INC)pigraphx.h \
- $(INC)pigraphgen.h \
- $(INC)pifontx.h \
- $(INC)pifontgen.h \
- $(INC)pigraphuc.h \
- $(INC)pievthandler.h \
- $(INC)psfile.h \
- $(INC)parradapter.h \
- $(INC)lut.h \
+ $(INC)fmath.h pitvmaad.h \
  $(INC)piscdrawwdg.h \
  $(INC)pibwdgx.h \
@@ -716,5 +702,72 @@
  $(INC)piwindowgen.h \
  $(INC)picontainerx.h \
- $(INC)picontainergen.h pitvmaad.h
+ $(INC)picontainergen.h \
+ $(INC)fioarr.h \
+ $(INC)fitstarray.h \
+ $(INC)fitsfile.h \
+ $(EXTINCPATH)FitsIO/fitsio.h \
+ $(EXTINCPATH)FitsIO/longnam.h
+$(OBJ)nomtmatvecadapter.o: nomtmatvecadapter.cc \
+ $(INC)machdefs.h \
+ $(INC)datatype.h \
+ $(INC)tvector.h \
+ $(INC)tmatrix.h \
+ $(INC)tarray.h \
+ $(INC)basarr.h \
+ $(INC)anydataobj.h \
+ $(INC)mutyv.h \
+ $(INC)dvlist.h \
+ $(INC)objfio.h \
+ $(INC)ppersist.h \
+ $(INC)pexceptions.h \
+ $(INC)gnumd5.h \
+ $(INC)ndatablock.h \
+ $(INC)utilarr.h \
+ $(INC)objfitter.h \
+ $(INC)cimage.h \
+ $(INC)fioarr.h \
+ $(INC)histos.h \
+ $(INC)peida.h \
+ $(INC)utils.h \
+ $(INC)perrors.h \
+ $(INC)fmath.h \
+ $(INC)histos2.h \
+ $(INC)hisprof.h \
+ $(INC)generalfit.h \
+ $(INC)generaldata.h \
+ $(INC)ntupintf.h \
+ $(INC)poly.h nomtmatvecadapter.h \
+ nomgadapter.h $(INC)pidrawer.h \
+ $(INC)pibwdggen.h \
+ $(INC)pisysdep.h \
+ $(INC)piwdgx.h \
+ $(INC)piwdggen.h \
+ $(INC)pimsghandler.h \
+ $(INC)picolist.h \
+ $(INC)picmap.h \
+ $(INC)picmapx.h \
+ $(INC)picmapgen.h \
+ $(INC)pigraphx.h \
+ $(INC)pigraphgen.h \
+ $(INC)pifontx.h \
+ $(INC)pifontgen.h \
+ $(INC)pigraphuc.h \
+ $(INC)pievthandler.h \
+ $(INC)psfile.h \
+ $(INC)parradapter.h \
+ $(INC)lut.h \
+ $(INC)piscdrawwdg.h \
+ $(INC)pibwdgx.h \
+ $(INC)pigraphps.h \
+ $(INC)pistdwdgx.h \
+ $(INC)pistdwdggen.h \
+ $(INC)piwindowx.h \
+ $(INC)piwindowgen.h \
+ $(INC)picontainerx.h \
+ $(INC)picontainergen.h pitvmaad.h \
+ $(INC)fitstarray.h \
+ $(INC)fitsfile.h \
+ $(EXTINCPATH)FitsIO/fitsio.h \
+ $(EXTINCPATH)FitsIO/longnam.h
 $(OBJ)pawexecut.o: pawexecut.cc $(INC)strutil.h \
  $(INC)histos.h \
