include ../Mgr/Makefile.h
 
all: $(LIB)libFitsIOServer.a
clean:
	rm -f $(OBJ)fitsautoreader.o $(OBJ)fitsbntbllineRW.o $(OBJ)fitsfile.o $(OBJ)fitslocalmap.o $(OBJ)fitsntuple.o $(OBJ)fitsspherehealpix.o $(OBJ)fitstarray.o $(OBJ)fitsxntuple.o
	rm -f $(LIB)libFitsIOServer.a
$(LIB)libFitsIOServer.a : $(OBJ)fitsautoreader.o $(OBJ)fitsbntbllineRW.o $(OBJ)fitsfile.o $(OBJ)fitslocalmap.o $(OBJ)fitsntuple.o $(OBJ)fitsspherehealpix.o $(OBJ)fitstarray.o $(OBJ)fitsxntuple.o
	$(ARCXX) $(ARCXXFLAGS) $@ $?
ifeq ($(CXX),cxx)
	$(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -o $(OBJ)xx.x -Hf
endif 
 
$(OBJ)fitsautoreader.o: fitsautoreader.cc \
 $(INC)pexceptions.h \
 $(INC)machdefs.h fitsautoreader.h \
 $(INC)anydataobj.h fitsfile.h \
 $(INC)ndatablock.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)mutyv.h \
 $(EXTINCPATH)FitsIO/fitsio.h \
 $(EXTINCPATH)FitsIO/longnam.h fitstarray.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)utilarr.h 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)tvector.h \
 $(INC)tmatrix.h \
 $(INC)HEALPixUtils.h fitsntuple.h \
 $(INC)ntuple.h \
 $(INC)ntupintf.h fitsxntuple.h \
 $(INC)xntuple.h fitslocalmap.h \
 $(INC)localmap.h
$(OBJ)fitsbntbllineRW.o: fitsbntbllineRW.cc \
 $(INC)pexceptions.h \
 $(INC)machdefs.h fitsbntbllineRW.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)mutyv.h fitsfile.h \
 $(INC)ndatablock.h \
 $(EXTINCPATH)FitsIO/fitsio.h \
 $(EXTINCPATH)FitsIO/longnam.h \
 $(INC)utils.h
$(OBJ)fitsfile.o: fitsfile.cc $(INC)machdefs.h \
 fitsfile.h $(INC)ndatablock.h \
 $(INC)anydataobj.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.h \
 $(INC)mutyv.h \
 $(EXTINCPATH)FitsIO/fitsio.h \
 $(EXTINCPATH)FitsIO/longnam.h \
 $(INC)strutil.h 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)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)utilarr.h \
 $(INC)HEALPixUtils.h
$(OBJ)fitslocalmap.o: fitslocalmap.cc \
 $(INC)machdefs.h fitslocalmap.h \
 $(INC)pexceptions.h \
 $(INC)localmap.h \
 $(INC)pixelmap.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)mutyv.h \
 $(INC)spherepos.h \
 $(INC)unitvector.h \
 $(INC)vector3d.h \
 $(INC)longlat.h \
 $(INC)utilgeom.h \
 $(INC)sphericalmap.h \
 $(INC)smathconst.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h fitsfile.h \
 $(EXTINCPATH)FitsIO/fitsio.h \
 $(EXTINCPATH)FitsIO/longnam.h
$(OBJ)fitsntuple.o: fitsntuple.cc \
 $(INC)pexceptions.h \
 $(INC)machdefs.h fitsntuple.h \
 $(INC)ntuple.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)ntupintf.h \
 $(INC)dvlist.h \
 $(INC)mutyv.h fitsfile.h \
 $(INC)ndatablock.h \
 $(EXTINCPATH)FitsIO/fitsio.h \
 $(EXTINCPATH)FitsIO/longnam.h
$(OBJ)fitsspherehealpix.o: fitsspherehealpix.cc \
 $(INC)pexceptions.h \
 $(INC)machdefs.h fitsspherehealpix.h \
 $(INC)spherehealpix.h \
 $(INC)sphericalmap.h \
 $(INC)smathconst.h \
 $(INC)pixelmap.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)mutyv.h \
 $(INC)spherepos.h \
 $(INC)unitvector.h \
 $(INC)vector3d.h \
 $(INC)longlat.h \
 $(INC)utilgeom.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h \
 $(INC)HEALPixUtils.h fitsfile.h \
 $(EXTINCPATH)FitsIO/fitsio.h \
 $(EXTINCPATH)FitsIO/longnam.h fitstarray.h
$(OBJ)fitstarray.o: fitstarray.cc $(INC)machdefs.h \
 $(INC)pexceptions.h fitstarray.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)anydataobj.h \
 $(INC)mutyv.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h fitsfile.h \
 $(EXTINCPATH)FitsIO/fitsio.h \
 $(EXTINCPATH)FitsIO/longnam.h
$(OBJ)fitsxntuple.o: fitsxntuple.cc \
 $(INC)pexceptions.h \
 $(INC)machdefs.h fitsxntuple.h \
 $(INC)xntuple.h \
 $(INC)ntupintf.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)mutyv.h fitsfile.h \
 $(INC)ndatablock.h \
 $(EXTINCPATH)FitsIO/fitsio.h \
 $(EXTINCPATH)FitsIO/longnam.h
