Changeset 663 in Sophya


Ignore:
Timestamp:
Nov 29, 1999, 1:48:11 PM (26 years ago)
Author:
ansari
Message:

Preparation pour tag V_Oct99 , Reza 29/11/99

Location:
trunk
Files:
3 added
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsioserver.h

    r605 r663  
    22#define FITSIOSERVER_SEEN
    33
    4 #include "fitsio.h"
     4#include "machdefs.h"
    55#include "tvector.h"
    66#include "sphericalmap.h"
     
    1111#include "cimage.h"
    1212#include "dvlist.h"
     13
     14#include <fitsio.h>   /* entre <> pour que mkmflib fonctionne correctement  */
    1315
    1416#define LEN_KEYWORD 9
  • trunk/SophyaLib/Mgr/Makefile

    r510 r663  
    11include Mgr/Makefile.h
    2 LIBF =  $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libFitsIOServer.a
    3 LIBS = -L$(LIB) -lSysTools -lNTools -lSamba -lFitsIOServer -lm
     2LIBF =  $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a $(LIB)libFitsIOServer.a
     3LIBS = -L$(LIB) -lSysTools -lNTools -lSamba -lSkyT -lFitsIOServer -lm
    44LIBG = -L$(GLB) -lstdc++
    55ifeq ($(HOSTTYPE), powerpc)
     
    1616# pour instantiation automatique/manuels
    1717
    18 cxxlibs: Blitz SysTools NTools Samba FitsIOServer
    19 
     18cxxlibs: FitsIOServer SkyT Samba NTools SysTools Blitz
     19
     20.PHONY:  FitsIOServer
     21FitsIOServer:
     22        if [ -d FitsIOServer ] ; then cd  FitsIOServer ; $(MAKE) ; fi
     23 
     24.PHONY:  SkyT
     25SkyT:
     26        if [ -d SkyT ] ; then cd  SkyT ; $(MAKE) ; fi
     27 
     28.PHONY:  Samba
     29Samba:
     30        if [ -d Samba ] ; then cd  Samba ; $(MAKE) ; fi
     31 
     32.PHONY:  NTools
     33NTools:
     34        if [ -d NTools ] ; then cd  NTools ; $(MAKE) ; fi
     35 
     36.PHONY:  SysTools
     37SysTools:
     38        if [ -d SysTools ] ; then cd  SysTools ; $(MAKE) ; fi
     39 
    2040.PHONY:  Blitz
    2141Blitz:
    2242        if [ -d Blitz ] ; then cd  Blitz ; $(MAKE) ; fi
    23  
    24 .PHONY:  SysTools
    25 SysTools:
    26         if [ -d SysTools ] ; then cd  SysTools ; $(MAKE) ; fi
    27  
    28 .PHONY:  NTools
    29 NTools:
    30         if [ -d NTools ] ; then cd  NTools ; $(MAKE) ; fi
    31  
    32 .PHONY:  Samba
    33 Samba:
    34         if [ -d Samba ] ; then cd  Samba ; $(MAKE) ; fi
    35  
    36 .PHONY:  FitsIOServer
    37 FitsIOServer:
    38         if [ -d FitsIOServer ] ; then cd  FitsIOServer ; $(MAKE) ; fi
    3943 
    4044.PHONY: PI
     
    4549ifndef NOSHLIB
    4650
    47 PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a
     51ifdef CFITSIODIR
     52PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a $(LIB)libFitsIOServer.a
     53else
     54PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a
     55endif
    4856slb : $(SLB)libtools.so
    4957slbpi: slb $(SLB)libPI.so
     
    106114    override USECXX4SO := N
    107115  endif
    108 #  Attention - Dangereux de mettre -expect_unresolved , $CHECK$  Reza 20/10/99
    109   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
    110118  override FGSHLACXX :=
    111119  override FGSHLNCXX :=
     
    158166
    159167# 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`)
     168OBJSysTools = $(shell echo `cat ./SysTools/objlist.list`)
     169OBJNTools = $(shell echo `cat ./NTools/objlist.list`)
     170# OBJBlitz = $(shell echo `cat ./Blitz/objlist.list`)
     171OBJSamba = $(shell echo `cat ./Samba/objlist.list`)
     172OBJSkyT = $(shell echo `cat ./SkyT/objlist.list`)
     173OBJFitsIOServer = $(shell echo `cat ./FitsIOServer/objlist.list`)
     174OBJPI         = $(shell echo `cat ./PI/objlist.list`)
     175OBJPIext      = $(shell echo `cat ./PIext/objlist.list`)
     176
     177ifdef CFITSIODIR
     178AllObjs := $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJSkyT) $(OBJFitsIOServer)
     179else
     180AllObjs := $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJSkyT)
     181endif
    167182
    168183# Creation des librairies partagees
     
    174189        cd $(OBJ); \
    175190        $(CMDSHLCXX) -o $(SLB)libtools.so \
    176         $(FGSHLACXX) $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJFitsIOServer) $(OBJBlitz) $(TILSHL) \
    177         $(FGSHLNCXX) -L$(SLB) $(LIBLSHL)   $(FITSIOLIB)
     191        $(FGSHLACXX) $(AllObjs) $(TILSHL) \
     192        $(FGSHLNCXX) -L$(SLB) $(LIBLSHL)  $(FITSIOLIB)
    178193
    179194
  • trunk/SophyaLib/Mgr/Makefile.slb

    r595 r663  
    22ifndef NOSHLIB
    33
    4 PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a
     4ifdef CFITSIODIR
     5PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a $(LIB)libFitsIOServer.a
     6else
     7PSLB = $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libSamba.a $(LIB)libSkyT.a
     8endif
    59slb : $(SLB)libtools.so
    610slbpi: slb $(SLB)libPI.so
     
    117121OBJSysTools = $(shell echo `cat ./SysTools/SysTools.o.list`)
    118122OBJNTools = $(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`)
    120124OBJSamba = $(shell echo `cat ./Samba/Samba.o.list`)
     125OBJSkyT = $(shell echo `cat ./SkyT/SkyT.o.list`)
    121126OBJFitsIOServer = $(shell echo `cat ./FitsIOServer/FitsIOServer.o.list`)
    122127OBJPI         = $(shell echo `cat ./PI/PI.o.list`)
    123128OBJPIext      = $(shell echo `cat ./PIext/PIext.o.list`)
     129
     130ifdef CFITSIODIR
     131AllObjs := $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJSkyT) $(OBJFitsIOServer)
     132else
     133AllObjs := $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJSkyT)
     134endif
    124135
    125136# Creation des librairies partagees
     
    131142        cd $(OBJ); \
    132143        $(CMDSHLCXX) -o $(SLB)libtools.so \
    133         $(FGSHLACXX) $(OBJSysTools) $(OBJNTools) $(OBJSamba) $(OBJFitsIOServer) $(OBJBlitz) $(TILSHL) \
    134         $(FGSHLNCXX) -L$(SLB) $(LIBLSHL)   $(FITSIOLIB)
     144        $(FGSHLACXX) $(AllObjs) $(TILSHL) \
     145        $(FGSHLNCXX) -L$(SLB) $(LIBLSHL)  $(FITSIOLIB)
    135146
    136147
  • trunk/SophyaLib/Mgr/crerep_peida

    r218 r663  
    3636
    3737foreach d ( ${dirl}/${diru} \
    38             ${dirl}/Include ${dirl}/Include/tnt \
     38            ${dirl}/Include \
    3939            ${dirl}/${diru}/Exec \
    4040            ${dirl}/${diru}/Libs ${dirl}/${diru}/ShLibs \
  • trunk/SophyaLib/Mgr/install_peida

    r599 r663  
    11#!/bin/csh
    2 #  Script d'installation PEIDA
     2#  Script d'installation SOPHYA
    33#  Version preliminaire - Reza 27/11/97 +cmv
    44
     
    6464  set SRC = $srcdir/$macomp
    6565  set DST = $dstdir/$macomp
    66   echo "************** PEIDA_Install script : ****************** "
     66  echo "************** SOPHYA_Install script : ****************** "
    6767  echo "copie de $srcdir"
    6868  echo "      vers $dstdir pour $macomp"
     
    7777# d'abord les includes
    7878#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 ... "
     79foreach d ( Include )
     80  echo "SOPHYA_Install: Installing $d ... "
    8181  if( ! -e $srcdir/$d ) then
    8282    echo "rep. inexistant: $SRC/$d"
     
    9292# puis le reste
    9393foreach d ( Libs ShLibs Exec )
    94   echo "PEIDA_Install: Installing $d ... "
     94  echo "SOPHYA_Install: Installing $d ... "
    9595  if( ! -e $SRC/$d ) then
    9696    echo "rep. inexistant: $SRC/$d"
     
    9999  else
    100100    if( "$d" == "Exec" ) then
    101       foreach f ( tobjio tspm tspm2 piapp )
     101      foreach f ( tobjio tspm tspm2 piapp tgsky tgrsr skymixer )
    102102        if( -e $SRC/$d/$f ) then
    103103          $DO cp $SRC/$d/$f $DST/$d/.
     
    113113end
    114114
    115 echo 'PEIDA_Install complete'
     115echo 'SOPHYA_Install complete'
    116116
    117117exit 0
  • trunk/SophyaLib/Mgr/libdirs

    r478 r663  
    22NTools
    33Samba
     4SkyT
    45FitsIOServer
  • trunk/SophyaLib/Mgr/mkmf

    r554 r663  
    11#!/bin/csh
    2 # $Id: mkmf,v 1.5 1999-11-09 11:13:13 ansari Exp $
     2# $Id: mkmf,v 1.6 1999-11-29 12:48:11 ansari Exp $
    33
    44# Librairie cfitsio
     
    3838# pour instantiation automatique/manuels
    3939
    40 cxxlibs: Blitz SysTools NTools Samba FitsIOServer
     40cxxlibs: FitsIOServer SkyT Samba NTools SysTools Blitz
    4141
    4242EOF
     
    4444
    4545#  Attention, ne pas changer l'ordre de libnames dependances cxx
    46 set libnames = (Blitz SysTools NTools Samba FitsIOServer)
     46set libnames = (FitsIOServer SkyT Samba NTools SysTools Blitz )
    4747set i = 1
    4848set j = $#libnames ; @ j--
     
    7171endif
    7272if ( -d ../PIext ) then
    73   set cmd = './mkmfPI PIext SysTools NTools PI'
     73  set cmd = './mkmfPI PIext SysTools NTools Samba SkyT PI'
    7474  echo "mkmf: Creation makefile lib PIext"
    7575  echo "   execution $cmd"
  • trunk/SophyaLib/NTools/Makefile

    r510 r663  
    33all: $(LIB)libNTools.a
    44clean:
    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.o
    6         rm $(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)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.o
     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)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
    88        $(ARCXX) $(ARCXXFLAGS) $@ $?
    99ifeq ($(CXX),cxx)
    10         $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lNTools -lSamba -o $(OBJ)xx.x -Hf
     10        $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lNTools -lSysTools -o $(OBJ)xx.x -Hf
    1111endif
    1212 
     
    1919 $(INC)objfio.h \
    2020 $(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
    2324$(OBJ)cspline.o: cspline.cc $(INC)machdefs.h \
    2425 $(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
    3027$(OBJ)cvector.o: cvector.cc $(INC)machdefs.h \
    3128 $(INC)pclassids.h cvector.h matrix.h \
    3229 peida.h utils.h $(INC)perrors.h \
    3330 $(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.h
     31 $(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
    3936$(OBJ)datacards.o: datacards.cc $(INC)machdefs.h \
    4037 $(INC)pclassids.h datacards.h peida.h \
     
    5047$(OBJ)difeq.o: difeq.cc difeq.h $(INC)machdefs.h \
    5148 $(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 \
    5654 $(INC)ctimer.h
    5755$(OBJ)dvlist.o: dvlist.cc $(INC)machdefs.h \
     
    6967 $(INC)pexceptions.h \
    7068 $(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
    7372$(OBJ)fct1dfit.o: fct1dfit.cc $(INC)machdefs.h \
    7473 $(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
    8282$(OBJ)fct2dfit.o: fct2dfit.cc $(INC)machdefs.h \
    8383 $(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
    98100$(OBJ)generaldata.o: generaldata.cc \
    99101 $(INC)machdefs.h \
    100102 $(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
    107110$(OBJ)generalfit.o: generalfit.cc $(INC)machdefs.h \
    108111 $(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
    115119$(OBJ)hisprof.o: hisprof.cc $(INC)machdefs.h \
    116120 $(INC)pclassids.h hisprof.h peida.h utils.h \
    117121 $(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
    123128$(OBJ)histos.o: histos.cc $(INC)machdefs.h \
    124129 $(INC)pclassids.h histos.h \
     
    128133 $(INC)pexceptions.h \
    129134 $(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
    132138$(OBJ)histos2.o: histos2.cc $(INC)machdefs.h \
    133139 $(INC)pclassids.h histos2.h peida.h utils.h \
     
    137143 $(INC)anydataobj.h \
    138144 $(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 \
    140147 generaldata.h ntupintf.h poly.h
    141148$(OBJ)imageop.o: imageop.cc $(INC)machdefs.h \
     
    146153 $(INC)anydataobj.h \
    147154 $(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.h
     155 $(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
    151158$(OBJ)integ.o: integ.cc integ.h $(INC)machdefs.h \
    152159 $(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
    159167$(OBJ)linfit.o: linfit.cc $(INC)machdefs.h \
    160168 $(INC)pclassids.h peida.h utils.h \
    161169 $(INC)perrors.h \
    162170 $(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
    165175$(OBJ)matrix.o: matrix.cc $(INC)machdefs.h \
    166176 $(INC)pclassids.h peida.h utils.h \
    167177 $(INC)perrors.h \
    168178 $(INC)pexceptions.h fmath.h matrix.h \
     179 $(INC)anydataobj.h \
    169180 $(INC)ppersist.h \
    170181 $(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.h
     182 tvector.h tmatrix.h $(INC)ndatablock.h \
     183 generaldata.h $(INC)objfio.h ntupintf.h \
     184 poly.h
    174185$(OBJ)median.o: median.cc
    175186$(OBJ)ntupintf.o: ntupintf.cc ntupintf.h \
     
    191202 $(INC)perrors.h \
    192203 $(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 \
    199210 rzimage.h rzvect.h datatypes.h tabmath.h nbconst.h dates.h datime.h
    200211$(OBJ)perandom.o: perandom.cc $(INC)machdefs.h \
     
    205216 $(INC)ppersist.h \
    206217 $(INC)md5.h peida.h utils.h \
    207  $(INC)perrors.h fmath.h cvector.h matrix.h \
    208  nbrandom.h pemath.h
     218 $(INC)perrors.h fmath.h tvector.h tmatrix.h \
     219 $(INC)ndatablock.h nbrandom.h pemath.h
    209220$(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
    219229$(OBJ)rk4cdifeq.o: rk4cdifeq.cc $(INC)machdefs.h \
    220230 $(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 \
    225236 $(INC)ctimer.h
    226237$(OBJ)rzimage.o: rzimage.cc $(INC)machdefs.h \
     
    231242 $(INC)md5.h dvlist.h \
    232243 $(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
    235247$(OBJ)simplesort.o: simplesort.cc $(INC)machdefs.h \
    236248 $(INC)pclassids.h simplesort.h peida.h \
     
    248260 $(INC)anydataobj.h \
    249261 $(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.h
     262 $(INC)objfio.h generalfit.h tvector.h \
     263 generaldata.h ntupintf.h poly.h peida.h utils.h \
     264 $(INC)perrors.h fmath.h
    253265$(OBJ)tvector.o: tvector.cc $(INC)machdefs.h \
    254266 $(INC)pclassids.h \
     
    258270 $(INC)anydataobj.h \
    259271 $(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.h
     272 $(INC)objfio.h generalfit.h generaldata.h \
     273 ntupintf.h poly.h peida.h utils.h \
     274 $(INC)perrors.h fmath.h
    263275$(OBJ)utils.o: utils.cc $(INC)machdefs.h \
    264276 $(INC)pclassids.h utils.h \
  • trunk/SophyaLib/NTools/fftpackc.c

    r459 r663  
    88/* #include "f2c.h" -- Remplace par ce qui suit */
    99#include "fftpackc.h"
     10#include <math.h>
    1011
    1112/*  ------ File cfftb.f ------ */
     
    2627    iw1 = *n + *n + 1;
    2728    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 */
    2930    return 0;
    3031} /* cfftb_ */
     
    179180    iw1 = *n + *n + 1;
    180181    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 */
    182183    return 0;
    183184} /* cfftf_ */
     
    330331    iw1 = *n + *n + 1;
    331332    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 */
    333334    return 0;
    334335} /* cffti_ */
     
    344345    integer i__1, i__2, i__3;
    345346
    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 */
    348349
    349350    /* Local variables */
     
    645646
    646647    /* Builtin functions */
    647     double cos(doublereal);
     648/*    double cos(doublereal);    commente - Remplace par math.h  Reza 29/11/99 */
    648649
    649650    /* Local variables */
     
    762763
    763764    /* Builtin functions */
    764     double sin(doublereal), cos(doublereal);
     765/*    double sin(doublereal), cos(doublereal);  commente - Remplace par math.h  Reza 29/11/99 */
    765766
    766767    /* Local variables */
     
    807808
    808809    /* Builtin functions */
    809     double cos(doublereal), sin(doublereal);
     810/*    double cos(doublereal), sin(doublereal);  commente - Remplace par math.h  Reza 29/11/99 */
    810811
    811812    /* Local variables */
     
    27282729
    27292730    /* Builtin functions */
    2730     double cos(doublereal), sin(doublereal);
     2731/*    double cos(doublereal), sin(doublereal);  commente - Remplace par math.h  Reza 29/11/99 */
    27312732
    27322733    /* Local variables */
     
    34603461
    34613462    /* Builtin functions */
    3462     double cos(doublereal), sin(doublereal);
     3463/*    double cos(doublereal), sin(doublereal);    */
    34633464
    34643465    /* Local variables */
     
    38073808        return 0;
    38083809    }
    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 */
    38103811    return 0;
    38113812} /* rfftb_ */
     
    39533954        return 0;
    39543955    }
    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 */
    39563957    return 0;
    39573958} /* rfftf_ */
     
    40924093        return 0;
    40934094    }
    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 */
    40954096    return 0;
    40964097} /* rffti_ */
     
    41074108
    41084109    /* Builtin functions */
    4109     double cos(doublereal), sin(doublereal);
     4110/*   double cos(doublereal), sin(doublereal);  Remplace par math.h , Reza 29/11/99 */
    41104111
    41114112    /* Local variables */
     
    43194320    iw2 = iw1 + np1;
    43204321    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 */
    43224323    return 0;
    43234324} /* sint_ */
     
    44204421
    44214422    /* Builtin functions */
    4422     double sin(doublereal);
     4423/*    double sin(doublereal);  remplace par math.h , Reza 29/11/99 */
    44234424
    44244425    /* Local variables */
     
    44654466    iw1 = *n + *n + 1;
    44664467    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 */
    44684469    return 0;
    44694470} /* cdfftb_ */
     
    46184619    iw1 = *n + *n + 1;
    46194620    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 */
    46214622    return 0;
    46224623} /* cdfftf_ */
     
    47694770    iw1 = *n + *n + 1;
    47704771    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 */
    47724773    return 0;
    47734774} /* cdffti_ */
     
    47844785
    47854786    /* Builtin functions */
    4786     double cos(doublereal), sin(doublereal);
     4787/*    double cos(doublereal), sin(doublereal);  remplace par math.h  Reza 29/11/99 */
    47874788
    47884789    /* Local variables */
     
    50845085
    50855086    /* Builtin functions */
    5086     double cos(doublereal);
     5087/*    double cos(doublereal); remplace par math.h  Reza 29/11/99 */
    50875088
    50885089    /* Local variables */
     
    52015202
    52025203    /* Builtin functions */
    5203     double sin(doublereal), cos(doublereal);
     5204/*    double sin(doublereal), cos(doublereal);  remplace par math.h  Reza 29/11/99 */
    52045205
    52055206    /* Local variables */
     
    52465247
    52475248    /* Builtin functions */
    5248     double cos(doublereal), sin(doublereal);
     5249/*    double cos(doublereal), sin(doublereal);  remplace par math.h  Reza 29/11/99  */
    52495250
    52505251    /* Local variables */
     
    71677168
    71687169    /* Builtin functions */
    7169     double cos(doublereal), sin(doublereal);
     7170/*    double cos(doublereal), sin(doublereal);  remplace par math.h  Reza 29/11/99 */
    71707171
    71717172    /* Local variables */
     
    78997900
    79007901    /* Builtin functions */
    7901     double cos(doublereal), sin(doublereal);
     7902/*    double cos(doublereal), sin(doublereal);   */
    79027903
    79037904    /* Local variables */
     
    82468247        return 0;
    82478248    }
    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 */
    82498250    return 0;
    82508251} /* dfftb_ */
     
    83928393        return 0;
    83938394    }
    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 */
    83958396    return 0;
    83968397} /* dfftf_ */
     
    85318532        return 0;
    85328533    }
    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 */
    85348535    return 0;
    85358536} /* dffti_ */
     
    85468547
    85478548    /* Builtin functions */
    8548     double cos(doublereal), sin(doublereal);
     8549/*    double cos(doublereal), sin(doublereal); remplace par math.h  Reza 29/11/99 */
    85498550
    85508551    /* Local variables */
     
    87588759    iw2 = iw1 + np1;
    87598760    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 */
    87618762    return 0;
    87628763} /* dsint_ */
     
    88598860
    88608861    /* Builtin functions */
    8861     double sin(doublereal);
     8862/*    double sin(doublereal);  remplace par math.h  Reza 29/11/99 */
    88628863
    88638864    /* Local variables */
  • trunk/SophyaLib/NTools/tmatrix.h

    r552 r663  
    7171  inline TMatrix<T>& operator = (T x)
    7272    {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;
    7474     return *this;}
    7575  // A = B : partage les donnees si "a" est temporaire, clone sinon.
  • trunk/SophyaLib/Samba/Makefile

    r518 r663  
    88        $(ARCXX) $(ARCXXFLAGS) $@ $?
    99ifeq ($(CXX),cxx)
    10         $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lSamba -o $(OBJ)xx.x -Hf
     10        $(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lSamba -lNTools -lSysTools -o $(OBJ)xx.x -Hf
    1111endif
    1212 
     
    2626 $(INC)dvlist.h \
    2727 $(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 \
    2930 $(INC)nbmath.h \
    3031 $(INC)tvector.h \
     
    4243 $(INC)dvlist.h \
    4344 $(INC)objfio.h \
    44  $(INC)anydataobj.h \
     45 $(INC)anydataobj.h spherepos.h unitvector.h \
     46 vector3d.h longlat.h utilgeom.h \
    4547 $(INC)tvector.h \
    4648 $(INC)tmatrix.h \
    47  $(INC)ndatablock.h unitvector.h vector3d.h \
    48  longlat.h utilgeom.h $(INC)timing.h
     49 $(INC)ndatablock.h \
     50 $(INC)timing.h
    4951$(OBJ)sambainit.o: sambainit.cc sambainit.h \
    5052 $(INC)outilsinit.h \
    5153 $(INC)peidainit.h \
    5254 $(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
    5467$(OBJ)scan.o: scan.cc $(INC)machdefs.h \
    5568 $(INC)pclassids.h scan.h \
     
    6073 $(INC)objfio.h \
    6174 $(INC)anydataobj.h \
     75 $(INC)ndatablock.h \
     76 $(INC)piocmplx.h \
    6277 $(INC)nbmath.h
    63 $(OBJ)spheregorski.o: spheregorski.cc spheregorski.h sphericalmap.h \
    64  $(INC)nbmath.h \
     78$(OBJ)spheregorski.o: spheregorski.cc \
    6579 $(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 \
    6783 $(INC)ppersist.h \
    68  $(INC)pexceptions.h \
    6984 $(INC)md5.h \
    7085 $(INC)dvlist.h \
    7186 $(INC)objfio.h \
    72  $(INC)anydataobj.h \
     87 $(INC)anydataobj.h spherepos.h unitvector.h \
     88 vector3d.h longlat.h utilgeom.h \
    7389 $(INC)tvector.h \
    7490 $(INC)tmatrix.h \
    7591 $(INC)ndatablock.h \
    76  $(INC)strutil.h \
    77  $(INC)piocmplx.h
     92 $(INC)strutil.h
    7893$(OBJ)spherepos.o: spherepos.cc spherepos.h \
    7994 $(INC)machdefs.h \
     
    92107 $(INC)dvlist.h \
    93108 $(INC)objfio.h \
    94  $(INC)anydataobj.h \
     109 $(INC)anydataobj.h spherepos.h unitvector.h \
     110 vector3d.h longlat.h utilgeom.h \
    95111 $(INC)tvector.h \
    96112 $(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
     1include ../Mgr/Makefile.h
     2 
     3all: $(LIB)libSkyT.a
     4clean:
     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) $@ $?
    99ifeq ($(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
     11endif
     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.