- Timestamp:
- Nov 29, 1999, 1:48:11 PM (26 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsioserver.h
r605 r663 2 2 #define FITSIOSERVER_SEEN 3 3 4 #include " fitsio.h"4 #include "machdefs.h" 5 5 #include "tvector.h" 6 6 #include "sphericalmap.h" … … 11 11 #include "cimage.h" 12 12 #include "dvlist.h" 13 14 #include <fitsio.h> /* entre <> pour que mkmflib fonctionne correctement */ 13 15 14 16 #define LEN_KEYWORD 9 -
trunk/SophyaLib/Mgr/Makefile
r510 r663 1 1 include Mgr/Makefile.h 2 LIBF = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)lib FitsIOServer.a3 LIBS = -L$(LIB) -lSysTools -lNTools -lSamba -l FitsIOServer -lm2 LIBF = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a $(LIB)libFitsIOServer.a 3 LIBS = -L$(LIB) -lSysTools -lNTools -lSamba -lSkyT -lFitsIOServer -lm 4 4 LIBG = -L$(GLB) -lstdc++ 5 5 ifeq ($(HOSTTYPE), powerpc) … … 16 16 # pour instantiation automatique/manuels 17 17 18 cxxlibs: Blitz SysTools NTools Samba FitsIOServer 19 18 cxxlibs: FitsIOServer SkyT Samba NTools SysTools Blitz 19 20 .PHONY: FitsIOServer 21 FitsIOServer: 22 if [ -d FitsIOServer ] ; then cd FitsIOServer ; $(MAKE) ; fi 23 24 .PHONY: SkyT 25 SkyT: 26 if [ -d SkyT ] ; then cd SkyT ; $(MAKE) ; fi 27 28 .PHONY: Samba 29 Samba: 30 if [ -d Samba ] ; then cd Samba ; $(MAKE) ; fi 31 32 .PHONY: NTools 33 NTools: 34 if [ -d NTools ] ; then cd NTools ; $(MAKE) ; fi 35 36 .PHONY: SysTools 37 SysTools: 38 if [ -d SysTools ] ; then cd SysTools ; $(MAKE) ; fi 39 20 40 .PHONY: Blitz 21 41 Blitz: 22 42 if [ -d Blitz ] ; then cd Blitz ; $(MAKE) ; fi 23 24 .PHONY: SysTools25 SysTools:26 if [ -d SysTools ] ; then cd SysTools ; $(MAKE) ; fi27 28 .PHONY: NTools29 NTools:30 if [ -d NTools ] ; then cd NTools ; $(MAKE) ; fi31 32 .PHONY: Samba33 Samba:34 if [ -d Samba ] ; then cd Samba ; $(MAKE) ; fi35 36 .PHONY: FitsIOServer37 FitsIOServer:38 if [ -d FitsIOServer ] ; then cd FitsIOServer ; $(MAKE) ; fi39 43 40 44 .PHONY: PI … … 45 49 ifndef NOSHLIB 46 50 47 PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a 51 ifdef CFITSIODIR 52 PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a $(LIB)libFitsIOServer.a 53 else 54 PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a 55 endif 48 56 slb : $(SLB)libtools.so 49 57 slbpi: slb $(SLB)libPI.so … … 106 114 override USECXX4SO := N 107 115 endif 108 # Attention - Dangereux de mettre -expect_unresolved , $CHECK$ Reza 20/10/99109 override CMDSHLCXX := $(LINK.cc) -shared -expect_unresolved '*'116 # Attention - Dangereux de mettre -expect_unresolved , enleve Reza 17/11/99 117 override CMDSHLCXX := $(LINK.cc) -shared 110 118 override FGSHLACXX := 111 119 override FGSHLNCXX := … … 158 166 159 167 # Liste des .o associes a une librairie 160 OBJSysTools = $(shell echo `cat ./SysTools/SysTools.o.list`) 161 OBJNTools = $(shell echo `cat ./NTools/NTools.o.list`) 162 OBJBlitz = $(shell echo `cat ./Blitz/Blitz.o.list`) 163 OBJSamba = $(shell echo `cat ./Samba/Samba.o.list`) 164 OBJFitsIOServer = $(shell echo `cat ./FitsIOServer/FitsIOServer.o.list`) 165 OBJPI = $(shell echo `cat ./PI/PI.o.list`) 166 OBJPIext = $(shell echo `cat ./PIext/PIext.o.list`) 168 OBJSysTools = $(shell echo `cat ./SysTools/objlist.list`) 169 OBJNTools = $(shell echo `cat ./NTools/objlist.list`) 170 # OBJBlitz = $(shell echo `cat ./Blitz/objlist.list`) 171 OBJSamba = $(shell echo `cat ./Samba/objlist.list`) 172 OBJSkyT = $(shell echo `cat ./SkyT/objlist.list`) 173 OBJFitsIOServer = $(shell echo `cat ./FitsIOServer/objlist.list`) 174 OBJPI = $(shell echo `cat ./PI/objlist.list`) 175 OBJPIext = $(shell echo `cat ./PIext/objlist.list`) 176 177 ifdef CFITSIODIR 178 AllObjs := $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJSkyT) $(OBJFitsIOServer) 179 else 180 AllObjs := $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJSkyT) 181 endif 167 182 168 183 # Creation des librairies partagees … … 174 189 cd $(OBJ); \ 175 190 $(CMDSHLCXX) -o $(SLB)libtools.so \ 176 $(FGSHLACXX) $( OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJFitsIOServer) $(OBJBlitz)$(TILSHL) \177 $(FGSHLNCXX) -L$(SLB) $(LIBLSHL) 191 $(FGSHLACXX) $(AllObjs) $(TILSHL) \ 192 $(FGSHLNCXX) -L$(SLB) $(LIBLSHL) $(FITSIOLIB) 178 193 179 194 -
trunk/SophyaLib/Mgr/Makefile.slb
r595 r663 2 2 ifndef NOSHLIB 3 3 4 PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a 4 ifdef CFITSIODIR 5 PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a $(LIB)libFitsIOServer.a 6 else 7 PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a 8 endif 5 9 slb : $(SLB)libtools.so 6 10 slbpi: slb $(SLB)libPI.so … … 117 121 OBJSysTools = $(shell echo `cat ./SysTools/SysTools.o.list`) 118 122 OBJNTools = $(shell echo `cat ./NTools/NTools.o.list`) 119 OBJBlitz = $(shell echo `cat ./Blitz/Blitz.o.list`)123 # OBJBlitz = $(shell echo `cat ./Blitz/Blitz.o.list`) 120 124 OBJSamba = $(shell echo `cat ./Samba/Samba.o.list`) 125 OBJSkyT = $(shell echo `cat ./SkyT/SkyT.o.list`) 121 126 OBJFitsIOServer = $(shell echo `cat ./FitsIOServer/FitsIOServer.o.list`) 122 127 OBJPI = $(shell echo `cat ./PI/PI.o.list`) 123 128 OBJPIext = $(shell echo `cat ./PIext/PIext.o.list`) 129 130 ifdef CFITSIODIR 131 AllObjs := $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJSkyT) $(OBJFitsIOServer) 132 else 133 AllObjs := $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJSkyT) 134 endif 124 135 125 136 # Creation des librairies partagees … … 131 142 cd $(OBJ); \ 132 143 $(CMDSHLCXX) -o $(SLB)libtools.so \ 133 $(FGSHLACXX) $( OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJFitsIOServer) $(OBJBlitz)$(TILSHL) \134 $(FGSHLNCXX) -L$(SLB) $(LIBLSHL) 144 $(FGSHLACXX) $(AllObjs) $(TILSHL) \ 145 $(FGSHLNCXX) -L$(SLB) $(LIBLSHL) $(FITSIOLIB) 135 146 136 147 -
trunk/SophyaLib/Mgr/crerep_peida
r218 r663 36 36 37 37 foreach d ( ${dirl}/${diru} \ 38 ${dirl}/Include ${dirl}/Include/tnt\38 ${dirl}/Include \ 39 39 ${dirl}/${diru}/Exec \ 40 40 ${dirl}/${diru}/Libs ${dirl}/${diru}/ShLibs \ -
trunk/SophyaLib/Mgr/install_peida
r599 r663 1 1 #!/bin/csh 2 # Script d'installation PEIDA2 # Script d'installation SOPHYA 3 3 # Version preliminaire - Reza 27/11/97 +cmv 4 4 … … 64 64 set SRC = $srcdir/$macomp 65 65 set DST = $dstdir/$macomp 66 echo "************** PEIDA_Install script : ****************** "66 echo "************** SOPHYA_Install script : ****************** " 67 67 echo "copie de $srcdir" 68 68 echo " vers $dstdir pour $macomp" … … 77 77 # d'abord les includes 78 78 #foreach d ( Include Include/tnt Include/CInc Include/SystCxx Include/Syst ) 79 foreach d ( Include Include/tnt Include/CInc Include/Syst)80 echo " PEIDA_Install: Installing $d ... "79 foreach d ( Include ) 80 echo "SOPHYA_Install: Installing $d ... " 81 81 if( ! -e $srcdir/$d ) then 82 82 echo "rep. inexistant: $SRC/$d" … … 92 92 # puis le reste 93 93 foreach d ( Libs ShLibs Exec ) 94 echo " PEIDA_Install: Installing $d ... "94 echo "SOPHYA_Install: Installing $d ... " 95 95 if( ! -e $SRC/$d ) then 96 96 echo "rep. inexistant: $SRC/$d" … … 99 99 else 100 100 if( "$d" == "Exec" ) then 101 foreach f ( tobjio tspm tspm2 piapp )101 foreach f ( tobjio tspm tspm2 piapp tgsky tgrsr skymixer ) 102 102 if( -e $SRC/$d/$f ) then 103 103 $DO cp $SRC/$d/$f $DST/$d/. … … 113 113 end 114 114 115 echo ' PEIDA_Install complete'115 echo 'SOPHYA_Install complete' 116 116 117 117 exit 0 -
trunk/SophyaLib/Mgr/libdirs
r478 r663 2 2 NTools 3 3 Samba 4 SkyT 4 5 FitsIOServer -
trunk/SophyaLib/Mgr/mkmf
r554 r663 1 1 #!/bin/csh 2 # $Id: mkmf,v 1. 5 1999-11-09 11:13:13ansari Exp $2 # $Id: mkmf,v 1.6 1999-11-29 12:48:11 ansari Exp $ 3 3 4 4 # Librairie cfitsio … … 38 38 # pour instantiation automatique/manuels 39 39 40 cxxlibs: Blitz SysTools NTools Samba FitsIOServer40 cxxlibs: FitsIOServer SkyT Samba NTools SysTools Blitz 41 41 42 42 EOF … … 44 44 45 45 # Attention, ne pas changer l'ordre de libnames dependances cxx 46 set libnames = ( Blitz SysTools NTools Samba FitsIOServer)46 set libnames = (FitsIOServer SkyT Samba NTools SysTools Blitz ) 47 47 set i = 1 48 48 set j = $#libnames ; @ j-- … … 71 71 endif 72 72 if ( -d ../PIext ) then 73 set cmd = './mkmfPI PIext SysTools NTools PI'73 set cmd = './mkmfPI PIext SysTools NTools Samba SkyT PI' 74 74 echo "mkmf: Creation makefile lib PIext" 75 75 echo " execution $cmd" -
trunk/SophyaLib/NTools/Makefile
r510 r663 3 3 all: $(LIB)libNTools.a 4 4 clean: 5 rm -f $(OBJ)cimage.o $(OBJ)cspline.o $(OBJ)cvector.o $(OBJ)datacards.o $(OBJ)datatypes.o $(OBJ)dates.o $(OBJ)difeq.o $(OBJ)dvlist.o $(OBJ)dynccd.o $(OBJ)fct1dfit.o $(OBJ)fct2dfit.o $(OBJ)fftserver.o $(OBJ)generaldata.o $(OBJ)generalfit.o $(OBJ)hisprof.o $(OBJ)histos.o $(OBJ)histos2.o $(OBJ)imageop.o $(OBJ)integ.o $(OBJ)linfit.o $(OBJ)matrix.o $(OBJ)median.o $(OBJ)ntupintf.o $(OBJ)ntuple.o $(OBJ)outilsinit.o $(OBJ)perandom.o $(OBJ)poly.o $(OBJ) pversion.o $(OBJ)rk4cdifeq.o $(OBJ)rzimage.o $(OBJ)simplesort.o $(OBJ)tabmath.o $(OBJ)tmatrix.o $(OBJ)tvector.o $(OBJ)utils.o $(OBJ)datime.o $(OBJ)fftpackc.o $(OBJ)matxop.o $(OBJ)nbmath.o $(OBJ)nbrandom.o $(OBJ)nbtri.o $(OBJ)strutil.o6 rm $(LIB)libNTools.a7 $(LIB)libNTools.a : $(OBJ)cimage.o $(OBJ)cspline.o $(OBJ)cvector.o $(OBJ)datacards.o $(OBJ)datatypes.o $(OBJ)dates.o $(OBJ)datime.o $(OBJ)difeq.o $(OBJ)dvlist.o $(OBJ)dynccd.o $(OBJ)fct1dfit.o $(OBJ)fct2dfit.o $(OBJ)fftpackc.o $(OBJ)fftserver.o $(OBJ)generaldata.o $(OBJ)generalfit.o $(OBJ)hisprof.o $(OBJ)histos.o $(OBJ)histos2.o $(OBJ)imageop.o $(OBJ)integ.o $(OBJ)linfit.o $(OBJ)matrix.o $(OBJ)matxop.o $(OBJ)median.o $(OBJ)nbmath.o $(OBJ)nbrandom.o $(OBJ)nbtri.o $(OBJ)ntupintf.o $(OBJ)ntuple.o $(OBJ)outilsinit.o $(OBJ)perandom.o $(OBJ)poly.o $(OBJ)pversion.o $(OBJ)rk4cdifeq.o $(OBJ)rzimage.o $(OBJ)simplesort.o $(OBJ)strutil.o $(OBJ)tabmath.o $(OBJ)tmatrix.o $(OBJ)tvector.o $(OBJ)utils.o5 rm -f $(OBJ)cimage.o $(OBJ)cspline.o $(OBJ)cvector.o $(OBJ)datacards.o $(OBJ)datatypes.o $(OBJ)dates.o $(OBJ)difeq.o $(OBJ)dvlist.o $(OBJ)dynccd.o $(OBJ)fct1dfit.o $(OBJ)fct2dfit.o $(OBJ)fftserver.o $(OBJ)generaldata.o $(OBJ)generalfit.o $(OBJ)hisprof.o $(OBJ)histos.o $(OBJ)histos2.o $(OBJ)imageop.o $(OBJ)integ.o $(OBJ)linfit.o $(OBJ)matrix.o $(OBJ)median.o $(OBJ)ntupintf.o $(OBJ)ntuple.o $(OBJ)outilsinit.o $(OBJ)perandom.o $(OBJ)poly.o $(OBJ)rk4cdifeq.o $(OBJ)rzimage.o $(OBJ)simplesort.o $(OBJ)tabmath.o $(OBJ)tmatrix.o $(OBJ)tvector.o $(OBJ)utils.o $(OBJ)datime.o $(OBJ)fftpackc.o $(OBJ)matxop.o $(OBJ)nbmath.o $(OBJ)nbrandom.o $(OBJ)nbtri.o $(OBJ)strutil.o 6 rm -f $(LIB)libNTools.a 7 $(LIB)libNTools.a : $(OBJ)cimage.o $(OBJ)cspline.o $(OBJ)cvector.o $(OBJ)datacards.o $(OBJ)datatypes.o $(OBJ)dates.o $(OBJ)datime.o $(OBJ)difeq.o $(OBJ)dvlist.o $(OBJ)dynccd.o $(OBJ)fct1dfit.o $(OBJ)fct2dfit.o $(OBJ)fftpackc.o $(OBJ)fftserver.o $(OBJ)generaldata.o $(OBJ)generalfit.o $(OBJ)hisprof.o $(OBJ)histos.o $(OBJ)histos2.o $(OBJ)imageop.o $(OBJ)integ.o $(OBJ)linfit.o $(OBJ)matrix.o $(OBJ)matxop.o $(OBJ)median.o $(OBJ)nbmath.o $(OBJ)nbrandom.o $(OBJ)nbtri.o $(OBJ)ntupintf.o $(OBJ)ntuple.o $(OBJ)outilsinit.o $(OBJ)perandom.o $(OBJ)poly.o $(OBJ)rk4cdifeq.o $(OBJ)rzimage.o $(OBJ)simplesort.o $(OBJ)strutil.o $(OBJ)tabmath.o $(OBJ)tmatrix.o $(OBJ)tvector.o $(OBJ)utils.o 8 8 $(ARCXX) $(ARCXXFLAGS) $@ $? 9 9 ifeq ($(CXX),cxx) 10 $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lNTools -lS amba-o $(OBJ)xx.x -Hf10 $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lNTools -lSysTools -o $(OBJ)xx.x -Hf 11 11 endif 12 12 … … 19 19 $(INC)objfio.h \ 20 20 $(INC)anydataobj.h fct1dfit.h generalfit.h \ 21 matrix.h peida.h utils.h fmath.h cvector.h generaldata.h ntupintf.h \ 22 poly.h histos.h nbconst.h 21 tvector.h tmatrix.h $(INC)ndatablock.h \ 22 generaldata.h ntupintf.h poly.h peida.h utils.h fmath.h histos.h \ 23 nbconst.h 23 24 $(OBJ)cspline.o: cspline.cc $(INC)machdefs.h \ 24 25 $(INC)pclassids.h nbtri.h cspline.h \ 25 cvector.h matrix.h peida.h utils.h \ 26 $(INC)perrors.h \ 27 $(INC)pexceptions.h fmath.h \ 28 $(INC)ppersist.h \ 29 $(INC)md5.h 26 $(INC)pexceptions.h 30 27 $(OBJ)cvector.o: cvector.cc $(INC)machdefs.h \ 31 28 $(INC)pclassids.h cvector.h matrix.h \ 32 29 peida.h utils.h $(INC)perrors.h \ 33 30 $(INC)pexceptions.h fmath.h \ 34 $(INC) ppersist.h \35 $(INC) md5.h generalfit.h generaldata.h \36 $(INC) objfio.h \37 $(INC)anydataobj.h ntupintf.h poly.h \38 tvector.h tmatrix.h $(INC)ndatablock.h31 $(INC)anydataobj.h \ 32 $(INC)ppersist.h \ 33 $(INC)md5.h generalfit.h tvector.h \ 34 tmatrix.h $(INC)ndatablock.h generaldata.h \ 35 $(INC)objfio.h ntupintf.h poly.h 39 36 $(OBJ)datacards.o: datacards.cc $(INC)machdefs.h \ 40 37 $(INC)pclassids.h datacards.h peida.h \ … … 50 47 $(OBJ)difeq.o: difeq.cc difeq.h $(INC)machdefs.h \ 51 48 $(INC)pclassids.h \ 52 $(INC)pexceptions.h cvector.h matrix.h \ 53 peida.h utils.h $(INC)perrors.h fmath.h \ 54 $(INC)ppersist.h \ 55 $(INC)md5.h \ 49 $(INC)pexceptions.h tvector.h tmatrix.h \ 50 $(INC)ppersist.h \ 51 $(INC)md5.h \ 52 $(INC)anydataobj.h \ 53 $(INC)ndatablock.h \ 56 54 $(INC)ctimer.h 57 55 $(OBJ)dvlist.o: dvlist.cc $(INC)machdefs.h \ … … 69 67 $(INC)pexceptions.h \ 70 68 $(INC)md5.h peida.h utils.h \ 71 $(INC)perrors.h cvector.h matrix.h \ 72 nbrandom.h cimage.h rzimage.h rzvect.h datatypes.h dvlist.h dynccd.h 69 $(INC)perrors.h tvector.h tmatrix.h \ 70 $(INC)ndatablock.h nbrandom.h cimage.h \ 71 rzimage.h rzvect.h datatypes.h dvlist.h dynccd.h 73 72 $(OBJ)fct1dfit.o: fct1dfit.cc $(INC)machdefs.h \ 74 73 $(INC)pclassids.h fct1dfit.h generalfit.h \ 75 $(INC)pexceptions.h matrix.h peida.h \ 76 utils.h $(INC)perrors.h fmath.h \ 77 $(INC)ppersist.h \ 78 $(INC)md5.h cvector.h generaldata.h \ 79 $(INC)objfio.h \ 80 $(INC)anydataobj.h ntupintf.h poly.h \ 81 nbconst.h tabmath.h 74 $(INC)pexceptions.h tvector.h tmatrix.h \ 75 $(INC)ppersist.h \ 76 $(INC)md5.h \ 77 $(INC)anydataobj.h \ 78 $(INC)ndatablock.h generaldata.h \ 79 $(INC)objfio.h ntupintf.h poly.h peida.h \ 80 utils.h $(INC)perrors.h fmath.h nbconst.h \ 81 tabmath.h 82 82 $(OBJ)fct2dfit.o: fct2dfit.cc $(INC)machdefs.h \ 83 83 $(INC)pclassids.h fct2dfit.h generalfit.h \ 84 $(INC)pexceptions.h matrix.h peida.h \ 85 utils.h $(INC)perrors.h fmath.h \ 86 $(INC)ppersist.h \ 87 $(INC)md5.h cvector.h generaldata.h \ 88 $(INC)objfio.h \ 89 $(INC)anydataobj.h ntupintf.h poly.h \ 90 nbconst.h tabmath.h simps2d.h 91 $(OBJ)fftserver.o: fftserver.cc fftserver.h cvector.h matrix.h peida.h \ 92 $(INC)machdefs.h \ 93 $(INC)pclassids.h utils.h \ 94 $(INC)perrors.h \ 95 $(INC)pexceptions.h fmath.h \ 96 $(INC)ppersist.h \ 97 $(INC)md5.h 84 $(INC)pexceptions.h tvector.h tmatrix.h \ 85 $(INC)ppersist.h \ 86 $(INC)md5.h \ 87 $(INC)anydataobj.h \ 88 $(INC)ndatablock.h generaldata.h \ 89 $(INC)objfio.h ntupintf.h poly.h peida.h \ 90 utils.h $(INC)perrors.h fmath.h nbconst.h \ 91 tabmath.h simps2d.h 92 $(OBJ)fftserver.o: fftserver.cc fftserver.h tvector.h tmatrix.h \ 93 $(INC)machdefs.h \ 94 $(INC)pclassids.h \ 95 $(INC)ppersist.h \ 96 $(INC)pexceptions.h \ 97 $(INC)md5.h \ 98 $(INC)anydataobj.h \ 99 $(INC)ndatablock.h 98 100 $(OBJ)generaldata.o: generaldata.cc \ 99 101 $(INC)machdefs.h \ 100 102 $(INC)pclassids.h strutil.h nbtri.h \ 101 generalfit.h $(INC)pexceptions.h matrix.h \ 102 peida.h utils.h $(INC)perrors.h fmath.h \ 103 $(INC)ppersist.h \ 104 $(INC)md5.h cvector.h generaldata.h \ 105 $(INC)objfio.h \ 106 $(INC)anydataobj.h ntupintf.h poly.h 103 generalfit.h $(INC)pexceptions.h tvector.h \ 104 tmatrix.h $(INC)ppersist.h \ 105 $(INC)md5.h \ 106 $(INC)anydataobj.h \ 107 $(INC)ndatablock.h generaldata.h \ 108 $(INC)objfio.h ntupintf.h poly.h peida.h \ 109 utils.h $(INC)perrors.h fmath.h 107 110 $(OBJ)generalfit.o: generalfit.cc $(INC)machdefs.h \ 108 111 $(INC)pclassids.h \ 109 $(INC)pexceptions.h generalfit.h matrix.h \ 110 peida.h utils.h $(INC)perrors.h fmath.h \ 111 $(INC)ppersist.h \ 112 $(INC)md5.h cvector.h generaldata.h \ 113 $(INC)objfio.h \ 114 $(INC)anydataobj.h ntupintf.h poly.h 112 $(INC)pexceptions.h generalfit.h tvector.h \ 113 tmatrix.h $(INC)ppersist.h \ 114 $(INC)md5.h \ 115 $(INC)anydataobj.h \ 116 $(INC)ndatablock.h generaldata.h \ 117 $(INC)objfio.h ntupintf.h poly.h peida.h \ 118 utils.h $(INC)perrors.h fmath.h 115 119 $(OBJ)hisprof.o: hisprof.cc $(INC)machdefs.h \ 116 120 $(INC)pclassids.h hisprof.h peida.h utils.h \ 117 121 $(INC)perrors.h \ 118 $(INC)pexceptions.h fmath.h cvector.h \ 119 matrix.h $(INC)ppersist.h \ 120 $(INC)md5.h histos.h \ 121 $(INC)objfio.h \ 122 $(INC)anydataobj.h 122 $(INC)pexceptions.h fmath.h tvector.h \ 123 tmatrix.h $(INC)ppersist.h \ 124 $(INC)md5.h \ 125 $(INC)anydataobj.h \ 126 $(INC)ndatablock.h histos.h \ 127 $(INC)objfio.h 123 128 $(OBJ)histos.o: histos.cc $(INC)machdefs.h \ 124 129 $(INC)pclassids.h histos.h \ … … 128 133 $(INC)pexceptions.h \ 129 134 $(INC)md5.h peida.h utils.h \ 130 $(INC)perrors.h fmath.h cvector.h matrix.h \ 131 poly.h strutil.h generalfit.h generaldata.h ntupintf.h 135 $(INC)perrors.h fmath.h tvector.h tmatrix.h \ 136 $(INC)ndatablock.h poly.h strutil.h \ 137 generalfit.h generaldata.h ntupintf.h 132 138 $(OBJ)histos2.o: histos2.cc $(INC)machdefs.h \ 133 139 $(INC)pclassids.h histos2.h peida.h utils.h \ … … 137 143 $(INC)anydataobj.h \ 138 144 $(INC)ppersist.h \ 139 $(INC)md5.h cvector.h matrix.h generalfit.h \ 145 $(INC)md5.h tvector.h tmatrix.h \ 146 $(INC)ndatablock.h generalfit.h \ 140 147 generaldata.h ntupintf.h poly.h 141 148 $(OBJ)imageop.o: imageop.cc $(INC)machdefs.h \ … … 146 153 $(INC)anydataobj.h \ 147 154 $(INC)ppersist.h \ 148 $(INC)md5.h cvector.h matrix.h datatypes.h \149 imageop.h cimage.h rzimage.h rzvect.h dvlist.h cspline.h dynccd.h \150 nbtri.h155 $(INC)md5.h tvector.h tmatrix.h \ 156 $(INC)ndatablock.h datatypes.h imageop.h \ 157 cimage.h rzimage.h rzvect.h dvlist.h cspline.h dynccd.h nbtri.h 151 158 $(OBJ)integ.o: integ.cc integ.h $(INC)machdefs.h \ 152 159 $(INC)pclassids.h \ 153 $(INC)pexceptions.h generalfit.h matrix.h \ 154 peida.h utils.h $(INC)perrors.h fmath.h \ 155 $(INC)ppersist.h \ 156 $(INC)md5.h cvector.h generaldata.h \ 157 $(INC)objfio.h \ 158 $(INC)anydataobj.h ntupintf.h poly.h 160 $(INC)pexceptions.h generalfit.h tvector.h \ 161 tmatrix.h $(INC)ppersist.h \ 162 $(INC)md5.h \ 163 $(INC)anydataobj.h \ 164 $(INC)ndatablock.h generaldata.h \ 165 $(INC)objfio.h ntupintf.h poly.h peida.h \ 166 utils.h $(INC)perrors.h fmath.h 159 167 $(OBJ)linfit.o: linfit.cc $(INC)machdefs.h \ 160 168 $(INC)pclassids.h peida.h utils.h \ 161 169 $(INC)perrors.h \ 162 170 $(INC)pexceptions.h fmath.h linfit.h \ 163 matrix.h $(INC)ppersist.h \ 164 $(INC)md5.h cvector.h 171 tvector.h tmatrix.h $(INC)ppersist.h \ 172 $(INC)md5.h \ 173 $(INC)anydataobj.h \ 174 $(INC)ndatablock.h 165 175 $(OBJ)matrix.o: matrix.cc $(INC)machdefs.h \ 166 176 $(INC)pclassids.h peida.h utils.h \ 167 177 $(INC)perrors.h \ 168 178 $(INC)pexceptions.h fmath.h matrix.h \ 179 $(INC)anydataobj.h \ 169 180 $(INC)ppersist.h \ 170 181 $(INC)md5.h cvector.h generalfit.h \ 171 generaldata.h $(INC)objfio.h \172 $(INC)anydataobj.h ntupintf.h poly.h \173 tmatrix.h $(INC)ndatablock.h182 tvector.h tmatrix.h $(INC)ndatablock.h \ 183 generaldata.h $(INC)objfio.h ntupintf.h \ 184 poly.h 174 185 $(OBJ)median.o: median.cc 175 186 $(OBJ)ntupintf.o: ntupintf.cc ntupintf.h \ … … 191 202 $(INC)perrors.h \ 192 203 $(INC)pexceptions.h fmath.h \ 193 $(INC) ppersist.h \194 $(INC) md5.h cvector.h poly.h dvlist.h \195 $(INC) objfio.h \196 $(INC) anydataobj.h histos.h histos2.h \197 hisprof.h ntuple.h ntupintf.h generaldata.h tmatrix.h \198 $(INC)ndatablock.h tvector.h cimage.h \204 $(INC)anydataobj.h \ 205 $(INC)ppersist.h \ 206 $(INC)md5.h cvector.h poly.h \ 207 $(INC)objfio.h tvector.h tmatrix.h \ 208 $(INC)ndatablock.h dvlist.h histos.h \ 209 histos2.h hisprof.h ntuple.h ntupintf.h generaldata.h cimage.h \ 199 210 rzimage.h rzvect.h datatypes.h tabmath.h nbconst.h dates.h datime.h 200 211 $(OBJ)perandom.o: perandom.cc $(INC)machdefs.h \ … … 205 216 $(INC)ppersist.h \ 206 217 $(INC)md5.h peida.h utils.h \ 207 $(INC)perrors.h fmath.h cvector.hmatrix.h \208 nbrandom.h pemath.h218 $(INC)perrors.h fmath.h tvector.h tmatrix.h \ 219 $(INC)ndatablock.h nbrandom.h pemath.h 209 220 $(OBJ)poly.o: poly.cc $(INC)machdefs.h \ 210 $(INC)pclassids.h poly.h peida.h utils.h \ 211 $(INC)perrors.h \ 212 $(INC)pexceptions.h fmath.h cvector.h \ 213 matrix.h $(INC)ppersist.h \ 214 $(INC)md5.h linfit.h 215 $(OBJ)pversion.o: pversion.cc pversion.h \ 216 $(INC)peidainit.h \ 217 $(INC)machdefs.h \ 218 $(INC)pclassids.h 221 $(INC)pclassids.h poly.h \ 222 $(INC)objfio.h \ 223 $(INC)anydataobj.h \ 224 $(INC)ppersist.h \ 225 $(INC)pexceptions.h \ 226 $(INC)md5.h peida.h utils.h \ 227 $(INC)perrors.h fmath.h tvector.h tmatrix.h \ 228 $(INC)ndatablock.h linfit.h 219 229 $(OBJ)rk4cdifeq.o: rk4cdifeq.cc $(INC)machdefs.h \ 220 230 $(INC)pclassids.h rk4cdifeq.h difeq.h \ 221 $(INC)pexceptions.h cvector.h matrix.h \ 222 peida.h utils.h $(INC)perrors.h fmath.h \ 223 $(INC)ppersist.h \ 224 $(INC)md5.h \ 231 $(INC)pexceptions.h tvector.h tmatrix.h \ 232 $(INC)ppersist.h \ 233 $(INC)md5.h \ 234 $(INC)anydataobj.h \ 235 $(INC)ndatablock.h \ 225 236 $(INC)ctimer.h 226 237 $(OBJ)rzimage.o: rzimage.cc $(INC)machdefs.h \ … … 231 242 $(INC)md5.h dvlist.h \ 232 243 $(INC)objfio.h \ 233 $(INC)anydataobj.h generalfit.h matrix.h \ 234 peida.h utils.h fmath.h cvector.h generaldata.h ntupintf.h poly.h 244 $(INC)anydataobj.h generalfit.h tvector.h \ 245 tmatrix.h $(INC)ndatablock.h generaldata.h \ 246 ntupintf.h poly.h peida.h utils.h fmath.h 235 247 $(OBJ)simplesort.o: simplesort.cc $(INC)machdefs.h \ 236 248 $(INC)pclassids.h simplesort.h peida.h \ … … 248 260 $(INC)anydataobj.h \ 249 261 $(INC)ndatablock.h \ 250 $(INC)objfio.h matrix.h peida.h utils.h \251 $(INC)perrors.h fmath.h generalfit.h \252 cvector.h generaldata.h ntupintf.h poly.h tvector.h262 $(INC)objfio.h generalfit.h tvector.h \ 263 generaldata.h ntupintf.h poly.h peida.h utils.h \ 264 $(INC)perrors.h fmath.h 253 265 $(OBJ)tvector.o: tvector.cc $(INC)machdefs.h \ 254 266 $(INC)pclassids.h \ … … 258 270 $(INC)anydataobj.h \ 259 271 $(INC)ndatablock.h \ 260 $(INC)objfio.h generalfit.h matrix.h \261 peida.h utils.h $(INC)perrors.h fmath.h \262 cvector.h generaldata.h ntupintf.h poly.h272 $(INC)objfio.h generalfit.h generaldata.h \ 273 ntupintf.h poly.h peida.h utils.h \ 274 $(INC)perrors.h fmath.h 263 275 $(OBJ)utils.o: utils.cc $(INC)machdefs.h \ 264 276 $(INC)pclassids.h utils.h \ -
trunk/SophyaLib/NTools/fftpackc.c
r459 r663 8 8 /* #include "f2c.h" -- Remplace par ce qui suit */ 9 9 #include "fftpackc.h" 10 #include <math.h> 10 11 11 12 /* ------ File cfftb.f ------ */ … … 26 27 iw1 = *n + *n + 1; 27 28 iw2 = iw1 + *n + *n; 28 cfftb1_(n, &c__[1], &wsave[1], &wsave[iw1], &wsave[iw2]);29 cfftb1_(n, &c__[1], &wsave[1], &wsave[iw1], (int *)&wsave[iw2]); /* (int *) ajoute - Reza 29/11/99 */ 29 30 return 0; 30 31 } /* cfftb_ */ … … 179 180 iw1 = *n + *n + 1; 180 181 iw2 = iw1 + *n + *n; 181 cfftf1_(n, &c__[1], &wsave[1], &wsave[iw1], &wsave[iw2]);182 cfftf1_(n, &c__[1], &wsave[1], &wsave[iw1], (int *)&wsave[iw2]); /* (int *) ajoute - Reza 29/11/99 */ 182 183 return 0; 183 184 } /* cfftf_ */ … … 330 331 iw1 = *n + *n + 1; 331 332 iw2 = iw1 + *n + *n; 332 cffti1_(n, &wsave[iw1], &wsave[iw2]);333 cffti1_(n, &wsave[iw1], (int *)&wsave[iw2]); /* (int *) ajoute Reza 29/11/99 */ 333 334 return 0; 334 335 } /* cffti_ */ … … 344 345 integer i__1, i__2, i__3; 345 346 346 /* Builtin functions */ 347 double cos(doublereal), sin(doublereal); 347 /* Builtin functions */ 348 /* double cos(doublereal), sin(doublereal); commente, remplace par math.h - Reza 29/11/99 */ 348 349 349 350 /* Local variables */ … … 645 646 646 647 /* Builtin functions */ 647 double cos(doublereal); 648 /* double cos(doublereal); commente - Remplace par math.h Reza 29/11/99 */ 648 649 649 650 /* Local variables */ … … 762 763 763 764 /* Builtin functions */ 764 double sin(doublereal), cos(doublereal); 765 /* double sin(doublereal), cos(doublereal); commente - Remplace par math.h Reza 29/11/99 */ 765 766 766 767 /* Local variables */ … … 807 808 808 809 /* Builtin functions */ 809 double cos(doublereal), sin(doublereal); 810 /* double cos(doublereal), sin(doublereal); commente - Remplace par math.h Reza 29/11/99 */ 810 811 811 812 /* Local variables */ … … 2728 2729 2729 2730 /* Builtin functions */ 2730 double cos(doublereal), sin(doublereal); 2731 /* double cos(doublereal), sin(doublereal); commente - Remplace par math.h Reza 29/11/99 */ 2731 2732 2732 2733 /* Local variables */ … … 3460 3461 3461 3462 /* Builtin functions */ 3462 double cos(doublereal), sin(doublereal); 3463 /* double cos(doublereal), sin(doublereal); */ 3463 3464 3464 3465 /* Local variables */ … … 3807 3808 return 0; 3808 3809 } 3809 rfftb1_(n, &r__[1], &wsave[1], &wsave[*n + 1], &wsave[(*n << 1) + 1]);3810 rfftb1_(n, &r__[1], &wsave[1], &wsave[*n + 1], (int *)&wsave[(*n << 1) + 1]); /* (int *) rajoute Reza 29/11/99 */ 3810 3811 return 0; 3811 3812 } /* rfftb_ */ … … 3953 3954 return 0; 3954 3955 } 3955 rfftf1_(n, &r__[1], &wsave[1], &wsave[*n + 1], &wsave[(*n << 1) + 1]);3956 rfftf1_(n, &r__[1], &wsave[1], &wsave[*n + 1], (int *)&wsave[(*n << 1) + 1]); /* (int *) rajoute Reza 29/11/99 */ 3956 3957 return 0; 3957 3958 } /* rfftf_ */ … … 4092 4093 return 0; 4093 4094 } 4094 rffti1_(n, &wsave[*n + 1], &wsave[(*n << 1) + 1]);4095 rffti1_(n, &wsave[*n + 1], (int *)&wsave[(*n << 1) + 1]); /* (int *) rajoute Reza 29/11/99 */ 4095 4096 return 0; 4096 4097 } /* rffti_ */ … … 4107 4108 4108 4109 /* Builtin functions */ 4109 double cos(doublereal), sin(doublereal); 4110 /* double cos(doublereal), sin(doublereal); Remplace par math.h , Reza 29/11/99 */ 4110 4111 4111 4112 /* Local variables */ … … 4319 4320 iw2 = iw1 + np1; 4320 4321 iw3 = iw2 + np1; 4321 sint1_(n, &x[1], &wsave[1], &wsave[iw1], &wsave[iw2], &wsave[iw3]);4322 sint1_(n, &x[1], &wsave[1], &wsave[iw1], &wsave[iw2], (int *)&wsave[iw3]); /* (int *) rajoute Reza 29/11/99 */ 4322 4323 return 0; 4323 4324 } /* sint_ */ … … 4420 4421 4421 4422 /* Builtin functions */ 4422 double sin(doublereal); 4423 /* double sin(doublereal); remplace par math.h , Reza 29/11/99 */ 4423 4424 4424 4425 /* Local variables */ … … 4465 4466 iw1 = *n + *n + 1; 4466 4467 iw2 = iw1 + *n + *n; 4467 cdfftb1_(n, &c__[1], &wsave[1], &wsave[iw1], &wsave[iw2]);4468 cdfftb1_(n, &c__[1], &wsave[1], &wsave[iw1], (int *)&wsave[iw2]); /* (int *) rajoute Reza 29/11/99 */ 4468 4469 return 0; 4469 4470 } /* cdfftb_ */ … … 4618 4619 iw1 = *n + *n + 1; 4619 4620 iw2 = iw1 + *n + *n; 4620 cdfftf1_(n, &c__[1], &wsave[1], &wsave[iw1], &wsave[iw2]);4621 cdfftf1_(n, &c__[1], &wsave[1], &wsave[iw1], (int *)&wsave[iw2]); /* (int *) rajoute Reza 29/11/99 */ 4621 4622 return 0; 4622 4623 } /* cdfftf_ */ … … 4769 4770 iw1 = *n + *n + 1; 4770 4771 iw2 = iw1 + *n + *n; 4771 cdffti1_(n, &wsave[iw1], &wsave[iw2]);4772 cdffti1_(n, &wsave[iw1], (int *)&wsave[iw2]); /* (int *) rajoute Reza 29/11/99 */ 4772 4773 return 0; 4773 4774 } /* cdffti_ */ … … 4784 4785 4785 4786 /* Builtin functions */ 4786 double cos(doublereal), sin(doublereal); 4787 /* double cos(doublereal), sin(doublereal); remplace par math.h Reza 29/11/99 */ 4787 4788 4788 4789 /* Local variables */ … … 5084 5085 5085 5086 /* Builtin functions */ 5086 double cos(doublereal); 5087 /* double cos(doublereal); remplace par math.h Reza 29/11/99 */ 5087 5088 5088 5089 /* Local variables */ … … 5201 5202 5202 5203 /* Builtin functions */ 5203 double sin(doublereal), cos(doublereal); 5204 /* double sin(doublereal), cos(doublereal); remplace par math.h Reza 29/11/99 */ 5204 5205 5205 5206 /* Local variables */ … … 5246 5247 5247 5248 /* Builtin functions */ 5248 double cos(doublereal), sin(doublereal); 5249 /* double cos(doublereal), sin(doublereal); remplace par math.h Reza 29/11/99 */ 5249 5250 5250 5251 /* Local variables */ … … 7167 7168 7168 7169 /* Builtin functions */ 7169 double cos(doublereal), sin(doublereal); 7170 /* double cos(doublereal), sin(doublereal); remplace par math.h Reza 29/11/99 */ 7170 7171 7171 7172 /* Local variables */ … … 7899 7900 7900 7901 /* Builtin functions */ 7901 double cos(doublereal), sin(doublereal); 7902 /* double cos(doublereal), sin(doublereal); */ 7902 7903 7903 7904 /* Local variables */ … … 8246 8247 return 0; 8247 8248 } 8248 dfftb1_(n, &r__[1], &wsave[1], &wsave[*n + 1], &wsave[(*n << 1) + 1]);8249 dfftb1_(n, &r__[1], &wsave[1], &wsave[*n + 1], (int *)&wsave[(*n << 1) + 1]); /* (int *) rajoute Reza 29/11/99 */ 8249 8250 return 0; 8250 8251 } /* dfftb_ */ … … 8392 8393 return 0; 8393 8394 } 8394 dfftf1_(n, &r__[1], &wsave[1], &wsave[*n + 1], &wsave[(*n << 1) + 1]);8395 dfftf1_(n, &r__[1], &wsave[1], &wsave[*n + 1], (int *)&wsave[(*n << 1) + 1]);/* (int *) rajoute Reza 29/11/99 */ 8395 8396 return 0; 8396 8397 } /* dfftf_ */ … … 8531 8532 return 0; 8532 8533 } 8533 dffti1_(n, &wsave[*n + 1], &wsave[(*n << 1) + 1]);8534 dffti1_(n, &wsave[*n + 1], (int *)&wsave[(*n << 1) + 1]); /* (int *) rajoute Reza 29/11/99 */ 8534 8535 return 0; 8535 8536 } /* dffti_ */ … … 8546 8547 8547 8548 /* Builtin functions */ 8548 double cos(doublereal), sin(doublereal); 8549 /* double cos(doublereal), sin(doublereal); remplace par math.h Reza 29/11/99 */ 8549 8550 8550 8551 /* Local variables */ … … 8758 8759 iw2 = iw1 + np1; 8759 8760 iw3 = iw2 + np1; 8760 dsint1_(n, &x[1], &wsave[1], &wsave[iw1], &wsave[iw2], &wsave[iw3]);8761 dsint1_(n, &x[1], &wsave[1], &wsave[iw1], &wsave[iw2], (int *) &wsave[iw3]); /* (int *) rajoute Reza 29/11/99 */ 8761 8762 return 0; 8762 8763 } /* dsint_ */ … … 8859 8860 8860 8861 /* Builtin functions */ 8861 double sin(doublereal); 8862 /* double sin(doublereal); remplace par math.h Reza 29/11/99 */ 8862 8863 8863 8864 /* Local variables */ -
trunk/SophyaLib/NTools/tmatrix.h
r552 r663 71 71 inline TMatrix<T>& operator = (T x) 72 72 {if(mNr!=mNc || mNr==0) throw(SzMismatchError("TMatrix::operator= mNc!=mNr ou ==0\n")); 73 for(uint_4 r=0;r<mNr;r++) for(uint_4 c=0;c<mNc;c++) (*this)(r,c)=(r==c)?x: 0;73 for(uint_4 r=0;r<mNr;r++) for(uint_4 c=0;c<mNc;c++) (*this)(r,c)=(r==c)?x:(T)0; 74 74 return *this;} 75 75 // A = B : partage les donnees si "a" est temporaire, clone sinon. -
trunk/SophyaLib/Samba/Makefile
r518 r663 8 8 $(ARCXX) $(ARCXXFLAGS) $@ $? 9 9 ifeq ($(CXX),cxx) 10 $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lSamba - o $(OBJ)xx.x -Hf10 $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lSamba -lNTools -lSysTools -o $(OBJ)xx.x -Hf 11 11 endif 12 12 … … 26 26 $(INC)dvlist.h \ 27 27 $(INC)objfio.h \ 28 $(INC)anydataobj.h sphericalmap.h \ 28 $(INC)anydataobj.h spherepos.h unitvector.h \ 29 vector3d.h longlat.h utilgeom.h sphericalmap.h \ 29 30 $(INC)nbmath.h \ 30 31 $(INC)tvector.h \ … … 42 43 $(INC)dvlist.h \ 43 44 $(INC)objfio.h \ 44 $(INC)anydataobj.h \ 45 $(INC)anydataobj.h spherepos.h unitvector.h \ 46 vector3d.h longlat.h utilgeom.h \ 45 47 $(INC)tvector.h \ 46 48 $(INC)tmatrix.h \ 47 $(INC)ndatablock.h unitvector.h vector3d.h\48 longlat.h utilgeom.h$(INC)timing.h49 $(INC)ndatablock.h \ 50 $(INC)timing.h 49 51 $(OBJ)sambainit.o: sambainit.cc sambainit.h \ 50 52 $(INC)outilsinit.h \ 51 53 $(INC)peidainit.h \ 52 54 $(INC)machdefs.h \ 53 $(INC)pclassids.h 55 $(INC)pclassids.h \ 56 $(INC)ppersist.h \ 57 $(INC)pexceptions.h \ 58 $(INC)md5.h \ 59 $(INC)objfio.h \ 60 $(INC)anydataobj.h spherethetaphi.h \ 61 sphericalmap.h $(INC)nbmath.h pixelmap.h \ 62 $(INC)dvlist.h spherepos.h unitvector.h \ 63 vector3d.h longlat.h utilgeom.h \ 64 $(INC)tvector.h \ 65 $(INC)tmatrix.h \ 66 $(INC)ndatablock.h spheregorski.h 54 67 $(OBJ)scan.o: scan.cc $(INC)machdefs.h \ 55 68 $(INC)pclassids.h scan.h \ … … 60 73 $(INC)objfio.h \ 61 74 $(INC)anydataobj.h \ 75 $(INC)ndatablock.h \ 76 $(INC)piocmplx.h \ 62 77 $(INC)nbmath.h 63 $(OBJ)spheregorski.o: spheregorski.cc spheregorski.h sphericalmap.h \ 64 $(INC)nbmath.h \ 78 $(OBJ)spheregorski.o: spheregorski.cc \ 65 79 $(INC)machdefs.h \ 66 $(INC)pclassids.h pixelmap.h \ 80 $(INC)pclassids.h \ 81 $(INC)pexceptions.h spheregorski.h \ 82 sphericalmap.h $(INC)nbmath.h pixelmap.h \ 67 83 $(INC)ppersist.h \ 68 $(INC)pexceptions.h \69 84 $(INC)md5.h \ 70 85 $(INC)dvlist.h \ 71 86 $(INC)objfio.h \ 72 $(INC)anydataobj.h \ 87 $(INC)anydataobj.h spherepos.h unitvector.h \ 88 vector3d.h longlat.h utilgeom.h \ 73 89 $(INC)tvector.h \ 74 90 $(INC)tmatrix.h \ 75 91 $(INC)ndatablock.h \ 76 $(INC)strutil.h \ 77 $(INC)piocmplx.h 92 $(INC)strutil.h 78 93 $(OBJ)spherepos.o: spherepos.cc spherepos.h \ 79 94 $(INC)machdefs.h \ … … 92 107 $(INC)dvlist.h \ 93 108 $(INC)objfio.h \ 94 $(INC)anydataobj.h \ 109 $(INC)anydataobj.h spherepos.h unitvector.h \ 110 vector3d.h longlat.h utilgeom.h \ 95 111 $(INC)tvector.h \ 96 112 $(INC)tmatrix.h \ -
trunk/SophyaLib/SkyT/Makefile
r610 r663 1 # MODULECXXREPNAME := Tests 2 # MODULEDECCXXFLAGS := -msg_quiet 3 include $(DPCBASEREP)/Include/MakefileUser.h 4 # FITSIOLIB2 = -L/exp/planck/FitsIO/cfitsio/OSF1-cxx/ 5 6 ifdef NOSHLIB 7 LIBF = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a $(LIB)libFitsIOServer.a $(LIB)libPI.a $(LIB)libPIext.a $(LIB)libtools.a 8 LIBS = -L$(LIB) -lSysTools -lNTools -lSamba -lm 1 include ../Mgr/Makefile.h 2 3 all: $(LIB)libSkyT.a 4 clean: 5 rm -f $(OBJ)blackbody.o $(OBJ)convtools.o $(OBJ)easyTest.o $(OBJ)gaussfilt.o $(OBJ)nupower.o $(OBJ)radspec.o $(OBJ)radspecvector.o $(OBJ)skymixer.o $(OBJ)specresp.o $(OBJ)specrespvector.o $(OBJ)squarefilt.o $(OBJ)tgrsr.o $(OBJ)tgsky.o $(OBJ)trianglefilt.o 6 rm -f $(LIB)libSkyT.a 7 $(LIB)libSkyT.a : $(OBJ)blackbody.o $(OBJ)convtools.o $(OBJ)gaussfilt.o $(OBJ)nupower.o $(OBJ)radspec.o $(OBJ)radspecvector.o $(OBJ)specresp.o $(OBJ)specrespvector.o $(OBJ)squarefilt.o $(OBJ)trianglefilt.o 8 $(ARCXX) $(ARCXXFLAGS) $@ $? 9 9 ifeq ($(CXX),cxx) 10 # librairie des instances de templates cxx 11 LIBS := $(LIBS) -lertcxx 12 endif 13 else 14 LIBF = $(SLB)/libtools.so 15 LIBS = -L$(SLB) -ltools -lm 16 ifeq ($(MACHEROS),Linux) 17 LIBS := $(LIBS) -ldl 18 endif 19 endif 20 21 # $(OBJ)%.o:%.cc 22 23 24 myobjs = $(OBJ)radspec.o $(OBJ)radspecvector.o $(OBJ)nupower.o $(OBJ)blackbody.o $(OBJ)specresp.o $(OBJ)specrespvector.o $(OBJ)squarefilt.o $(OBJ)trianglefilt.o $(OBJ)gaussfilt.o $(OBJ)convtools.o 25 26 myexe = $(EXE)easyTest $(EXE)skymixer $(EXE)tgsky $(EXE)tgrsr 27 28 all : $(myexe) 29 30 31 # .PRECIOUS: $(EXE)% $(OBJ)%.o 32 $(EXE)easyTest : $(OBJ)easyTest.o $(myobjs) 33 $(LINK.cc) $^ $(LIBS) -o $@ 34 35 $(EXE)skymixer : $(OBJ)skymixer.o $(myobjs) 36 $(LINK.cc) $^ $(LIBS) -o $@ 37 38 $(EXE)tgsky : $(OBJ)tgsky.o 39 $(LINK.cc) $^ $(LIBS) -o $@ 40 41 $(EXE)tgrsr : $(OBJ)tgrsr.o $(myobjs) 42 $(LINK.cc) $^ $(LIBS) -o $@ 43 44 45 46 10 $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lSkyT -lSamba -lNTools -lSysTools -o $(OBJ)xx.x -Hf 11 endif 12 13 $(OBJ)blackbody.o: blackbody.cc $(INC)machdefs.h \ 14 $(INC)pclassids.h blackbody.h radspec.h \ 15 specresp.h convtools.h 16 $(OBJ)convtools.o: convtools.cc convtools.h 17 $(OBJ)gaussfilt.o: gaussfilt.cc $(INC)machdefs.h \ 18 $(INC)pclassids.h gaussfilt.h specresp.h 19 $(OBJ)nupower.o: nupower.cc $(INC)machdefs.h \ 20 $(INC)pclassids.h nupower.h radspec.h \ 21 specresp.h convtools.h 22 $(OBJ)radspec.o: radspec.cc $(INC)machdefs.h \ 23 $(INC)pclassids.h radspec.h specresp.h \ 24 $(INC)integ.h \ 25 $(INC)pexceptions.h 26 $(OBJ)radspecvector.o: radspecvector.cc \ 27 $(INC)machdefs.h \ 28 $(INC)pclassids.h radspecvector.h radspec.h \ 29 specresp.h $(INC)tvector.h \ 30 $(INC)tmatrix.h \ 31 $(INC)ppersist.h \ 32 $(INC)pexceptions.h \ 33 $(INC)md5.h \ 34 $(INC)anydataobj.h \ 35 $(INC)ndatablock.h 36 $(OBJ)specresp.o: specresp.cc specresp.h \ 37 $(INC)machdefs.h \ 38 $(INC)pclassids.h \ 39 $(INC)integ.h \ 40 $(INC)pexceptions.h 41 $(OBJ)specrespvector.o: specrespvector.cc \ 42 $(INC)machdefs.h \ 43 $(INC)pclassids.h specrespvector.h \ 44 specresp.h $(INC)tvector.h \ 45 $(INC)tmatrix.h \ 46 $(INC)ppersist.h \ 47 $(INC)pexceptions.h \ 48 $(INC)md5.h \ 49 $(INC)anydataobj.h \ 50 $(INC)ndatablock.h 51 $(OBJ)squarefilt.o: squarefilt.cc $(INC)machdefs.h \ 52 $(INC)pclassids.h squarefilt.h specresp.h 53 $(OBJ)trianglefilt.o: trianglefilt.cc \ 54 $(INC)machdefs.h \ 55 $(INC)pclassids.h trianglefilt.h specresp.h
Note:
See TracChangeset
for help on using the changeset viewer.