Changeset 737 in Sophya


Ignore:
Timestamp:
Feb 22, 2000, 5:31:27 PM (26 years ago)
Author:
ansari
Message:

nouveau schema pour librairies externes (Var EXTLIBDIR) - Reza 22/02/2000

Location:
trunk/SophyaLib/Mgr
Files:
3 edited

Legend:

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

    r696 r737  
    157157# les *.h doivent etre sous $CFITSIODIR
    158158# la librairie *.a sous $CFITSIODIR
    159 ifdef CFITSIODIR
    160   FITSIOREP := -I$(CFITSIODIR)
    161   FITSIOLIB := -L$(CFITSIODIR)/$(MACHDIR) -lcfitsio
     159# ifdef CFITSIODIR
     160#  FITSIOREP := -I$(CFITSIODIR)
     161#  FITSIOLIB := -L$(CFITSIODIR)/$(MACHDIR) -lcfitsio
     162# endif
     163
     164# Chemin pour les include et fichiers d'autres librairies
     165EXTINC :=
     166EXTLIB :=
     167EXTSLB :=
     168
     169ifdef EXTLIBDIR
     170 EXTINC := $(EXTLIBDIR)/Include/
     171 EXTLIB := $(EXTLIBDIR)/$(MACHDIR)/Libs/
     172 EXTSLB := $(EXTLIBDIR)/$(MACHDIR)/ShLibs/
    162173endif
    163174
     
    167178#endif
    168179
    169 CPPFLAGS     :=  -I${INC} $(FITSIOREP) -D${MACHEROSD} $(MODULECPPFLAGS)
     180CPPFLAGS     :=  -I${INC} -I$(EXTINC) -D${MACHEROSD} $(MODULECPPFLAGS)
    170181
    171182# Les options selon les divers compilateurs
  • trunk/SophyaLib/Mgr/mkmf

    r663 r737  
    11#!/bin/csh
    2 # $Id: mkmf,v 1.6 1999-11-29 12:48:11 ansari Exp $
     2# $Id: mkmf,v 1.7 2000-02-22 16:31:26 ansari Exp $
    33
    44# Librairie cfitsio
    5 if( ! $?CFITSIODIR ) then
    6  echo 'cfitsio library: CFITSIODIR variable need to be set'
     5if( ! $?EXTLIBDIR ) then
     6 echo 'EXTLIBDIR library: EXTLIBDIR variable need to be set'
    77endif
    88
  • trunk/SophyaLib/Mgr/mkmflien

    r554 r737  
    11#!/bin/csh
    2 # $Id: mkmflien,v 1.3 1999-11-09 11:13:14 ansari Exp $
     2# $Id: mkmflien,v 1.4 2000-02-22 16:31:27 ansari Exp $
    33
    44#########################################################
     
    2525### Les includes a mettre dans Include pour les Makefiles
    2626#########################################################
    27 foreach f ( $src/Mgr/Makefile.h $src/Mgr/MakefileUser.h )
     27foreach f ( $src/Mgr/Makefile.h $src/Mgr/Makefile.slb $src/Mgr/MakefileUser.h )
    2828  if( -e $f ) then
    2929    ln -sf $f $dst/
     
    3434####  Les includes de tnt a mettre dans Include/tnt
    3535###################################################
    36 if( -d $dst/tnt ) then
    37   if( -d $src/tnt ) then
    38     foreach f ( $src/tnt/*.h )
    39       ln -sf $f $dst/tnt/
    40     end
    41   endif
    42 endif
     36#if( -d $dst/tnt ) then
     37#  if( -d $src/tnt ) then
     38#    foreach f ( $src/tnt/*.h )
     39#      ln -sf $f $dst/tnt/
     40#    end
     41#  endif
     42#endif
    4343
    4444###################################################
Note: See TracChangeset for help on using the changeset viewer.