Changeset 2392 in Sophya


Ignore:
Timestamp:
May 28, 2003, 11:03:19 PM (22 years ago)
Author:
aubourg
Message:

divers pio

Location:
trunk/ArchTOIPipe
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/piotoirdr.cc

    r2386 r2392  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: piotoirdr.cc,v 1.6 2003-05-20 10:10:08 aubourg Exp $
     5// $Id: piotoirdr.cc,v 1.7 2003-05-28 21:03:19 aubourg Exp $
    66
    77#include "piotoirdr.h"
     
    99extern void fits_lock();
    1010extern void fits_unlock();
     11
     12char** environ; // For darwin dylibs with piolib
    1113
    1214PIOTOIReader::PIOTOIReader(string grp, string obj, string flg) {
  • trunk/ArchTOIPipe/Kernel/ringprocessor.h

    r2386 r2392  
    55//                               Christophe Magneville
    66//                               Reza Ansari
    7 // $Id: ringprocessor.h,v 1.2 2003-05-20 10:10:09 aubourg Exp $
     7// $Id: ringprocessor.h,v 1.3 2003-05-28 21:03:19 aubourg Exp $
    88
    99
     
    4040  virtual void run();
    4141
    42   virtual int getMinRingIndex();
    43   virtual int getMaxRingIndex();
     42  virtual int getMinRingIndex() {return ringBegin;}
     43  virtual int getMaxRingIndex() {return ringEnd;}
    4444  virtual void setRingRange(int min, int max) {ringBegin=min; ringEnd=max;}
    4545
  • trunk/ArchTOIPipe/Makefile.in

    r2328 r2392  
    1616USE_PIOLIB=@use_piolib@
    1717
    18 MACHEROS := $(shell echo `uname`)
    19 MACHDIR := $(MACHEROS)-$(CXX)
     18UNAME := $(shell echo `uname`)
     19MACHDIR := $(UNAME)-$(CXX)
    2020
    2121
     
    2323 include $(DPCBASEREP)/Include/MakefileUser.h
    2424
    25  ifdef NOSHLIB
    26   LIBF =  $(LIB)libSysTools.a $(LIB)libNTools.a $(LIB)libBlitz.a $(LIB)libFitsIOServer.a
    27   LIBS :=  -L$(LIB)  -lSysTools -lNTools -lBlitz  $(LIBS)
    28   ifeq ($(CXX),cxx)
    29    # librairie des instances de templates cxx
    30    LIBS := $(LIBS) -lrt
    31   endif
    32  else
    3325  LIBF =  $(SLB)libsophya.so
    3426  LIBS := -L$(SLB)  -lextsophya -lsophya $(LIBS)
    35   ifeq ($(MACHEROS),OSF1)
     27  ifeq ($(UNAME),OSF1)
    3628   LIBS := $(LIBS) -lfor
    3729  endif
    38  endif
    3930 
    4031 CPPFLAGS := -DWITH_SOPHYA $(CPPFLAGS)
     
    4839CPPFLAGS    :=  $(CPPFLAGS) @cfitsincdir@ -I. -DANSI
    4940
    50 ifeq ($USE_PIOLIB,1)
    51   PIOLIBS := @piolibdir@ -lpiolib
     41ifeq ($(USE_PIOLIB),1)
     42  PIOLIBS := -L@piolibdir@ -lpiolib
    5243else
    5344  PIOLIBS :=
     
    5647LDLIBS=@cfitslibdir@ -lcfitsio $(PIOLIBS) $(LIBS)
    5748
    58 ifeq ($(MACHEROS),IRIX64)
     49ifeq ($(UNAME),IRIX64)
    5950 ifeq ($(CXX), g++)
    6051   LDLIBS=@cfitslibdir@ -lcfitsio -L /usr/lib32/
     
    124115# librairie compilateur GNU (g++)
    125116LIBGPP := -lstdc++
    126 ifeq ($(MACHEROS), Darwin)
     117ifeq ($(UNAME), Darwin)
    127118  LIBGPP := -L/sw/lib -ldl -L/usr/lib/gcc/darwin/default -lstdc++ -lcc_dynamic
    128119endif
     
    172163
    173164# Construction de shared-libs sous OSF1
    174 ifeq ($(MACHEROS),OSF1)
     165ifeq ($(UNAME),OSF1)
    175166  override CMDSHL := ld -shared -update_registry $(SLB)so_locations
    176167  override FGSHLA := -all
     
    194185
    195186# Construction de shared-libs sous Linux
    196 ifeq ($(MACHEROS),Linux)
     187ifeq ($(UNAME),Linux)
    197188  override CMDSHL := ld -shared
    198189  override FGSHLA := --whole-archive
     
    211202
    212203# Construction de shared-libs sous Sun-OS
    213 ifeq ($(MACHEROS),SunOS)
     204ifeq ($(UNAME),SunOS)
    214205  override CMDSHL := ld -G
    215206  override FGSHLA := -z allextract
     
    221212
    222213# Construction de shared-libs sous SGI
    223 ifeq ($(MACHEROS), IRIX64)
     214ifeq ($(UNAME), IRIX64)
    224215  override CMDSHL := ld -shared
    225216  override FGSHLA := -all
     
    234225
    235226# Construction de shared-libs sous OSX
    236 ifeq ($(MACHEROS), Darwin)
     227ifeq ($(UNAME), Darwin)
    237228  override CMDSHL := libtool -dynamic
    238229  override FGSHLA :=
     
    240231  override TILSHL :=
    241232  override CMDSHLCXX := libtool -dynamic
     233  override FGSHLNCXX :=
    242234endif
    243235
    244236SLBNAME = libpipe.so
    245 ifeq ($(MACHEROS),Darwin)
    246 SLBNAME = libpipe.dylib
     237ifeq ($(UNAME),Darwin)
     238  SLBNAME = libpipe.dylib
    247239endif
    248240
     
    252244$(SLBNAME) : build_kernel build_processors build_sophya
    253245        $(CMDSHLCXX) -o $(SLBNAME)  \
    254         Kernel/*.o Processors/*.o ProcWSophya/*.o \
     246        Kernel/*.o Processors/*.o ProcWSophya/*.o $(PIOLIBS) \
    255247        $(FGSHLNCXX) -L$(SLB) -lsophya -lextsophya $(EXTLIB) $(LIBLSHL)
    256248
    257249
     250
  • trunk/ArchTOIPipe/ProcWSophya/Makefile.in

    r2359 r2392  
    4848SRCFILES=map2toi.cc toi2map.cc rztoi.cc simtoipr.cc ktoibad.cc smoothtoi.cc \
    4949         noisegen.cc meanvarestim.cc simoffset.cc simcleaner.cc flag2map.cc toi2toi_addsp.cc \
    50         Bolos2ring.cc PSB2ring.cc toi2ring.cc ring2cout.cc
     50        Bolos2ring.cc PSB2ring.cc toi2ring.cc ring2cout.cc ring33.cc
    5151
    5252FILES=$(patsubst %.c,%.o,$(SRCFILES:.cc=.o))
Note: See TracChangeset for help on using the changeset viewer.