Changeset 554 in Sophya


Ignore:
Timestamp:
Nov 9, 1999, 12:13:14 PM (26 years ago)
Author:
ansari
Message:

gestion des inc et lib cfitsio cmv 9/11/99

Location:
trunk/SophyaLib/Mgr
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Mgr/Makefile.h

    r523 r554  
    154154
    155155
    156 # Chemin pour la librairie cfitsio 
    157 FITSIOREP :=
    158 FITSIOLIB :=
    159 ifeq ($(SITE),LAL)
    160   override FITSIOREP := -I/exp/planck/FitsIO/cfitsio/
    161   override FITSIOLIB := -L$(FITSIOREP) -lcfitsio
     156# Chemin pour la librairie cfitsio
     157# les *.h doivent etre sous $CFITSIODIR
     158# la librairie *.a sous $CFITSIODIR
     159ifdef CFITSIODIR
     160  FITSIOREP := -I$(CFITSIODIR)
     161  FITSIOLIB := -L$(CFITSIODIR)/$(MACHDIR) -lcfitsio
    162162endif
    163163
  • trunk/SophyaLib/Mgr/mkmf

    r480 r554  
    11#!/bin/csh
    2 # $Id: mkmf,v 1.4 1999-10-20 10:25:12 ansari Exp $
     2# $Id: mkmf,v 1.5 1999-11-09 11:13:13 ansari Exp $
     3
     4# Librairie cfitsio
     5if( ! $?CFITSIODIR ) then
     6 echo 'cfitsio library: CFITSIODIR variable need to be set'
     7endif
    38
    49# creation de MakefileUser.h a partir de Makefile.h
    5 echo 'mkmf: Creation de MakefileUser.h'
    6 echo 'pour la librairie cfitsio : definir la variable d environnement SITE et donner l adresse de la librairie dans Makefile.h'
     10echo 'mkmf: Creating MakefileUser.h'
    711cat Makefile.h | awk -f makefileuser.awk >! MakefileUser.h
    812
    913# creation des liens pour les includes
    10 echo 'mkmf: Creation des liens (appel mkmflien)'
     14echo 'mkmf: Creating links for *.h (call mkmflien)'
    1115./mkmflien
    1216
    13 echo 'mkmf: Creation makefile global :'
     17echo 'mkmf: Creating makefile global :'
    1418rm -f GNUmakefile
    1519
  • trunk/SophyaLib/Mgr/mkmflien

    r248 r554  
    11#!/bin/csh
    2 # $Id: mkmflien,v 1.2 1999-04-23 08:01:53 ansari Exp $
     2# $Id: mkmflien,v 1.3 1999-11-09 11:13:14 ansari Exp $
    33
    44#########################################################
     
    66#########################################################
    77pushd ../.      > /dev/null
    8 set src = ` pwd | sed 's?/tmp_mnt??' `
     8set src = ` pwd | sed 's?^/tmp_mnt??' `
    99popd            > /dev/null
    1010
     
    3131end
    3232
    33 
    3433###################################################
    3534####  Les includes de tnt a mettre dans Include/tnt
     
    4342endif
    4443
    45 
    4644###################################################
    4745####  Les includes de Blitz++ lien ds Include
     
    5048  ln -sf $src/Blitz/blitz $dst/blitz
    5149endif
    52 
    5350
    5451####################################################
     
    6461end
    6562
    66 
    6763exit 0
Note: See TracChangeset for help on using the changeset viewer.