include ../BuildMgr/sophyamake.inc
 
all: $(SOPHYALIBP)libSamba.a
 
clean:
	 rm -f $(SOPHYAOBJP)alm.o $(SOPHYAOBJP)bruit.o $(SOPHYAOBJP)circle.o $(SOPHYAOBJP)datacirclefake.o $(SOPHYAOBJP)harmspher.o $(SOPHYAOBJP)lambdaBuilder.o $(SOPHYAOBJP)mlobe.o $(SOPHYAOBJP)sambainit.o $(SOPHYAOBJP)scan.o $(SOPHYAOBJP)sphericaltransformserver.o
	rm -f $(SOPHYALIBP)libSamba.a
 
$(SOPHYALIBP)libSamba.a : $(SOPHYAOBJP)alm.o $(SOPHYAOBJP)bruit.o $(SOPHYAOBJP)circle.o $(SOPHYAOBJP)datacirclefake.o $(SOPHYAOBJP)harmspher.o $(SOPHYAOBJP)lambdaBuilder.o $(SOPHYAOBJP)mlobe.o $(SOPHYAOBJP)sambainit.o $(SOPHYAOBJP)scan.o $(SOPHYAOBJP)sphericaltransformserver.o
	$(AR) $(ARFLAGS) $@ $? 
	touch $(SOPHYAINCP)/SophyaConfInfo/libsophya.objlist
 
$(SOPHYAOBJP)alm.o: alm.cc $(SOPHYAINCP)sopnamsp.h alm.h \
  $(SOPHYAINCP)nbrandom.h \
  $(SOPHYAINCP)srandgen.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)nbmath.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)triangmtx.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)anydataobj.h \
  $(SOPHYAINCP)pexceptions.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)utilarr.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  alm.cc
 
$(SOPHYAOBJP)bruit.o: bruit.cc $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)fmath.h bruit.h \
  $(SOPHYAINCP)nbrandom.h \
  $(SOPHYAINCP)srandgen.h \
  $(SOPHYAINCP)machdefs.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  bruit.cc
 
$(SOPHYAOBJP)circle.o: circle.cc $(SOPHYAINCP)sopnamsp.h \
  circle.h $(SOPHYAINCP)vector3d.h \
  $(SOPHYAINCP)longlat.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)utilgeom.h \
  $(SOPHYAINCP)unitvector.h geometry.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  circle.cc
 
$(SOPHYAOBJP)datacirclefake.o: datacirclefake.cc \
  $(SOPHYAINCP)sopnamsp.h datacirclefake.h \
  datacirclebase.h circle.h \
  $(SOPHYAINCP)vector3d.h \
  $(SOPHYAINCP)longlat.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)utilgeom.h \
  $(SOPHYAINCP)unitvector.h geometry.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  datacirclefake.cc
 
$(SOPHYAOBJP)harmspher.o: harmspher.cc \
  $(SOPHYAINCP)machdefs.h harmspher.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  harmspher.cc
 
$(SOPHYAOBJP)lambdaBuilder.o: lambdaBuilder.cc \
  $(SOPHYAINCP)sopnamsp.h lambdaBuilder.h \
  $(SOPHYAINCP)ndatablock.h \
  $(SOPHYAINCP)machdefs.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)pexceptions.h \
  $(SOPHYAINCP)gnumd5.h \
  $(SOPHYAINCP)ppfbinstream.h \
  $(SOPHYAINCP)rawstream.h \
  $(SOPHYAINCP)ppfnametag.h \
  $(SOPHYAINCP)utilarr.h alm.h \
  $(SOPHYAINCP)nbrandom.h \
  $(SOPHYAINCP)srandgen.h \
  $(SOPHYAINCP)nbmath.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)triangmtx.h \
  $(SOPHYAINCP)nbconst.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  lambdaBuilder.cc
 
$(SOPHYAOBJP)mlobe.o: mlobe.cc $(SOPHYAINCP)sopnamsp.h \
  mlobe.h $(SOPHYAINCP)sphericalmap.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)pixelmap.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)pexceptions.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)timing.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  mlobe.cc
 
$(SOPHYAOBJP)sambainit.o: sambainit.cc \
  $(SOPHYAINCP)sopnamsp.h sambainit.h \
  $(SOPHYAINCP)skymapinit.h \
  $(SOPHYAINCP)sophyainit.h \
  $(SOPHYAINCP)machdefs.h \
  $(SOPHYAINCP)ntoolsinit.h \
  $(SOPHYAINCP)tarrinit.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  sambainit.cc
 
$(SOPHYAOBJP)scan.o: scan.cc $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h scan.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)pexceptions.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)ndatablock.h \
  $(SOPHYAINCP)fiondblock.h \
  $(SOPHYAINCP)smathconst.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  scan.cc
 
$(SOPHYAOBJP)sphericaltransformserver.o: sphericaltransformserver.cc \
  $(SOPHYAINCP)sopnamsp.h \
  $(SOPHYAINCP)machdefs.h \
  sphericaltransformserver.h \
  $(SOPHYAINCP)sphericalmap.h \
  $(SOPHYAINCP)smathconst.h \
  $(SOPHYAINCP)pixelmap.h \
  $(SOPHYAINCP)ppersist.h \
  $(SOPHYAINCP)pexceptions.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)fftservintf.h \
  $(SOPHYAINCP)fftpserver.h alm.h \
  $(SOPHYAINCP)nbrandom.h \
  $(SOPHYAINCP)srandgen.h \
  $(SOPHYAINCP)nbmath.h \
  $(SOPHYAINCP)triangmtx.h lambdaBuilder.h \
  $(SOPHYAINCP)timing.h
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@  sphericaltransformserver.cc
 
