MODULENAME := PI
include ../Mgr/Makefile.h
 
all: $(LIB)libPI.a
$(LIB)libPI.a : $(OBJ)lut.o $(OBJ)piapplgen.o $(OBJ)piapplx.o $(OBJ)pibwdggen.o $(OBJ)pibwdgx.o $(OBJ)picmap.o $(OBJ)picmapgen.o $(OBJ)picmapx.o $(OBJ)picons.o $(OBJ)picontainergen.o $(OBJ)picontainerx.o $(OBJ)pidrawer.o $(OBJ)pidrawwin.o $(OBJ)pifilechogen.o $(OBJ)pifilechox.o $(OBJ)pigraphgen.o $(OBJ)pigraphps.o $(OBJ)pigraphuc.o $(OBJ)pigraphx.o $(OBJ)pihisto.o $(OBJ)pihisto2d.o $(OBJ)piimage.o $(OBJ)pilistgen.o $(OBJ)pilistx.o $(OBJ)pimenubargen.o $(OBJ)pimenubarx.o $(OBJ)pimenugen.o $(OBJ)pimenux.o $(OBJ)pimsghandler.o $(OBJ)pintuple.o $(OBJ)pioptmenugen.o $(OBJ)pioptmenux.o $(OBJ)piperiodx.o $(OBJ)pipixmapgen.o $(OBJ)pipixmapx.o $(OBJ)piscdrawwdg.o $(OBJ)pistdwdggen.o $(OBJ)pistdwdgx.o $(OBJ)pistlist.o $(OBJ)piup.o $(OBJ)piwdggen.o $(OBJ)piwdgx.o $(OBJ)piwindowgen.o $(OBJ)piwindowx.o $(OBJ)pixtbase.o $(OBJ)psfile.o
	$(AR) $(ARFLAGS)  $@ $? 
ifeq ($(CXX),cxx)
	$(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lPI -lOutils++ -lImages++ -lStarReco++ -o $(OBJ)xx.x -Hf
	$(AR) $(ARFLAGS)  $@ $(REPM)/*.o 
endif 
 
$(OBJ)lut.o: lut.cc $(INC)defs.h lut.h
$(OBJ)piapplgen.o: piapplgen.cc piapplgen.h pimsghandler.h pisysdep.h \
 picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimenubarx.h \
 pimenubargen.h pimenux.h pimenugen.h
$(OBJ)piapplx.o: piapplx.cc piapplx.h piapplgen.h pimsghandler.h pisysdep.h \
 picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimenubarx.h \
 pimenubargen.h pimenux.h pimenugen.h
$(OBJ)pibwdggen.o: pibwdggen.cc pibwdggen.h pisysdep.h piwdgx.h piwdggen.h \
 pimsghandler.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
 psfile.h $(INC)defs.h pidrawer.h pigraphuc.h \
 pigraphps.h
$(OBJ)pibwdgx.o: pibwdgx.cc pixtbaseP.h pibwdgx.h pisysdep.h pibwdggen.h \
 piwdgx.h piwdggen.h pimsghandler.h picmap.h picmapx.h picmapgen.h \
 pigraphx.h pigraphgen.h psfile.h $(INC)defs.h \
 pigraphps.h pixtbase.h
$(OBJ)picmap.o: picmap.cc picmap.h pisysdep.h picmapx.h picmapgen.h
$(OBJ)picmapgen.o: picmapgen.cc picmapgen.h pisysdep.h picmapx.h picmap.h
$(OBJ)picmapx.o: picmapx.cc piwdgx.h piwdggen.h pimsghandler.h picmapx.h \
 picmapgen.h pisysdep.h
$(OBJ)picons.o: picons.cc picons.h pisysdep.h pistdwdgx.h pistdwdggen.h \
 piwdgx.h piwdggen.h pimsghandler.h picontainerx.h picontainergen.h \
 pibwdgx.h pibwdggen.h picmap.h picmapx.h picmapgen.h pigraphx.h \
 pigraphgen.h psfile.h $(INC)defs.h \
 pigraphps.h
$(OBJ)picontainergen.o: picontainergen.cc picontainergen.h pisysdep.h \
 piwdgx.h piwdggen.h pimsghandler.h
$(OBJ)picontainerx.o: picontainerx.cc picontainerx.h pisysdep.h \
 picontainergen.h piwdgx.h piwdggen.h pimsghandler.h
$(OBJ)pidrawer.o: pidrawer.cc pidrawer.h pibwdggen.h pisysdep.h piwdgx.h \
 piwdggen.h pimsghandler.h picmap.h picmapx.h picmapgen.h pigraphx.h \
 pigraphgen.h psfile.h $(INC)defs.h \
 pigraphuc.h
$(OBJ)pidrawwin.o: pidrawwin.cc pidrawwin.h pisysdep.h piwindowx.h \
 piwindowgen.h picontainerx.h picontainergen.h piwdgx.h piwdggen.h \
 pimsghandler.h piscdrawwdg.h pibwdgx.h pibwdggen.h picmap.h picmapx.h \
 picmapgen.h pigraphx.h pigraphgen.h psfile.h \
 $(INC)defs.h pigraphps.h pistdwdgx.h \
 pistdwdggen.h pidrawer.h pigraphuc.h
$(OBJ)pifilechogen.o: pifilechogen.cc pifilechogen.h pisysdep.h piwdgx.h \
 piwdggen.h pimsghandler.h
$(OBJ)pifilechox.o: pifilechox.cc pisysdep.h pifilechox.h pifilechogen.h \
 piwdgx.h piwdggen.h pimsghandler.h piwindowx.h piwindowgen.h \
 picontainerx.h picontainergen.h
$(OBJ)pigraphgen.o: pigraphgen.cc pigraphgen.h pisysdep.h piwdgx.h \
 piwdggen.h pimsghandler.h picmap.h picmapx.h picmapgen.h
$(OBJ)pigraphps.o: pigraphps.cc pigraphps.h pisysdep.h pigraphgen.h piwdgx.h \
 piwdggen.h pimsghandler.h picmap.h picmapx.h picmapgen.h psfile.h \
 $(INC)defs.h
$(OBJ)pigraphuc.o: pigraphuc.cc pigraphuc.h pisysdep.h pigraphgen.h piwdgx.h \
 piwdggen.h pimsghandler.h picmap.h picmapx.h picmapgen.h
$(OBJ)pigraphx.o: pigraphx.cc pigraphx.h pisysdep.h pigraphgen.h piwdgx.h \
 piwdggen.h pimsghandler.h picmap.h picmapx.h picmapgen.h
$(OBJ)pihisto.o: pihisto.cc pihisto.h $(INC)histos.h \
 $(INC)peida.h \
 $(INC)defs.h \
 $(INC)utils.h \
 $(INC)machine.h \
 $(INC)perrors.h \
 $(INC)exceptions.h \
 $(INC)peidainit.h \
 $(INC)fmath.h \
 $(INC)cvector.h \
 $(INC)matrix.h \
 $(INC)ppersist.h \
 $(INC)pclassids.h piscdrawwdg.h pisysdep.h \
 pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picmap.h \
 picmapx.h picmapgen.h pigraphx.h pigraphgen.h psfile.h pigraphps.h \
 pistdwdgx.h pistdwdggen.h piwindowx.h piwindowgen.h picontainerx.h \
 picontainergen.h pidrawer.h pigraphuc.h
$(OBJ)pihisto2d.o: pihisto2d.cc pihisto2d.h \
 $(INC)histos2.h \
 $(INC)peida.h \
 $(INC)defs.h \
 $(INC)utils.h \
 $(INC)machine.h \
 $(INC)perrors.h \
 $(INC)exceptions.h \
 $(INC)peidainit.h \
 $(INC)fmath.h \
 $(INC)histos.h \
 $(INC)cvector.h \
 $(INC)matrix.h \
 $(INC)ppersist.h \
 $(INC)pclassids.h piscdrawwdg.h pisysdep.h \
 pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picmap.h \
 picmapx.h picmapgen.h pigraphx.h pigraphgen.h psfile.h pigraphps.h \
 pistdwdgx.h pistdwdggen.h piwindowx.h piwindowgen.h picontainerx.h \
 picontainergen.h pidrawer.h pigraphuc.h
$(OBJ)piimage.o: piimage.cc piimage.h $(INC)cimage.h \
 $(INC)rzimage.h \
 $(INC)rzvect.h \
 $(INC)machine.h \
 $(INC)defs.h \
 $(INC)exceptions.h \
 $(INC)peidainit.h \
 $(INC)perrors.h \
 $(INC)imaginit.h \
 $(INC)datatypes.h \
 $(INC)ppersist.h \
 $(INC)pclassids.h \
 $(INC)dvlist.h lut.h pisysdep.h pipixmapx.h \
 pipixmapgen.h pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h \
 pimsghandler.h picmap.h picmapx.h picmapgen.h pigraphx.h pigraphgen.h \
 psfile.h pigraphps.h pistdwdgx.h pistdwdggen.h piwindowx.h \
 piwindowgen.h picontainerx.h picontainergen.h \
 $(INC)imageop.h \
 $(INC)fitsimage.h \
 $(INC)fitsheader.h \
 $(INC)erosio.h \
 $(INC)fitskeys.h \
 $(INC)erostape.h \
 $(INC)strutil.h \
 $(INC)ptrarray.h \
 $(INC)voidptrarray.h \
 $(INC)basearray.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)fmath.h \
 $(INC)array.h \
 $(INC)lockfile.h \
 $(INC)erostarfile.h \
 $(INC)xstrstream.h \
 $(INC)dates.h \
 $(INC)tarlib.h
$(OBJ)pilistgen.o: pilistgen.cc pilistgen.h pisysdep.h piwdgx.h piwdggen.h \
 pimsghandler.h
$(OBJ)pilistx.o: pilistx.cc pilistx.h pilistgen.h pisysdep.h piwdgx.h \
 piwdggen.h pimsghandler.h picontainerx.h picontainergen.h
$(OBJ)pimenubargen.o: pimenubargen.cc pimenubargen.h pisysdep.h pimenux.h \
 pimenugen.h piwdgx.h piwdggen.h pimsghandler.h piapplx.h piapplgen.h \
 picontainerx.h picontainergen.h pimenubarx.h
$(OBJ)pimenubarx.o: pimenubarx.cc pimenubarx.h pimenubargen.h pisysdep.h \
 pimenux.h pimenugen.h piwdgx.h piwdggen.h pimsghandler.h piapplx.h \
 piapplgen.h picontainerx.h picontainergen.h
$(OBJ)pimenugen.o: pimenugen.cc pimenugen.h pisysdep.h piwdgx.h piwdggen.h \
 pimsghandler.h
$(OBJ)pimenux.o: pimenux.cc pimenux.h pimenugen.h pisysdep.h piwdgx.h \
 piwdggen.h pimsghandler.h
$(OBJ)pimsghandler.o: pimsghandler.cc pimsghandler.h
$(OBJ)pintuple.o: pintuple.cc pintuple.h \
 $(INC)ntuple.h \
 $(INC)ppersist.h \
 $(INC)defs.h \
 $(INC)machine.h \
 $(INC)perrors.h \
 $(INC)exceptions.h \
 $(INC)peidainit.h \
 $(INC)pclassids.h piscdrawwdg.h pisysdep.h \
 pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picmap.h \
 picmapx.h picmapgen.h pigraphx.h pigraphgen.h psfile.h pigraphps.h \
 pistdwdgx.h pistdwdggen.h piwindowx.h piwindowgen.h picontainerx.h \
 picontainergen.h pidrawer.h pigraphuc.h
$(OBJ)pioptmenugen.o: pioptmenugen.cc pioptmenugen.h pisysdep.h \
 picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimsghandler.h \
 pimenux.h pimenugen.h
$(OBJ)pioptmenux.o: pioptmenux.cc pisysdep.h pioptmenux.h pioptmenugen.h \
 picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimsghandler.h \
 pimenux.h pimenugen.h pistdwdgx.h pistdwdggen.h
$(OBJ)piperiodx.o: piperiodx.cc piperiodx.h \
 $(INC)periodic.h \
 $(INC)defs.h
$(OBJ)pipixmapgen.o: pipixmapgen.cc pipixmapgen.h pisysdep.h pibwdgx.h \
 pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picmap.h picmapx.h \
 picmapgen.h pigraphx.h pigraphgen.h psfile.h \
 $(INC)defs.h pigraphps.h
$(OBJ)pipixmapx.o: pipixmapx.cc pipixmapx.h pipixmapgen.h pisysdep.h \
 pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picmap.h \
 picmapx.h picmapgen.h pigraphx.h pigraphgen.h psfile.h \
 $(INC)defs.h pigraphps.h
$(OBJ)piscdrawwdg.o: piscdrawwdg.cc \
 $(INC)generalfit.h \
 $(INC)exceptions.h \
 $(INC)defs.h \
 $(INC)peidainit.h \
 $(INC)matrix.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)machine.h \
 $(INC)perrors.h \
 $(INC)fmath.h \
 $(INC)ppersist.h \
 $(INC)pclassids.h \
 $(INC)cvector.h piscdrawwdg.h pisysdep.h \
 pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picmap.h \
 picmapx.h picmapgen.h pigraphx.h pigraphgen.h psfile.h pigraphps.h \
 pistdwdgx.h pistdwdggen.h piwindowx.h piwindowgen.h picontainerx.h \
 picontainergen.h pidrawer.h pigraphuc.h
$(OBJ)pistdwdggen.o: pistdwdggen.cc pistdwdggen.h pisysdep.h piwdgx.h \
 piwdggen.h pimsghandler.h
$(OBJ)pistdwdgx.o: pistdwdgx.cc pisysdep.h pistdwdgx.h pistdwdggen.h \
 piwdgx.h piwdggen.h pimsghandler.h
$(OBJ)pistlist.o: pistlist.cc pistlist.h \
 $(INC)stlist.h \
 $(INC)machine.h \
 $(INC)defs.h \
 $(INC)exceptions.h \
 $(INC)peidainit.h \
 $(INC)perrors.h \
 $(INC)dynccd.h \
 $(INC)ppersist.h \
 $(INC)pclassids.h \
 $(INC)imaginit.h \
 $(INC)star.h \
 $(INC)strecinit.h \
 $(INC)starmacro.h \
 $(INC)psf.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)fmath.h \
 $(INC)cimage.h \
 $(INC)rzimage.h \
 $(INC)rzvect.h \
 $(INC)datatypes.h \
 $(INC)dvlist.h \
 $(INC)fct1dfit.h \
 $(INC)generalfit.h \
 $(INC)matrix.h \
 $(INC)cvector.h \
 $(INC)fct2dfit.h \
 $(INC)pixelmap.h \
 $(INC)transfo.h \
 $(INC)poly.h \
 $(INC)zfidu.h piscdrawwdg.h pisysdep.h \
 pibwdgx.h pibwdggen.h piwdgx.h piwdggen.h pimsghandler.h picmap.h \
 picmapx.h picmapgen.h pigraphx.h pigraphgen.h psfile.h pigraphps.h \
 pistdwdgx.h pistdwdggen.h piwindowx.h piwindowgen.h picontainerx.h \
 picontainergen.h pidrawer.h pigraphuc.h
$(OBJ)piup.o: piup.cc $(INC)ctimer.h \
 $(INC)peida.h \
 $(INC)defs.h \
 $(INC)utils.h \
 $(INC)machine.h \
 $(INC)perrors.h \
 $(INC)exceptions.h \
 $(INC)peidainit.h \
 $(INC)fmath.h \
 $(INC)imageop.h \
 $(INC)cimage.h \
 $(INC)rzimage.h \
 $(INC)rzvect.h \
 $(INC)imaginit.h \
 $(INC)datatypes.h \
 $(INC)ppersist.h \
 $(INC)pclassids.h \
 $(INC)dvlist.h \
 $(INC)fitsimage.h \
 $(INC)fitsheader.h \
 $(INC)erosio.h \
 $(INC)fitskeys.h \
 $(INC)erostape.h \
 $(INC)strutil.h \
 $(INC)ptrarray.h \
 $(INC)voidptrarray.h \
 $(INC)basearray.h \
 $(INC)array.h \
 $(INC)lockfile.h \
 $(INC)erostarfile.h \
 $(INC)xstrstream.h \
 $(INC)dates.h \
 $(INC)tarlib.h piup.h
$(OBJ)piwdggen.o: piwdggen.cc piwdggen.h pimsghandler.h picontainergen.h \
 pisysdep.h piwdgx.h psfile.h $(INC)defs.h \
 pigraphgen.h picmap.h picmapx.h picmapgen.h
$(OBJ)piwdgx.o: piwdgx.cc piwdgx.h piwdggen.h pimsghandler.h picontainerx.h \
 pisysdep.h picontainergen.h
$(OBJ)piwindowgen.o: piwindowgen.cc piwindowgen.h pisysdep.h picontainerx.h \
 picontainergen.h piwdgx.h piwdggen.h pimsghandler.h psfile.h \
 $(INC)defs.h pigraphgen.h picmap.h picmapx.h \
 picmapgen.h
$(OBJ)piwindowx.o: piwindowx.cc piwindowx.h piwindowgen.h pisysdep.h \
 picontainerx.h picontainergen.h piwdgx.h piwdggen.h pimsghandler.h
$(OBJ)pixtbase.o: pixtbase.cc pixtbaseP.h pibwdgx.h pisysdep.h pibwdggen.h \
 piwdgx.h piwdggen.h pimsghandler.h picmap.h picmapx.h picmapgen.h \
 pigraphx.h pigraphgen.h psfile.h $(INC)defs.h \
 pigraphps.h pixtbase.h
$(OBJ)psfile.o: psfile.cc psfile.h $(INC)defs.h \
 pisysdep.h pigraphgen.h piwdgx.h piwdggen.h pimsghandler.h picmap.h \
 picmapx.h picmapgen.h
